mbox series

[v2,0/3] Risc-V 32 bit/64 bit images

Message ID 20250404144859.112313-1-mchitale@ventanamicro.com
Headers show
Series Risc-V 32 bit/64 bit images | expand

Message

Mayuresh Chitale April 4, 2025, 2:48 p.m. UTC
This series adds support for building different images for 32-bit vs
64-bit Risc-V CPUs and also for verifying the target arch of an image
before booting it.

Change in v2:
- Rebase to latest master branch
- Improve comment in image.h
- Set arch type in booti for all modes

Changes from RFC:
- Rebase on latest master branch
- Improve commit message for patch 3

Mayuresh Chitale (3):
  riscv: image: Add new image type for RV64
  riscv: Select appropriate image type
  booti/bootm: riscv: Verify image arch type

 arch/riscv/dts/binman.dtsi      | 14 ++++++++++----
 arch/riscv/include/asm/u-boot.h |  4 ++++
 arch/riscv/lib/bootm.c          |  4 ++++
 boot/image.c                    |  3 ++-
 cmd/booti.c                     |  7 +++++--
 include/image.h                 |  3 ++-
 6 files changed, 27 insertions(+), 8 deletions(-)