Re: [PATCH] riscv: modify the Image header to improve compatibility with the ARM64 header

From: Paul Walmsley
Date: Sat Sep 14 2019 - 09:58:20 EST


On Sat, 14 Sep 2019, Atish Patra wrote:

> Thanks for the quick fix. Is there a planned timeline when we can
> remove the deprecated magic ?

If Linus merges this patch, we should probably start the transition in the
bootloaders, QEMU, and user tools as quickly as possible. Probably the
key element in the timeline is when we remove support for the old 64-bit
magic number location in the kernel. I'm told that U-Boot and QEMU have
already issued releases with support for the v0.1 image header format, so
dropping the old magic number from the kernel is probably at least a few
years away. (This is to increase the likelihood that anyone using the old
software has had the chance to update them.)

> I was planning to send a U-boot header documentation patch to match
> Linux one anyways. Do you want me that to rebase based on this patch or
> are you planning to send a U-boot patch as well ?

Once v5.3 comes out, please go ahead.


- Paul