yaboot.git
12 years agoThese patch provides the function of load a alternative initrd file
Paul Nasrat [Mon, 3 Dec 2007 12:41:42 +0000 (12:41 +0000)]
These patch provides the function of load a alternative initrd file
specified by the user via Yaboot prompt. To load the new file, just use
the "initrd=<name_of_file>" command. The <name_of_file> could include
all the directory path to the file.

Using only the "initrd" command, Yaboot will load the default kernel
specified in the configuration file and the initrd file specified by the
user. The user can, also, specify an initrd file to any other label of
the configuration file, just adding the "initrd" command before the
label's name.

Signed-off-by: Paulo Ricardo Paz Vital <vital@br.ibm.com>
12 years agomove the tftp load space and use prom_claim_chunk to claim the memory.
Paul Nasrat [Mon, 3 Dec 2007 12:39:06 +0000 (12:39 +0000)]
move the tftp load space and use prom_claim_chunk to claim the memory.
Growing kernels mean that the 6MB that was allotted is not enough.

Patch from Scott Moser

12 years agoThe patch from Scott Moser moves the "search-for-prom_claim'able" routine that
Paul Nasrat [Mon, 3 Dec 2007 12:37:10 +0000 (12:37 +0000)]
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

12 years agoRelease 1.3.14 yaboot-1.3.14
Paul Nasrat [Fri, 17 Aug 2007 14:29:26 +0000 (15:29 +0100)]
Release 1.3.14

12 years agoOn some of the larger kernels we are starting to see a space squeeze.
Paul Nasrat [Fri, 17 Aug 2007 14:22:00 +0000 (15:22 +0100)]
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>
12 years agoFix typo courtesy of Kenichi Nagai
Paul Nasrat [Thu, 26 Jul 2007 08:27:58 +0000 (09:27 +0100)]
Fix typo courtesy of Kenichi Nagai

12 years agoPrepare 1.3.14
Paul Nasrat [Thu, 19 Jul 2007 13:16:30 +0000 (14:16 +0100)]
Prepare 1.3.14

12 years agoNetboot fixes:
Paul Nasrat [Thu, 17 May 2007 12:54:20 +0000 (13:54 +0100)]
Netboot fixes:
- the ARRAY_SIZE macro is no more needed here,
- use of cfgpath to have the actual config path to apply for mac *and* ip
lookup,
- no need to free a buffer big enough, and besides malloc(9) was not
enough ("/etc/" missed),
- use of intermediate length variables to avoid unneeded calls to strlen()
and strrchr().
benoit.guillon <benoit.guillon@tele2.fr>

12 years agoCorrect return type
Paul Nasrat [Thu, 17 May 2007 10:30:59 +0000 (11:30 +0100)]
Correct return type
Leonardo Rangel <lrangel@linux.vnet.ibm.com>

12 years agoAdd missing includes
Paul Nasrat [Thu, 17 May 2007 10:29:29 +0000 (11:29 +0100)]
Add missing includes
Leonardo Rangel <lrangel@linux.vnet.ibm.com>

12 years agoFix compilation warnings by using return not exit.
Paul Nasrat [Thu, 17 May 2007 10:28:19 +0000 (11:28 +0100)]
Fix compilation warnings by using return not exit.
Leonardo Rangel <lrangel@linux.vnet.ibm.com>

12 years agoNow we stop truncating characters for pxelinux style boot at the directory seperator.
Paul Nasrat [Thu, 17 May 2007 10:27:23 +0000 (11:27 +0100)]
Now we stop truncating characters for pxelinux style boot at the directory seperator.
Leonardo Rangel <lrangel@linux.vnet.ibm.com>

12 years agoUpdate ChangeLog from git yaboot-1.3.14rc2
Paul Nasrat [Wed, 16 May 2007 09:22:59 +0000 (10:22 +0100)]
Update ChangeLog from git

12 years agouse of cfg_set_default_by_mac() function in yaboot.c
Paul Nasrat [Tue, 15 May 2007 13:28:02 +0000 (14:28 +0100)]
use of cfg_set_default_by_mac() function in yaboot.c

This last part calls the cfg_set_default_by_mac() function in yaboot.c
by load_config_file() function.

