RISC-V FIT image type

Bin Meng bmeng.cn at gmail.com
Fri Mar 31 08:22:32 CEST 2023


On Fri, Mar 31, 2023 at 5:36 AM Simon Glass <sjg at 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


More information about the U-Boot mailing list