qemu-e2k/hw/nios2
Nick Hudson f831f955d4 Support u-boot noload images for arm as used by, NetBSD/evbarm GENERIC kernel.
noload kernels are loaded with the u-boot image header and as a result
the header size needs adding to the entry point.  Fake up a hdr so the
kernel image is loaded at the right address and the entry point is
adjusted appropriately.

The default location for the uboot file is 32MiB above bottom of DRAM.
This matches the recommendation in Documentation/arm/Booting.

Clarify the load_uimage API to state the passing of a load address when an
image doesn't specify one, or when loading a ramdisk is expected.

Adjust callers of load_uimage, etc.

Signed-off-by: Nick Hudson <skrll@netbsd.org>
Message-id: 11488a08-1fe0-a278-2210-deb64731107f@gmx.co.uk
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-01-07 15:46:20 +00:00
..
10m50_devboard.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
Makefile.objs nios2: Add Altera 10M50 GHRD emulation 2017-01-24 13:10:35 -08:00
boot.c Support u-boot noload images for arm as used by, NetBSD/evbarm GENERIC kernel. 2019-01-07 15:46:20 +00:00
boot.h nios2: Add Altera 10M50 GHRD emulation 2017-01-24 13:10:35 -08:00
cpu_pic.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00