10-09-2018 07:13 AM
Hello,
I've builded an images for ZCU102 Ultrascale + Evaluation board.
When I want to start kernel, it show the message "Bad Linux ARM64 Image magic!"
I use this commands to start my kernel :
Zynmp > fatload mmc 0 0x3000000 Image
Zynmp > fatload mmc 0 0x2A00000 system.dtb
Zynmp > fatload mmc 0 0x2000000 initramfs.ub
Zynmp > booti 0x3000000 0x2000000 0x2A00000
The size of my rootfs is 71 MB. This can be an issue for u-boot ?
Because, when i use a smaller one < 16 Mo (core-image-minimal), the kernel start correctly.
Any help please ?
10-09-2018 09:13 AM
10-09-2018 07:22 AM
Hello @Anonymous,
I'm not an expert and I don't know if this is the correct answer. But you do fatload mmc 0 0x2000000 initramfs.ub
If your rootfs is 71MB which is 71 000 000 bytes. The hex value is 43B5FC0. This seems to be way bigger then the value's youre are using.
Maybe look into making the values bigger for the initramfs.ub.
I never used fatload before but when you take to first adress + the size of the initramfs.ub maybe put the system.dtb at B76BF80?
Again, never done this before so im just trying to help out of the blank.
10-09-2018 09:13 AM
10-10-2018 05:25 AM
Thank you stephen. It workes using FIT image.
10-10-2018 08:20 PM
Hi @Anonymous,
These issue could be when you are trying overlap the address in memory. You can use something like this
ZynqMP> tftpboot 0x80000 Image.bin && tftpboot 0x4000000 system.dtb && tftpboot 0x6000000 rootfs.cpio.gz.u-boot && booti 0x80000 0x6000000 0x4000000