dragonboard410c.rst 1.6 KB

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