blob: acde62ecfd02818dae21e2cc024187c82c135f0e [file] [log] [blame]
Sandeep Kolibcb9e4b2018-05-29 12:19:19 +05301Welcome to the SHIELD Open Source + Binary Driver Release.
2
3In this README, you will find sync, build, and flashing instructions.
4
5==========
6HowTo Sync:
7==========
8
9Syncing this release requires git and the repo tool from Google:
10http://source.android.com/source/downloading.html#installing-repo
11
12mkdir ~/shield-open-source
13cd ~/shield-open-source
14repo init -u git://nv-tegra.nvidia.com/manifest/android/binary.git -b rel-29-r3-partner -m tlk/t210.xml
15repo sync -j5
16
17
18==========
19HowTo Build:
20==========
21
22Building this release requires a Linux build environment configured to
23build Android: http://source.android.com/source/initializing.html
24
25Additionally, you will be required to agree to license terms when extracting
26the binary drivers.
27
28cd ~/shield-open-source
29export TOP=`pwd`
30cd vendor/nvidia/licensed-binaries
31./extract-nv-bins.sh
32cd $TOP
33. build/envsetup.sh
34setpaths
35lunch darcy-userdebug
36mp dev
37
38
39==========
40HowTo Flash:
41==========
42
43Before flashing images from this build to your SHIELD, connect your SHIELD
44via USB with the port closest to Fan exhaust to the PC where you built this tree.
45
46Next, put your SHIELD into fastboot mode using following method:
47Controller method:
481. Connect SHIELD Controller using USB cable
492. Use USB port near HDMI port for the Controller and USB port away for PC connection
503. Hold Button-A and Button-B on SHIELD Controller and then insert power adapter to SHIELD
514. Wait until you see Fastboot menu on HDMI display
525. Use X/Y to navigate
536. Use A to select
54
55Fastboot menu navigation:
561. Use X/Y to navigate
572. Use A to select
58
59If this is the first time you have done this procedure, you must unlock
60your bootloader. To unlock your bootloader, run the following command
61in a terminal:
62
63fastboot oem unlock
64
65It will take you to '!!! READ THE FOLLOWING !!!' page.
66Two selectable options are available. 'Confirm' and 'Back to menu'.
67Select 'Confirm' to unlock the bootloader.
68
69Your device's bootloader should now be unlocked.
70
71To flash images from this build to your SHIELD, run the following commands
72from the same terminal where you did your build:
73
74fastboot oem dtbname (This will print the DTB name for a given product)
75
76cd $OUT
77fastboot flash recovery recovery.img
78fastboot flash boot boot.img
79fastboot flash system system.img
80fastboot flash vendor vendor.img
81fastboot flash dtb <DTB file name> (Use result from "fastboot oem dtbname" in <DTB file name>)
82fastboot reboot