odroid-n2l.rst 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. .. SPDX-License-Identifier: GPL-2.0+
  2. U-Boot for ODROID-N2L (S922X)
  3. =============================
  4. ODROID-N2L is a Single Board Computer manufactured by Hardkernel with the following
  5. specifications:
  6. - Amlogic S922X ARM Cortex-A53 dual-core + Cortex-A73 quad-core SoC
  7. - 4GB DDR4 SDRAM
  8. - HDMI 2.1 4K/60Hz display
  9. - 40-pin GPIO header
  10. - 1x USB 3.0 Host
  11. - 1x USB 2.0 Host
  12. - eMMC, microSD
  13. - MIPI DSI Port
  14. Schematics are available on the manufacturer website: https://wiki.odroid.com
  15. U-Boot Compilation
  16. ------------------
  17. .. code-block:: bash
  18. $ export CROSS_COMPILE=aarch64-none-elf-
  19. $ make odroid-n2l_defconfig
  20. $ make
  21. U-Boot Signing with Pre-Built FIP repo
  22. --------------------------------------
  23. .. code-block:: bash
  24. $ git clone https://github.com/LibreELEC/amlogic-boot-fip --depth=1
  25. $ cd amlogic-boot-fip
  26. $ mkdir my-output-dir
  27. $ ./build-fip.sh odroid-n2l /path/to/u-boot/u-boot.bin my-output-dir
  28. Then write U-Boot to SD or eMMC with:
  29. .. code-block:: bash
  30. $ DEV=/dev/boot_device
  31. $ dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=512 skip=1 seek=1
  32. $ dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=1 count=440