Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qemu - bootfails caused by cfi-flash #80

Open
userid0x0 opened this issue Jan 23, 2025 · 0 comments
Open

qemu - bootfails caused by cfi-flash #80

userid0x0 opened this issue Jan 23, 2025 · 0 comments

Comments

@userid0x0
Copy link

Hi,
the dtbs for the Aarch64 qemu target include a cfi-flash node [1]. As far as I can say none of the camkes examples map this range, the example kernel in the camkes-vm-images repo seems not to have cfi flash support and seems to boot for that reason. Using a recent e.g. 6.12 kernel with defconfig fails with a pagefault as the kernel tries to discover the CFI flash.

Log

[    1.310589] calling  physmap_init+0x0/0x28 @ 1
[    1.311768] physmap-flash 0.flash: physmap platform flash device: [mem 0x0000
0000-0x03ffffff]
--------
Pagefault from [vm0]: write fault @ PC: 0xffff8000809f7b04 IPA: 0x0, FSR: 0x9381
0046
Context:

Proposal: add initcall_blacklist=physmap_init,cfi_probe_init to the bootargs of the example to avoid this problem

[1] https://github.com/seL4/camkes-vm-images/blob/master/qemu-arm-virt/linux.dts#L63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant