]>
Commit | Line | Data |
---|---|---|
0204d1b5 SG |
1 | .. SPDX-License-Identifier: GPL-2.0+ |
2 | .. sectionauthor:: Stephan Gerhold <stephan@gerhold.net> | |
3 | ||
4 | DragonBoard 410c | |
5 | ================ | |
6 | ||
7 | The DragonBoard 410c is a development board based on the Qualcomm APQ8016E SoC. | |
8 | More information can be found on the `96Boards product page`_. | |
9 | ||
10 | U-Boot can be used as a replacement for Qualcomm's original Android bootloader | |
11 | (a fork of Little Kernel/LK). Like LK, it is installed directly into the ``aboot`` | |
12 | partition. Note that the U-Boot port used to be loaded as an Android boot image | |
13 | through LK. This is no longer the case, now U-Boot can replace LK entirely. | |
14 | ||
15 | .. _96Boards product page: https://www.96boards.org/product/dragonboard410c/ | |
16 | ||
d795efef CC |
17 | .. _MSM8916/SD410/APQ8016 Technical Reference Manual: https://web.archive.org/web/20210525022203/https://developer.qualcomm.com/qfile/35259/lm80-p0436-100_d_snapdragon_410e_apq8016e_tech_reference_manual_revd.pdf |
18 | ||
0204d1b5 SG |
19 | Installation |
20 | ------------ | |
21 | First, setup ``CROSS_COMPILE`` for aarch64. Then, build U-Boot for ``dragonboard410c``:: | |
22 | ||
23 | $ export CROSS_COMPILE=<aarch64 toolchain prefix> | |
24 | $ make dragonboard410c_defconfig | |
25 | $ make | |
26 | ||
27 | This will build ``u-boot.elf`` in the configured output directory. | |
28 | ||
29 | Although the DragonBoard 410c does not have secure boot set up by default, | |
30 | the firmware still expects firmware ELF images to be "signed". The signature | |
31 | does not provide any security in this case, but it provides the firmware with | |
32 | some required metadata. | |
33 | ||
34 | To "sign" ``u-boot.elf`` you can use e.g. `qtestsign`_:: | |
35 | ||
36 | $ ./qtestsign.py aboot u-boot.elf | |
37 | ||
38 | Then install the resulting ``u-boot-test-signed.mbn`` to the ``aboot`` partition | |
39 | on your device, e.g. with ``fastboot flash aboot u-boot-test-signed.mbn``. | |
40 | ||
41 | U-Boot should be running after a reboot (``fastboot reboot``). | |
42 | ||
43 | .. _qtestsign: https://github.com/msm8916-mainline/qtestsign | |
44 | ||
45 | Usage | |
46 | ----- | |
47 | Press Volume Down during boot to enter Fastboot mode. |