Hi,
I loaded thw Flash Writer and U-Boot to the RZ/G2L eval board which seemed to work all fine.
I then created an SD Card with two partitions, partition 1 FAT32, 33MiB with the kernel (Image-smarc-rzg2l.bin) and the device tree (r9a07g044l2-smarc.dtb) file and
partition2 ext4 wwith the rootfs (29.78GiB)
I can see the files on the card with:
=> ls mmc 1:1
13603328 Image-smarc-rzg2l.bin
27835 r9a07g044l2-smarc.dtb
However, I still get:
=> run bootcmd
switch to partitions #0, OK
mmc1 is current device
Failed to load 'Image-smarc-rzv2l.bin'
Failed to load 'r9a07g054l2-smarc.dtb'
Bad Linux ARM64 Image magic!
While on the build host I can clearly see that the kernel was built for ARM64:
$ file Image-smarc-rzg2l.bin
Image-smarc-rzg2l.bin: Linux kernel ARM64 boot executable Image, little-endian, 4K pages
I'm not sure why u-boot tells me that it sees "Bad Linux ARM64 magic", the bootcmd looks like:
bootargs=root=/dev/mmcblk1p2 rootwait
bootcmd=mmc dev 1;fatload mmc 1:1 0x48080000 Image-smarc-rzv2l.bin;fatload mmc 1:1 0x48000000 r9a07g054l2-smarc.dtb; booti 0x48080000 - 0x48000000
Can anyone point out where the problem lies?