[PATCH] riscv: Add a 64-bit image type
Rick Chen
rickchen36 at gmail.com
Mon Apr 10 09:25:37 CEST 2023
> From: Simon Glass <sjg at chromium.org>
> Sent: Monday, April 03, 2023 4:28 AM
> To: U-Boot Mailing List <u-boot at lists.denx.de>
> Cc: Sean Anderson <seanga2 at gmail.com>; Bin Meng <bmeng.cn at gmail.com>; Rick Jian-Zhi Chen(陳建志) <rick at andestech.com>; Leo Yu-Chi Liang(梁育齊) <ycliang at andestech.com>; Simon Glass <sjg at chromium.org>; Andre Przywara <andre.przywara at arm.com>; Marc Kleine-Budde <mkl at pengutronix.de>; SESA644425 <giojahermann at gmail.com>; Samuel Holland <samuel at sholland.org>; Steven Lawrance <steven.lawrance at softathome.com>
> Subject: [PATCH] riscv: Add a 64-bit image type
>
> At present it is not possible to know whether an image can be booted by a 32- or 64-bit bootloader. This means that U-Boot may attempt to boot the wrong image. This may cause a crash which might be hard to debug.
>
> Add a new property to make this explicit.
>
> The existing 'RISC-V' is now taken to mean 32-bit.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> boot/image.c | 3 ++-
> include/image.h | 3 ++-
> 2 files changed, 4 insertions(+), 2 deletions(-)
Reviewed-by: Rick Chen <rick at andestech.com>
More information about the U-Boot
mailing list