I have been following these instructions: https://linux-sunxi.org/Allwinner_Nezha#Mainline_kernel
But u-boot does not accept my kernel image. I tried both Image.gz and Image => ext4load mmc 0:1 ${kernel_addr_r} Image 20515704 bytes read in 1906 ms (10.3 MiB/s) => bootm ${kernel_addr_r} Wrong Image Format for bootm command ERROR: can't get kernel image! The load command works fine. But when trying to boot it from memory, the format is not accepted? The image was built with: $ make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- ... OBJCOPY arch/riscv/boot/Image GZIP arch/riscv/boot/Image.gz Kernel: arch/riscv/boot/Image.gz is ready The host PC just identifies it as 'data' though: $ file Image Image: data -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/f2bbd5cb-5eac-4718-9491-3e059f38d448n%40googlegroups.com.