Stephan Gerhold | 0204d1b | 2021-07-07 11:06:02 +0200 | [diff] [blame] | 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 | |
| 17 | Installation |
| 18 | ------------ |
| 19 | First, setup ``CROSS_COMPILE`` for aarch64. Then, build U-Boot for ``dragonboard410c``:: |
| 20 | |
| 21 | $ export CROSS_COMPILE=<aarch64 toolchain prefix> |
| 22 | $ make dragonboard410c_defconfig |
| 23 | $ make |
| 24 | |
| 25 | This will build ``u-boot.elf`` in the configured output directory. |
| 26 | |
| 27 | Although the DragonBoard 410c does not have secure boot set up by default, |
| 28 | the firmware still expects firmware ELF images to be "signed". The signature |
| 29 | does not provide any security in this case, but it provides the firmware with |
| 30 | some required metadata. |
| 31 | |
| 32 | To "sign" ``u-boot.elf`` you can use e.g. `qtestsign`_:: |
| 33 | |
| 34 | $ ./qtestsign.py aboot u-boot.elf |
| 35 | |
| 36 | Then install the resulting ``u-boot-test-signed.mbn`` to the ``aboot`` partition |
| 37 | on your device, e.g. with ``fastboot flash aboot u-boot-test-signed.mbn``. |
| 38 | |
| 39 | U-Boot should be running after a reboot (``fastboot reboot``). |
| 40 | |
| 41 | .. _qtestsign: https://github.com/msm8916-mainline/qtestsign |
| 42 | |
| 43 | Usage |
| 44 | ----- |
| 45 | Press Volume Down during boot to enter Fastboot mode. |