opnsense-src/sys/boot/uboot/lib
Maxim Sobolev 8f207db125 Fix bug in the ubldr introduced in the rev.283035. The new code
fails to properly consider memory regions when the loader is
located below of those regions or engulfs their lower limit. This
results in "not enough RAM to load kernel" panic, which is totally
bogus. On top of that, there are some variables that can be left
unitialized in those cases, which might cause it fail with memory
access violation instead of panic while trying to load kernel to
a wrong or non-existing address of memory.

Augment the code to properly deal with the loader being below or
at the lower bound of the memory region in question. Also, don't
leave ununitialized variables behind.

Reviewed by:	ian
2015-06-19 17:00:36 +00:00
..
api_public.h Enhance the mechanism that lets you configure the ubldr boot device by 2014-03-11 22:02:49 +00:00
console.c Move U-Boot compatibility library to WARNS=2 level. 2008-09-03 15:39:50 +00:00
copy.c Fix bug in the ubldr introduced in the rev.283035. The new code 2015-06-19 17:00:36 +00:00
devicename.c Use disk_fmtdev() and disk_parsedev() functions from the new DISK API. 2012-09-09 11:32:06 +00:00
disk.c Enhance the mechanism that lets you configure the ubldr boot device by 2014-03-11 22:02:49 +00:00
elf_freebsd.c An ARM kernel can be loaded at any 2MB boundary, make ubldr aware of that. 2015-05-17 19:59:05 +00:00
glue.c Enhance the mechanism that lets you configure the ubldr boot device by 2014-03-11 22:02:49 +00:00
glue.h Fix fdt_platform_fixups() mem region handling. It turns out u-boot puts 2015-03-17 21:15:24 +00:00
libuboot.h An ARM kernel can be loaded at any 2MB boundary, make ubldr aware of that. 2015-05-17 19:59:05 +00:00
Makefile Move the definitions of the fdt functions from a uboot header to a new fdt 2014-11-01 10:50:18 +00:00
module.c Print error message if autoload fails due to missing DTB blob, otherwise 2015-05-26 20:32:14 +00:00
net.c Add a routine to obtain netboot parameters from the U-Boot env vars. Call 2015-05-18 16:12:41 +00:00
reboot.c Move U-Boot compatibility library to WARNS=2 level. 2008-09-03 15:39:50 +00:00
time.c Minor style correction. 2010-02-25 15:30:26 +00:00