blob: d0de9dbcbc9a0982dba38b2c8187639f91b7944f [file] [log] [blame]
Stephan Gerhold2279dde2021-07-07 11:06:02 +02001.. SPDX-License-Identifier: GPL-2.0+
2.. sectionauthor:: Stephan Gerhold <stephan@gerhold.net>
3
4DragonBoard 410c
5================
6
7The DragonBoard 410c is a development board based on the Qualcomm APQ8016E SoC.
8More information can be found on the `96Boards product page`_.
9
10U-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``
12partition. Note that the U-Boot port used to be loaded as an Android boot image
13through 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
17Installation
18------------
19First, 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
25This will build ``u-boot.elf`` in the configured output directory.
26
27Although the DragonBoard 410c does not have secure boot set up by default,
28the firmware still expects firmware ELF images to be "signed". The signature
29does not provide any security in this case, but it provides the firmware with
30some required metadata.
31
32To "sign" ``u-boot.elf`` you can use e.g. `qtestsign`_::
33
34 $ ./qtestsign.py aboot u-boot.elf
35
36Then install the resulting ``u-boot-test-signed.mbn`` to the ``aboot`` partition
37on your device, e.g. with ``fastboot flash aboot u-boot-test-signed.mbn``.
38
39U-Boot should be running after a reboot (``fastboot reboot``).
40
41.. _qtestsign: https://github.com/msm8916-mainline/qtestsign
42
43Usage
44-----
45Press Volume Down during boot to enter Fastboot mode.