blob: caf0e38dee65f070f4d68ac1c67803945436c015 [file] [log] [blame]
Neil Armstrongcad91fa2023-01-19 14:44:18 +01001.. SPDX-License-Identifier: GPL-2.0+
2
Christian Hewitte8ea84b2023-03-20 11:45:53 +00003U-Boot for ODROID-GO-ULTRA (S922X)
4==================================
Neil Armstrongcad91fa2023-01-19 14:44:18 +01005
Christian Hewitte8ea84b2023-03-20 11:45:53 +00006The ODROID GO ULTRA is a portable gaming device with the following characteristics:
Neil Armstrongcad91fa2023-01-19 14:44:18 +01007
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 Hewitte8ea84b2023-03-20 11:45:53 +000021U-Boot Compilation
Neil Armstrongcad91fa2023-01-19 14:44:18 +010022------------------
23
24.. code-block:: bash
25
26 $ export CROSS_COMPILE=aarch64-none-elf-
27 $ make odroid-go-ultra_defconfig
28 $ make
29
Christian Hewitte8ea84b2023-03-20 11:45:53 +000030U-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
40Then write the image to SD or eMMC with:
41
42.. code-block:: bash
Neil Armstrongcad91fa2023-01-19 14:44:18 +010043
Christian Hewitte8ea84b2023-03-20 11:45:53 +000044 $ 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