Mainline U-Boot for ODROID-M1S

Post Reply
User avatar
tobetter
Posts: 13216
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 1014 times
Been thanked: 2300 times
Contact:

Mainline U-Boot for ODROID-M1S

Post by tobetter »

I had a chance to port mainline U-Boot to ODROID-M1S and bare minimal features are working, the changes are uploaded to to my Github. This is very brand new version of U-Boot for ODROID-M1S, feature wise it's a lot less supported than stock U-Boot which version is v2017.09. If you need more supportive features, stay with stock U-Boot.

How to apply:
You need Linux system running on SD card or eMMC that you have root permission, you need to install one if you do not. Then download the attached file and extract it on Linux system, then you will have two files idbloader.img and u-boot.itb. Both files must be flashed to your eMMC.

Code: Select all

$ unzip u-boot-2024.01-20240125.zip 
Archive:  u-boot-2024.01-20240125.zip
  inflating: idbloader.img           
  inflating: u-boot.itb              
  inflating: md5sum                  
Part #1:

Code: Select all

sudo dd if=idbloader.img of=/dev/mmcblk0 conv=fsync seek=64
Part #2:

Code: Select all

echo 0 | sudo tee /sys/block/mmcblk0boot1/force_ro
sudo dd if=u-boot.itb of=/dev/mmcblk0boot1 conv=fsync
If you like to make sure before rebooting whether the firmware are written correctly, run these commands to check the version.

Code: Select all

odroid@server:~$ sudo dd if=/dev/mmcblk0boot1 count=2048 status=none | grep -abE -o ".{0,0}U-Boot 2024.{0,23}"
723075:U-Boot 2024.01-00003-gcd797f0899e 
odroid@server:~$ sudo dd if=/dev/mmcblk0 skip=64 count=360 status=none | grep -abE -o ".{0,0}U-Boot SPL.{0,27}"
164458:U-Boot SPL 2024.01-00003-gcd797f0899e
When everything is flashed correctly, you will have new boot loader logs shows the version number as 2024.01-00003-gcd797f0899e.

Code: Select all

U-Boot SPL 2024.01-00003-gcd797f0899e (Jan 25 2024 - 17:28:44 +0900)
Trying to boot from MMC2
Card did not respond to voltage select! : -110
spl: mmc init failed with error: -95
Trying to boot from MMC1
## Checking hash(es) for config config-1 ... OK
...
U-Boot 2024.01-00003-gcd797f0899e (Jan 25 2024 - 17:28:44 +0900)

Model: Hardkernel ODROID-M1S
DRAM:  8 GiB (effective 7.7 GiB)
PMIC:  RK8090 (on=0x02, off=0x00)
Core:  308 devices, 28 uclasses, devicetree: separate
MMC:   mmc@fe2b0000: 1, mmc@fe310000: 0
Loading Environment from nowhere... OK
In:    serial@fe660000
Out:   serial@fe660000
Err:   serial@fe660000
Model: Hardkernel ODROID-M1S
How to build

Code: Select all

$ git clone https://github.com/tobetter/u-boot.git -b topic-v2024.01 u-boot
$ cd u-boot
$ curl -L -o bl31.elf "https://github.com/hardkernel/rk3568_rkbin/blob/odroidm1-v2017.09/bin/rk35/rk3568_bl31_v1.43.elf?raw=true"
$ curl -L -o ddr.bin "https://github.com/hardkernel/rk3568_rkbin/blob/odroidm1-v2017.09/bin/rk35/rk3566_ddr_1056MHz_v1.18.bin?raw=true"
$ make odroid-m1s-rk3566_defconfig
$ make -j8 ROCKCHIP_TPL=ddr.bin BL31=bl31.elf
Attachments
u-boot-2024.01-20240125.zip
(582.9 KiB) Downloaded 36 times
These users thanked the author tobetter for the post (total 5):
hominoid (Thu Jan 25, 2024 11:58 pm) • jeannot (Fri Jan 26, 2024 8:01 am) • odroid (Fri Jan 26, 2024 9:18 am) • secuflag (Fri Jan 26, 2024 2:51 pm) • istanbulls (Sat Jan 27, 2024 5:54 pm)

User avatar
tobetter
Posts: 13216
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 1014 times
Been thanked: 2300 times
Contact:

Re: Mainline U-Boot for ODROID-M1S

Post by tobetter »

## RESERVED ##

User avatar
jeannot
Posts: 13
Joined: Tue Jan 16, 2024 8:46 am
languages_spoken: english
ODROIDs: H2, M1S
Has thanked: 5 times
Been thanked: 4 times

Re: Mainline U-Boot for ODROID-M1S

Post by jeannot »

hello tobetter.
just tried the new uboot
- flash : ok
- skips petitboot : ok
- boot from nvme : not ok. boots straight from emmc. i didn't wipe the emmc os.

reflashed default 2017.09 uboot I just compiled
Last edited by jeannot on Fri Jan 26, 2024 10:17 am, edited 1 time in total.

User avatar
tobetter
Posts: 13216
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 1014 times
Been thanked: 2300 times
Contact:

Re: Mainline U-Boot for ODROID-M1S

Post by tobetter »

jeannot wrote:
Fri Jan 26, 2024 7:49 am
hello tobetter.
just tried the new uboot
- flash : ok
- skips petitboot : ok
- boot from nvme : not ok. boots straight from emmc. i didn't wipe the emmc os.

flashed default 2017.09 uboot I just compiled
Obviously I have, but...

If you are able to boot from eMMC and have a package u-boot-odroidm1s you can restore them by following these commands, just make sure your eMMC is presented to /dev/mmcblk0.

Code: Select all

odroid@server:~$ cd /usr/lib/u-boot/odroidm1s/
odroid@server:/usr/lib/u-boot/odroidm1s$ sudo ./sd_fusing.sh /dev/mmcblk0                                                                                
4096+0 records in
4096+0 records out
2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.236063 s, 8.9 MB/s
604+0 records in
604+0 records out
309248 bytes (309 kB, 302 KiB) copied, 0.0410987 s, 7.5 MB/s
Finished.
These users thanked the author tobetter for the post:
jeannot (Fri Jan 26, 2024 10:18 am)

lxndrJ
Posts: 11
Joined: Sun Dec 17, 2023 5:54 pm
languages_spoken: english german
ODROIDs: M1s
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Mainline U-Boot for ODROID-M1S

Post by lxndrJ »

Hi tobetter,
I was giving a try the ssd does not get mounted, just os on emmc

Code: Select all

odroid@node2:~$ lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
mmcblk0      179:0    0  58.2G  0 disk 
├─mmcblk0p1  179:1    0   256M  0 part /boot
└─mmcblk0p2  179:2    0    58G  0 part /
mmcblk0boot0 179:32   0     4M  1 disk 
mmcblk0boot1 179:64   0     4M  1 disk 
nvme0n1      259:0    0 238.5G  0 disk 
├─nvme0n1p1  259:1    0   256M  0 part 
└─nvme0n1p2  259:2    0   1.5G  0 part 
how do I get this boot log files, I don't see on the boot screen?

User avatar
tobetter
Posts: 13216
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 1014 times
Been thanked: 2300 times
Contact:

Re: Mainline U-Boot for ODROID-M1S

Post by tobetter »

lxndrJ wrote:
Fri Feb 02, 2024 9:30 pm
Hi tobetter,
I was giving a try the ssd does not get mounted, just os on emmc

Code: Select all

odroid@node2:~$ lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
mmcblk0      179:0    0  58.2G  0 disk 
├─mmcblk0p1  179:1    0   256M  0 part /boot
└─mmcblk0p2  179:2    0    58G  0 part /
mmcblk0boot0 179:32   0     4M  1 disk 
mmcblk0boot1 179:64   0     4M  1 disk 
nvme0n1      259:0    0 238.5G  0 disk 
├─nvme0n1p1  259:1    0   256M  0 part 
└─nvme0n1p2  259:2    0   1.5G  0 part 
how do I get this boot log files, I don't see on the boot screen?
This is normal since eMMC have a higher priority that NVMe, it is not changeable unless you build U-Boot. If you won't use eMMC for OS, rename the file /boot/boot.scr to /boot/boot.scr.bak and reboot it then it will try to boot from NVMe.
In order to confirm what is happening on booting you need UART to serial board to capture logs, as of now the U-Boot in this thread does not support any display out before kernel start.

lxndrJ
Posts: 11
Joined: Sun Dec 17, 2023 5:54 pm
languages_spoken: english german
ODROIDs: M1s
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Mainline U-Boot for ODROID-M1S

Post by lxndrJ »

Don’t know what I’m doing wrong. I don’t get it running. Guess I will do a roll back

hominoid
Posts: 955
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2L, N2+, HC4, M1, H2, H3+
Location: Lake Superior Basin, USA
Has thanked: 144 times
Been thanked: 464 times
Contact:

Re: Mainline U-Boot for ODROID-M1S

Post by hominoid »

Trying to compile this u-boot version I'm running into this error. Did you have this problem? Any ideas?

Code: Select all

...
  LD      spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
  SYM     spl/u-boot-spl.sym
  CAT     spl/u-boot-spl-dtb.bin
  COPY    spl/u-boot-spl.bin
  BINMAN  .binman_stamp
Wrote map file './simple-bin.map' to show errors
binman: Node '/binman/simple-bin/fit': subnode 'images/@atf-SEQ': Failed to read ELF file: Magic number does not match
make: *** [Makefile:1124: .binman_stamp] Error 1

Code: Select all

[hominoid@odroid-m1s u-boot]$ cat ./simple-bin.map
ImagePos    Offset      Size  Name
<none>    00000000  <none>    simple-bin
<none>     00000000  0002d000  mkimage
<none>      00000000  0000d800  rockchip-tpl
<none>      0000d800  0001ea41  u-boot-spl
<none>       00000000  0001d8f8  u-boot-spl-nodtb
<none>       0001d8f8  00001149  u-boot-spl-dtb
<none>     007f8000  <none>    fit
<none>      00000000  000cb3d8  u-boot
<none>       00000000  000cb3d8  u-boot-nodtb
<none>      000cb3d8  00024693  @atf-SEQ
<none>       00000000  00024693  atf-bl31
<none>      000efa6b  00000000  @tee-SEQ
<none>       00000000  00000000  tee-os
<none>      000efa6b  00000000  @fdt-SEQ

Code: Select all

[hominoid@odroid-m1s u-boot]$ uname -a
Linux odroid-m1s 6.1.86-odroid-arm64 #1 SMP PREEMPT Thu May  2 22:08:08 EDT 2024 aarch64 GNU/Linux

User avatar
tobetter
Posts: 13216
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 1014 times
Been thanked: 2300 times
Contact:

Re: Mainline U-Boot for ODROID-M1S

Post by tobetter »

hominoid wrote:
Fri May 10, 2024 2:46 am
Trying to compile this u-boot version I'm running into this error. Did you have this problem? Any ideas?

Code: Select all

...
  LD      spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
  SYM     spl/u-boot-spl.sym
  CAT     spl/u-boot-spl-dtb.bin
  COPY    spl/u-boot-spl.bin
  BINMAN  .binman_stamp
Wrote map file './simple-bin.map' to show errors
binman: Node '/binman/simple-bin/fit': subnode 'images/@atf-SEQ': Failed to read ELF file: Magic number does not match
make: *** [Makefile:1124: .binman_stamp] Error 1

Code: Select all

[hominoid@odroid-m1s u-boot]$ cat ./simple-bin.map
ImagePos    Offset      Size  Name
<none>    00000000  <none>    simple-bin
<none>     00000000  0002d000  mkimage
<none>      00000000  0000d800  rockchip-tpl
<none>      0000d800  0001ea41  u-boot-spl
<none>       00000000  0001d8f8  u-boot-spl-nodtb
<none>       0001d8f8  00001149  u-boot-spl-dtb
<none>     007f8000  <none>    fit
<none>      00000000  000cb3d8  u-boot
<none>       00000000  000cb3d8  u-boot-nodtb
<none>      000cb3d8  00024693  @atf-SEQ
<none>       00000000  00024693  atf-bl31
<none>      000efa6b  00000000  @tee-SEQ
<none>       00000000  00000000  tee-os
<none>      000efa6b  00000000  @fdt-SEQ

Code: Select all

[hominoid@odroid-m1s u-boot]$ uname -a
Linux odroid-m1s 6.1.86-odroid-arm64 #1 SMP PREEMPT Thu May  2 22:08:08 EDT 2024 aarch64 GNU/Linux
Can you apply this fix and try again?

Code: Select all

diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi
index c8c928c7e50..2f36076c5bd 100644
--- a/arch/arm/dts/rockchip-u-boot.dtsi
+++ b/arch/arm/dts/rockchip-u-boot.dtsi
@@ -80,6 +80,7 @@
                                };
 
 #ifdef CONFIG_ARM64
+#if !defined(CONFIG_TARGET_ODROID_M1S_RK3566)
                                @atf-SEQ {
                                        fit,operation = "split-elf";
                                        description = "ARM Trusted Firmware";
@@ -99,6 +100,7 @@
                                        };
 #endif
                                };
