1. Increase default stack size from 8KiB to 16KiB to avoid illegal instruction
panics while bringing up harts online. Not posted yet online.
2. Add Image.gz booti support (RFC/RFT) for testing.
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
- Align boot image header format
- Set preboot for QEMU to copy DTB in expected location
- Set default bootargs for the boards
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
CONFIG_PREBOOT might need re-work, thus let's start fresh to see
check uboot environment before changes.
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
Some README.* files were converted to reST to be used with Sphinx
and places in different locations.
BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/uboot-tools-2019.10-0.1.rc2.0.riscv64.fc31.riscv64/usr/share/doc/uboot-tools/README.uefi
BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/uboot-tools-2019.10-0.1.rc2.0.riscv64.fc31.riscv64/usr/share/doc/uboot-tools/README.arm64
RPM build errors:
BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/uboot-tools-2019.10-0.1.rc2.0.riscv64.fc31.riscv64/usr/share/doc/uboot-tools/README.qemu-riscv
BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/uboot-tools-2019.10-0.1.rc2.0.riscv64.fc31.riscv64/usr/share/doc/uboot-tools/README.sifive-fu540
BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/uboot-tools-2019.10-0.1.rc2.0.riscv64.fc31.riscv64/usr/share/doc/uboot-tools/README.ae350
BUILDSTDERR: File not found: /builddir/build/BUILDROOT/uboot-tools-2019.10-0.1.rc2.0.riscv64.fc31.riscv64/usr/share/doc/uboot-tools/README.uefi
BUILDSTDERR: File not found: /builddir/build/BUILDROOT/uboot-tools-2019.10-0.1.rc2.0.riscv64.fc31.riscv64/usr/share/doc/uboot-tools/README.arm64
BUILDSTDERR: File not found: /builddir/build/BUILDROOT/uboot-tools-2019.10-0.1.rc2.0.riscv64.fc31.riscv64/usr/share/doc/uboot-tools/README.qemu-riscv
BUILDSTDERR: File not found: /builddir/build/BUILDROOT/uboot-tools-2019.10-0.1.rc2.0.riscv64.fc31.riscv64/usr/share/doc/uboot-tools/README.sifive-fu540
BUILDSTDERR: File not found: /builddir/build/BUILDROOT/uboot-tools-2019.10-0.1.rc2.0.riscv64.fc31.riscv64/usr/share/doc/uboot-tools/README.ae350
Child return code was: 1
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
Old patches are upstreamed, but upstream was broken while converting
PREBOOT stuff to Kconfig.
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
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>