Signed-off-by: Paulo Ricardo Paz Vital <vital@br.ibm.com>
12 years agoThis part creates the cfg_set_default_by_mac() function.
Paul Nasrat [Tue, 15 May 2007 13:25:55 +0000 (14:25 +0100)]
This part creates the cfg_set_default_by_mac() function.

This function sets the default cf_option if there is an image label if
the same MAC address of the machine is netbooting.

Signed-off-by: Paulo Ricardo Paz Vital <vital@br.ibm.com>
12 years agoload_my_config_file() modifications in yaboot.c
Paul Nasrat [Tue, 15 May 2007 13:24:06 +0000 (14:24 +0100)]
load_my_config_file() modifications in yaboot.c

This second part, deletes the netbooting like PXE algorithm from
yaboot.c (reallocated in prom.c) and sets the use of prom_get_netinfo(),
prom_get_mac (), prom_get_ip () functions in load_my_config_file()
function to netbooting work like before the changes.

Signed-off-by: Paulo Ricardo Paz Vital <vital@br.ibm.com>
12 years agoprom functions
Paul Nasrat [Tue, 15 May 2007 13:23:26 +0000 (14:23 +0100)]
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>
12 years agoThis patch fixes OF netbooting on pSeries
Paul Nasrat [Tue, 15 May 2007 13:18:33 +0000 (14:18 +0100)]
This patch fixes OF netbooting on pSeries
Signed-off-by: Paulo Ricardo Paz Vital <vital@br.ibm.com>
12 years agoUser-specified config file on Yaboot's prompt
Paul Nasrat [Tue, 15 May 2007 13:14:43 +0000 (14:14 +0100)]
User-specified config file on Yaboot's prompt
This patch clears out the kernel image list before loading a new config file.
Leonardo Rangel lrangel at linux.vnet.ibm.com

12 years agoEnable user to supply config from yaboot command line.
Paul Nasrat [Thu, 19 Apr 2007 09:27:05 +0000 (10:27 +0100)]
Enable user to supply config from yaboot command line.

Leonardo Rangel <lrangel@linux.vnet.ibm.com>

12 years agoThe following patch fix reverts removal of some lines for the netboot patch.
Paul Nasrat [Thu, 19 Apr 2007 09:25:28 +0000 (10:25 +0100)]
The following patch fix reverts removal of some lines for the netboot patch.

Signed-off-by: Paulo Ricardo Paz Vital <vital@br.ibm.com>
12 years agoybin userland interface for specifying bootonce
Paul Nasrat [Thu, 19 Apr 2007 09:14:24 +0000 (10:14 +0100)]
ybin userland interface for specifying bootonce

Add an option to ybin called "--bootonce" that takes exactly one
argument, the label of the kernel to boot exactly once, on next reboot.

Do some sanity checking.  Grep through the yaboot config file to make
sure that label=WHATEVER exists somewhere, bail if not.  Try to prune
out comment lines.  Perhaps this might be implemented better.  It worked
will in my testing, though.

Set the boot-once OF environment variable to the --bootonce value.  Due
to the previously mentioned nvsetenv bug, this will fail silently if
you're trying to set boot-once on a system where boot-once doesn't
already exist in nvram.  Thus, immediately after doing the set, try and
read it back out of nvsetenv and make sure it landed there.  Bail if
not.

Signed-off-by: Dustin Kirkland <dustin.kirkland@us.ibm.com>
12 years agoyaboot menu user interface
Paul Nasrat [Thu, 19 Apr 2007 09:13:43 +0000 (10:13 +0100)]
yaboot menu user interface

This patch allows for denoting a kernel label as a "boot-once" label
when printing the menu of labels.

The label flagged as default is marked with an asterisk (*).  If a label
matches the global bootoncelabel, I'm marking it with an ampersand (&).
I'm ambivalent about the symbol used here, or even if it is.  But I
found this bit useful when debugging and testing the functionality, and
it's trivial to add cleanly.  I chose ampersand because it's immediately
left of the asterisk on my keyboard.

