warnings: Add explict prototype for prom_vfprintf() Also update GCC format attributes Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Add prom_claim_chunk_top We want temporary allocations to be taken from the top of our address space so the kernel and initrd can be loaded as low as possible. The very early kernel code uses the top of the initrd as the low watermark for memory allocations so the lower this is the better. We currently see a number of fails where a large initrd causes us to run out of space in a 128MB RMO region. Allocating the temporary areas up high and therefore the initrd lower fixes it. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Bump PROM_CLAIM_MAX_ADDR to 256MB A number of machines are failing to boot because firmware takes up a significant amount of the first 128MB. Bump our maximum to 256MB since these boxes almost always have a 256MB RMO region. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Add claim/release runtime debug output Create prom_debug and use it in the claim and release routines. Clean up the debug and error messages in the area. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
print available ranges under control of linux, yaboot-debug property Debugging yaboot failures is difficult because we often have to retest with a yaboot built with debug enabled. As a first step to fixing this, look for a linux,yaboot-debug property and dump the available ranges when it is non zero. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Handle ipv6 boot parameters for POWER architecture. This is implementation derived. This follows the semantics defined in section 4.3.1 of http://www.power.org/apps/org/workgroup/parch/download.php/2380/latest (It is under the Members area of TSC - Platform Architecture committee). [ Fixed merge conflicts in second/file.c and second/fs_of.c ] Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Add parseing for Vendor options aka DHCP options. If we have DHCP options process them. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
The CAS (Client-Architecture Support) call tells firmware what capabilities the OS has. These capabilities result in different modes which the device-tree is configured in, as well as what processor capabilities are presented. So, if the capabilities are different from what was previously booted, firmware has to reboot to reconfigure the device-tree. The second boot will have the updated device-tree and we can boot as normal. When this firmware initiated reboot occurs yaboot will now boot the same kernel as the previous boot attempt with no action by the user needed. I have successfully booted on POWER5 and POWER6 machines using various levels of the kernel. Patch from: Mike Wolf <mjw@linux.vnet.ibm.com>
The patch from Scott Moser moves the "search-for-prom_claim'able" routine that was present in load_elf64 and load_elf32 to a function named prom_claim_chunk. This reduces the code-snippit duplication and makes the function available for of_net_open. Scott Moser ssmoser@us.ibm.com
prom functions This first part creates the prom_get_netinfo (), prom_get_mac (), prom_get_ip () functions, and some structures to get the necessary information about the MAC and IP addresses. Actually, this is a reallocation of netbooting like PXE algorithm wrote by Benoit Guillon [1], to be used by any other part of Yaboot to get the netbooting information. [1] http://ozlabs.org/pipermail/yaboot-devel/2006-December/000062.html Signed-off-by: Paulo Ricardo Paz Vital <vital@br.ibm.com>
prom setprop primatives This patch creates the prom_set_options() and prom_setprop() functions. These are precise mirrors of their read-only brothers, prom_get_options() and prom_getprop(), implemented as defined in the Open Firmware 1275 spec. The prom_set_options() function will be used to zero out the boot-once label unconditionally after reading it. Signed-off-by: Dustin Kirkland <dustin.kirkland@us.ibm.com>
This is a combination of three patches (the first two for adding prom_getproplen and ARRAY_SIZE) for getting the pxelinux config file search working. Nathan Lynch (original patch) Benoit Guillon (update to 1.3.14rc tree)
Certain levels of IBM firmware will allow the system to boot from an iscsi target. System OFW accomplishes this by setting up a virtual disk device with parameters. These parameters, when passed back to OFW by yaboot, directs the FW to use virtual device over the ethernet port that will then access iscsi target as a block device. This patch extracts those parameters from the property of the virtual device and passes them back to OFW to indicate the kernel is to be retrieved via the iscsi protocol. Signed-off-by: Doug Maxey <dwm@austin.ibm.com> Cc: Ben Herrenscmidt <benh@kernel.crashing.org> Cc: Mike Christie <michaelc@cs.wisc.edu>
Commit yaboot 1.3.6 Commit yaboot 1.3.6. git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-15
Commit yaboot 1.3.4-pre3 Commit yaboot 1.3.4-pre3. git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-7
Commit yaboot 1.3.4-pre1 Commit yaboot 1.3.4-pre1. git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-5
Commit yaboot 1.3.0 Commit yaboot 1.3.0. git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-1