• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

READMED15-Dec-20242.4 KiB7151

flash-all-aosp.shD15-Dec-20242.3 KiB6448

recovery.shD15-Dec-20241.1 KiB3522

README

1These instructions will help you flashing the prebuilt bootloader
2and AOSP images(built from sources) on rb5.
3
4First, make sure you have built the AOSP images for RB5 by
5running the db845c-trunk_staging-userdebug lunch target.
6
7
8Boot the board into fastboot mode:
9----------------------------------
10The easiest way to boot into fastboot mode is to run something
11like "adb reboot bootloader" from the host, or
12"reboot bootloader" on the device.  However, this
13functionality may depend on the software installed on the board
14to work, so you may need to manually enter fastboot mode as
15follows.
16
17To manually enter fastboot mode:
18--------------------------------
19* To manually boot the board into fastboot mode, press DOWN arrow
20  key over serial UART console when restarting the board.
21
22                         OR
23
24* Follow the instructions here
25https://www.96boards.org/documentation/consumer/dragonboard/qualcomm-robotics-rb5/installation/board-recovery.md.html#booting-into-fastboot
26
27
28Flash the board:
29----------------
30Once the board is in fastboot mode, you can then flash bootloader
31binaries and AOSP images by running the following script from
32device/linaro/dragonboard/installer/rb5/ directory:
33
34  $ ./flash-all-aosp.sh
35
36
37Troubleshooting:
38----------------
39* If you have flashed AOSP images and you can see the boot logs
40  on Serial prompt but no UI then try updating the lt9611uxc
41  firmware version. Factory shipped RB5 has an older version of
42  lt9611uxc firmware flashed on it and it is incompatible with
43  upstream kernel. Try updating the firmware version by running
44  the following adb shell commands:
45
46  $ adb wait-for-device; adb root; adb shell "echo 1 > /sys/bus/i2c/devices/5-002b/lt9611uxc_firmware"
47
48* Make sure the USB-C cable is connected. As it has to be
49  removed to fully power the device down, it is easy to forget
50  to reconnect it!
51
52* If you cannot get the board into fastboot mode, or for some
53  reason the flash-all-aosp.sh script does not work, you can do
54  a full recovery flash of the board using the following
55  instructions.
56
57
58Recovery:
59--------
60First boot into recovery mode by follwing the recovery
61instructions from here:
62https://www.96boards.org/documentation/consumer/dragonboard/qualcomm-robotics-rb5/installation/board-recovery.md.html
63
64Then run the recovery script from the
65device/linaro/dragonboard/installer/rb5/ directory:
66
67  $ ./recovery.sh
68
69This will do a recovery flash of the ptable and bootloader
70binaries.
71