1 2004-04-17 Ethan Benson <erbenson@alaska.net>
5 * ofpath: Support for 2.6 kernels (2.6.3 or later required).
7 * yaboot-howto: Add caveat regarding OSX UFS filesystems
8 (Thanks to Brian Sammon, and to Stefan Pfetzing for the German
11 2003-11-20 Ethan Benson <erbenson@alaska.net>
15 * Support new Apple G5 PowerMacs.
17 * ofpath: Bugfix to properly support IDE add-on cards.
19 2003-02-26 Ethan Benson <erbenson@alaska.net>
23 * ofpath: Apple apparently can't decide whether its called `ata'
24 or `ide'; fix support for early iMac models.
26 2003-02-12 Ethan Benson <erbenson@alaska.net>
30 * Mark first stage bootloader as compatible with new MacOS9
31 incompatible PowerMacs.
33 * Really fix file search so IBM CHRP will work if there is more than
34 one type 0x83 partition.
36 2002-12-09 Ethan Benson <erbenson@alaska.net>
40 * ofpath: Support new Xserve and Windtunnel PowerMacs.
41 - NOTE: For this to fully work it requires a sufficiently recent
44 * Prefer $PATH_PREFIX/usr/sbin/ofpath if it exists.
46 * yabootconfig: Add append="video=ofonly" if the running kernel
47 was booted with it, only if user does not specify --kernel-args.
49 2002-9-28 Ethan Benson <erbenson@alaska.net>
54 - Add German translation of yaboot-howto.
55 - Small updates to yaboot-howto.
56 - No longer tell people to send bugs to benh in yabootconfig(8).
59 - Fix file search so IBM CHRP will work if there is more than
60 one type 0x83 partition.
61 - Fix possible reiserfs symlink resolution failure.
64 - Fix corner case /etc/fstab parsing failure. (Debian bug#156742).
66 * Small build system modifications (mostly to accommodate the use of
67 the arch revision control system.
69 * yaboot now includes two changelogs: "ChangeLog" which is a
70 detailed automatically generated list of changes, and "changelog"
71 (this file) which is a hand written understandable summary of
72 changes between releases.
74 2001-12-01 Ethan Benson <erbenson@alaska.net>
78 * The "IBM needs to test prereleases" release.
81 - New IGNORE^H^H^H^H^H^HREADME, thanks to Chris Tillman for
82 cleaning up the pile of cruft that this thing was.
83 - yabootconfig man page was missing --kernel-args from SYNOPSIS.
84 - Include README.rs6000 in the binary dist.
87 - Automatically use fstype=raw on IBM CHRP, it no longer needs
88 to be explicitly set in /etc/yaboot.conf.
89 - Deprecate ybin's yaboot.conf auto-generation, use yabootconfig
93 - Fix IBM CHRP support.
94 - Fix device path parsing to support devices containing a comma,
95 but not including a filename.
96 - Add support for zImage.initrd (Peter Bergner).
97 - help output no longer claims device=NULL if yaboot.conf does not define it.
98 - Make password prompting a bit nicer looking.
99 - Short penalty delay on incorrect passwords.
101 2001-10-28 Ethan Benson <erbenson@alaska.net>
105 * Add yaboot-howto, Thanks to Chris Tillman.
108 - XFS fixes for large partitions (Brendan O'Dea).
109 - Upgrade libext2fs to 1.25, this adds full ext3 support to yaboot.
110 - Reiserfs fixes (Jeff Mahoney).
111 - Implement the message= configuration option (see yaboot.conf man page).
113 2001-10-13 Ethan Benson <erbenson@alaska.net>
117 * ybin: Correct a verbosity message.
120 - Add SGI XFS filesystem support.
121 - Rewrite OpenFirmware device path parsing code. This fixes
122 many bugs and inconsistencies in yaboot's file loading.
123 - Fix OpenFirmware filesystem support to automatically convert
124 path separator from / to \. CDROM authors no longer need to use
125 kludges like image=\\install\\powermac\\vmlinux.
126 - Fix kernel loading on some systems.
127 - Allow for getting files from tftp server that does not run a
129 - Fix netboot when using the `n' key.
130 - Fix a great deal of incorrect format strings which could cause
132 - Fix all filesystems to properly return error conditions, and
133 report those error conditions (instead of just saying `image not
135 - Make configuration file open error consistent with other file
137 - Add `help' command to yaboot which prints out basic usage information.
138 - Add non-fatal warning when bootstrap partition has wrong type (pmac only).
139 - Minor code rearrangement.
140 - General cruft removal and code cleanup.
142 * Makefile cleanup, make filesystems configurable.
144 2001-09-25 Ethan Benson <erbenson@alaska.net>
148 * Add --debug option to yabootconfig
150 * Fix BSD booting support somewhat. The bsd= option's semantics
151 have changed, it must now be set to the BSD root partition. ybin
152 will now install /usr/local/lib/yaboot/ofwboot onto the bootstrap
153 partition when bsd= is present in /etc/yaboot.conf. The dual boot
154 menu will then execute "ofwboot <bsd_root_part>,/bsd" this means
155 the bsd kernel must be at /bsd on the BSD root partition.
157 2001-09-24 Ethan Benson <erbenson@alaska.net>
161 * Fix Makefile thinko where make install failed if
162 /etc/yaboot.conf already existed.
164 2001-09-20 Ethan Benson <erbenson@alaska.net>
168 * Don't include /etc/yaboot.conf in binary dist, instead put the
169 example in /usr/local/share/doc. This way extracting the tarball
170 from / won't blow away existing configs.
172 * Move strip commands from install target to strip target, install
173 now depends on strip.
175 2001-09-20 Ethan Benson <erbenson@alaska.net>
179 * Merging of ybin and yaboot source trees, this is now the
180 official upstream yaboot/ybin source tree.
183 - Various ppc64 & chrp fixes by Peter Bergner, fix fdisk partition
185 - Fix netboot (was broken by reiserfs patch)
187 2001-08-26 Ethan Benson <erbenson@alaska.net>
191 * ofpath became broken on non-scsi systems due to quoting fix.
193 2001-08-20 Ethan Benson <erbenson@alaska.net>
197 * Fix broken quoting uncovered by debian's current /bin/ash.
199 2001-08-06 Ethan Benson <erbenson@alaska.net>
203 * ofboot: remove <OS-VOLUME-NAME> tag as it was causing the
204 OpenFirmware multibooter to crash.
206 * mkofboot: zero first 800K of bootstrap partition before creating
211 - Supports using an md5 hash as well as plaintext password. (me)
212 - Fix again system.map loading. That also fix an old pending bug
213 we had where yaboot could pass random values for system.map,
214 causing the kernel to mark random pages reserved. (BenH)
215 - IBM CHRP fixes. (Peter Bergner)
216 - Add reiserfs support (Jeff Mahoney)
218 2001-06-30 Ethan Benson <erbenson@alaska.net>
224 - Add support for IBM CHRP, thanks to Marco d'Itri for testing.
225 - Use real wc if available, this speeds up ofpath slightly for scsi.
226 - Make variables local to their function unless they need to be global.
229 - If installing on IBM CHRP run addnote on yaboot binary before installing.
230 - Reword some error/verbose messages
231 - Make variables local to their function unless they need to be global.
233 2001-06-24 Ethan Benson <erbenson@alaska.net>
238 - Now works with braindamaged versions of pdisk.
239 - Add --kernel-args switch which allows boot-floppies to easily
240 add an append= line if needed.
242 2001-06-01 Ethan Benson <erbenson@alaska.net>
246 * Fix test for strict posix/SUS echo behavior.
248 * Check for printf built into the shell.
250 * yabootconfig: check for and attempt to deal with cross device symlinks.
252 2001-05-28 Ethan Benson <erbenson@alaska.net>
256 * Added yabootconfig, a script to build a valid /etc/yaboot.conf
259 - Detect IBM CHRP hardware and disable nvram update automatically
260 - Automatically run yabootconfig if /etc/yaboot.conf is missing
261 - Check for PATH_PREFIX environment variable and add all bin and
262 sbin directories from under it to PATH. This is for boot-floppies.
263 - Add bsd= to list of multiboot options.
265 * ofboot: bump maximum number of OSes to 8.
268 - No longer report bogus paths for non-existent scsi devices.
269 - Fix bug where garbage characters were mixed with the
270 OpenFirmware device path.
271 - Fix broken Wallstreet PowerBook support.
272 - Add support for silly devfs naming convention, Thanks to Tom Rini.
274 2001-05-06 Ethan Benson <erbenson@alaska.net>
279 - Hopefully fix random and rare booting problem when chainloading
280 other OSes. Thanks to Segher Boessenkool for the fix.
281 - Add volume name which shows up in the OpenFirmware multiboot
283 - It is now possible to replace the badge icon for the multiboot
284 screen, see examples/README.mbicon.
288 - Includes my previous 1.1.1-eb3 patches for password protection and single-key.
290 * Various spelling errors and clarifications to man pages. Thanks to sword.
292 2001-04-26 Ethan Benson <erbenson@alaska.net>
298 - Add support for Performa 6400_200, PowerMac 4400, and the clones.
299 - Removed `No such file or directory' errors when system has no
303 - If delay= is not set use value of timeout= (converted to
305 - Removed command line options --type, --creator, and long
306 obsolete and deprecated --conffile. The config file options
307 hfstype and hfscreator are still there.
308 - Removed long obsolete and deprecated bootconf= config option.
309 - Removed some old now unneeded debug cruft.
312 - Include version 1.1.1-eb3, this includes the following changes
313 - Adds password protection capabilities.
314 - Add `single-key' option from silo.
317 - Rewrote the yaboot.conf man page, now derived from silo.conf(5)
319 2001-03-22 Ethan Benson <erbenson@alaska.net>
324 - Fix a few bugs that occured when magicboot= was not used.
325 - Add basic support for IBM style bootstrap partitions. These
326 partitions have yaboot dded directly to them. See the yaboot.conf
327 man page regarding fstype for more info, also
328 examples/yaboot.conf.rs6k.
329 - Don't require that ofpath be installed if its not needed.
332 - Added examples/yaboot.conf.rs6k
333 - Man page updates for IBM support.
335 2001-02-19 Ethan Benson <erbenson@alaska.net>
340 - Quiet shell error when run on non-PowerMac (but still
342 - Properly recognize more OldWorld PowerMac G3s.
343 - Fix OldWorld detection for kernels < 2.2.17
344 - Require that /proc be mounted.
347 - Fix OldWorld detection for kernels < 2.2.17
348 - Make the `not bootable on OldWorld' warning very loud and
350 - Change PATH to make /usr/local the last component instead of
352 - Make the text/background color in the boot menu configurable,
353 see the yaboot.conf(5) man page for details.
354 - Change default foreground color to white per yaboot 1.0.
355 - Remove support for obsolete /etc/ybin.conf.
358 - Clarified the `partition=' variable in the yaboot.conf man page
359 and correct an error in the example in that man page.
360 - Added more comments to included yaboot.conf examples.
363 - Include version 1.1.1
364 - Includes color support
366 2000-11-18 Ethan Benson <erbenson@alaska.net>
370 * ybin: add `brokenosx' option, when used with macosx= ybin makes
371 the MacOSX menu entry execute \System\Library\CoreServices\BootX
372 directly instead of using \\:tbxi. This is necessary for
373 people who insist on installing OSX on HFS+ instead of UFS, since
374 MacOS deblesses HFS+ OSX partitions.
376 2000-10-28 Ethan Benson <erbenson@alaska.net>
378 * Version 0.29 (the brown paper bag release)
380 * The yaboot.conf man page was broken.
382 * While were at it, include yaboot 0.9 binary (compiled -Os,
385 2000-10-24 Ethan Benson <erbenson@alaska.net>
389 * ybin: Add mntpoint= option, this allows ybin to install the
390 bootstrap into an already mounted filesystem. This is NOT
391 recommended unless you know what your doing.
393 * ybin: fixed generation of ofboot.b so it will work with nobless
396 2000-10-20 Ethan Benson <erbenson@alaska.net>
400 * ofboot: fixed problem where text was not visible on some newer iMacs.
402 * ybin: Now warn the user when they are using ybin on an OldWorld
403 PowerMac. (it will still work since its possible to make newworld
404 bootable disks on an OldWorld mac)
406 * ofpath: Now works on oldworld macs under 2.4 kernels.
408 * Added check for packaged versions of ybin to the Makefile and
409 warn user about them.
411 2000-09-23 Ethan Benson <erbenson@alaska.net>
415 * ofboot: completely rewrote the generator script, it is now more
416 extendable and supports more menu options. More thanks to iNOUE
417 Koich! for the continuing help on OpenFirmware issues!!
419 * ybin: added options for mulitboot menu: now can create a menu
420 with options for GNU/Linux, MacOS, MacOSX, Darwin, and booting off
421 a CDROM, from the network, and even directly into an OpenFirmware
424 * ybin: some errors were sent to stdout instead of stderr, fixed.
426 * ofpath: refuse to run on anything but GNU/Linux. (for now anyway)
428 2000-09-18 Ethan Benson <erbenson@alaska.net>
432 * ofboot: now changes the background color to black and the text
433 color to cyan like yaboot. Thanks to again to iNOUE Koich!
435 2000-09-16 Ethan Benson <erbenson@alaska.net>
439 * ofboot: many bugs in the Forth code fixed. code should now be
440 compliant to the OpenFirmware spec. Also add CD boot menu option.
441 (add enablecdboot to /etc/yaboot.conf) Thanks to iNOUE Koich! for
444 2000-09-13 Ethan Benson <erbenson@alaska.net>
448 * ybin: now hard code the target filename for ofboot, its always
449 installed as ofboot.b on the bootstrap partition. This eliminates
450 ambiguity when someone tries a different script with different name.
452 * ybin: all debugging output goes to stderr now.
454 2000-09-09 Ethan Benson <erbenson@alaska.net>
458 * ofboot.b renamed to ofboot. (.b means boot block which this is not)
460 * yaboot and ofboot are now installed in /usr/local/lib/yaboot/
461 instead of /boot, since these files are never directly accessed by
462 the firmware it is not really appropriate to keep them in /boot.
463 make install will create backwords compatibility symlinks when
464 installing over an older version of ybin so nothing should break.
465 IMPORTANT: you should run mkofboot on a dedicated bootstrap
466 partition to purge old filenames.
468 * Man pages updated to reflect new file locations. Also include a
469 patch to change the paths to /usr/lib/yaboot for Debian and redhat
472 * ybin: now checks two places for a default value for install=
473 /usr/local/lib/yaboot/yaboot, /usr/lib/yaboot/yaboot.
475 2000-09-02 Ethan Benson <erbenson@alaska.net>
479 * ybin: fixed nvram update so it uses a real filename instead of
480 \\:tbxi when nobless is set in /etc/yaboot.conf. (\\: means find
481 file in blessed directory).
483 * ofpath: more oldworld machines supported. Now supports 7200,
484 7300, 8600, 9500, Gossamer G3, PowerBook 1998, PowerBook 3400 (and
487 2000-08-31 Ethan Benson <erbenson@alaska.net>
491 * ybin: check for Newworld compatible nvsetenv and if found will
492 automatically update the OpenFirmware boot-device variable in
495 * ofpath: support some oldworld machines. (this does not mean
496 ybin/yaboot supports oldworld). Also silence a harmless error on
497 machines lacking a CDROM.
499 * ofboot.b: added more machines to <COMPATIBLE>
501 2000-08-25 Ethan Benson <erbenson@alaska.net>
505 * Added PowerMac3,2 and PowerMac3,3 to ofboot.b scripts. Fixes
508 2000-08-22 Ethan Benson <erbenson@alaska.net>
512 * ofboot.b: changed the yaboot boot commands to boot yaboot by
513 filename rather then file type. Booting by file type did not work
514 reliably on all machines.
516 * ybin: hard code the target filename for yaboot, regardless of
517 the source filename (from install=) the target filename on the
518 bootstrap partition will always be "yaboot.b".
520 * Added ofpath utility, this is a rewrite of the show_of_path.sh
521 utility written by Olaf Hering. Ofpath works with /bin/ash and on
522 stripped down systems such as the Debian boot floppies. Also
523 wrote a small man page for this utility.
525 * ybin: automatically use ofpath to find the OpenFirmware device
526 path when ofpath= is not defined in /etc/yaboot.conf. Ybin will
527 also use ofpath when macos= or macosx= are set to unix device
528 nodes (ie /dev/hda11), these options can still be set to
529 OpenFirmware paths as well.
531 * Makefile: minor cleanup, added installation of ofpath
532 utility/man page as well as a deinstall rule.
534 2000-08-13 Ethan Benson <erbenson@alaska.net>
538 * Yaboot 0.7 binary included.
540 * ybin: fix bug where ybin would fail if the bootstrap files
541 included an "_" in the filename. (actually its a workaround for
542 hfsutils brain-damage)
544 * ofboot.b: completely rewritten. Now includes shell script code
545 to allow ybin to configure it based on config options in
546 /etc/yaboot.conf instead of requiring the user to edit it
547 themselves. Additionally this new script will display a REAL boot
548 menu when dual booting is configured. It is capable of dual or
549 tri booting GNU/Linux (yaboot), MacOS 8.*/9.* and MacOSX. This
550 new ofboot.b script should *NOT* be edited by the user, and thus
551 should NOT be marked as a conffile in Debian and redhat packages.
552 These packages should now install ofboot.b in /boot instead of
553 /etc since it is no longer a config file. WARNING: The Forth code
554 in this script has not been tested on all machines and may not be
555 universally compatible. Thanks to Chris Emerson for writing the
558 * yaboot.conf: new options: ofboot= macos= macosx= delay=
559 defaultos=. See the yaboot.conf man page for details.
561 * Now include a Makefile to handle installation, only make install
562 is defined. Removed install-sh.
564 * mkofboot is now distributed and installed as a symlink instead
569 2000-04-25 Ethan Benson <erbenson@alaska.net>
573 * menu_ofboot.b: fixed bug where the yaboot line was missing the
574 boot command, this prevented it from booting yaboot.
576 2000-04-25 Ethan Benson <erbenson@alaska.net>
580 * Merge quik's bootstrap(8) man page with ybin's ofboot(8) man
581 page and rename it back to bootstrap(8). This also solves the
582 conflict with quik. In a more useful way IMO.
584 2000-04-24 Ethan Benson <erbenson@alaska.net>
588 * Ship man pages uncompressed, gzip them in install-sh instead,
589 this allows for easier patching by debian maintainers if need be.
591 * Rename bootstrap(8) man page to ofboot(8) so ybin does not
594 2000-04-23 Ethan Benson <erbenson@alaska.net>
598 * Rewrote the config file parsing yet again to remove dependencies
599 on tr, and awk. This allows ybin to function on minimal systems
600 such as boot/rescue floppies. This also pretty much solves the
601 slowness problem. Thanks to Daniel Jacobwitz for the help.
603 * Made changes to remove dependencies on basename and wc. Again
604 this is to allow ybin to work on boot floppies.
606 * Changed all calls to grep to stop using GNU extensions, this is
607 so ybin will work properly with the minimal version of grep
610 * Added signal handling so ybin/mkofboot will cleanup after
611 themselves if killed with signals 1 2 3 or 15.
613 * Added OS Badge icons to the ofboot.b scripts. On G4 machines
614 you can hold down the option key and get a graphical boot selector
615 with one button for each bootable partition, the button with the
616 penguin icon is the bootstrap partition. Thanks to Nicholas
617 Humfrey for creating the Badge icon.
619 * Minor updates to the man pages.
621 2000-04-19 Ethan Benson <erbenson@alaska.net>
625 * Now include yaboot binary in ybin distribution.
627 * Include a install-sh script to install everything.
629 * Use of the separate ybin.conf file is deprecated. Use
630 /etc/yaboot.conf instead.
632 * Removed the so called kludge options, without being able to
633 bless the root directory they were just useless bloat.
635 * Removed useless --readonly option, it was already default (as it
638 * Deprecated bootconf options since the yaboot.conf is the same
639 config ybin uses. (it is still there and works but that may change)
641 * Changed configuration file format to be more like quik/lilo:
642 bootfile= is now install= (--bootfile is now --install), wrapper=
643 is now magicboot=, usemount, protect, and hide are now just a
644 keyword options, if they are present in the configuration file
645 they are turned on, if they are not present they are turned off.
646 bless= is now the nobless keyword option, since bless is default
647 this one changed names.
649 * ybin: no longer need to specify -C /dev/null if you don't have a
650 configuration file in /etc/. If this is the case ybin will generate
651 a generic yaboot.conf to install on the bootstrap partition.
653 * More changes to the configuration parsing to improve speed, the
654 format change also helped the speed problem.
656 * Added man pages for ybin, mkofboot, yaboot, yaboot.conf and
659 * More general fixes/cleanup/tweaks.
661 2000-03-13 Ethan Benson <erbenson@alaska.net>
665 * Added command line options to both scripts, try --help. This
666 makes the ybin.conf file optional if you wish (-C /dev/null)
668 * Changed the way the config file is parsed, no longer source it
669 with the shell, this allows ybin.conf to be merged with
670 yaboot.conf at which point yaboot can live with unknown options in
673 * Use /etc/ybin.conf if it exists, if not use /etc/yaboot.conf for
676 * Merged ybin and mkofboot into one script, mkofboot shared 90% of
677 of its code with ybin anyway and this will make them much easier
678 to maintain. mkofboot is now a hard link to ybin (or a symlink if
679 you prefer, both will work)
681 * Added an experimental feature to generate a yaboot.conf on the
682 fly based on command line options. The defaults should be
683 workable on a Debian system with an internal ATA disk, with the
684 root partition being the 3rd on the disk. Depends on mktemp for
685 creating the temporary file, Debian's mktemp is secure against
686 race conditions, use with caution if your distribution lacks a
687 secure mktemp utility. This option is activated with -c auto.
689 * No longer depends on bash. Works with Debian's
690 /bin/ash. Interpreter is now set to /bin/sh.
692 * Assorted cleanup, minor bug fixes.
694 * Added example yaboot.conf.
696 2000-02-04 Ethan Benson <erbenson@alaska.net>
700 * Added a simple multi-boot menu written by Benjamin Herrenschmidt.
702 2000-01-17 Ethan Benson <erbenson@alaska.net>
706 * mkofboot was still broken. :-(
709 2000-01-14 Ethan Benson <erbenson@alaska.net>
713 * Added a basic CHRP script ofboot.b to work around the problem of
714 OF refusing to load `tbxi' files unless they contain a CHRP boot
715 header. See README.ofboot.b for details.
717 * Updated default ybin.conf to install ofboot.b by default.
719 2000-01-13 Ethan Benson <erbenson@alaska.net>
723 * mkofboot: Check for hformat was broken.
725 2000-01-12 Ethan Benson <erbenson@alaska.net>
729 * mkofboot: Fixed problem where it was insisting that mkdosfs be
730 present even when using hfs filesystems if usemount=yes.
732 * mkofboot: Added proper checks for hformat or mkdosfs.
734 2000-01-09 Ethan Benson <erbenson@alaska.net>
738 * First public release.
740 * Add TODO and BUGS files.
742 * mkofboot: Check to see if usemount=yes, and if so make sure we
743 are root before proceeding to erase the partition.
745 * ybin: Removed useless echo line.
747 2000-01-05 Ethan Benson <erbenson@alaska.net>
751 * ybin (util_install): Fully support OF `wrappers' now: if a
752 wrapper is defined in the configuration file then the wrapper is
753 given the HFS file type specified instead of the bootfile, the
754 bootfile's type is set to "boot".
756 * ybin: New configuration option `bless' when yes and are using
757 hfsutils we will `bless' the root directory of the bootstrap
758 filesystem so OF should be able to find and boot the system
759 without reconfiguration.
761 * mkofboot/ybin (checkconf): Add validation for the new `bless'
762 option. Also add check that the wrapper, if defined, exists and we
763 have permission to it.
765 2000-01-04 Ethan Benson <erbenson@alaska.net>
769 * ybin (util_install): Quote the filetype/creator arguments to
770 hattrib to prevent the shell from interpreting any meta-characters
771 in some cases. Also no longer try and set metadata on wrapper if
774 * mkofboot: When creating hfs or dos filesystems give them volume
775 label of "bootstrap".
777 2000-01-03 Ethan Benson <erbenson@alaska.net>
781 * mkofboot: added -w switch to grep when checking if a filesystem
782 is already mounted to prevent erroneous positive matches.
784 * ybin (util_install): Add check to make sure that the target
785 device is not mounted as a filesystem before mucking with it.
789 2000-01-01 Ethan Benson <erbenson@alaska.net>