12 years agoread boot-once, zero out, set bootoncelabel as default
Paul Nasrat [Thu, 19 Apr 2007 09:12:22 +0000 (10:12 +0100)]
read boot-once, zero out, set bootoncelabel as default

This patch reads the boot-once environment variable from Open Firmware
and stores in a global variable, "bootoncelabel".

It then unconditionally zeros out the boot-once environment variable.

*** Note that according to 1275, setprop will create a specified
environment variable if it doesn't already exist.  A bug in nvsetenv
causes it to fail silently if you try to set an OF environment variable
that does not already exist.  However, simply booting a system running a
yaboot with this patch set compiled in will in fact create the boot-once
environment variable, which nvsetenv can later set and reset.

Signed-off-by: Dustin Kirkland <dustin.kirkland@us.ibm.com>
12 years agoprom setprop primatives
Paul Nasrat [Thu, 19 Apr 2007 09:11:19 +0000 (10:11 +0100)]
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>
12 years agoLoading a different config file (confarg feature) origin
Paul Nasrat [Wed, 18 Apr 2007 13:27:59 +0000 (14:27 +0100)]
Loading a different config file (confarg feature)
Origin: Paulo Ricardo Paz Vital <vital@br.ibm.com>

12 years agoRemove devel debugging code
Paul Nasrat [Wed, 7 Mar 2007 11:31:12 +0000 (11:31 +0000)]
Remove devel debugging code
Patch from Benoit Guillon

12 years agoCompile fix
Paul Nasrat [Wed, 7 Mar 2007 08:52:19 +0000 (08:52 +0000)]
Compile fix
Paulo Vital <vital at br.ibm.com>

12 years agoThis is a combination of three patches (the first two for adding
Paul Nasrat [Fri, 2 Mar 2007 16:36:30 +0000 (16:36 +0000)]
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)

12 years agoCertain levels of IBM firmware will allow the system to boot from an
Paul Nasrat [Fri, 2 Mar 2007 16:26:18 +0000 (16:26 +0000)]
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>
12 years agoMerge ability to have per machine type config entries from ubuntu/silo.
Paul Nasrat [Thu, 15 Feb 2007 12:32:26 +0000 (12:32 +0000)]
Merge ability to have per machine type config entries from ubuntu/silo.

12 years agoDetermine last ext3 LBA to fix wild LBA reads
Paul Nasrat [Thu, 15 Feb 2007 12:24:28 +0000 (12:24 +0000)]
Determine last ext3 LBA to fix wild LBA reads
Signed-off-by: Doug Maxey <dwm@austin.ibm.com>
Cc: Ben Herrenschmidt <benh@kernel.crashing.org>
12 years agoRemove binary libext2fs.a and build against system library.
Paul Nasrat [Thu, 15 Feb 2007 12:21:14 +0000 (12:21 +0000)]
Remove binary libext2fs.a and build against system library.

12 years agoRemove binary libext2fs.a and build against system library.
Paul Nasrat [Thu, 15 Feb 2007 12:09:45 +0000 (12:09 +0000)]
Remove binary libext2fs.a and build against system library.

13 years agoDevice-trees don't have symlinks made any more
Paul Nasrat [Tue, 28 Nov 2006 14:36:02 +0000 (14:36 +0000)]
Device-trees don't have symlinks made any more

13 years agoAdd support to ofpath for usb-storage and fix sbp-2 storage
Paul Nasrat [Thu, 16 Nov 2006 12:34:02 +0000 (12:34 +0000)]
Add support to ofpath for usb-storage and fix sbp-2 storage
Patch from Alex Kanavin

13 years agoClean up yabootconfig kernel/initrd code - Joseph Jezak <josejx@gentoo.org>
Paul Nasrat [Tue, 11 Jul 2006 20:25:26 +0000 (16:25 -0400)]
Clean up yabootconfig kernel/initrd code -  Joseph Jezak <josejx@gentoo.org>

13 years agoFix for not all device trees having k2-sata@N/compatible (from gentoo)
Paul Nasrat [Tue, 11 Jul 2006 20:18:09 +0000 (16:18 -0400)]
Fix for not all device trees having k2-sata@N/compatible (from gentoo)

