Re: [PATCH] rockchip: mkimage: Remove host endianness dependency

2020-10-30 Thread Kever Yang
On 2020/10/25 上午12:43, Samuel Holland wrote: The Rockchip boot ROM expects little-endian values in the image header. When running mkimage on a big-endian machine, these values need to be byteswapped before writing or verifying the header. This change fixes cross-compiling U-Boot SPL for the

[PATCH] rockchip: mkimage: Remove host endianness dependency

2020-10-24 Thread Samuel Holland
The Rockchip boot ROM expects little-endian values in the image header. When running mkimage on a big-endian machine, these values need to be byteswapped before writing or verifying the header. This change fixes cross-compiling U-Boot SPL for the RK3399 SoC from a big-endian ppc64 host machine.