public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix XIP boot and make XIP testable in QEMU
@ 2023-12-12 13:01 Frederik Haxel
  2023-12-12 13:01 ` [PATCH 1/3] riscv: Make XIP bootable again Frederik Haxel
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Frederik Haxel @ 2023-12-12 13:01 UTC (permalink / raw)
  Cc: Vitaly Wool, Frederik Haxel, Paul Walmsley, Palmer Dabbelt,
	Albert Ou, Greentime Hu, Andy Chiu, Heiko Stuebner, Conor Dooley,
	Clément Léger, Sami Tolvanen, Masahiro Yamada, Guo Ren,
	Nam Cao, Alexandre Ghiti, Andrew Morton, Anup Patel, Baoquan He,
	Chen Jiahao, Björn Töpel, linux-riscv, linux-kernel

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


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-01-11 14:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12 13:01 [PATCH 0/3] Fix XIP boot and make XIP testable in QEMU Frederik Haxel
2023-12-12 13:01 ` [PATCH 1/3] riscv: Make XIP bootable again Frederik Haxel
2023-12-12 13:01 ` [PATCH 2/3] riscv: Fixed wrong register in XIP_FIXUP_FLASH_OFFSET macro Frederik Haxel
2023-12-12 13:01 ` [PATCH 3/3] riscv: Allow disabling of BUILTIN_DTB for XIP Frederik Haxel
2023-12-12 13:22 ` [PATCH 0/3] Fix XIP boot and make XIP testable in QEMU Conor Dooley
     [not found]   ` <CAM4kBBKBC=ZSQPzAq5MFQvd1g9=Up_oRAK5CV74oJHt=SbcPqg@mail.gmail.com>
2023-12-12 15:14     ` Conor Dooley
2023-12-13 16:08       ` Palmer Dabbelt
2024-01-11 14:50 ` patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox