RFC arm : dynamically choose initrd load address
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arm : raise an error if the kernel size will overlap the initrdhw/ | +7 | 0 replies | |
| 2/3 | arm : factor out set_kernel_args[_old]hw/ | +10 | 0 replies | |
| 3/3 | arm : make initrd load address dynamichw/ hw/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [rfc 0/3] arm : dynamically choose initrd load address
Hi all,
after compiling my kernel on the arm architecture I was not able to start it because qemu was segfaulting or going to an infinite loop.
After google'ing I found on launchpad the bug:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524893
Following the indications, I rebuilt qemu with an higher initrd load address and the kernel booted correctly.
I am trying to make the things easier and/or to fail gracefully with patchset but I am not familiar with the ARM architecture neither qemu internals, so may be I am totally wrong :)
The first patch raise an error if there is an overlapping error. But the two next patches makes to compute automatically an address for initrd to loaded.
Daniel Lezcano (3):
arm : raise an error if the kernel size will overlap the initrd arm : factor out set_kernel_args[_old]
arm : make initrd load address dynamic
hw/arm-misc.h | 1 + hw/arm_boot.c | 40 +++++++++++++++++++--------------------- 2 files changed, 20 insertions(+), 21 deletions(-)