13 years agoMerge ubuntu ofpath fixes
Paul Nasrat [Wed, 10 May 2006 18:48:35 +0000 (14:48 -0400)]
Merge ubuntu ofpath fixes

13 years agoSweep all the files for trailing whitespace.
Doug Maxey [Tue, 25 Apr 2006 03:37:33 +0000 (22:37 -0500)]
Sweep all the files for trailing whitespace.

Signed-off-by: Doug Maxey <dwm@austin.ibm.com>
13 years agoUpdate to point to ozlabs pnasrat@redhat.com,yaboot--devel--1.3
Paul Nasrat [Fri, 21 Apr 2006 14:49:59 +0000 (10:49 -0400)]
Update to point to ozlabs

13 years agoupdate TODO
Paul Nasrat [Fri, 21 Apr 2006 14:47:04 +0000 (10:47 -0400)]
update TODO

13 years agoFix ofpath for G5 with multiple drives yaboot-1.3.14rc1
Paul Nasrat [Fri, 10 Feb 2006 01:29:18 +0000 (01:29 +0000)]
Fix ofpath for G5 with multiple drives

Fix ofpath for G5 with multiple drives

git-archimport-id: pnasrat@redhat.com/yaboot--devel--1.3--patch-3

13 years agopause after claim failed (Nathan Lynch)
Paul Nasrat [Fri, 10 Feb 2006 01:28:01 +0000 (01:28 +0000)]
pause after claim failed (Nathan Lynch)

pause after claim failed (Nathan Lynch)

git-archimport-id: pnasrat@redhat.com/yaboot--devel--1.3--patch-2

13 years agogit-archimport-id: pnasrat@redhat.com/yaboot--devel--1.3--patch-1
Paul Nasrat [Mon, 30 Jan 2006 19:34:23 +0000 (19:34 +0000)]
git-archimport-id: pnasrat@redhat.com/yaboot--devel--1.3--patch-1

14 years agoReplace netboot bootpath parser. erbenson@alaska.net--public,yaboot--devel--1.3 pnasrat@redhat.com,yaboot--devel--1.3--base-0
Ethan Benson [Mon, 26 Sep 2005 06:41:14 +0000 (06:41 +0000)]
Replace netboot bootpath parser.

* second/file.c: Replace bootpath parser for netboot cases, the new
  one should (hopefully) correctly handle most/all netboot
  situations. (Nathan Lynch)
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-88

14 years agoDon't use ELF entry point.
Ethan Benson [Mon, 26 Sep 2005 06:36:30 +0000 (06:36 +0000)]
Don't use ELF entry point.

* second/yaboot.c: Don't use ELF entry point anymore. (Olaf Hering)
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-87

14 years agoFix Cross-compile
Ethan Benson [Mon, 26 Sep 2005 06:32:56 +0000 (06:32 +0000)]
Fix Cross-compile

* Makefile: Fix ability to cross compile.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-86

14 years agoBugfix to patch-83
Ethan Benson [Wed, 3 Aug 2005 03:12:29 +0000 (03:12 +0000)]
Bugfix to patch-83

* Correct dereference of NULL in RAID partition patch (patch-83).
  (Patch from Dustin).
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-85

14 years agoPretend to allocate/deallocate memory correctly
Ethan Benson [Fri, 29 Jul 2005 04:29:18 +0000 (04:29 +0000)]
Pretend to allocate/deallocate memory correctly

* Pretend like we actually manage memory properly by calling free() on
  things which were malloc()'ed or strdup()'ed.
  (Patch from Dustin Kirkland).
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-84

14 years agohandle RAID partitions on x86 partition tables
Ethan Benson [Sat, 9 Jul 2005 23:51:20 +0000 (23:51 +0000)]
handle RAID partitions on x86 partition tables

* Support reading of type RAID partitions, except from fs_of.
  This only works on x86 partition tables, Pmac partition tables will
  need alternate methods.  (Patch from Dustin Kirkland).
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-83

14 years agoRemove check for BootX broken device-trees
Ethan Benson [Mon, 4 Jul 2005 03:42:18 +0000 (03:42 +0000)]
Remove check for BootX broken device-trees

* ybin/ofpath: Remove check for broken-by-BootX device-tree, it no
  longer works under current 2.6 kernels and nobody attempts to use
  BootX anymore.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-82

14 years agoMerge Dustin's RAID patch
Ethan Benson [Mon, 4 Jul 2005 03:34:00 +0000 (03:34 +0000)]
Merge Dustin's RAID patch

* ybin/ybin: Allow for multiple bootstrap partitions.  Patch by Dustin
  Kirkland.  May not fully work on PMAC hardware.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-81

14 years agoamiga partition table support.
Ethan Benson [Fri, 20 May 2005 03:10:03 +0000 (03:10 +0000)]
amiga partition table support.

* Support for amiga partition tables.  (Sven Luther)
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-80

14 years agogcc-3.4 fix
Ethan Benson [Thu, 19 May 2005 04:26:37 +0000 (04:26 +0000)]
gcc-3.4 fix

* GCC 3.4 compilation fix.  (Paul Nasrat)
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-79

14 years agoUpdate addnote for newer pSeries hardware
Ethan Benson [Wed, 2 Feb 2005 05:26:31 +0000 (05:26 +0000)]
Update addnote for newer pSeries hardware

* util/addnote.c: Patch from Paul Mackerras to add second .note
  required by more recent pSeries hardware.

git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-78

15 years agoUpdate penguinppc.org links s/projects/bootloaders/g
Ethan Benson [Sun, 26 Sep 2004 08:10:31 +0000 (08:10 +0000)]
Update penguinppc.org links s/projects/bootloaders/g

* doc/yaboot-howto*.sgml: Update penguinppc.org links;
  s/projects/bootloaders/g
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-77

15 years agoFix typos in yaboot man page
Ethan Benson [Sat, 24 Jul 2004 20:07:25 +0000 (20:07 +0000)]
Fix typos in yaboot man page

man/yaboot.8: Fix various typos (thanks Helge Kreutzman).
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-76

15 years agoPrep 1.3.13 release yaboot-1.3.13
Ethan Benson [Sun, 11 Jul 2004 20:14:40 +0000 (20:14 +0000)]
Prep 1.3.13 release

* Bump version numbers for 1.3.13 release.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-75

15 years agoUpdate changelog for 1.3.13
Ethan Benson [Sun, 11 Jul 2004 20:02:24 +0000 (20:02 +0000)]
Update changelog for 1.3.13

* changelog: Update for 1.3.13
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-74

15 years agoIncrease tftp buffer to ~6MB
Ethan Benson [Sun, 11 Jul 2004 19:55:54 +0000 (19:55 +0000)]
Increase tftp buffer to ~6MB

* second/fs_of.c: increase tftp buffer to 6MB.  This is as far as it
  can go.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-73

15 years agoAdd LABEL/UUID support to yabootconfig
Ethan Benson [Sun, 11 Jul 2004 19:52:17 +0000 (19:52 +0000)]
Add LABEL/UUID support to yabootconfig

* ybin/yabootconfig: Add support for LABEL= and UUID= in
  /etc/fstab. (Colin Watson)
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-72

15 years agoAdd additional check on /dev/nvram to avoid misleading error message
Ethan Benson [Sat, 8 May 2004 22:04:51 +0000 (22:04 +0000)]
Add additional check on /dev/nvram to avoid misleading error message

