Commit Graph

3 Commits

Author SHA1 Message Date
David Abdurachmanov 2225e1aa63
Update RISC-V offsets again
Memory starts at 0x80000000, but kernel entry point is at 0x80200000,
i.e. 2MB aligned memory address. Also modify kernel_addr_r to be 64MB
away to give enough space for kernel.

Also we can ignore rule that kernel should be mapped into the 1st 128MB
of memory because of CONFIG_AUTO_ZRELADDR. That's ARMv7 specific bit.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-04-06 15:39:54 +02:00
David Abdurachmanov af139e3d4c
Update RISC-V patch to allow kernels up to 64MB
5.1-rc3+ passed 16MB threshold. 64MB was picked based on some ARM boards.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-04-05 18:01:35 +02:00
David Abdurachmanov 92694119a7
Add CONFIG_REBOOT to set fdt_addr
This is needed for PXE/extlinux boot to find FDT (Device Tree Blob)
otherwise we don't boot. Also configure fdt command with FDT address
so we could use it out-of-the-box in U-Boot prompt.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-03-30 20:31:09 +01:00