+#endif
                                @tee-SEQ {
                                        fit,operation = "split-elf";
                                        description = "TEE";

hominoid
Posts: 955
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2L, N2+, HC4, M1, H2, H3+
Location: Lake Superior Basin, USA
Has thanked: 144 times
Been thanked: 464 times
Contact:

Re: Mainline U-Boot for ODROID-M1S

Post by hominoid »

After patching, the compile completed but had a warning about OP-TEE.

Code: Select all

Image 'simple-bin' is missing optional external blobs but is still functional: tee-os

/binman/simple-bin/fit/images/@tee-SEQ/tee-os (tee-os):
   See the documentation for your board. You may need to build Open Portable
   Trusted Execution Environment (OP-TEE) and build with TEE=/path/to/tee.bin

  OFCHK   .config
FYI, since I'm using a SD Card and not the internal EMMC, I used u-boot.img and wrote the resulting files as such:

Code: Select all

sudo dd if=idbloader.img of=/dev/mmcblk1 conv=fsync seek=64
sudo dd if=u-boot.img of=/dev/mmcblk1 conv=fsync seek=2048


The boot resulted in a hang at "Starting Kernel".

Code: Select all

U-Boot SPL 2024.01-00003-gbc24696f8ec-dirty (May 22 2024 - 10:47:02 -0400)
Trying to boot from MMC2
## Checking hash(es) for config conf-1 ... OK
## Checking hash(es) for Image firmware-1 ... crc32+ OK
## Checking hash(es) for Image fdt-1 ... crc32+ OK


U-Boot 2024.01-00003-gbc24696f8ec-dirty (May 22 2024 - 10:47:02 -0400)

Model: Hardkernel ODROID-M1S
DRAM:  8 GiB (effective 7.7 GiB)
PMIC:  RK8090 (on=0x40, off=0x00)
Core:  308 devices, 28 uclasses, devicetree: separate
MMC:   mmc@fe2b0000: 1, mmc@fe310000: 0
Loading Environment from nowhere... OK
In:    serial@fe660000
Out:   serial@fe660000
Err:   serial@fe660000
Model: Hardkernel ODROID-M1S
Net:   eth0: ethernet@fe010000
Hit any key to stop autoboot:  0 
** Booting bootflow 'mmc@fe2b0000.bootdev.part_1' with extlinux
1:      Archlinux
Retrieving file: /vmlinux-6.1.86-odroid-arm64
Retrieving file: /initramfs-6.1.86-odroid-arm64.img
append: root=UUID=8b892d53-d29b-447f-9a2e-0f9f3d52ec73 console=tty0 console=ttyS2,1500000 consoleblank=0 loglevel=0 panic=10 rootwaM
Retrieving file: /dtbs/6.1.86-odroid-arm64/rockchip/rockchip/rk3566-odroid-m1s.dtb
Moving Image from 0x2080000 to 0x2200000, end=46c0000
## Flattened Device Tree blob at edee7d70
   Booting using the fdt blob at 0xedee7d70
Working FDT set to edee7d70
   Loading Ramdisk to ec3fc000, end eced9c57 ... OK
   Loading Device Tree to 00000000ec3e4000, end 00000000ec3fb01f ... OK
Working FDT set to ec3e4000

Starting kernel ...
I then tried the same process using ubuntu-20.04-server-odroidm1s-20231030.img instead of my custom Arch image. The compile also ended in the same OP-TEE warning and hung during booting with some errors.

Code: Select all

U-Boot SPL 2024.01-00003-gbc24696f8ec-dirty (May 22 2024 - 12:18:09 -0400)
Trying to boot from MMC2
## Checking hash(es) for config conf-1 ... OK
## Checking hash(es) for Image firmware-1 ... crc32+ OK
## Checking hash(es) for Image fdt-1 ... crc32+ OK


U-Boot 2024.01-00003-gbc24696f8ec-dirty (May 22 2024 - 12:18:09 -0400)

Model: Hardkernel ODROID-M1S
DRAM:  8 GiB (effective 7.7 GiB)
PMIC:  RK8090 (on=0x40, off=0x00)
Core:  308 devices, 28 uclasses, devicetree: separate
MMC:   mmc@fe2b0000: 1, mmc@fe310000: 0
Loading Environment from nowhere... OK
In:    serial@fe660000
Out:   serial@fe660000
Err:   serial@fe660000
Model: Hardkernel ODROID-M1S
Net:   eth0: ethernet@fe010000
Hit any key to stop autoboot:  0 
** Booting bootflow 'mmc@fe2b0000.bootdev.part_1' with script
184 bytes read in 3 ms (59.6 KiB/s)
ini: Imported overlay_resize as 16384
ini: Imported overlay_profile as 
ini: Imported overlays as i2c0 i2c1 spi0
163721 bytes read in 26 ms (6 MiB/s)
Working FDT set to a100000
223 bytes read in 7 ms (30.3 KiB/s)
223 bytes read in 7 ms (30.3 KiB/s)
514 bytes read in 7 ms (71.3 KiB/s)
7816770 bytes read in 656 ms (11.4 MiB/s)
Uncompressed size: 23246856 = 0x162B808
17424412 bytes read in 1454 ms (11.4 MiB/s)
Booting Debian 5.10.0-odroid-arm64 from mmc 1:1...
Moving Image from 0x2080000 to 0x2200000, end=38b0000
## Flattened Device Tree blob at 0a100000
   Booting using the fdt blob at 0xa100000
Working FDT set to a100000
   Loading Ramdisk to ebe38000, end eced601c ... OK
ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0)
ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0)
   Loading Device Tree to 00000000ebdf6000, end 00000000ebe37fff ... OK
Working FDT set to ebdf6000

Starting kernel ...
This is the full compile log from the Arch build.

Code: Select all

[hominoid@odroid-m1s u-boot]$ make -j4 ROCKCHIP_TPL=ddr.bin BL31=bl31.elf
scripts/kconfig/conf  --syncconfig Kconfig
  UPD     include/config.h
  CFG     u-boot.cfg
  GEN     include/autoconf.mk.dep
  CFG     spl/u-boot.cfg
  GEN     include/autoconf.mk
  GEN     spl/include/autoconf.mk
  ENVC    include/generated/env.txt
  UPD     include/generated/timestamp_autogenerated.h
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  PYMOD   rebuild
/home/hominoid/src/u-boot/scripts/dtc/pylibfdt/setup.py:40: SyntaxWarning: invalid escape sequence '\w'
  RE_KEY_VALUE = re.compile('(?P<key>\w+) *(?P<plus>[+])?= *(?P<value>.*)$')
  ENVP    include/generated/env.in
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  ENVT    include/generated/environment.h
  HOSTCC  scripts/dtc/treesource.o
  CC      lib/asm-offsets.s
  CC      arch/arm/lib/asm-offsets.s
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  LDS     u-boot.lds
  HOSTCC  scripts/dtc/util.o
  LEX     scripts/dtc/dtc-lexer.lex.c
  YACC    scripts/dtc/dtc-parser.tab.h
  YACC    scripts/dtc/dtc-parser.tab.c
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTLD  scripts/dtc/dtc
  HOSTCC  tools/gen_eth_addr
  HOSTCC  tools/gen_ethaddr_crc.o
  WRAP    tools/generated/lib/crc8.c
  HOSTCC  tools/img2srec
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/os_support.o
  WRAP    tools/generated/lib/crc32.c
  HOSTCC  tools/aisimage.o
  HOSTCC  tools/atmelimage.o
  HOSTCC  tools/fit_common.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/image-host.o
  WRAP    tools/generated/boot/image-fit.c
  HOSTCC  tools/image-sig-host.o
  WRAP    tools/generated/boot/image-fit-sig.c
  WRAP    tools/generated/boot/image-cipher.c
  WRAP    tools/generated/boot/fdt_region.c
  WRAP    tools/generated/boot/bootm.c
  HOSTCC  tools/generated/lib/crc32.o
  HOSTCC  tools/default_image.o
  WRAP    tools/generated/lib/fdtdec_common.c
  WRAP    tools/generated/lib/fdtdec.c
  WRAP    tools/generated/boot/image.c
  WRAP    tools/generated/boot/image-host.c
  HOSTCC  tools/imagetool.o
  HOSTCC  tools/imximage.o
  HOSTCC  tools/imx8image.o
  HOSTCC  tools/imx8mimage.o
  HOSTCC  tools/kwbimage.o
  WRAP    tools/generated/lib/md5.c
  HOSTCC  tools/lpc32xximage.o
  HOSTCC  tools/mxsimage.o
  HOSTCC  tools/omapimage.o
  HOSTCC  tools/pblimage.o
  HOSTCC  tools/pbl_crc32.o
  HOSTCC  tools/renesas_spkgimage.o
  HOSTCC  tools/sfspl.o
  HOSTCC  tools/vybridimage.o
  HOSTCC  tools/stm32image.o
  WRAP    tools/generated/lib/rc4.c
  HOSTCC  tools/rkcommon.o
  HOSTCC  tools/rkimage.o
  HOSTCC  tools/rksd.o
  HOSTCC  tools/rkspi.o
  HOSTCC  tools/socfpgaimage.o
  HOSTCC  tools/sunxi_egon.o
  WRAP    tools/generated/lib/crc16-ccitt.c
  WRAP    tools/generated/lib/hash-checksum.c
  WRAP    tools/generated/lib/sha1.c
  WRAP    tools/generated/lib/sha256.c
  WRAP    tools/generated/lib/sha512.c
  WRAP    tools/generated/common/hash.c
  HOSTCC  tools/ublimage.o
  HOSTCC  tools/zynqimage.o
  HOSTCC  tools/zynqmpimage.o
  HOSTCC  tools/zynqmpbif.o
  WRAP    tools/generated/lib/fdt-libcrypto.c
  HOSTCC  tools/sunxi_toc0.o
  HOSTCC  tools/libfdt/fdt.o
  HOSTCC  tools/libfdt/fdt_ro.o
