yaboot-1.3.17
Make: We must build with -fno-strict-aliasing Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
make: Update CFLAGS to for -Werror. Should stop warnings creeping in. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
make: Add correct quotes to the VERSION define to allow spaces in the version. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Force yaboot to always build 32-bit. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
yaboot does not compile against new e2fsprogs release Add some "hacky" workarounds for missing libc functions required by e2fsprogs. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Link yaboot at 1MB Give ourselves another 1MB of available space by moving yaboot down to 1MB. With load-base at 0x4000, our yaboot image would have to be 1MB-0x4000 before we should encounter problems (because firmware would have issues relocating us from 0x4000 to 1MB). Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Allocate kernel and ramdisk as low as possible We currently start the search for free memory for the kernel at 12MB. This made sense back when firmware (real-base) was always 12MB, but it doesn't now it is often at 32MB. In light of this and now we have fixed the initrd load issues, just try and allocate the kernel as low as possible. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Allocate malloc region with prom_claim_chunk_top We want the kernel and initrd to be as low as possible in the address space. Allocate the temporary malloc region at the top of the address space. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Merge branch 'devel'
Yaboot 1.3.16
Version 1.3.15 Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Check each partition for swapspace before other filesystems. Swapspace isn't guaranteed to be on a partition tagged as such, add a little defensive programming in that case. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Revert "Let prom_claim_chunk do the work for tftp images to support larger images." This reverts commit c8b04c614770870d75825c19bcd4729cc779b84a. This fixes the regression described in: https://bugzilla.redhat.com/show_bug.cgi?id=468492 Signed-off-by: Roman Rakus <rrakus@redhat.com> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Force build to be ppc32
Print version-release of yaboot Patch from dwmw2@infradead.org
Let prom_claim_chunk do the work for tftp images to support larger images. Patch from: Leonardo Rangel <lrangel@linux.vnet.ibm.com>
On some of the larger kernels we are starting to see a space squeeze. The kernel is currently being put at 20MBs and on some of the newer pSeries systems we are getting real-bases at 32MBs (plus AIX 5.3 has real-base at 32MB, so if AIX is ever booted, everything gets shifted). If the uncompressed kernel+initrd is larger than 12MBs then we see truncation (typical on install kernels). This patch moves the KERNELADDR to 0x00C00000 (12MB). If real-base is 12MB and is loaed there, yaboot will keep going up by a megabyte until prom_claim finds space. And the uncompressed kernel should be indifferent where it's loaded because there's nothing at 32MB (ie it will operate as it does today). If OF is loaded at 32MB then the 12MB region is free and the uncompressed kernel will have more space to grow. I have tested this on numerous pSeries boxes. I have not tested on anything else. Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com>
Prepare 1.3.14
Remove binary libext2fs.a and build against system library.