[PATCH 0/3] Fix XIP boot and make XIP testable in QEMU

Frederik Haxel haxel at fzi.de
Tue Dec 12 05:01:11 PST 2023


XIP boot seems to be broken for some time now. A likely reason why no one
seems to have noticed this is that XIP is more difficult to test, as it is
currently not easily testable with QEMU.

These patches fix the XIP boot and allow an XIP build without BUILTIN_DTB,
which in turn makes it easier to test an image with the QEMU virt machine.

Frederik Haxel (3):
  riscv: Make XIP bootable again
  riscv: Fixed wrong register in XIP_FIXUP_FLASH_OFFSET macro
  riscv: Allow disabling of BUILTIN_DTB for XIP

 arch/riscv/Kconfig                 | 6 +++---
 arch/riscv/include/asm/xip_fixup.h | 2 +-
 arch/riscv/kernel/head.S           | 5 ++++-
 arch/riscv/mm/init.c               | 8 ++++++--
 4 files changed, 14 insertions(+), 7 deletions(-)

-- 
2.34.1




More information about the linux-riscv mailing list