RFC Move the address of FW_JUMP_FDT_ADDR forward
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest0 patches 0 repliesNew
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/0] Move the address of FW_JUMP_FDT_ADDR forward
From: "Nylon.Chen" <[email protected]>
A while ago.
when we boot from QEMU by OpenSBI Jump mode with initramfs kerenl.
The kernel encountered panic because the kernel's section was overwritten, and the address was FW_JUMP_FDT_ADDR.
we find out the the rule $(FW_TEXT_START) + 0x2200000 in platform/generic/config.mk
The situation is our kernel size big than it.
e.g.
# readelf -h vmlinux init.bss's LMA is "0x00000000024a96a0", and when we use this rule, it exceeds its size.
0x24a96a0 > 0x2200000
After our experiment, we can add offset FW_JUMP_FDT_ADDR, and the problem is solved.
But in my opinion, this is not a good method because the next time the kernel size increases, the same situation occurs again.
So maybe we can move the address forward and normalize the address to FW_JUMP_FDT_ADDR?
Signed-off-by Nylon Chen <[email protected]>
Signature · 1 line
2.36.1