
31 Mar
2023
31 Mar
'23
8:22 a.m.
On Fri, Mar 31, 2023 at 5:36 AM Simon Glass sjg@chromium.org wrote:
Hi,
I notice that in image.h we have IH_ARCH_RISCV but no mention of IH_ARCH_RISCV64. Should we not have two separate image types, as we do with ARM and x86? Otherwise, how would a loader know the word size of the target machine?
I think that's because in RISC-V it is always the same bit-width U-Boot to load the same bit-width kernel. There is no support of 32-bit U-Boot to load 64-bit kernel and vice versa.
Regards, Bin