[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#845779: flash-kernel: flashkernel uses mkimage -A arm on arm64

* Heinrich Schuchardt <xypron.glpk@gmx.de> [2016-11-26 16:54]:
> I want to get the Hardkernel Odroid C2 supported by flash-kernel.
> It is a 64bit system.
> Unfortunately in file /usr/share/flash-kernel/functions the functions
> mkimage_kernel() and mkimage_initrd() both call mkimage with argument
>  -A arm .
> This is incorrect. On 64bit arm systems you have to use
>  -A arm64 .
> Otherwise neither u-boot nor the kernel can read the images.

Your latest patch looks fine to me but I'm wondering why this is
needed in the first place.

On modern devices, we no longer wrap the kernel and initrd into an
u-boot image, but we boot it directly using bootz (arm) or booti

I see there's also one "mkimage -A arm" call to generate the boot
script.  Is that's what causing you the problem?

Martin Michlmayr

Reply to: