On Fri, May 26, 2023 at 05:24:41PM +0100, Conor Dooley wrote:
On Fri, May 26, 2023 at 05:46:30PM +0200, Alexandre Ghiti wrote:I don't know if this is better or worse news, but same thing happens on
Early alternatives are called with the mmu disabled, and then should notTotally & I'll happily spend the time trying to review that work.
access any global symbols through the GOT since it requires relocations,
relocations that we do before but *virtually*. So only use medany code
model for this early code.
Signed-off-by: Alexandre Ghiti <alexghiti@xxxxxxxxxxxx>
---
Note that I'm not very happy with this fix, I think we need to put more
effort into "harmonizing" this very early code (ie before the mmu is
enabled) as it is spread between different locations and compiled
differently.
I'll work on that later, but for now, this fix does what isOn 6.4-rc1 & v6.4-rc1 + this patch, with CONFIG_RELOCATABLE added to my
needed to work (from my testing at least). Any Tested-by on the Unmatched
and T-head boards is welcome!
config, my Nezha fails to boot. There is no output whatsoever from the
kernel. Turning off CONFIG_RELOCATABLE boots again.
an icicle kit. What systems, other than QEMU, has the relocatable
eries been tested with, btw?
Cheers,
Conor.
I didn't test on my unmatched.
Thanks,
Conor.
_______________________________________________
linux-riscv mailing list
linux-riscv@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-riscv