Neil Armstrong | cad91fa | 2023-01-19 14:44:18 +0100 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
Christian Hewitt | e8ea84b | 2023-03-20 11:45:53 +0000 | [diff] [blame] | 3 | U-Boot for ODROID-GO-ULTRA (S922X) |
| 4 | ================================== |
Neil Armstrong | cad91fa | 2023-01-19 14:44:18 +0100 | [diff] [blame] | 5 | |
Christian Hewitt | e8ea84b | 2023-03-20 11:45:53 +0000 | [diff] [blame] | 6 | The ODROID GO ULTRA is a portable gaming device with the following characteristics: |
Neil Armstrong | cad91fa | 2023-01-19 14:44:18 +0100 | [diff] [blame] | 7 | |
| 8 | - Amlogic S922X SoC |
| 9 | - RK817 & RK818 PMICs |
| 10 | - 2GiB LPDDR4 |
| 11 | - On board 16GiB eMMC |
| 12 | - Micro SD Card slot |
| 13 | - 5inch 854×480 MIPI-DSI TFT LCD |
| 14 | - Earphone stereo jack, 0.5Watt 8Ω Mono speaker |
| 15 | - Li-Polymer 3.7V/4000mAh Battery |
| 16 | - USB-A 2.0 Host Connector |
| 17 | - x16 GPIO Input Buttons |
| 18 | - 2x ADC Analog Joysticks |
| 19 | - USB-C Port for USB2 Device and Charging |
| 20 | |
Christian Hewitt | e8ea84b | 2023-03-20 11:45:53 +0000 | [diff] [blame] | 21 | U-Boot Compilation |
Neil Armstrong | cad91fa | 2023-01-19 14:44:18 +0100 | [diff] [blame] | 22 | ------------------ |
| 23 | |
| 24 | .. code-block:: bash |
| 25 | |
| 26 | $ export CROSS_COMPILE=aarch64-none-elf- |
| 27 | $ make odroid-go-ultra_defconfig |
| 28 | $ make |
| 29 | |
Christian Hewitt | e8ea84b | 2023-03-20 11:45:53 +0000 | [diff] [blame] | 30 | U-Boot Signing with Pre-Built FIP repo |
| 31 | -------------------------------------- |
| 32 | |
| 33 | .. code-block:: bash |
| 34 | |
| 35 | $ git clone https://github.com/LibreELEC/amlogic-boot-fip --depth=1 |
| 36 | $ cd amlogic-boot-fip |
| 37 | $ mkdir my-output-dir |
| 38 | $ ./build-fip.sh odroid-go-ultra /path/to/u-boot/u-boot.bin my-output-dir |
| 39 | |
| 40 | Then write the image to SD or eMMC with: |
| 41 | |
| 42 | .. code-block:: bash |
Neil Armstrong | cad91fa | 2023-01-19 14:44:18 +0100 | [diff] [blame] | 43 | |
Christian Hewitt | e8ea84b | 2023-03-20 11:45:53 +0000 | [diff] [blame] | 44 | $ DEV=/dev/boot_device |
| 45 | $ dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=512 skip=1 seek=1 |
| 46 | $ dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=1 count=440 |