tools/sunxi_toc0.c: In function ‘toc0_verify_cert_item’:
tools/sunxi_toc0.c:447:12: warning: ‘nonnull’ argument ‘digest’ compared to NULL [-Wnonnull-compare]
  447 |         if (digest && memcmp(&extension->digest, digest, SHA256_DIGEST_LENGTH)) {
      |            ^
  HOSTCC  tools/libfdt/fdt_wip.o
  HOSTCC  tools/libfdt/fdt_sw.o
  HOSTCC  tools/libfdt/fdt_rw.o
  HOSTCC  tools/libfdt/fdt_strerror.o
  HOSTCC  tools/libfdt/fdt_empty_tree.o
  HOSTCC  tools/libfdt/fdt_addresses.o
  HOSTCC  tools/libfdt/fdt_overlay.o
  HOSTCC  tools/gpimage.o
  HOSTCC  tools/gpimage-common.o
  HOSTCC  tools/mtk_image.o
  HOSTCC  tools/mtk_nand_headers.o
  WRAP    tools/generated/lib/ecdsa/ecdsa-libcrypto.c
  WRAP    tools/generated/lib/rsa/rsa-sign.c
  WRAP    tools/generated/lib/rsa/rsa-verify.c
  WRAP    tools/generated/lib/rsa/rsa-mod-exp.c
  WRAP    tools/generated/lib/aes/aes-encrypt.c
  WRAP    tools/generated/lib/aes/aes-decrypt.c
  HOSTCC  tools/dumpimage.o
  HOSTCC  tools/generated/boot/image-fit.o
  HOSTCC  tools/generated/boot/image-fit-sig.o
  HOSTCC  tools/generated/boot/image-cipher.o
  HOSTCC  tools/generated/boot/fdt_region.o
  HOSTCC  tools/generated/boot/bootm.o
  HOSTCC  tools/generated/lib/fdtdec_common.o
  HOSTCC  tools/generated/lib/fdtdec.o
  HOSTCC  tools/generated/boot/image.o
  HOSTCC  tools/generated/boot/image-host.o
  HOSTCC  tools/generated/lib/md5.o
  HOSTCC  tools/generated/lib/rc4.o
  HOSTCC  tools/generated/lib/crc16-ccitt.o
  HOSTCC  tools/generated/lib/hash-checksum.o
  HOSTCC  tools/generated/lib/sha1.o
  HOSTCC  tools/generated/lib/sha256.o
  HOSTCC  tools/generated/lib/sha512.o
  HOSTCC  tools/generated/common/hash.o
  HOSTCC  tools/generated/lib/fdt-libcrypto.o
  HOSTCC  tools/generated/lib/ecdsa/ecdsa-libcrypto.o
  HOSTCC  tools/generated/lib/rsa/rsa-sign.o
  HOSTCC  tools/generated/lib/rsa/rsa-verify.o
  HOSTCC  tools/generated/lib/rsa/rsa-mod-exp.o
  HOSTCC  tools/generated/lib/aes/aes-encrypt.o
  HOSTCC  tools/generated/lib/aes/aes-decrypt.o
  HOSTCC  tools/mkimage.o
  HOSTCC  tools/fit_info.o
  HOSTCC  tools/fit_check_sign.o
  HOSTCC  tools/fdt_add_pubkey.o
  HOSTCC  tools/proftool.o
  WRAP    tools/generated/lib/abuf.c
  HOSTCC  tools/relocate-rela
  HOSTCC  tools/fdtgrep.o
  HOSTCC  tools/spl_size_limit
  HOSTCC  tools/generated/lib/crc8.o
  HOSTLD  tools/mkenvimage
  HOSTLD  tools/dumpimage
  HOSTLD  tools/mkimage
  HOSTLD  tools/fit_info
  HOSTLD  tools/fit_check_sign
  HOSTLD  tools/fdt_add_pubkey
  HOSTCC  tools/generated/lib/abuf.o
  HOSTLD  tools/fdtgrep
  HOSTLD  tools/gen_ethaddr_crc
  HOSTLD  tools/proftool
  AR      arch/arm/cpu/built-in.o
  CC      arch/arm/cpu/armv8/cpu.o
  CC      arch/arm/cpu/armv8/generic_timer.o
  AS      arch/arm/lib/crt0_64.o
  CC      arch/arm/mach-rockchip/rk3568/clk_rk3568.o
  AS      arch/arm/lib/setjmp_aarch64.o
  AS      arch/arm/lib/relocate_64.o
  CC      arch/arm/lib/bootm-fdt.o
  CC      arch/arm/mach-rockchip/rk3568/rk3568.o
  CC      arch/arm/cpu/armv8/cache_v8.o
  AS      arch/arm/cpu/armv8/cache.o
  AS      arch/arm/cpu/armv8/exceptions.o
  CC      arch/arm/lib/bootm.o
  CC      arch/arm/cpu/armv8/exception_level.o
  CC      arch/arm/mach-rockchip/rk3568/syscon_rk3568.o
  AR      arch/arm/mach-rockchip/rk3568/built-in.o
  AS      arch/arm/cpu/armv8/tlb.o
  AS      arch/arm/cpu/armv8/transition.o
  CC      arch/arm/cpu/armv8/fwcall.o
  CC      arch/arm/lib/image.o
  CC      arch/arm/cpu/armv8/cpu-dt.o
  CC      arch/arm/lib/bdinfo.o
  CC      arch/arm/mach-rockchip/boot_mode.o
  CC      arch/arm/mach-rockchip/board.o
  AS      arch/arm/cpu/armv8/smccc-call.o
  AS      arch/arm/cpu/armv8/start.o
  AR      arch/arm/cpu/armv8/built-in.o
  CC      arch/arm/lib/sections.o
  CC      board/hardkernel/odroid_m1s/board.o
  CC      arch/arm/lib/stack.o
  CC      arch/arm/mach-rockchip/misc.o
  CC      arch/arm/mach-rockchip/sdram.o
  CC      arch/arm/lib/interrupts_64.o
  AR      board/hardkernel/odroid_m1s/built-in.o
  CC      boot/bootm.o
  CC      boot/bootm_os.o
  AR      arch/arm/mach-rockchip/built-in.o
  CC      boot/pxe_utils.o
  CC      arch/arm/lib/cache.o
  CC      arch/arm/lib/psci-dt.o
  AR      arch/arm/lib/lib.a
  CC      boot/image.o
  AS      arch/arm/lib/crt0_aarch64_efi.o
  CC      arch/arm/lib/reloc_aarch64_efi.o
  AR      arch/arm/lib/built-in.o
  AR      cmd/arm/built-in.o
  CC      cmd/boot.o
  CC      boot/image-board.o
  CC      cmd/bootm.o
  CC      cmd/help.o
  CC      cmd/panic.o
  CC      cmd/version.o
  CC      boot/bootdev-uclass.o
  CC      cmd/blk_common.o
  CC      cmd/bootflow.o
  CC      boot/bootflow.o
  CC      boot/bootmeth-uclass.o
  CC      cmd/source.o
  CC      cmd/bdinfo.o
  CC      boot/bootstd-uclass.o
  CC      cmd/blkcache.o
  CC      boot/bootmeth_extlinux.o
  CC      cmd/bootefi.o
  CC      boot/bootmeth_pxe.o
  CC      boot/bootmeth_efi.o
  CC      boot/bootmeth_script.o
  CC      cmd/booti.o
  CC      boot/fdt_support.o
  CC      boot/image-fdt.o
  CC      cmd/console.o
  CC      boot/fdt_region.o
  CC      cmd/dm.o
  CC      cmd/echo.o
  CC      cmd/eficonfig.o
  CC      cmd/elf.o
  CC      boot/image-fit.o
  CC      boot/image-sig.o
  CC      cmd/exit.o
  CC      cmd/ext4.o
  CC      boot/image-fit-sig.o
  CC      cmd/ext2.o
  CC      boot/vbe.o
  CC      boot/vbe_request.o
  CC      boot/vbe_simple.o
  CC      cmd/fat.o
  CC      boot/vbe_simple_os.o
  CC      cmd/fdt.o
  CC      cmd/fs.o
  CC      cmd/gpio.o
  CC      common/init/board_init.o
  AR      boot/built-in.o
  CC      cmd/i2c.o
  AR      common/init/built-in.o
  CC      common/main.o
  CC      common/exports.o
  CC      cmd/ini.o
  CC      common/cli_hush.o
  CC      disk/part.o
  CC      common/autoboot.o
  CC      cmd/itest.o
  CC      cmd/cramfs.o
  CC      disk/disk-uclass.o
  CC      cmd/load.o
  CC      disk/part_dos.o
  CC      cmd/mem.o
  CC      disk/part_iso.o
  CC      common/board_f.o
  CC      common/board_r.o
  CC      cmd/mii.o
  CC      disk/part_efi.o
  CC      drivers/adc/adc-uclass.o
  CC      common/board_info.o
  CC      cmd/mdio.o
  CC      common/miiphyutil.o
  CC      drivers/adc/rockchip-saradc.o
  CC      cmd/sleep.o
  AR      drivers/adc/built-in.o
  CC      drivers/ata/dwc_ahci.o
  CC      common/usb.o
  CC      cmd/mmc.o
  AR      disk/built-in.o
  CC      common/usb_hub.o
  CC      drivers/ata/ahci-uclass.o
  CC      drivers/ata/ahci-pci.o
  CC      drivers/ata/ahci.o
  CC      common/usb_storage.o
  CC      drivers/ata/libata.o
  CC      cmd/legacy-mtd-utils.o
  CC      cmd/net.o
  CC      common/splash.o
  CC      cmd/part.o
  CC      cmd/pci.o
  AR      drivers/ata/built-in.o
  CC      cmd/pinmux.o
  AR      drivers/axi/built-in.o
  CC      drivers/block/blk-uclass.o
  CC      common/menu.o
  CC      cmd/pxe.o
  CC      cmd/nvme.o
  CC      common/cli_getch.o
  CC      cmd/sf.o
  CC      cmd/scsi.o
  CC      common/cli_readline.o
  CC      drivers/block/blkcache.o
  CC      cmd/disk.o
  AR      drivers/block/built-in.o
  CC      cmd/test.o
  AR      drivers/bus/built-in.o
  AR      drivers/cache/built-in.o
  AR      drivers/clk/analogbits/built-in.o
  CC      cmd/unlz4.o
  AR      drivers/clk/imx/built-in.o
  CC      drivers/clk/rockchip/clk_pll.o
  CC      cmd/unzip.o
  CC      cmd/lzmadec.o
  CC      common/cli_simple.o
  CC      cmd/usb.o
  CC      cmd/ximg.o
  CC      common/bouncebuf.o
  CC      common/console.o
  CC      drivers/clk/rockchip/clk_rk3568.o
  CC      cmd/gpt.o
  CC      drivers/core/device.o
  CC      common/dlmalloc.o
  CC      cmd/pmic.o
  CC      cmd/regulator.o
  CC      drivers/core/fdtaddr.o
  CC      cmd/nvedit.o
  CC      common/malloc_simple.o
  CC      drivers/core/lists.o
  CC      common/event.o
  AR      drivers/clk/rockchip/built-in.o
  AR      drivers/clk/tegra/built-in.o
  CC      drivers/core/root.o
  CC      common/hash.o
  AR      drivers/clk/ti/built-in.o
  CC      drivers/clk/clk-uclass.o
  AR      cmd/built-in.o
  CC      drivers/clk/clk_fixed_rate.o
  CC      drivers/clk/clk_fixed_factor.o
  CC      common/memsize.o
  CC      drivers/core/uclass.o
  CC      common/stdio.o
  CC      drivers/core/util.o
  AR      drivers/clk/built-in.o
  CC      drivers/core/tag.o
  CC      drivers/core/device-remove.o
  CC      common/cli.o
  CC      common/command.o
  CC      common/s_record.o
  CC      drivers/core/simple-bus.o
  CC      common/xyzModem.o
  CC      drivers/core/dump.o
  CC      drivers/core/regmap.o
  CC      drivers/core/syscon-uclass.o
  AR      common/built-in.o
  AR      drivers/crypto/aspeed/built-in.o
  CC      drivers/crypto/fsl/sec.o
  AR      drivers/usb/cdns3/built-in.o
  AR      drivers/dfu/built-in.o
  CC      drivers/usb/common/common.o
  CC      drivers/core/of_access.o
  AR      drivers/crypto/fsl/built-in.o
  CC      drivers/core/of_addr.o
  AR      drivers/crypto/hash/built-in.o
  AR      drivers/crypto/nuvoton/built-in.o
  CC      drivers/crypto/rsa_mod_exp/mod_exp_uclass.o
  AR      drivers/usb/common/built-in.o
  CC      drivers/core/read.o
  CC      drivers/crypto/rsa_mod_exp/mod_exp_sw.o
  AR      drivers/crypto/rsa_mod_exp/built-in.o
  AR      drivers/crypto/built-in.o
  CC      drivers/core/of_extra.o
  CC      drivers/usb/dwc3/core.o
  CC      drivers/usb/dwc3/dwc3-generic.o
  CC      drivers/core/ofnode.o
  CC      drivers/core/read_extra.o
  AR      drivers/usb/emul/built-in.o
  AR      drivers/usb/eth/built-in.o
  CC      drivers/usb/host/usb-uclass.o
  CC      drivers/usb/host/usb_bootdev.o
  AR      drivers/usb/isp1760/built-in.o
  CC      drivers/usb/host/ohci-hcd.o
  AR      drivers/usb/dwc3/dwc3.o
  AR      drivers/usb/dwc3/built-in.o
  CC      drivers/usb/host/ohci-generic.o
  CC      drivers/usb/host/ehci-hcd.o
  CC      drivers/usb/host/ehci-generic.o
  CC      drivers/usb/host/xhci.o
  AR      drivers/core/built-in.o
  CC      drivers/firmware/firmware-uclass.o
  CC      drivers/gpio/gpio-uclass.o
  CC      drivers/firmware/psci.o
  CC      drivers/usb/host/xhci-mem.o
  AR      drivers/firmware/built-in.o
  CC      drivers/gpio/rk_gpio.o
  CC      drivers/usb/host/xhci-ring.o
  CC      drivers/usb/host/dwc3-of-simple.o
  CC      drivers/i2c/i2c-uclass.o
  CC      drivers/i2c/rk_i2c.o
  AR      drivers/gpio/built-in.o
  CC      drivers/input/key_matrix.o
  AR      drivers/usb/host/built-in.o
  AR      drivers/iommu/built-in.o
  AR      drivers/usb/mtu3/built-in.o
  AR      drivers/mailbox/built-in.o
  AR      drivers/input/built-in.o
  AR      drivers/memory/built-in.o
  AR      drivers/mfd/built-in.o
  CC      drivers/misc/misc-uclass.o
  CC      drivers/mmc/mmc.o
  AR      drivers/usb/musb-new/built-in.o
  CC      drivers/mmc/mmc-uclass.o
  AR      drivers/i2c/built-in.o
  AR      drivers/mtd/nand/built-in.o
  AR      drivers/mtd/onenand/built-in.o
  CC      drivers/misc/rockchip-otp.o
  CC      drivers/mtd/spi/sf-uclass.o
  CC      drivers/mtd/spi/sf_probe.o
  CC      drivers/misc/rockchip-io-domain.o
  CC      drivers/mtd/spi/spi-nor-ids.o
  CC      drivers/mmc/mmc_bootdev.o
  CC      drivers/mtd/spi/spi-nor-core.o
  AR      drivers/misc/built-in.o
  CC      drivers/mmc/mmc_write.o
  AR      drivers/net/mscc_eswitch/built-in.o
  CC      drivers/net/phy/phy.o
  CC      drivers/net/phy/realtek.o
  CC      drivers/mmc/dw_mmc.o
  AR      drivers/net/phy/built-in.o
  CC      drivers/mmc/rockchip_dw_mmc.o
  AR      drivers/net/qe/built-in.o
  AR      drivers/net/ti/built-in.o
  CC      drivers/net/eth-phy-uclass.o
  AR      drivers/mtd/spi/spi-nor.o
  CC      drivers/net/dwc_eth_qos.o
  AR      drivers/mtd/spi/built-in.o
  AR      drivers/mtd/built-in.o
  CC      drivers/net/dwc_eth_qos_rockchip.o
  CC      drivers/nvme/nvme-uclass.o
  CC      drivers/mmc/rpmb.o
  CC      drivers/nvme/nvme.o
  CC      drivers/nvme/nvme_show.o
  CC      drivers/mmc/sdhci.o
  AR      drivers/net/built-in.o
  CC      drivers/mmc/rockchip_sdhci.o
  CC      drivers/nvme/nvme_pci.o
  AR      drivers/nvme/built-in.o
  CC      drivers/pci/pci-uclass.o
  CC      drivers/pci/pci_auto.o
  CC      drivers/pci/pci_auto_common.o
  CC      drivers/pci/pci_common.o
  AR      drivers/mmc/built-in.o
  CC      drivers/pci/pcie_dw_common.o
  AR      drivers/phy/allwinner/built-in.o
  AR      drivers/phy/cadence/built-in.o
  AR      drivers/phy/marvell/built-in.o
  AR      drivers/phy/qcom/built-in.o
  AR      drivers/phy/renesas/built-in.o
  CC      drivers/pci/pcie_dw_rockchip.o
  CC      drivers/phy/rockchip/phy-rockchip-inno-usb2.o
  CC      drivers/phy/rockchip/phy-rockchip-naneng-combphy.o
  AR      drivers/phy/socionext/built-in.o
  CC      drivers/phy/rockchip/phy-rockchip-pcie.o
  AR      drivers/phy/ti/built-in.o
  CC      drivers/phy/phy-uclass.o
  CC      drivers/phy/rockchip/phy-rockchip-snps-pcie3.o
  AR      drivers/pci/built-in.o
  AR      drivers/usb/musb/built-in.o
  AR      drivers/pinctrl/broadcom/built-in.o
  CC      drivers/power/pmic/pmic-uclass.o
  AR      drivers/pinctrl/nxp/built-in.o
  CC      drivers/pinctrl/rockchip/pinctrl-rockchip-core.o
  CC      drivers/power/pmic/rk8xx.o
  AR      drivers/phy/rockchip/built-in.o
  CC      drivers/pinctrl/rockchip/pinctrl-rk3568.o
  AR      drivers/phy/built-in.o
  CC      drivers/pinctrl/pinctrl-uclass.o
  AR      drivers/power/pmic/built-in.o
  CC      drivers/power/regulator/regulator-uclass.o
  CC      drivers/pinctrl/pinctrl-generic.o
  AR      drivers/pinctrl/rockchip/built-in.o
  CC      drivers/power/regulator/regulator_common.o
  CC      drivers/power/regulator/fixed.o
  CC      drivers/pwm/pwm-uclass.o
  CC      drivers/pwm/rk_pwm.o
  AR      drivers/pinctrl/built-in.o
  CC      drivers/ram/ram-uclass.o
  CC      drivers/ram/rockchip/sdram_rk3568.o
  CC      drivers/power/regulator/rk8xx.o
  CC      drivers/reset/reset-uclass.o
  AR      drivers/ram/rockchip/built-in.o
  AR      drivers/pwm/built-in.o
  AR      drivers/ram/built-in.o
  CC      drivers/reset/reset-rockchip.o
  AR      drivers/rtc/built-in.o
  CC      drivers/scsi/scsi-uclass.o
  CC      drivers/scsi/scsi.o
  CC      drivers/reset/rst-rk3588.o
  CC      drivers/scsi/scsi_bootdev.o
  AR      drivers/reset/built-in.o
  CC      drivers/serial/serial-uclass.o
  CC      drivers/serial/ns16550.o
  AR      drivers/scsi/built-in.o
  AR      drivers/power/regulator/built-in.o
  AR      drivers/usb/phy/built-in.o
  AR      drivers/power/built-in.o
  AR      drivers/smem/built-in.o
  AR      drivers/soc/built-in.o
  AR      drivers/sound/built-in.o
  CC      drivers/spi/spi-uclass.o
  AR      drivers/spmi/built-in.o
  CC      drivers/sysreset/sysreset-uclass.o
  CC      drivers/sysreset/sysreset_rockchip.o
  AR      drivers/serial/built-in.o
  AR      drivers/thermal/built-in.o
  AR      drivers/ufs/built-in.o
  AR      drivers/watchdog/built-in.o
  CC      drivers/spi/spi-mem.o
  AR      drivers/usb/ulpi/built-in.o
  AR      drivers/sysreset/built-in.o
  CC      env/common.o
  CC      env/env.o
  CC      env/attr.o
  CC      env/flags.o
  AR      drivers/spi/built-in.o
  AR      drivers/built-in.o
  CC      fs/cramfs/cramfs.o
  CC      fs/cramfs/uncompress.o
  CC      env/callback.o
  CC      env/nowhere.o
  AR      lib/crypto/built-in.o
  CC      lib/efi_driver/efi_uclass.o
  CC      net/arp.o
  AR      env/built-in.o
  CC      net/bootp.o
  AR      fs/cramfs/built-in.o
  CC      fs/ext4/ext4fs.o
  CC      lib/efi_driver/efi_block_device.o
  CC      net/eth-uclass.o
  CC      fs/ext4/ext4_common.o
  AR      lib/efi_driver/built-in.o
  CC      lib/efi_loader/efi_freestanding.o
  CC      net/eth_bootdev.o
  CC      lib/efi_loader/efi_bootmgr.o
  CC      lib/libfdt/fdt.o
  CC      net/eth_common.o
  CC      fs/ext4/dev.o
  CC      net/net.o
  CC      lib/efi_loader/efi_boottime.o
  AR      fs/ext4/built-in.o
  CC      lib/libfdt/fdt_ro.o
  CC      fs/fat/fat_write.o
  CC      net/ping.o
  CC      net/tftp.o
  CC      lib/libfdt/fdt_wip.o
  CC      lib/libfdt/fdt_strerror.o
  CC      lib/libfdt/fdt_sw.o
  AR      net/built-in.o
  CC      fs/fs.o
  CC      lib/libfdt/fdt_rw.o
  CC      fs/fs_internal.o
  CC      lib/efi_loader/efi_helper.o
  AR      fs/fat/built-in.o
  CC      lib/efi_loader/efi_console.o
  AR      fs/built-in.o
  CC      lib/libfdt/fdt_empty_tree.o
  CC      lib/libfdt/fdt_addresses.o
  CC      lib/efi_loader/efi_device_path.o
  CC      lib/libfdt/fdt_overlay.o
  CC      lib/lzma/LzmaDec.o
  AR      lib/libfdt/built-in.o
  CC      lib/lzma/LzmaTools.o
  CC      lib/rsa/rsa-verify.o
  CC      lib/rsa/rsa-mod-exp.o
  CC      lib/zlib/zlib.o
  CC      lib/efi_loader/efi_device_path_to_text.o
  AR      lib/rsa/built-in.o
  CC      lib/efi_loader/efi_device_path_utilities.o
  CC      lib/of_live.o
  CC      lib/efi_loader/efi_dt_fixup.o
  AR      lib/lzma/built-in.o
  CC      lib/efi_loader/efi_file.o
  CC      lib/binman.o
  CC      lib/efi_loader/efi_hii.o
  CC      lib/efi_loader/efi_image_loader.o
  CC      lib/efi_loader/efi_load_options.o
  CC      lib/efi_loader/efi_memory.o
  CC      lib/charset.o
  CC      lib/efi_loader/efi_root_node.o
  CC      lib/efi_loader/efi_runtime.o
  AR      lib/zlib/built-in.o
  CC      lib/crc8.o
  CC      lib/crc16.o
  CC      lib/efi_loader/efi_setup.o
  CC      lib/crc16-ccitt.o
  CC      lib/errno_str.o
  CC      lib/fdtdec_common.o
  CC      lib/smbios.o
  CC      lib/efi_loader/efi_string.o
  CC      lib/initcall.o
  CC      lib/efi_loader/efi_unicode_collation.o
  CC      lib/ldiv.o
  CC      lib/efi_loader/efi_var_common.o
  CC      lib/net_utils.o
  CC      lib/rc4.o
  CC      lib/sha256.o
  CC      lib/list_sort.o
  CC      lib/md5.o
  CC      lib/efi_loader/efi_var_mem.o
  CC      lib/efi_loader/efi_var_file.o
  CC      lib/efi_loader/efi_variable.o
  CC      lib/efi_loader/efi_watchdog.o
  CC      lib/hash-checksum.o
  CC      lib/efi_loader/efi_disk.o
  CC      lib/efi_loader/efi_net.o
  CC      lib/sha1.o
  CC      lib/gunzip.o
  CC      lib/lz4_wrapper.o
  CC      lib/efi_loader/efi_smbios.o
  CC      lib/efi_loader/efi_load_initrd.o
  CC      lib/fdtdec.o
  CC      lib/efi_loader/efi_conformance.o
  CC      lib/efi_loader/helloworld.o
  AS      lib/efi_loader/efi_crt0.o
  CC      lib/efi_loader/efi_reloc.o
  CC      lib/qsort.o
  CC      lib/efi_loader/dtbdump.o
  CC      lib/efi_loader/initrddump.o
  CC      lib/hashtable.o
  AR      lib/efi_loader/built-in.o
  CC      lib/errno.o
  CC      lib/display_options.o
  LD      lib/efi_loader/helloworld_efi.so
  LD      lib/efi_loader/dtbdump_efi.so
  LD      lib/efi_loader/initrddump_efi.so
  OBJCOPY lib/efi_loader/helloworld.efi
  OBJCOPY lib/efi_loader/dtbdump.efi
  OBJCOPY lib/efi_loader/initrddump.efi
  CC      lib/crc32.o
  CC      lib/ctype.o
  CC      lib/hang.o
  CC      lib/div64.o
  CC      lib/linux_compat.o
  CC      lib/linux_string.o
  CC      lib/lmb.o
  CC      lib/membuff.o
  CC      lib/slre.o
  CC      lib/string.o
  CC      lib/tables_csum.o
  CC      lib/time.o
  CC      lib/hexdump.o
  CC      lib/uuid.o
  CC      lib/rand.o
  CC      lib/panic.o
  CC      lib/vsprintf.o
  CC      lib/strto.o
  CC      lib/abuf.o
  CC      lib/date.o
  CC      lib/rtc-lib.o
  CC      lib/elf.o
  AR      lib/built-in.o
  LD      u-boot
  OBJCOPY u-boot.srec
  OBJCOPY u-boot-nodtb.bin
  SYM     u-boot.sym
  DTC     arch/arm/dts/rk3566-anbernic-rgxx3.dtb
  RELOC   u-boot-nodtb.bin
  DTC     arch/arm/dts/rk3566-quartz64-a.dtb
  DTC     arch/arm/dts/rk3566-quartz64-b.dtb
  DTC     arch/arm/dts/rk3566-radxa-cm3-io.dtb
  DTC     arch/arm/dts/rk3566-soquartz-blade.dtb
  DTC     arch/arm/dts/rk3566-soquartz-cm4.dtb
  DTC     arch/arm/dts/rk3566-soquartz-model-a.dtb
  DTC     arch/arm/dts/rk3568-bpi-r2-pro.dtb
  DTC     arch/arm/dts/rk3568-evb.dtb
  DTC     arch/arm/dts/rk3568-lubancat-2.dtb
  DTC     arch/arm/dts/rk3568-nanopi-r5c.dtb
  DTC     arch/arm/dts/rk3568-nanopi-r5s.dtb
  DTC     arch/arm/dts/rk3568-odroid-m1.dtb
  DTC     arch/arm/dts/rk3568-radxa-e25.dtb
  DTC     arch/arm/dts/rk3568-rock-3a.dtb
  DTC     arch/arm/dts/rk3566-odroid-m1s.dtb
  SHIPPED dts/dt.dtb
  CAT     u-boot-dtb.bin
  MKIMAGE u-boot.img
  COPY    u-boot.dtb
  MKIMAGE u-boot-dtb.img
  COPY    u-boot.bin
  CC      spl/./lib/asm-offsets.s
  CC      spl/./arch/arm/lib/asm-offsets.s
  LDS     spl/u-boot-spl.lds
mkdir -p spl/dts/
  FDTGREP spl/dts/dt-spl.dtb
  COPY    spl/u-boot-spl.dtb
  AR      spl/arch/arm/cpu/built-in.o
  CC      spl/arch/arm/cpu/armv8/cpu.o
  AS      spl/arch/arm/lib/crt0_64.o
  AS      spl/arch/arm/lib/setjmp_aarch64.o
  CC      spl/arch/arm/mach-rockchip/rk3568/clk_rk3568.o
  CC      spl/arch/arm/lib/spl.o
  CC      spl/arch/arm/lib/image.o
  CC      spl/arch/arm/cpu/armv8/generic_timer.o
  CC      spl/arch/arm/mach-rockchip/rk3568/rk3568.o
  CC      spl/arch/arm/lib/bootm-fdt.o
  CC      spl/arch/arm/mach-rockchip/rk3568/syscon_rk3568.o
  CC      spl/arch/arm/cpu/armv8/cache_v8.o
  CC      spl/arch/arm/lib/bdinfo.o
  CC      spl/arch/arm/lib/sections.o
  AR      spl/arch/arm/mach-rockchip/rk3568/built-in.o
  AS      spl/arch/arm/cpu/armv8/cache.o
  CC      spl/arch/arm/mach-rockchip/sdram.o
  CC      spl/arch/arm/lib/stack.o
  CC      spl/arch/arm/lib/interrupts_64.o
  AS      spl/arch/arm/cpu/armv8/tlb.o
  CC      spl/arch/arm/lib/cache.o
  CC      spl/arch/arm/mach-rockchip/spl.o
  CC      spl/arch/arm/mach-rockchip/spl-boot-order.o
  CC      spl/arch/arm/lib/psci-dt.o
  AR      spl/arch/arm/lib/lib.a
  AS      spl/arch/arm/lib/crt0_aarch64_efi.o
  AS      spl/arch/arm/cpu/armv8/transition.o
  CC      spl/arch/arm/cpu/armv8/fwcall.o
  CC      spl/arch/arm/lib/reloc_aarch64_efi.o
  AR      spl/arch/arm/lib/built-in.o
  AR      spl/arch/arm/mach-rockchip/built-in.o
  CC      spl/arch/arm/cpu/armv8/cpu-dt.o
  AS      spl/arch/arm/cpu/armv8/smccc-call.o
  CC      spl/board/hardkernel/odroid_m1s/board.o
  AS      spl/arch/arm/cpu/armv8/start.o
  CC      spl/common/spl/spl.o
  CC      spl/common/spl/spl_fit.o
  AR      spl/arch/arm/cpu/armv8/built-in.o
  CC      spl/common/init/board_init.o
  AR      spl/board/hardkernel/odroid_m1s/built-in.o
  AR      spl/common/init/built-in.o
  CC      spl/boot/image.o
  CC      spl/boot/image-board.o
  CC      spl/common/spl/spl_mmc.o
  CC      spl/common/spl/spl_atf.o
  CC      spl/common/spl/spl_spi.o
  CC      spl/boot/fdt_support.o
  CC      spl/boot/image-fdt.o
  CC      spl/boot/fdt_region.o
  AR      spl/common/spl/built-in.o
  CC      spl/boot/image-fit.o
  CC      spl/common/bouncebuf.o
  CC      spl/common/console.o
  CC      spl/common/dlmalloc.o
  CC      spl/boot/image-sig.o
  CC      spl/boot/image-fit-sig.o
  CC      spl/boot/common_fit.o
  CC      spl/common/malloc_simple.o
  CC      spl/common/hash.o
  CC      spl/common/memsize.o
  CC      spl/common/stdio.o
  AR      spl/boot/built-in.o
  CC      spl/cmd/nvedit.o
  CC      spl/common/cli.o
  CC      spl/common/command.o
  AR      spl/env/built-in.o
  CC      spl/common/s_record.o
  AR      spl/cmd/built-in.o
  CC      spl/common/xyzModem.o
  AR      spl/lib/crypto/built-in.o
  CC      spl/lib/libfdt/fdt.o
  CC      spl/lib/libfdt/fdt_ro.o
  CC      spl/lib/rsa/rsa-verify.o
  CC      spl/lib/rsa/rsa-mod-exp.o
  AR      spl/common/built-in.o
  CC      spl/lib/libfdt/fdt_wip.o
  CC      spl/lib/libfdt/fdt_strerror.o
  CC      spl/lib/libfdt/fdt_sw.o
  CC      spl/disk/part.o
  AR      spl/lib/rsa/built-in.o
  CC      spl/disk/disk-uclass.o
  CC      spl/disk/part_efi.o
  CC      spl/lib/hash-checksum.o
  CC      spl/lib/libfdt/fdt_rw.o
  CC      spl/lib/libfdt/fdt_empty_tree.o
  CC      spl/lib/libfdt/fdt_addresses.o
  CC      spl/lib/sha1.o
  CC      spl/lib/sha256.o
  CC      spl/lib/libfdt/fdt_overlay.o
  AR      spl/disk/built-in.o
  CC      spl/drivers/block/blk-uclass.o
  AR      spl/lib/libfdt/built-in.o
  AR      spl/drivers/bus/built-in.o
  CC      spl/lib/fdtdec_common.o
  AR      spl/drivers/clk/analogbits/built-in.o
  AR      spl/drivers/clk/imx/built-in.o
  CC      spl/drivers/clk/rockchip/clk_pll.o
  CC      spl/drivers/clk/rockchip/clk_rk3568.o
  AR      spl/drivers/block/built-in.o
  AR      spl/drivers/clk/tegra/built-in.o
  CC      spl/drivers/core/device.o
  CC      spl/lib/fdtdec.o
  CC      spl/drivers/core/fdtaddr.o
  CC      spl/lib/crc16-ccitt.o
  CC      spl/drivers/core/lists.o
  CC      spl/lib/net_utils.o
  CC      spl/drivers/core/root.o
  CC      spl/drivers/core/uclass.o
  AR      spl/drivers/clk/rockchip/built-in.o
  AR      spl/drivers/clk/ti/built-in.o
  CC      spl/drivers/clk/clk-uclass.o
  CC      spl/drivers/core/util.o
  CC      spl/lib/qsort.o
  CC      spl/drivers/core/tag.o
  CC      spl/lib/hashtable.o
  CC      spl/lib/errno.o
  CC      spl/drivers/core/simple-bus.o
  CC      spl/drivers/core/dump.o
  CC      spl/drivers/clk/clk_fixed_rate.o
  CC      spl/lib/display_options.o
  CC      spl/drivers/core/regmap.o
  CC      spl/drivers/clk/clk_fixed_factor.o
  CC      spl/lib/crc32.o
  CC      spl/lib/ctype.o
  AR      spl/drivers/clk/built-in.o
  CC      spl/drivers/core/syscon-uclass.o
  AR      spl/drivers/crypto/aspeed/built-in.o
  CC      spl/drivers/crypto/fsl/sec.o
  CC      spl/lib/div64.o
  AR      spl/drivers/crypto/fsl/built-in.o
  AR      spl/drivers/crypto/hash/built-in.o
  AR      spl/drivers/crypto/nuvoton/built-in.o
  CC      spl/drivers/crypto/rsa_mod_exp/mod_exp_uclass.o
  CC      spl/lib/hang.o
  CC      spl/lib/linux_compat.o
  CC      spl/drivers/core/read.o
  CC      spl/lib/linux_string.o
  CC      spl/lib/lmb.o
  CC      spl/lib/membuff.o
  CC      spl/drivers/crypto/rsa_mod_exp/mod_exp_sw.o
  AR      spl/drivers/crypto/rsa_mod_exp/built-in.o
  AR      spl/drivers/crypto/built-in.o
  CC      spl/drivers/mmc/mmc.o
  CC      spl/lib/slre.o
  CC      spl/drivers/core/of_extra.o
  CC      spl/drivers/mmc/mmc-uclass.o
  CC      spl/drivers/core/ofnode.o
  CC      spl/lib/string.o
  CC      spl/lib/tables_csum.o
  CC      spl/drivers/core/read_extra.o
  CC      spl/lib/time.o
  CC      spl/lib/hexdump.o
  CC      spl/lib/uuid.o
  CC      spl/lib/rand.o
  CC      spl/drivers/mmc/dw_mmc.o
  CC      spl/lib/panic.o
  CC      spl/drivers/mmc/rockchip_dw_mmc.o
  CC      spl/lib/tiny-printf.o
  AR      spl/drivers/core/built-in.o
  CC      spl/lib/strto.o
  CC      spl/lib/abuf.o
  CC      spl/drivers/mmc/rpmb.o
  CC      spl/drivers/mmc/sdhci.o
  AR      spl/dts/built-in.o
  CC      spl/fs/fs_internal.o
  CC      spl/lib/date.o
  AR      spl/fs/built-in.o
  CC      spl/lib/rtc-lib.o
  CC      spl/lib/elf.o
  CC      spl/drivers/mmc/rockchip_sdhci.o
  CC      spl/drivers/mtd/spi/sf-uclass.o
  AR      spl/lib/built-in.o
  AR      spl/drivers/pinctrl/broadcom/built-in.o
  AR      spl/drivers/pinctrl/nxp/built-in.o
  CC      spl/drivers/pinctrl/rockchip/pinctrl-rockchip-core.o
  CC      spl/drivers/mtd/spi/sf_probe.o
  CC      spl/drivers/mtd/spi/spi-nor-ids.o
  CC      spl/drivers/pinctrl/pinctrl-uclass.o
  AR      spl/drivers/mmc/built-in.o
  CC      spl/drivers/pinctrl/pinctrl-generic.o
  CC      spl/drivers/mtd/spi/spi-nor-tiny.o
  CC      spl/drivers/pinctrl/rockchip/pinctrl-rk3568.o
  CC      spl/drivers/ram/rockchip/sdram_rk3568.o
  CC      spl/drivers/ram/ram-uclass.o
  AR      spl/drivers/ram/rockchip/built-in.o
  AR      spl/drivers/mtd/spi/spi-nor.o
  CC      spl/drivers/serial/serial-uclass.o
  AR      spl/drivers/ram/built-in.o
  AR      spl/drivers/pinctrl/rockchip/built-in.o
  AR      spl/drivers/mtd/spi/built-in.o
  AR      spl/drivers/pinctrl/built-in.o
  AR      spl/drivers/soc/built-in.o
  AR      spl/drivers/mtd/built-in.o
  CC      spl/drivers/spi/spi-uclass.o
  CC      spl/drivers/sysreset/sysreset-uclass.o
  CC      spl/drivers/spi/spi-mem.o
  CC      spl/drivers/serial/ns16550.o
  CC      spl/drivers/sysreset/sysreset_rockchip.o
  AR      spl/drivers/sysreset/built-in.o
  AR      spl/drivers/spi/built-in.o
  AR      spl/drivers/serial/built-in.o
  AR      spl/drivers/built-in.o
  LD      spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
  SYM     spl/u-boot-spl.sym
  CAT     spl/u-boot-spl-dtb.bin
  COPY    spl/u-boot-spl.bin
  BINMAN  .binman_stamp
Image 'simple-bin' is missing optional external blobs but is still functional: tee-os

/binman/simple-bin/fit/images/@tee-SEQ/tee-os (tee-os):
   See the documentation for your board. You may need to build Open Portable
   Trusted Execution Environment (OP-TEE) and build with TEE=/path/to/tee.bin

  OFCHK   .config
[hominoid@odroid-m1s u-boot]$ 


hominoid
Posts: 955
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2, N2L, N2+, HC4, M1, H2, H3+
Location: Lake Superior Basin, USA
Has thanked: 144 times
Been thanked: 464 times
Contact:

Re: Mainline U-Boot for ODROID-M1S

Post by hominoid »

FYI, thinking that my use of a SD Card and deviations in the writing of the spl and u-boot might be causing a problem, I staged ubuntu-20.04-server-odroidm1s-20231030.img on the internal eMMC by way of the odroid-installer-20231109.img with similar results. The one notable difference is that the spl failed on boot.

The compile:

Code: Select all

odroid@odroid-m1s:~/u-boot$ make -j4 ROCKCHIP_TPL=ddr.bin BL31=bl31.elf
  UPD     include/generated/timestamp_autogenerated.h
  PYMOD   rebuild
/usr/lib/python3/dist-packages/setuptools/dist.py:473: UserWarning: Normalizing '2024.01' to '2024.1'
  warnings.warn(
  HOSTCC  tools/gen_eth_addr
  HOSTCC  tools/gen_ethaddr_crc.o
  WRAP    tools/generated/lib/crc8.c
  HOSTCC  tools/img2srec
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/os_support.o
  WRAP    tools/generated/lib/crc32.c
  HOSTCC  tools/aisimage.o
  HOSTCC  tools/atmelimage.o
  HOSTCC  tools/fit_common.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/image-host.o
  WRAP    tools/generated/boot/image-fit.c
  HOSTCC  tools/image-sig-host.o
  WRAP    tools/generated/boot/image-fit-sig.c
  WRAP    tools/generated/boot/image-cipher.c
  WRAP    tools/generated/boot/fdt_region.c
  WRAP    tools/generated/boot/bootm.c
  HOSTCC  tools/generated/lib/crc32.o
  HOSTCC  tools/default_image.o
  WRAP    tools/generated/lib/fdtdec_common.c
  WRAP    tools/generated/lib/fdtdec.c
  WRAP    tools/generated/boot/image.c
  WRAP    tools/generated/boot/image-host.c
  HOSTCC  tools/imagetool.o
  HOSTCC  tools/imximage.o
  HOSTCC  tools/imx8image.o
  HOSTCC  tools/imx8mimage.o
  HOSTCC  tools/kwbimage.o
  WRAP    tools/generated/lib/md5.c
  HOSTCC  tools/lpc32xximage.o
  HOSTCC  tools/mxsimage.o
  HOSTCC  tools/omapimage.o
  HOSTCC  tools/pblimage.o
  HOSTCC  tools/pbl_crc32.o
  HOSTCC  tools/renesas_spkgimage.o
  HOSTCC  tools/sfspl.o
  HOSTCC  tools/vybridimage.o
  HOSTCC  tools/stm32image.o
  WRAP    tools/generated/lib/rc4.c
  HOSTCC  tools/rkcommon.o
  HOSTCC  tools/rkimage.o
  HOSTCC  tools/rksd.o
  HOSTCC  tools/rkspi.o
  HOSTCC  tools/socfpgaimage.o
  HOSTCC  tools/sunxi_egon.o
  WRAP    tools/generated/lib/crc16-ccitt.c
  WRAP    tools/generated/lib/hash-checksum.c
  WRAP    tools/generated/lib/sha1.c
  WRAP    tools/generated/lib/sha256.c
  WRAP    tools/generated/lib/sha512.c
  WRAP    tools/generated/common/hash.c
  HOSTCC  tools/ublimage.o
  HOSTCC  tools/zynqimage.o
  HOSTCC  tools/zynqmpimage.o
  HOSTCC  tools/zynqmpbif.o
  WRAP    tools/generated/lib/fdt-libcrypto.c
  HOSTCC  tools/sunxi_toc0.o
  HOSTCC  tools/libfdt/fdt.o
  HOSTCC  tools/libfdt/fdt_ro.o
  HOSTCC  tools/libfdt/fdt_wip.o
  HOSTCC  tools/libfdt/fdt_sw.o
  HOSTCC  tools/libfdt/fdt_rw.o
  HOSTCC  tools/libfdt/fdt_strerror.o
  HOSTCC  tools/libfdt/fdt_empty_tree.o
  HOSTCC  tools/libfdt/fdt_addresses.o
  HOSTCC  tools/libfdt/fdt_overlay.o
  HOSTCC  tools/gpimage.o
  HOSTCC  tools/gpimage-common.o
  HOSTCC  tools/mtk_image.o
  HOSTCC  tools/mtk_nand_headers.o
  WRAP    tools/generated/lib/ecdsa/ecdsa-libcrypto.c
  WRAP    tools/generated/lib/rsa/rsa-sign.c
  WRAP    tools/generated/lib/rsa/rsa-verify.c
  WRAP    tools/generated/lib/rsa/rsa-mod-exp.c
  WRAP    tools/generated/lib/aes/aes-encrypt.c
  WRAP    tools/generated/lib/aes/aes-decrypt.c
  HOSTCC  tools/dumpimage.o
  HOSTCC  tools/generated/boot/image-fit.o
  HOSTCC  tools/generated/boot/image-fit-sig.o
  HOSTCC  tools/generated/boot/image-cipher.o
  HOSTCC  tools/generated/boot/fdt_region.o
  HOSTCC  tools/generated/boot/bootm.o
  HOSTCC  tools/generated/lib/fdtdec_common.o
  HOSTCC  tools/generated/lib/fdtdec.o
  HOSTCC  tools/generated/boot/image.o
  HOSTCC  tools/generated/boot/image-host.o
  HOSTCC  tools/generated/lib/md5.o
  HOSTCC  tools/generated/lib/rc4.o
  HOSTCC  tools/generated/lib/crc16-ccitt.o
  HOSTCC  tools/generated/lib/hash-checksum.o
  HOSTCC  tools/generated/lib/sha1.o
  HOSTCC  tools/generated/lib/sha256.o
  HOSTCC  tools/generated/lib/sha512.o
  HOSTCC  tools/generated/common/hash.o
  HOSTCC  tools/generated/lib/fdt-libcrypto.o
  HOSTCC  tools/generated/lib/ecdsa/ecdsa-libcrypto.o
  HOSTCC  tools/generated/lib/rsa/rsa-sign.o
  HOSTCC  tools/generated/lib/rsa/rsa-verify.o
  HOSTCC  tools/generated/lib/rsa/rsa-mod-exp.o
  HOSTCC  tools/generated/lib/aes/aes-encrypt.o
  HOSTCC  tools/generated/lib/aes/aes-decrypt.o
  HOSTCC  tools/mkimage.o
  HOSTCC  tools/fit_info.o
  HOSTCC  tools/fit_check_sign.o
  HOSTCC  tools/fdt_add_pubkey.o
  HOSTCC  tools/proftool.o
  WRAP    tools/generated/lib/abuf.c
  HOSTCC  tools/relocate-rela
  HOSTCC  tools/fdtgrep.o
  HOSTCC  tools/spl_size_limit
  HOSTCC  tools/generated/lib/crc8.o
  HOSTLD  tools/mkenvimage
  HOSTLD  tools/dumpimage
  HOSTLD  tools/mkimage
  HOSTLD  tools/fit_info
  HOSTLD  tools/fit_check_sign
  HOSTLD  tools/fdt_add_pubkey
  HOSTCC  tools/generated/lib/abuf.o
  HOSTLD  tools/gen_ethaddr_crc
  HOSTLD  tools/fdtgrep
  HOSTLD  tools/proftool
  AR      arch/arm/cpu/built-in.o
  CC      arch/arm/cpu/armv8/cpu.o
  AS      arch/arm/lib/crt0_64.o
  CC      arch/arm/mach-rockchip/rk3568/clk_rk3568.o
  CC      board/hardkernel/odroid_m1s/board.o
  AS      arch/arm/lib/setjmp_aarch64.o
  AS      arch/arm/lib/relocate_64.o
  CC      arch/arm/lib/bootm-fdt.o
  CC      arch/arm/cpu/armv8/generic_timer.o
  CC      arch/arm/mach-rockchip/rk3568/rk3568.o
  AR      board/hardkernel/odroid_m1s/built-in.o
  CC      arch/arm/mach-rockchip/boot_mode.o
  CC      arch/arm/lib/bootm.o
  CC      arch/arm/cpu/armv8/cache_v8.o
  CC      arch/arm/mach-rockchip/rk3568/syscon_rk3568.o
  CC      arch/arm/mach-rockchip/board.o
  AR      arch/arm/mach-rockchip/rk3568/built-in.o
  CC      arch/arm/mach-rockchip/misc.o
  CC      arch/arm/lib/image.o
  CC      arch/arm/mach-rockchip/sdram.o
  CC      arch/arm/lib/bdinfo.o
  CC      arch/arm/lib/sections.o
  CC      arch/arm/lib/stack.o
  AS      arch/arm/cpu/armv8/cache.o
  CC      arch/arm/lib/interrupts_64.o
  CC      arch/arm/lib/cache.o
  AS      arch/arm/cpu/armv8/exceptions.o
  CC      arch/arm/cpu/armv8/exception_level.o
  AR      arch/arm/mach-rockchip/built-in.o
  CC      boot/bootm.o
  CC      boot/bootm_os.o
  AS      arch/arm/cpu/armv8/tlb.o
  AS      arch/arm/cpu/armv8/transition.o
  CC      arch/arm/cpu/armv8/fwcall.o
  CC      arch/arm/lib/psci-dt.o
  CC      arch/arm/cpu/armv8/cpu-dt.o
  AR      arch/arm/lib/lib.a
  AS      arch/arm/lib/crt0_aarch64_efi.o
  AS      arch/arm/cpu/armv8/smccc-call.o
  CC      arch/arm/lib/reloc_aarch64_efi.o
  AS      arch/arm/cpu/armv8/start.o
  AR      arch/arm/cpu/armv8/built-in.o
  AR      cmd/arm/built-in.o
  AR      arch/arm/lib/built-in.o
  CC      cmd/boot.o
  CC      boot/pxe_utils.o
  CC      common/init/board_init.o
  CC      cmd/bootm.o
  AR      common/init/built-in.o
  CC      common/main.o
  CC      cmd/help.o
  CC      cmd/panic.o
  CC      common/exports.o
  CC      common/cli_hush.o
  CC      cmd/version.o
  CC      cmd/blk_common.o
  CC      common/autoboot.o
  CC      cmd/bootflow.o
  CC      common/board_f.o
  CC      cmd/source.o
  CC      cmd/bdinfo.o
  CC      boot/image.o
  CC      common/board_r.o
  CC      cmd/blkcache.o
  CC      cmd/bootefi.o
  CC      boot/image-board.o
  CC      common/board_info.o
  CC      common/miiphyutil.o
  CC      boot/bootdev-uclass.o
  CC      cmd/booti.o
  CC      common/usb.o
  CC      cmd/console.o
  CC      boot/bootflow.o
  CC      cmd/dm.o
  CC      cmd/echo.o
  CC      cmd/eficonfig.o
  CC      boot/bootmeth-uclass.o
  CC      boot/bootstd-uclass.o
  CC      common/usb_hub.o
  CC      common/usb_storage.o
  CC      boot/bootmeth_extlinux.o
  CC      boot/bootmeth_pxe.o
  CC      common/splash.o
  CC      common/menu.o
  CC      boot/bootmeth_efi.o
  CC      common/cli_getch.o
  CC      common/cli_readline.o
  CC      common/cli_simple.o
  CC      boot/bootmeth_script.o
  CC      cmd/elf.o
  CC      common/bouncebuf.o
  CC      boot/fdt_support.o
  CC      common/console.o
  CC      cmd/exit.o
  CC      cmd/ext4.o
  CC      common/dlmalloc.o
  CC      cmd/ext2.o
  CC      cmd/fat.o
  CC      cmd/fdt.o
  CC      cmd/fs.o
  CC      cmd/gpio.o
  CC      cmd/i2c.o
  CC      common/malloc_simple.o
  CC      common/event.o
  CC      boot/image-fdt.o
  CC      common/hash.o
  CC      common/memsize.o
  CC      cmd/ini.o
  CC      common/stdio.o
  CC      common/cli.o
  CC      boot/fdt_region.o
  CC      cmd/itest.o
  CC      cmd/cramfs.o
  CC      common/command.o
  CC      cmd/load.o
  CC      cmd/mem.o
  CC      boot/image-fit.o
  CC      cmd/mii.o
  CC      common/s_record.o
  CC      common/xyzModem.o
  CC      cmd/mdio.o
  CC      boot/image-sig.o
  CC      cmd/sleep.o
  AR      common/built-in.o
  CC      disk/part.o
  CC      cmd/mmc.o
  CC      boot/image-fit-sig.o
  CC      disk/disk-uclass.o
  CC      boot/vbe.o
  CC      boot/vbe_request.o
  CC      disk/part_dos.o
  CC      disk/part_iso.o
  CC      cmd/legacy-mtd-utils.o
  CC      boot/vbe_simple.o
  CC      cmd/net.o
  CC      disk/part_efi.o
  CC      cmd/part.o
  CC      boot/vbe_simple_os.o
  CC      cmd/pci.o
  AR      boot/built-in.o
  CC      drivers/adc/adc-uclass.o
  CC      drivers/adc/rockchip-saradc.o
  CC      cmd/pinmux.o
  AR      drivers/adc/built-in.o
  CC      drivers/ata/dwc_ahci.o
  CC      cmd/pxe.o
  CC      drivers/ata/ahci-uclass.o
  CC      drivers/ata/ahci-pci.o
  AR      disk/built-in.o
  CC      drivers/ata/ahci.o
  AR      drivers/usb/cdns3/built-in.o
  CC      drivers/usb/common/common.o
  CC      drivers/usb/dwc3/core.o
  CC      cmd/nvme.o
  AR      drivers/usb/common/built-in.o
  CC      drivers/usb/dwc3/dwc3-generic.o
  CC      cmd/sf.o
  CC      drivers/ata/libata.o
  CC      cmd/scsi.o
  AR      drivers/axi/built-in.o
  CC      drivers/block/blk-uclass.o
  CC      cmd/disk.o
  AR      drivers/ata/built-in.o
  CC      drivers/block/blkcache.o
  CC      cmd/test.o
  AR      drivers/usb/dwc3/dwc3.o
  AR      drivers/usb/dwc3/built-in.o
  CC      cmd/unlz4.o
  AR      drivers/usb/emul/built-in.o
  AR      drivers/usb/eth/built-in.o
  CC      drivers/usb/host/usb-uclass.o
  CC      drivers/usb/host/usb_bootdev.o
  CC      cmd/unzip.o
  CC      cmd/lzmadec.o
  CC      drivers/usb/host/ohci-hcd.o
  AR      drivers/block/built-in.o
  AR      drivers/bus/built-in.o
  CC      cmd/usb.o
  AR      drivers/cache/built-in.o
  AR      drivers/clk/analogbits/built-in.o
  AR      drivers/clk/imx/built-in.o
  CC      drivers/clk/rockchip/clk_pll.o
  CC      drivers/clk/rockchip/clk_rk3568.o
  CC      drivers/usb/host/ohci-generic.o
  CC      cmd/ximg.o
  CC      drivers/usb/host/ehci-hcd.o
  CC      cmd/gpt.o
  CC      drivers/usb/host/ehci-generic.o
  CC      cmd/pmic.o
  CC      drivers/usb/host/xhci.o
  CC      cmd/regulator.o
  CC      cmd/nvedit.o
  AR      drivers/clk/rockchip/built-in.o
  AR      drivers/clk/tegra/built-in.o
  AR      drivers/clk/ti/built-in.o
  CC      drivers/clk/clk-uclass.o
  CC      drivers/clk/clk_fixed_rate.o
  CC      drivers/clk/clk_fixed_factor.o
  AR      cmd/built-in.o
  CC      drivers/usb/host/xhci-mem.o
  CC      drivers/usb/host/xhci-ring.o
  AR      drivers/usb/isp1760/built-in.o
  CC      drivers/usb/host/dwc3-of-simple.o
  AR      drivers/usb/mtu3/built-in.o
  AR      drivers/clk/built-in.o
  CC      drivers/core/device.o
  AR      drivers/usb/musb-new/built-in.o
  CC      drivers/core/fdtaddr.o
  CC      drivers/core/lists.o
  CC      drivers/core/root.o
  AR      drivers/usb/host/built-in.o
  AR      drivers/usb/musb/built-in.o
  AR      drivers/usb/phy/built-in.o
  AR      drivers/usb/ulpi/built-in.o
  CC      env/common.o
  CC      env/env.o
  CC      drivers/core/uclass.o
  CC      drivers/core/util.o
  CC      drivers/core/tag.o
  CC      env/attr.o
  CC      drivers/core/device-remove.o
  CC      env/flags.o
  CC      drivers/core/simple-bus.o
  CC      drivers/core/dump.o
  CC      drivers/core/regmap.o
  CC      env/callback.o
  AR      drivers/crypto/aspeed/built-in.o
  CC      drivers/crypto/fsl/sec.o
  AR      drivers/crypto/fsl/built-in.o
  CC      env/nowhere.o
  AR      drivers/crypto/hash/built-in.o
  AR      drivers/crypto/nuvoton/built-in.o
  CC      drivers/crypto/rsa_mod_exp/mod_exp_uclass.o
  AR      env/built-in.o
  CC      drivers/crypto/rsa_mod_exp/mod_exp_sw.o
  CC      drivers/core/syscon-uclass.o
  CC      fs/cramfs/cramfs.o
  AR      drivers/crypto/rsa_mod_exp/built-in.o
  CC      fs/cramfs/uncompress.o
  AR      drivers/crypto/built-in.o
  AR      drivers/dfu/built-in.o
  CC      drivers/firmware/firmware-uclass.o
  CC      drivers/firmware/psci.o
  CC      drivers/gpio/gpio-uclass.o
  CC      drivers/core/of_access.o
  AR      fs/cramfs/built-in.o
  CC      fs/ext4/ext4fs.o
  AR      drivers/firmware/built-in.o
  CC      fs/ext4/ext4_common.o
  CC      drivers/i2c/i2c-uclass.o
  CC      drivers/core/of_addr.o
  CC      drivers/gpio/rk_gpio.o
  CC      fs/ext4/dev.o
  CC      drivers/i2c/rk_i2c.o
  AR      fs/ext4/built-in.o
  CC      fs/fat/fat_write.o
  AR      drivers/gpio/built-in.o
  CC      fs/fs.o
  CC      drivers/core/read.o
  AR      drivers/i2c/built-in.o
  CC      drivers/input/key_matrix.o
  AR      drivers/input/built-in.o
  AR      drivers/iommu/built-in.o
  AR      drivers/mailbox/built-in.o
  AR      drivers/memory/built-in.o
  AR      drivers/mfd/built-in.o
  CC      drivers/core/of_extra.o
  CC      drivers/misc/misc-uclass.o
  CC      drivers/misc/rockchip-otp.o
  CC      drivers/core/ofnode.o
  CC      drivers/misc/rockchip-io-domain.o
  CC      drivers/core/read_extra.o
  AR      drivers/misc/built-in.o
  CC      fs/fs_internal.o
  CC      drivers/mmc/mmc.o
  CC      drivers/mmc/mmc-uclass.o
  CC      drivers/mmc/mmc_bootdev.o
  CC      drivers/mmc/mmc_write.o
  AR      fs/fat/built-in.o
  AR      fs/built-in.o
  AR      lib/crypto/built-in.o
  CC      lib/efi_driver/efi_uclass.o
  CC      lib/efi_driver/efi_block_device.o
  AR      lib/efi_driver/built-in.o
  CC      drivers/mmc/dw_mmc.o
  CC      lib/efi_loader/efi_bootmgr.o
  CC      lib/efi_loader/efi_boottime.o
  AR      drivers/core/built-in.o
  AR      drivers/mtd/nand/built-in.o
  AR      drivers/mtd/onenand/built-in.o
  CC      drivers/mtd/spi/sf-uclass.o
  CC      drivers/mmc/rockchip_dw_mmc.o
  CC      drivers/mtd/spi/sf_probe.o
  CC      drivers/mmc/rpmb.o
  CC      drivers/mtd/spi/spi-nor-ids.o
  CC      drivers/mmc/sdhci.o
  CC      drivers/mtd/spi/spi-nor-core.o
  CC      drivers/mmc/rockchip_sdhci.o
  CC      lib/efi_loader/efi_helper.o
  AR      drivers/mmc/built-in.o
  AR      drivers/net/mscc_eswitch/built-in.o
  CC      drivers/net/phy/phy.o
  CC      drivers/net/phy/realtek.o
  AR      drivers/mtd/spi/spi-nor.o
  AR      drivers/mtd/spi/built-in.o
  AR      drivers/mtd/built-in.o
  CC      drivers/nvme/nvme-uclass.o
  CC      drivers/nvme/nvme.o
  CC      drivers/nvme/nvme_show.o
  AR      drivers/net/phy/built-in.o
  AR      drivers/net/qe/built-in.o
  AR      drivers/net/ti/built-in.o
  CC      drivers/net/eth-phy-uclass.o
  CC      lib/efi_loader/efi_console.o
  CC      drivers/nvme/nvme_pci.o
  CC      drivers/net/dwc_eth_qos.o
  CC      drivers/net/dwc_eth_qos_rockchip.o
  AR      drivers/nvme/built-in.o
  CC      drivers/pci/pci-uclass.o
  CC      drivers/pci/pci_auto.o
  CC      lib/efi_loader/efi_device_path.o
  AR      drivers/net/built-in.o
  AR      drivers/phy/allwinner/built-in.o
  AR      drivers/phy/cadence/built-in.o
  AR      drivers/phy/marvell/built-in.o
  AR      drivers/phy/qcom/built-in.o
  CC      drivers/pci/pci_auto_common.o
  AR      drivers/phy/renesas/built-in.o
  CC      drivers/phy/rockchip/phy-rockchip-inno-usb2.o
  CC      drivers/phy/rockchip/phy-rockchip-naneng-combphy.o
  CC      drivers/pci/pci_common.o
  CC      lib/efi_loader/efi_device_path_to_text.o
  CC      drivers/pci/pcie_dw_common.o
  CC      drivers/phy/rockchip/phy-rockchip-pcie.o
  CC      drivers/pci/pcie_dw_rockchip.o
  CC      drivers/phy/rockchip/phy-rockchip-snps-pcie3.o
  CC      lib/efi_loader/efi_device_path_utilities.o
  CC      lib/efi_loader/efi_dt_fixup.o
  AR      drivers/phy/socionext/built-in.o
  AR      drivers/phy/ti/built-in.o
  CC      drivers/phy/phy-uclass.o
  AR      drivers/pci/built-in.o
  AR      drivers/pinctrl/broadcom/built-in.o
  AR      drivers/pinctrl/nxp/built-in.o
  CC      drivers/pinctrl/rockchip/pinctrl-rockchip-core.o
  AR      drivers/phy/rockchip/built-in.o
  CC      drivers/pinctrl/rockchip/pinctrl-rk3568.o
  CC      lib/efi_loader/efi_file.o
  CC      drivers/power/pmic/pmic-uclass.o
  AR      drivers/phy/built-in.o
  CC      drivers/pwm/pwm-uclass.o
  AR      drivers/pinctrl/rockchip/built-in.o
  CC      drivers/pinctrl/pinctrl-uclass.o
  CC      drivers/power/pmic/rk8xx.o
  CC      drivers/pwm/rk_pwm.o
  CC      lib/efi_loader/efi_hii.o
  AR      drivers/power/pmic/built-in.o
  CC      drivers/power/regulator/regulator-uclass.o
  AR      drivers/pwm/built-in.o
  CC      drivers/pinctrl/pinctrl-generic.o
  CC      drivers/power/regulator/regulator_common.o
  CC      drivers/ram/rockchip/sdram_rk3568.o
  AR      drivers/pinctrl/built-in.o
  AR      drivers/ram/rockchip/built-in.o
  CC      drivers/ram/ram-uclass.o
  CC      drivers/reset/reset-uclass.o
  CC      drivers/power/regulator/fixed.o
  AR      drivers/ram/built-in.o
  CC      drivers/reset/reset-rockchip.o
  CC      drivers/power/regulator/rk8xx.o
  CC      drivers/reset/rst-rk3588.o
  CC      lib/efi_loader/efi_image_loader.o
  CC      lib/efi_loader/efi_load_options.o
  AR      drivers/reset/built-in.o
  AR      drivers/rtc/built-in.o
  CC      drivers/scsi/scsi-uclass.o
  CC      drivers/scsi/scsi.o
  CC      lib/efi_loader/efi_memory.o
  CC      drivers/scsi/scsi_bootdev.o
  AR      drivers/power/regulator/built-in.o
  AR      drivers/power/built-in.o
  CC      drivers/serial/serial-uclass.o
  CC      drivers/serial/ns16550.o
  AR      drivers/scsi/built-in.o
  AR      drivers/smem/built-in.o
  AR      drivers/soc/built-in.o
  AR      drivers/sound/built-in.o
  CC      drivers/spi/spi-uclass.o
  CC      lib/efi_loader/efi_root_node.o
  CC      drivers/spi/spi-mem.o
  CC      lib/efi_loader/efi_runtime.o
  AR      drivers/serial/built-in.o
  AR      drivers/spmi/built-in.o
  CC      drivers/sysreset/sysreset-uclass.o
  CC      drivers/sysreset/sysreset_rockchip.o
  AR      drivers/spi/built-in.o
  AR      drivers/thermal/built-in.o
  AR      drivers/ufs/built-in.o
  AR      drivers/watchdog/built-in.o
  CC      lib/efi_loader/efi_setup.o
  AR      drivers/sysreset/built-in.o
  AR      drivers/built-in.o
  CC      net/arp.o
  CC      lib/efi_loader/efi_string.o
  CC      lib/efi_loader/efi_unicode_collation.o
  CC      lib/efi_loader/efi_var_common.o
  CC      net/bootp.o
  CC      lib/efi_loader/efi_var_mem.o
  CC      lib/efi_loader/efi_var_file.o
  CC      lib/efi_loader/efi_variable.o
  CC      net/eth-uclass.o
  CC      lib/efi_loader/efi_watchdog.o
  CC      net/eth_bootdev.o
  CC      lib/efi_loader/efi_disk.o
  CC      net/eth_common.o
  CC      lib/libfdt/fdt.o
  CC      lib/libfdt/fdt_ro.o
  CC      net/net.o
  CC      net/ping.o
  CC      lib/efi_loader/efi_net.o
  CC      lib/efi_loader/efi_smbios.o
  CC      lib/efi_loader/efi_load_initrd.o
  CC      lib/libfdt/fdt_wip.o
  CC      lib/libfdt/fdt_strerror.o
  CC      lib/efi_loader/efi_conformance.o
  CC      net/tftp.o
  CC      lib/efi_loader/helloworld.o
  CC      lib/libfdt/fdt_sw.o
  AS      lib/efi_loader/efi_crt0.o
  CC      lib/efi_loader/efi_reloc.o
  CC      lib/efi_loader/efi_freestanding.o
  CC      lib/efi_loader/dtbdump.o
  CC      lib/efi_loader/initrddump.o
  CC      lib/libfdt/fdt_rw.o
  AR      net/built-in.o
  CC      lib/libfdt/fdt_empty_tree.o
  CC      lib/libfdt/fdt_addresses.o
  AR      lib/efi_loader/built-in.o
  LD      lib/efi_loader/helloworld_efi.so
  LD      lib/efi_loader/dtbdump_efi.so
  OBJCOPY lib/efi_loader/helloworld.efi
  OBJCOPY lib/efi_loader/dtbdump.efi
  CC      lib/libfdt/fdt_overlay.o
  LD      lib/efi_loader/initrddump_efi.so
  OBJCOPY lib/efi_loader/initrddump.efi
  CC      lib/lzma/LzmaDec.o
  CC      lib/lzma/LzmaTools.o
  CC      lib/rsa/rsa-verify.o
  CC      lib/rsa/rsa-mod-exp.o
  CC      lib/zlib/zlib.o
  AR      lib/libfdt/built-in.o
  CC      lib/of_live.o
  AR      lib/rsa/built-in.o
  CC      lib/binman.o
  CC      lib/charset.o
  CC      lib/crc8.o
  CC      lib/crc16.o
  CC      lib/crc16-ccitt.o
  CC      lib/errno_str.o
  CC      lib/fdtdec_common.o
  AR      lib/lzma/built-in.o
  CC      lib/smbios.o
  CC      lib/initcall.o
  CC      lib/ldiv.o
  CC      lib/net_utils.o
  CC      lib/rc4.o
  CC      lib/sha256.o
  CC      lib/list_sort.o
  CC      lib/md5.o
  CC      lib/hash-checksum.o
  CC      lib/sha1.o
  CC      lib/gunzip.o
  AR      lib/zlib/built-in.o
  CC      lib/lz4_wrapper.o
  CC      lib/fdtdec.o
  CC      lib/qsort.o
  CC      lib/hashtable.o
  CC      lib/errno.o
  CC      lib/display_options.o
  CC      lib/crc32.o
  CC      lib/ctype.o
  CC      lib/div64.o
  CC      lib/hang.o
  CC      lib/linux_compat.o
  CC      lib/linux_string.o
  CC      lib/lmb.o
  CC      lib/membuff.o
  CC      lib/slre.o
  CC      lib/string.o
  CC      lib/tables_csum.o
  CC      lib/time.o
  CC      lib/hexdump.o
  CC      lib/uuid.o
  CC      lib/rand.o
  CC      lib/panic.o
  CC      lib/vsprintf.o
  CC      lib/strto.o
  CC      lib/abuf.o
  CC      lib/date.o
  CC      lib/rtc-lib.o
  CC      lib/elf.o
  AR      lib/built-in.o
  LD      u-boot
  OBJCOPY u-boot.srec
  OBJCOPY u-boot-nodtb.bin
  SYM     u-boot.sym
  DTC     arch/arm/dts/rk3566-anbernic-rgxx3.dtb
  RELOC   u-boot-nodtb.bin
  DTC     arch/arm/dts/rk3566-quartz64-a.dtb
  DTC     arch/arm/dts/rk3566-quartz64-b.dtb
  DTC     arch/arm/dts/rk3566-radxa-cm3-io.dtb
  DTC     arch/arm/dts/rk3566-soquartz-blade.dtb
  DTC     arch/arm/dts/rk3566-soquartz-cm4.dtb
  DTC     arch/arm/dts/rk3566-soquartz-model-a.dtb
  DTC     arch/arm/dts/rk3568-bpi-r2-pro.dtb
  DTC     arch/arm/dts/rk3568-evb.dtb
  DTC     arch/arm/dts/rk3568-lubancat-2.dtb
  DTC     arch/arm/dts/rk3568-nanopi-r5c.dtb
  DTC     arch/arm/dts/rk3568-nanopi-r5s.dtb
  DTC     arch/arm/dts/rk3568-odroid-m1.dtb
  DTC     arch/arm/dts/rk3568-radxa-e25.dtb
  DTC     arch/arm/dts/rk3568-rock-3a.dtb
  DTC     arch/arm/dts/rk3566-odroid-m1s.dtb
  SHIPPED dts/dt.dtb
  CAT     u-boot-dtb.bin
  MKIMAGE u-boot.img
  COPY    u-boot.dtb
  MKIMAGE u-boot-dtb.img
  COPY    u-boot.bin
  CC      spl/./lib/asm-offsets.s
  CC      spl/./arch/arm/lib/asm-offsets.s
  LDS     spl/u-boot-spl.lds
mkdir -p spl/dts/
  FDTGREP spl/dts/dt-spl.dtb
  COPY    spl/u-boot-spl.dtb
  UPD     spl/./include/generated/asm-offsets.h
  UPD     spl/./include/generated/generic-asm-offsets.h
  AR      spl/arch/arm/cpu/built-in.o
  CC      spl/arch/arm/cpu/armv8/cpu.o
  AS      spl/arch/arm/lib/crt0_64.o
  CC      spl/arch/arm/mach-rockchip/rk3568/clk_rk3568.o
  CC      spl/board/hardkernel/odroid_m1s/board.o
  AS      spl/arch/arm/lib/setjmp_aarch64.o
  CC      spl/arch/arm/lib/spl.o
  CC      spl/arch/arm/cpu/armv8/generic_timer.o
  CC      spl/arch/arm/mach-rockchip/rk3568/rk3568.o
  CC      spl/arch/arm/lib/image.o
  AR      spl/board/hardkernel/odroid_m1s/built-in.o
  CC      spl/arch/arm/mach-rockchip/rk3568/syscon_rk3568.o
  CC      spl/arch/arm/cpu/armv8/cache_v8.o
  AS      spl/arch/arm/cpu/armv8/cache.o
  AS      spl/arch/arm/cpu/armv8/tlb.o
  AR      spl/arch/arm/mach-rockchip/rk3568/built-in.o
  CC      spl/arch/arm/lib/bootm-fdt.o
  CC      spl/arch/arm/mach-rockchip/sdram.o
  AS      spl/arch/arm/cpu/armv8/transition.o
  CC      spl/arch/arm/cpu/armv8/fwcall.o
  CC      spl/arch/arm/lib/bdinfo.o
  CC      spl/arch/arm/cpu/armv8/cpu-dt.o
  AS      spl/arch/arm/cpu/armv8/smccc-call.o
  CC      spl/arch/arm/lib/sections.o
  CC      spl/arch/arm/mach-rockchip/spl.o
  CC      spl/arch/arm/mach-rockchip/spl-boot-order.o
  CC      spl/arch/arm/lib/stack.o
  AS      spl/arch/arm/cpu/armv8/start.o
  AR      spl/arch/arm/cpu/armv8/built-in.o
  CC      spl/arch/arm/lib/interrupts_64.o
  CC      spl/common/spl/spl.o
  AR      spl/arch/arm/mach-rockchip/built-in.o
  CC      spl/arch/arm/lib/cache.o
  CC      spl/common/init/board_init.o
  CC      spl/arch/arm/lib/psci-dt.o
  AR      spl/common/init/built-in.o
  CC      spl/boot/image.o
  CC      spl/boot/image-board.o
  AR      spl/arch/arm/lib/lib.a
  AS      spl/arch/arm/lib/crt0_aarch64_efi.o
  CC      spl/arch/arm/lib/reloc_aarch64_efi.o
  AR      spl/arch/arm/lib/built-in.o
  CC      spl/common/bouncebuf.o
  CC      spl/common/spl/spl_fit.o
  CC      spl/common/console.o
  CC      spl/boot/fdt_support.o
  CC      spl/common/spl/spl_mmc.o
  CC      spl/common/spl/spl_atf.o
  CC      spl/common/dlmalloc.o
  CC      spl/common/spl/spl_spi.o
  CC      spl/boot/image-fdt.o
  AR      spl/common/spl/built-in.o
  CC      spl/cmd/nvedit.o
  AR      spl/cmd/built-in.o
  AR      spl/env/built-in.o
  AR      spl/lib/crypto/built-in.o
  CC      spl/boot/fdt_region.o
  CC      spl/lib/libfdt/fdt.o
  CC      spl/common/malloc_simple.o
  CC      spl/lib/libfdt/fdt_ro.o
  CC      spl/lib/rsa/rsa-verify.o
  CC      spl/common/hash.o
  CC      spl/boot/image-fit.o
  CC      spl/common/memsize.o
  CC      spl/lib/rsa/rsa-mod-exp.o
  CC      spl/common/stdio.o
  CC      spl/lib/libfdt/fdt_wip.o
  AR      spl/lib/rsa/built-in.o
  CC      spl/lib/libfdt/fdt_strerror.o
  CC      spl/boot/image-sig.o
  CC      spl/common/cli.o
  CC      spl/lib/libfdt/fdt_sw.o
  CC      spl/lib/libfdt/fdt_rw.o
  CC      spl/common/command.o
  CC      spl/common/s_record.o
  CC      spl/common/xyzModem.o
  CC      spl/boot/image-fit-sig.o
  CC      spl/lib/libfdt/fdt_empty_tree.o
  CC      spl/lib/libfdt/fdt_addresses.o
  CC      spl/lib/libfdt/fdt_overlay.o
  CC      spl/boot/common_fit.o
  AR      spl/common/built-in.o
  CC      spl/disk/part.o
  CC      spl/disk/disk-uclass.o
  AR      spl/boot/built-in.o
  CC      spl/drivers/block/blk-uclass.o
  AR      spl/drivers/bus/built-in.o
  AR      spl/drivers/clk/analogbits/built-in.o
  AR      spl/drivers/clk/imx/built-in.o
  CC      spl/drivers/clk/rockchip/clk_pll.o
  AR      spl/lib/libfdt/built-in.o
  CC      spl/lib/hash-checksum.o
  CC      spl/lib/sha1.o
  CC      spl/disk/part_efi.o
  AR      spl/drivers/block/built-in.o
  CC      spl/drivers/clk/rockchip/clk_rk3568.o
  CC      spl/drivers/core/device.o
  AR      spl/disk/built-in.o
  CC      spl/drivers/core/fdtaddr.o
  CC      spl/lib/sha256.o
  AR      spl/dts/built-in.o
  CC      spl/fs/fs_internal.o
  CC      spl/drivers/core/lists.o
  AR      spl/fs/built-in.o
  CC      spl/drivers/core/root.o
  CC      spl/drivers/core/uclass.o
  AR      spl/drivers/clk/rockchip/built-in.o
  AR      spl/drivers/clk/tegra/built-in.o
  AR      spl/drivers/clk/ti/built-in.o
  CC      spl/drivers/clk/clk-uclass.o
  CC      spl/drivers/core/util.o
  CC      spl/drivers/core/tag.o
  CC      spl/drivers/core/simple-bus.o
  CC      spl/drivers/core/dump.o
  CC      spl/drivers/clk/clk_fixed_rate.o
  CC      spl/drivers/core/regmap.o
  CC      spl/lib/fdtdec_common.o
  CC      spl/drivers/clk/clk_fixed_factor.o
  CC      spl/lib/fdtdec.o
  AR      spl/drivers/clk/built-in.o
  AR      spl/drivers/crypto/aspeed/built-in.o
  CC      spl/drivers/core/syscon-uclass.o
  CC      spl/drivers/crypto/fsl/sec.o
  AR      spl/drivers/crypto/fsl/built-in.o
  AR      spl/drivers/crypto/hash/built-in.o
  AR      spl/drivers/crypto/nuvoton/built-in.o
  CC      spl/drivers/crypto/rsa_mod_exp/mod_exp_uclass.o
  CC      spl/drivers/mmc/mmc.o
  CC      spl/drivers/core/read.o
  CC      spl/drivers/crypto/rsa_mod_exp/mod_exp_sw.o
  AR      spl/drivers/crypto/rsa_mod_exp/built-in.o
  AR      spl/drivers/crypto/built-in.o
  CC      spl/drivers/mmc/mmc-uclass.o
  CC      spl/drivers/core/of_extra.o
  CC      spl/drivers/core/ofnode.o
  CC      spl/drivers/core/read_extra.o
  CC      spl/drivers/mmc/dw_mmc.o
  CC      spl/lib/crc16-ccitt.o
  CC      spl/lib/net_utils.o
  CC      spl/drivers/mmc/rockchip_dw_mmc.o
  CC      spl/lib/qsort.o
  CC      spl/lib/hashtable.o
  CC      spl/drivers/mmc/rpmb.o
  CC      spl/lib/errno.o
  CC      spl/drivers/mmc/sdhci.o
  CC      spl/lib/display_options.o
  CC      spl/drivers/mmc/rockchip_sdhci.o
  AR      spl/drivers/core/built-in.o
  CC      spl/drivers/mtd/spi/sf-uclass.o
  CC      spl/lib/crc32.o
  CC      spl/drivers/mtd/spi/sf_probe.o
  CC      spl/lib/ctype.o
  CC      spl/drivers/mtd/spi/spi-nor-ids.o
  CC      spl/lib/div64.o
  AR      spl/drivers/mmc/built-in.o
  CC      spl/drivers/mtd/spi/spi-nor-tiny.o
  CC      spl/lib/hang.o
  CC      spl/lib/linux_compat.o
  CC      spl/lib/linux_string.o
  CC      spl/lib/lmb.o
  AR      spl/drivers/pinctrl/broadcom/built-in.o
  AR      spl/drivers/pinctrl/nxp/built-in.o
  CC      spl/drivers/pinctrl/rockchip/pinctrl-rockchip-core.o
  CC      spl/lib/membuff.o
  AR      spl/drivers/mtd/spi/spi-nor.o
  AR      spl/drivers/mtd/spi/built-in.o
  AR      spl/drivers/mtd/built-in.o
  CC      spl/drivers/pinctrl/pinctrl-uclass.o
  CC      spl/lib/slre.o
  CC      spl/drivers/pinctrl/pinctrl-generic.o
  CC      spl/drivers/pinctrl/rockchip/pinctrl-rk3568.o
  CC      spl/drivers/ram/rockchip/sdram_rk3568.o
  AR      spl/drivers/ram/rockchip/built-in.o
  CC      spl/lib/string.o
  CC      spl/drivers/ram/ram-uclass.o
  AR      spl/drivers/pinctrl/rockchip/built-in.o
  CC      spl/lib/tables_csum.o
  AR      spl/drivers/pinctrl/built-in.o
  CC      spl/lib/time.o
  CC      spl/drivers/serial/serial-uclass.o
  AR      spl/drivers/ram/built-in.o
  CC      spl/drivers/serial/ns16550.o
  CC      spl/lib/hexdump.o
  CC      spl/lib/uuid.o
  CC      spl/lib/rand.o
  CC      spl/lib/panic.o
  AR      spl/drivers/soc/built-in.o
  CC      spl/drivers/spi/spi-uclass.o
  CC      spl/lib/tiny-printf.o
  AR      spl/drivers/serial/built-in.o
  CC      spl/drivers/sysreset/sysreset-uclass.o
  CC      spl/drivers/sysreset/sysreset_rockchip.o
  CC      spl/lib/strto.o
  CC      spl/lib/abuf.o
  AR      spl/drivers/sysreset/built-in.o
  CC      spl/lib/date.o
  CC      spl/lib/rtc-lib.o
  CC      spl/drivers/spi/spi-mem.o
  CC      spl/lib/elf.o
  AR      spl/lib/built-in.o
  AR      spl/drivers/spi/built-in.o
  AR      spl/drivers/built-in.o
  LD      spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
  SYM     spl/u-boot-spl.sym
  CAT     spl/u-boot-spl-dtb.bin
  COPY    spl/u-boot-spl.bin
  BINMAN  .binman_stamp
Image 'simple-bin' is missing optional external blobs but is still functional: tee-os

/binman/simple-bin/fit/images/@tee-SEQ/tee-os (tee-os):
   See the documentation for your board. You may need to build Open Portable
   Trusted Execution Environment (OP-TEE) and build with TEE=/path/to/tee.bin

  OFCHK   .config
The boot:

Code: Select all

U-Boot SPL 2024.01-00003-gbc24696f8ec-dirty (May 23 2024 - 16:11:05 -0400)
Trying to boot from MMC2
Card did not respond to voltage select! : -110
spl: mmc init failed with error: -95
Trying to boot from MMC1
## Checking hash(es) for config config-1 ... OK
## Checking hash(es) for Image u-boot ... sha256+ OK
## Checking hash(es) for Image fdt-1 ... sha256+ OK
cannot find image node '': -1


U-Boot 2024.01-00003-gbc24696f8ec-dirty (May 23 2024 - 16:11:05 -0400)

Model: Hardkernel ODROID-M1S
DRAM:  8 GiB (effective 7.7 GiB)
PMIC:  RK8090 (on=0x40, off=0x00)
Core:  308 devices, 28 uclasses, devicetree: separate
MMC:   mmc@fe2b0000: 1, mmc@fe310000: 0
Loading Environment from nowhere... OK
In:    serial@fe660000
Out:   serial@fe660000
Err:   serial@fe660000
Model: Hardkernel ODROID-M1S
Net:   eth0: ethernet@fe010000
Hit any key to stop autoboot:  0 
Card did not respond to voltage select! : -110
** Booting bootflow 'mmc@fe310000.bootdev.part_1' with script
184 bytes read in 5 ms (35.2 KiB/s)
ini: Imported overlay_resize as 16384
ini: Imported overlay_profile as 
ini: Imported overlays as i2c0 i2c1 spi0
163721 bytes read in 33 ms (4.7 MiB/s)
Working FDT set to a100000
223 bytes read in 16 ms (12.7 KiB/s)
223 bytes read in 15 ms (13.7 KiB/s)
514 bytes read in 17 ms (29.3 KiB/s)
7781439 bytes read in 117 ms (63.4 MiB/s)
Uncompressed size: 23179272 = 0x161B008
17426158 bytes read in 234 ms (71 MiB/s)
Booting Debian 5.10.0-odroid-arm64 from mmc 0:1...
Moving Image from 0x2080000 to 0x2200000, end=38a0000
## Flattened Device Tree blob at 0a100000
   Booting using the fdt blob at 0xa100000
Working FDT set to a100000
   Loading Ramdisk to ebe3a000, end eced86ee ... OK
ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0)
ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0)
   Loading Device Tree to 00000000ebdf8000, end 00000000ebe39fff ... OK
Working FDT set to ebdf8000

Starting kernel ...

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 2 guests