* ybin/ybin: Add additional check on /dev/nvram, if we cannot read a
  couple bytes report it as broken.  This avoids misleading
  `Incompatible nvsetenv' message on kernels without /dev/nvram support.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-71

15 years agoFix several ofpath error messages going to stdout rather then stderr
Ethan Benson [Sat, 8 May 2004 06:38:44 +0000 (06:38 +0000)]
Fix several ofpath error messages going to stdout rather then stderr

* ybin/ofpath: Fix several error messages mistakenly written to stdout
  rather then stderr. (Thanks to Colin Watson for noticing)
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-70

15 years agoAdd support for initrd detection to yabootconfig
Ethan Benson [Mon, 26 Apr 2004 00:27:48 +0000 (00:27 +0000)]
Add support for initrd detection to yabootconfig

* ybin/yabootconfig: If detected kernel appears to have a corresponding
  initrd image then include an initrd= line in generated yaboot.conf.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-69

15 years agoPrep 1.3.12 release
Ethan Benson [Sun, 18 Apr 2004 00:27:59 +0000 (00:27 +0000)]
Prep 1.3.12 release

* Update changelog.
* Bump version numbers to 1.3.12.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-68

15 years agoFix ofpath SATA support and sysfs detection
Ethan Benson [Sun, 28 Mar 2004 05:02:03 +0000 (05:02 +0000)]
Fix ofpath SATA support and sysfs detection

* ybin/ofpath: Support newwer kernels which call the driver sata_svw,
  instead of ata-k2.
* ybin/ofpath: Detect sysfs mount correctly.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-67

15 years agoAdd 2.6 kernel support to ofpath
Ethan Benson [Mon, 22 Mar 2004 02:05:07 +0000 (02:05 +0000)]
Add 2.6 kernel support to ofpath

* ybin/ofpath: Add support for 2.6.4+ kernels with sysfs mounted.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-66

15 years agoAdd caveat regarding UFS to yaboot howto
Ethan Benson [Sun, 22 Feb 2004 13:15:30 +0000 (13:15 +0000)]
Add caveat regarding UFS to yaboot howto

* Add caveat regarding UFS to temporary bootloader setup chapter of
  the yaboot-howto (Thanks to Brian Sammon, and to Stefan Pfetzing for
  the German translation).
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-65

15 years agoUpdate =tagging-method for tla 1.1
Ethan Benson [Sun, 4 Jan 2004 12:37:38 +0000 (12:37 +0000)]
Update =tagging-method for tla 1.1

* Update =tagging-method for tla 1.1

git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-64

16 years agoBump versions to final 1.3.11 release
Ethan Benson [Thu, 20 Nov 2003 10:03:32 +0000 (10:03 +0000)]
Bump versions to final 1.3.11 release

* Bump versions to final 1.3.11 release.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-63

16 years agoPrepare changelog for imminent 1.3.11 release
Ethan Benson [Wed, 19 Nov 2003 10:40:13 +0000 (10:40 +0000)]
Prepare changelog for imminent 1.3.11 release

* Prepare changelog for imminent 1.3.11 release.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-62

16 years agoFix ofpath arch detect fix
Ethan Benson [Tue, 18 Nov 2003 10:12:32 +0000 (10:12 +0000)]
Fix ofpath arch detect fix

ybin/ofpath: Fix botched powerpc-64 support fix.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-61

16 years agoMake ofpath work on powerpc-64
Ethan Benson [Tue, 18 Nov 2003 10:09:41 +0000 (10:09 +0000)]
Make ofpath work on powerpc-64

ybin/ofpath: No longer refuse to function on ppc64 systems.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-60

16 years agoFix ofpath for `scsi' ide controllers
Ethan Benson [Mon, 17 Nov 2003 04:35:21 +0000 (04:35 +0000)]
Fix ofpath for `scsi' ide controllers

* ybin/ofpath:
  - Generate correct paths for IDE controllers which
    pretend to be scsi.
  - Correct error message regarding CONFIG_SCSI_PROC_FS
    (=y not =n).
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-59

16 years agoFix ofpath 2.6 /proc/scsi check
Ethan Benson [Mon, 10 Nov 2003 10:23:36 +0000 (10:23 +0000)]
Fix ofpath 2.6 /proc/scsi check

* ybin/ofpath: Move return to proper place so ofpath doesn't exit
  silently when scsi appears to not be installed and the system is
  running a 2.6 kernel.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-58

16 years agoDetect lack of CONFIG_SCSI_PROC_FS in ofpath on 2.6 systems
Ethan Benson [Mon, 10 Nov 2003 08:52:02 +0000 (08:52 +0000)]
Detect lack of CONFIG_SCSI_PROC_FS in ofpath on 2.6 systems

* ybin/ofpath: Under 2.6 systems detect lack of CONFIG_SCSI_PROC_FS in
  kernel configuration and print error message indicating its required.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-57

16 years agoAdd PowerMac G5 SATA support to ofpath
Ethan Benson [Thu, 6 Nov 2003 07:28:26 +0000 (07:28 +0000)]
Add PowerMac G5 SATA support to ofpath

* ybin/ofpath: Add support for SATA drives found in the PowerMac G5.
  (Olof Johansson <offe@localnet.sh>)
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-56

16 years agoBump version to unsupported non-release status
Ethan Benson [Wed, 5 Nov 2003 07:49:57 +0000 (07:49 +0000)]
Bump version to unsupported non-release status

* Bump version to unsupported non-release status.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-55

16 years agoUpdate compatibility declaration for CHRPBOOT examples
Ethan Benson [Wed, 5 Nov 2003 07:38:12 +0000 (07:38 +0000)]
Update compatibility declaration for CHRPBOOT examples

* doc/examples/simpleboot.chrp: MacRISC4 compatible.
* doc/examples/dualboot.chrp: MacRISC4 compatible.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-54

16 years agoUse OpenFirmware RELEASE method
Ethan Benson [Tue, 4 Nov 2003 09:19:11 +0000 (09:19 +0000)]
Use OpenFirmware RELEASE method

* second/prom.c: Use OpenFirmware's RELEASE method instead of the
  broken crap hack which broke on more recent Apple OpenFirmware.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-53

16 years agoAdd boot compatibility with PowerMac G5
Ethan Benson [Sat, 4 Oct 2003 23:58:34 +0000 (23:58 +0000)]
Add boot compatibility with PowerMac G5

* ofboot: Declare compatiblity with PowerMac G5 in.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-52

16 years agoUpdate ChangeLog tag for compatiblity with arch 1.0pre25
Ethan Benson [Sun, 22 Jun 2003 08:06:01 +0000 (08:06 +0000)]
Update ChangeLog tag for compatiblity with arch 1.0pre25

* Update ChangeLog tag for compatiblity with arch 1.0pre25.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-51

16 years agoFix ofpath on early iMacs
Ethan Benson [Wed, 26 Feb 2003 11:27:33 +0000 (11:27 +0000)]
Fix ofpath on early iMacs

* ofpath: Apple apparently can't decide whether its called `ata'
  or `ide'; fix support for early iMac models.

* Prep 1.3.10.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-50

16 years agoPrep 1.3.9 release
Ethan Benson [Wed, 12 Feb 2003 08:55:45 +0000 (08:55 +0000)]
Prep 1.3.9 release

* Prep 1.3.9 release:
  - Set version numbers to 1.3.9.
  - Finalize changelog.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-49

16 years agoFix botched IBM patch (multiple partition handling on rs6k)
Ethan Benson [Mon, 10 Feb 2003 09:55:05 +0000 (09:55 +0000)]
Fix botched IBM patch (multiple partition handling on rs6k)

* IBM file.c patch is broken, fix file.c so yaboot finds its config on
  systems with more then one primary GNU/Linux filesystem partition.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-48

16 years agoUpdate first stage to be compatible with new Macs
Ethan Benson [Sun, 9 Feb 2003 05:28:41 +0000 (05:28 +0000)]
Update first stage to be compatible with new Macs

* Mark first stage loader compatible with new MacOS9-free PowerMacs so
  it will be accepted by OpenFirmware.
* Update copyrights to include 2003.
* Version 1.3.9-UNRELEASED.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-47

17 years agoRelease yaboot 1.3.8
Ethan Benson [Tue, 10 Dec 2002 08:14:21 +0000 (08:14 +0000)]
Release yaboot 1.3.8

* yaboot 1.3.8 release.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-46

17 years agoPrepare 1.3.8-rc4
Ethan Benson [Wed, 27 Nov 2002 09:42:23 +0000 (09:42 +0000)]
Prepare 1.3.8-rc4

* Bump versions to 1.3.8-rc4.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-45

17 years agoAdd 'kernel too old' warning to ofpath
Ethan Benson [Wed, 27 Nov 2002 09:35:34 +0000 (09:35 +0000)]
Add 'kernel too old' warning to ofpath

* ofpath: On Windtunnel warn when the kernel is too old for proper
  support.  The warning message is sent to stderr so it will not
  interfere with scripts or other automated invocation of ofpath.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-44

17 years agoFix ofpath on pci-ide
Ethan Benson [Tue, 26 Nov 2002 09:35:47 +0000 (09:35 +0000)]
Fix ofpath on pci-ide

* ofpath: check for pci-ide, not pci-ata.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-43

17 years agoFix readlink fallback
Ethan Benson [Tue, 19 Nov 2002 11:32:49 +0000 (11:32 +0000)]
Fix readlink fallback

* ofpath: fallback shell function for readlink was broken.  Fixes
  IDEBUS==NULL on broken systems that lack /bin/readlink.
* Prepare 1.3.8-rc3.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-42

17 years agohandle ide device nodes up to hdp
Ethan Benson [Mon, 18 Nov 2002 10:38:53 +0000 (10:38 +0000)]
handle ide device nodes up to hdp

* ofpath: handle ide device nodes up to /dev/hdp (16 disks, current
  max in the kernel).
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-41

17 years agoAdd support for IDE controllers with identity crisis
Ethan Benson [Sun, 17 Nov 2002 23:33:17 +0000 (23:33 +0000)]
Add support for IDE controllers with identity crisis

* ofpath: Add support for IDE controllers that pretend they are scsi.
* Prepare 1.3.8-rc2.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-40

17 years agoPrepare 1.3.8-rc1
Ethan Benson [Sun, 17 Nov 2002 03:13:10 +0000 (03:13 +0000)]
Prepare 1.3.8-rc1

* Prefer $PATH_PREFIX/usr/sbin/ofpath if it exists.
* yabootconfig: Add append="video=ofonly" if the running kernel
  was booted with it.  This solves user confusion when they boot an installer with an
  install-safe label, install, then reboot the new system to find the
  console display doesn't work.  This only occurs if user does not
  specify --kernel-args so it will not interfere with distro installers
  which handle this themselves.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-39

17 years agoAdd support for pci-ide to ofpath
Ethan Benson [Sun, 17 Nov 2002 02:02:17 +0000 (02:02 +0000)]
Add support for pci-ide to ofpath

* ofpath: Support multi-channel pci-ide devices, found in the Xserve.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-38

17 years agoAdd extra sanity checks to new ofpath ide resolution code
Ethan Benson [Sun, 3 Nov 2002 02:00:27 +0000 (02:00 +0000)]
Add extra sanity checks to new ofpath ide resolution code

* ofpath: Add a few sanity checks to new ide resolution code.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-37

17 years agoUpdate ofpath for new devspec export in /proc
Ethan Benson [Wed, 30 Oct 2002 10:32:14 +0000 (10:32 +0000)]
Update ofpath for new devspec export in /proc

* ofpath: /proc/ide/pmac is dead, the OpenFirmware devspec is now
  exported to /proc/ide/ideX/devspec, ofpath now uses that.
  - this change is not tested, some additional sanity checks are still
    needed.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-36

17 years agoChange ofpath to use /proc/ide/of1275 instead of /proc/ide/pmac
Ethan Benson [Sun, 27 Oct 2002 00:57:19 +0000 (00:57 +0000)]
Change ofpath to use /proc/ide/of1275 instead of /proc/ide/pmac

* ofpath: the current incarnation of /proc/ide/pmac is not supported
  by ofpath, and I believe this file should be renamed since it should
  not be inherently pmac specific.  When the format of this file is
  updated it can be renamed at the same time.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-35

17 years agoAdd preliminary support for Windtunnel PowerMacs to ofpath
Ethan Benson [Sun, 27 Oct 2002 00:40:09 +0000 (00:40 +0000)]
Add preliminary support for Windtunnel PowerMacs to ofpath

* CHANGES IN THIS COMMIT ARE PRELIMINARY **DO NOT DISTRIBUTE**

* ofpath: Add preliminary support for Windtunnel PowerMacs
  - If /proc/ide/pmac (perhaps to be renamed) does not exist and
    machine is a Windtunnel return ultra2: instead of hd: (this assumes
    machines without /proc/ide/pmac are also without support for ATA-100,
    ultra2: is the ATA-66 bus).
  - Parse a modified version of /proc/ide/pmac to determine the
    appropriate OpenFirmware device specifier, no kernel yet has the
    correct version of this file.
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-34