1 2003-11-20 Ethan Benson <erbenson@alaska.net>
5 * Support new Apple G5 PowerMacs.
7 * ofpath: Bugfix to properly support IDE add-on cards.
9 2003-02-26 Ethan Benson <erbenson@alaska.net>
13 * ofpath: Apple apparently can't decide whether its called `ata'
14 or `ide'; fix support for early iMac models.
16 2003-02-12 Ethan Benson <erbenson@alaska.net>
20 * Mark first stage bootloader as compatible with new MacOS9
21 incompatible PowerMacs.
23 * Really fix file search so IBM CHRP will work if there is more than
24 one type 0x83 partition.
26 2002-12-09 Ethan Benson <erbenson@alaska.net>
30 * ofpath: Support new Xserve and Windtunnel PowerMacs.
31 - NOTE: For this to fully work it requires a sufficiently recent
34 * Prefer $PATH_PREFIX/usr/sbin/ofpath if it exists.
36 * yabootconfig: Add append="video=ofonly" if the running kernel
37 was booted with it, only if user does not specify --kernel-args.
39 2002-9-28 Ethan Benson <erbenson@alaska.net>
44 - Add German translation of yaboot-howto.
45 - Small updates to yaboot-howto.
46 - No longer tell people to send bugs to benh in yabootconfig(8).
49 - Fix file search so IBM CHRP will work if there is more than
50 one type 0x83 partition.
51 - Fix possible reiserfs symlink resolution failure.
54 - Fix corner case /etc/fstab parsing failure. (Debian bug#156742).
56 * Small build system modifications (mostly to accommodate the use of
57 the arch revision control system.
59 * yaboot now includes two changelogs: "ChangeLog" which is a
60 detailed automatically generated list of changes, and "changelog"
61 (this file) which is a hand written understandable summary of
62 changes between releases.
64 2001-12-01 Ethan Benson <erbenson@alaska.net>
68 * The "IBM needs to test prereleases" release.
71 - New IGNORE^H^H^H^H^H^HREADME, thanks to Chris Tillman for
72 cleaning up the pile of cruft that this thing was.
73 - yabootconfig man page was missing --kernel-args from SYNOPSIS.
74 - Include README.rs6000 in the binary dist.
77 - Automatically use fstype=raw on IBM CHRP, it no longer needs
78 to be explicitly set in /etc/yaboot.conf.
79 - Deprecate ybin's yaboot.conf auto-generation, use yabootconfig
83 - Fix IBM CHRP support.
84 - Fix device path parsing to support devices containing a comma,
85 but not including a filename.
86 - Add support for zImage.initrd (Peter Bergner).
87 - help output no longer claims device=NULL if yaboot.conf does not define it.
88 - Make password prompting a bit nicer looking.
89 - Short penalty delay on incorrect passwords.
91 2001-10-28 Ethan Benson <erbenson@alaska.net>
95 * Add yaboot-howto, Thanks to Chris Tillman.
98 - XFS fixes for large partitions (Brendan O'Dea).
99 - Upgrade libext2fs to 1.25, this adds full ext3 support to yaboot.
100 - Reiserfs fixes (Jeff Mahoney).
101 - Implement the message= configuration option (see yaboot.conf man page).
103 2001-10-13 Ethan Benson <erbenson@alaska.net>
107 * ybin: Correct a verbosity message.
110 - Add SGI XFS filesystem support.
111 - Rewrite OpenFirmware device path parsing code. This fixes
112 many bugs and inconsistencies in yaboot's file loading.
113 - Fix OpenFirmware filesystem support to automatically convert
114 path separator from / to \. CDROM authors no longer need to use
115 kludges like image=\\install\\powermac\\vmlinux.
116 - Fix kernel loading on some systems.
117 - Allow for getting files from tftp server that does not run a
119 - Fix netboot when using the `n' key.
120 - Fix a great deal of incorrect format strings which could cause
122 - Fix all filesystems to properly return error conditions, and
123 report those error conditions (instead of just saying `image not
125 - Make configuration file open error consistent with other file
127 - Add `help' command to yaboot which prints out basic usage information.
128 - Add non-fatal warning when bootstrap partition has wrong type (pmac only).
129 - Minor code rearrangement.
130 - General cruft removal and code cleanup.
132 * Makefile cleanup, make filesystems configurable.
134 2001-09-25 Ethan Benson <erbenson@alaska.net>
138 * Add --debug option to yabootconfig
140 * Fix BSD booting support somewhat. The bsd= option's semantics
141 have changed, it must now be set to the BSD root partition. ybin
142 will now install /usr/local/lib/yaboot/ofwboot onto the bootstrap
143 partition when bsd= is present in /etc/yaboot.conf. The dual boot
144 menu will then execute "ofwboot <bsd_root_part>,/bsd" this means
145 the bsd kernel must be at /bsd on the BSD root partition.
147 2001-09-24 Ethan Benson <erbenson@alaska.net>
151 * Fix Makefile thinko where make install failed if
152 /etc/yaboot.conf already existed.
154 2001-09-20 Ethan Benson <erbenson@alaska.net>
158 * Don't include /etc/yaboot.conf in binary dist, instead put the
159 example in /usr/local/share/doc. This way extracting the tarball
160 from / won't blow away existing configs.
162 * Move strip commands from install target to strip target, install
163 now depends on strip.
165 2001-09-20 Ethan Benson <erbenson@alaska.net>
169 * Merging of ybin and yaboot source trees, this is now the
170 official upstream yaboot/ybin source tree.
173 - Various ppc64 & chrp fixes by Peter Bergner, fix fdisk partition
175 - Fix netboot (was broken by reiserfs patch)
177 2001-08-26 Ethan Benson <erbenson@alaska.net>
181 * ofpath became broken on non-scsi systems due to quoting fix.
183 2001-08-20 Ethan Benson <erbenson@alaska.net>
187 * Fix broken quoting uncovered by debian's current /bin/ash.
189 2001-08-06 Ethan Benson <erbenson@alaska.net>
193 * ofboot: remove <OS-VOLUME-NAME> tag as it was causing the
194 OpenFirmware multibooter to crash.
196 * mkofboot: zero first 800K of bootstrap partition before creating
201 - Supports using an md5 hash as well as plaintext password. (me)
202 - Fix again system.map loading. That also fix an old pending bug
203 we had where yaboot could pass random values for system.map,
204 causing the kernel to mark random pages reserved. (BenH)
205 - IBM CHRP fixes. (Peter Bergner)
206 - Add reiserfs support (Jeff Mahoney)
208 2001-06-30 Ethan Benson <erbenson@alaska.net>
214 - Add support for IBM CHRP, thanks to Marco d'Itri for testing.
215 - Use real wc if available, this speeds up ofpath slightly for scsi.
216 - Make variables local to their function unless they need to be global.
219 - If installing on IBM CHRP run addnote on yaboot binary before installing.
220 - Reword some error/verbose messages
221 - Make variables local to their function unless they need to be global.
223 2001-06-24 Ethan Benson <erbenson@alaska.net>
228 - Now works with braindamaged versions of pdisk.
229 - Add --kernel-args switch which allows boot-floppies to easily
230 add an append= line if needed.
232 2001-06-01 Ethan Benson <erbenson@alaska.net>
236 * Fix test for strict posix/SUS echo behavior.
238 * Check for printf built into the shell.
240 * yabootconfig: check for and attempt to deal with cross device symlinks.
242 2001-05-28 Ethan Benson <erbenson@alaska.net>
246 * Added yabootconfig, a script to build a valid /etc/yaboot.conf
249 - Detect IBM CHRP hardware and disable nvram update automatically
250 - Automatically run yabootconfig if /etc/yaboot.conf is missing
251 - Check for PATH_PREFIX environment variable and add all bin and
252 sbin directories from under it to PATH. This is for boot-floppies.
253 - Add bsd= to list of multiboot options.
255 * ofboot: bump maximum number of OSes to 8.
258 - No longer report bogus paths for non-existent scsi devices.
259 - Fix bug where garbage characters were mixed with the
260 OpenFirmware device path.
261 - Fix broken Wallstreet PowerBook support.
262 - Add support for silly devfs naming convention, Thanks to Tom Rini.
264 2001-05-06 Ethan Benson <erbenson@alaska.net>
269 - Hopefully fix random and rare booting problem when chainloading
270 other OSes. Thanks to Segher Boessenkool for the fix.
271 - Add volume name which shows up in the OpenFirmware multiboot
273 - It is now possible to replace the badge icon for the multiboot
274 screen, see examples/README.mbicon.
278 - Includes my previous 1.1.1-eb3 patches for password protection and single-key.
280 * Various spelling errors and clarifications to man pages. Thanks to sword.
282 2001-04-26 Ethan Benson <erbenson@alaska.net>
288 - Add support for Performa 6400_200, PowerMac 4400, and the clones.
289 - Removed `No such file or directory' errors when system has no
293 - If delay= is not set use value of timeout= (converted to
295 - Removed command line options --type, --creator, and long
296 obsolete and deprecated --conffile. The config file options
297 hfstype and hfscreator are still there.
298 - Removed long obsolete and deprecated bootconf= config option.
299 - Removed some old now unneeded debug cruft.
302 - Include version 1.1.1-eb3, this includes the following changes
303 - Adds password protection capabilities.
304 - Add `single-key' option from silo.
307 - Rewrote the yaboot.conf man page, now derived from silo.conf(5)
309 2001-03-22 Ethan Benson <erbenson@alaska.net>
314 - Fix a few bugs that occured when magicboot= was not used.
315 - Add basic support for IBM style bootstrap partitions. These
316 partitions have yaboot dded directly to them. See the yaboot.conf
317 man page regarding fstype for more info, also
318 examples/yaboot.conf.rs6k.
319 - Don't require that ofpath be installed if its not needed.
322 - Added examples/yaboot.conf.rs6k
323 - Man page updates for IBM support.
325 2001-02-19 Ethan Benson <erbenson@alaska.net>
330 - Quiet shell error when run on non-PowerMac (but still
332 - Properly recognize more OldWorld PowerMac G3s.
333 - Fix OldWorld detection for kernels < 2.2.17
334 - Require that /proc be mounted.
337 - Fix OldWorld detection for kernels < 2.2.17
338 - Make the `not bootable on OldWorld' warning very loud and
340 - Change PATH to make /usr/local the last component instead of
342 - Make the text/background color in the boot menu configurable,
343 see the yaboot.conf(5) man page for details.
344 - Change default foreground color to white per yaboot 1.0.
345 - Remove support for obsolete /etc/ybin.conf.
348 - Clarified the `partition=' variable in the yaboot.conf man page
349 and correct an error in the example in that man page.
350 - Added more comments to included yaboot.conf examples.
353 - Include version 1.1.1
354 - Includes color support
356 2000-11-18 Ethan Benson <erbenson@alaska.net>
360 * ybin: add `brokenosx' option, when used with macosx= ybin makes
361 the MacOSX menu entry execute \System\Library\CoreServices\BootX
362 directly instead of using \\:tbxi. This is necessary for
363 people who insist on installing OSX on HFS+ instead of UFS, since
364 MacOS deblesses HFS+ OSX partitions.
366 2000-10-28 Ethan Benson <erbenson@alaska.net>
368 * Version 0.29 (the brown paper bag release)
370 * The yaboot.conf man page was broken.
372 * While were at it, include yaboot 0.9 binary (compiled -Os,
375 2000-10-24 Ethan Benson <erbenson@alaska.net>
379 * ybin: Add mntpoint= option, this allows ybin to install the
380 bootstrap into an already mounted filesystem. This is NOT
381 recommended unless you know what your doing.
383 * ybin: fixed generation of ofboot.b so it will work with nobless
386 2000-10-20 Ethan Benson <erbenson@alaska.net>
390 * ofboot: fixed problem where text was not visible on some newer iMacs.
392 * ybin: Now warn the user when they are using ybin on an OldWorld
393 PowerMac. (it will still work since its possible to make newworld
394 bootable disks on an OldWorld mac)
396 * ofpath: Now works on oldworld macs under 2.4 kernels.
398 * Added check for packaged versions of ybin to the Makefile and
399 warn user about them.
401 2000-09-23 Ethan Benson <erbenson@alaska.net>
405 * ofboot: completely rewrote the generator script, it is now more
406 extendable and supports more menu options. More thanks to iNOUE
407 Koich! for the continuing help on OpenFirmware issues!!
409 * ybin: added options for mulitboot menu: now can create a menu
410 with options for GNU/Linux, MacOS, MacOSX, Darwin, and booting off
411 a CDROM, from the network, and even directly into an OpenFirmware
414 * ybin: some errors were sent to stdout instead of stderr, fixed.
416 * ofpath: refuse to run on anything but GNU/Linux. (for now anyway)
418 2000-09-18 Ethan Benson <erbenson@alaska.net>
422 * ofboot: now changes the background color to black and the text
423 color to cyan like yaboot. Thanks to again to iNOUE Koich!
425 2000-09-16 Ethan Benson <erbenson@alaska.net>
429 * ofboot: many bugs in the Forth code fixed. code should now be
430 compliant to the OpenFirmware spec. Also add CD boot menu option.
431 (add enablecdboot to /etc/yaboot.conf) Thanks to iNOUE Koich! for
434 2000-09-13 Ethan Benson <erbenson@alaska.net>
438 * ybin: now hard code the target filename for ofboot, its always
439 installed as ofboot.b on the bootstrap partition. This eliminates
440 ambiguity when someone tries a different script with different name.
442 * ybin: all debugging output goes to stderr now.
444 2000-09-09 Ethan Benson <erbenson@alaska.net>
448 * ofboot.b renamed to ofboot. (.b means boot block which this is not)
450 * yaboot and ofboot are now installed in /usr/local/lib/yaboot/
451 instead of /boot, since these files are never directly accessed by
452 the firmware it is not really appropriate to keep them in /boot.
453 make install will create backwords compatibility symlinks when
454 installing over an older version of ybin so nothing should break.
455 IMPORTANT: you should run mkofboot on a dedicated bootstrap
456 partition to purge old filenames.
458 * Man pages updated to reflect new file locations. Also include a
459 patch to change the paths to /usr/lib/yaboot for Debian and redhat
462 * ybin: now checks two places for a default value for install=
463 /usr/local/lib/yaboot/yaboot, /usr/lib/yaboot/yaboot.
465 2000-09-02 Ethan Benson <erbenson@alaska.net>
469 * ybin: fixed nvram update so it uses a real filename instead of
470 \\:tbxi when nobless is set in /etc/yaboot.conf. (\\: means find
471 file in blessed directory).
473 * ofpath: more oldworld machines supported. Now supports 7200,
474 7300, 8600, 9500, Gossamer G3, PowerBook 1998, PowerBook 3400 (and
477 2000-08-31 Ethan Benson <erbenson@alaska.net>
481 * ybin: check for Newworld compatible nvsetenv and if found will
482 automatically update the OpenFirmware boot-device variable in
485 * ofpath: support some oldworld machines. (this does not mean
486 ybin/yaboot supports oldworld). Also silence a harmless error on
487 machines lacking a CDROM.
489 * ofboot.b: added more machines to <COMPATIBLE>
491 2000-08-25 Ethan Benson <erbenson@alaska.net>
495 * Added PowerMac3,2 and PowerMac3,3 to ofboot.b scripts. Fixes
498 2000-08-22 Ethan Benson <erbenson@alaska.net>
502 * ofboot.b: changed the yaboot boot commands to boot yaboot by
503 filename rather then file type. Booting by file type did not work
504 reliably on all machines.
506 * ybin: hard code the target filename for yaboot, regardless of
507 the source filename (from install=) the target filename on the
508 bootstrap partition will always be "yaboot.b".
510 * Added ofpath utility, this is a rewrite of the show_of_path.sh
511 utility written by Olaf Hering. Ofpath works with /bin/ash and on
512 stripped down systems such as the Debian boot floppies. Also
513 wrote a small man page for this utility.
515 * ybin: automatically use ofpath to find the OpenFirmware device
516 path when ofpath= is not defined in /etc/yaboot.conf. Ybin will
517 also use ofpath when macos= or macosx= are set to unix device
518 nodes (ie /dev/hda11), these options can still be set to
519 OpenFirmware paths as well.
521 * Makefile: minor cleanup, added installation of ofpath
522 utility/man page as well as a deinstall rule.
524 2000-08-13 Ethan Benson <erbenson@alaska.net>
528 * Yaboot 0.7 binary included.
530 * ybin: fix bug where ybin would fail if the bootstrap files
531 included an "_" in the filename. (actually its a workaround for
532 hfsutils brain-damage)
534 * ofboot.b: completely rewritten. Now includes shell script code
535 to allow ybin to configure it based on config options in
536 /etc/yaboot.conf instead of requiring the user to edit it
537 themselves. Additionally this new script will display a REAL boot
538 menu when dual booting is configured. It is capable of dual or
539 tri booting GNU/Linux (yaboot), MacOS 8.*/9.* and MacOSX. This
540 new ofboot.b script should *NOT* be edited by the user, and thus
541 should NOT be marked as a conffile in Debian and redhat packages.
542 These packages should now install ofboot.b in /boot instead of
543 /etc since it is no longer a config file. WARNING: The Forth code
544 in this script has not been tested on all machines and may not be
545 universally compatible. Thanks to Chris Emerson for writing the
548 * yaboot.conf: new options: ofboot= macos= macosx= delay=
549 defaultos=. See the yaboot.conf man page for details.
551 * Now include a Makefile to handle installation, only make install
552 is defined. Removed install-sh.
554 * mkofboot is now distributed and installed as a symlink instead
559 2000-04-25 Ethan Benson <erbenson@alaska.net>
563 * menu_ofboot.b: fixed bug where the yaboot line was missing the
564 boot command, this prevented it from booting yaboot.
566 2000-04-25 Ethan Benson <erbenson@alaska.net>
570 * Merge quik's bootstrap(8) man page with ybin's ofboot(8) man
571 page and rename it back to bootstrap(8). This also solves the
572 conflict with quik. In a more useful way IMO.
574 2000-04-24 Ethan Benson <erbenson@alaska.net>
578 * Ship man pages uncompressed, gzip them in install-sh instead,
579 this allows for easier patching by debian maintainers if need be.
581 * Rename bootstrap(8) man page to ofboot(8) so ybin does not
584 2000-04-23 Ethan Benson <erbenson@alaska.net>
588 * Rewrote the config file parsing yet again to remove dependencies
589 on tr, and awk. This allows ybin to function on minimal systems
590 such as boot/rescue floppies. This also pretty much solves the
591 slowness problem. Thanks to Daniel Jacobwitz for the help.
593 * Made changes to remove dependencies on basename and wc. Again
594 this is to allow ybin to work on boot floppies.
596 * Changed all calls to grep to stop using GNU extensions, this is
597 so ybin will work properly with the minimal version of grep
600 * Added signal handling so ybin/mkofboot will cleanup after
601 themselves if killed with signals 1 2 3 or 15.
603 * Added OS Badge icons to the ofboot.b scripts. On G4 machines
604 you can hold down the option key and get a graphical boot selector
605 with one button for each bootable partition, the button with the
606 penguin icon is the bootstrap partition. Thanks to Nicholas
607 Humfrey for creating the Badge icon.
609 * Minor updates to the man pages.
611 2000-04-19 Ethan Benson <erbenson@alaska.net>
615 * Now include yaboot binary in ybin distribution.
617 * Include a install-sh script to install everything.
619 * Use of the separate ybin.conf file is deprecated. Use
620 /etc/yaboot.conf instead.
622 * Removed the so called kludge options, without being able to
623 bless the root directory they were just useless bloat.
625 * Removed useless --readonly option, it was already default (as it
628 * Deprecated bootconf options since the yaboot.conf is the same
629 config ybin uses. (it is still there and works but that may change)
631 * Changed configuration file format to be more like quik/lilo:
632 bootfile= is now install= (--bootfile is now --install), wrapper=
633 is now magicboot=, usemount, protect, and hide are now just a
634 keyword options, if they are present in the configuration file
635 they are turned on, if they are not present they are turned off.
636 bless= is now the nobless keyword option, since bless is default
637 this one changed names.
639 * ybin: no longer need to specify -C /dev/null if you don't have a
640 configuration file in /etc/. If this is the case ybin will generate
641 a generic yaboot.conf to install on the bootstrap partition.
643 * More changes to the configuration parsing to improve speed, the
644 format change also helped the speed problem.
646 * Added man pages for ybin, mkofboot, yaboot, yaboot.conf and
649 * More general fixes/cleanup/tweaks.
651 2000-03-13 Ethan Benson <erbenson@alaska.net>
655 * Added command line options to both scripts, try --help. This
656 makes the ybin.conf file optional if you wish (-C /dev/null)
658 * Changed the way the config file is parsed, no longer source it
659 with the shell, this allows ybin.conf to be merged with
660 yaboot.conf at which point yaboot can live with unknown options in
663 * Use /etc/ybin.conf if it exists, if not use /etc/yaboot.conf for
666 * Merged ybin and mkofboot into one script, mkofboot shared 90% of
667 of its code with ybin anyway and this will make them much easier
668 to maintain. mkofboot is now a hard link to ybin (or a symlink if
669 you prefer, both will work)
671 * Added an experimental feature to generate a yaboot.conf on the
672 fly based on command line options. The defaults should be
673 workable on a Debian system with an internal ATA disk, with the
674 root partition being the 3rd on the disk. Depends on mktemp for
675 creating the temporary file, Debian's mktemp is secure against
676 race conditions, use with caution if your distribution lacks a
677 secure mktemp utility. This option is activated with -c auto.
679 * No longer depends on bash. Works with Debian's
680 /bin/ash. Interpreter is now set to /bin/sh.
682 * Assorted cleanup, minor bug fixes.
684 * Added example yaboot.conf.
686 2000-02-04 Ethan Benson <erbenson@alaska.net>
690 * Added a simple multi-boot menu written by Benjamin Herrenschmidt.
692 2000-01-17 Ethan Benson <erbenson@alaska.net>
696 * mkofboot was still broken. :-(
699 2000-01-14 Ethan Benson <erbenson@alaska.net>
703 * Added a basic CHRP script ofboot.b to work around the problem of
704 OF refusing to load `tbxi' files unless they contain a CHRP boot
705 header. See README.ofboot.b for details.
707 * Updated default ybin.conf to install ofboot.b by default.
709 2000-01-13 Ethan Benson <erbenson@alaska.net>
713 * mkofboot: Check for hformat was broken.
715 2000-01-12 Ethan Benson <erbenson@alaska.net>
719 * mkofboot: Fixed problem where it was insisting that mkdosfs be
720 present even when using hfs filesystems if usemount=yes.
722 * mkofboot: Added proper checks for hformat or mkdosfs.
724 2000-01-09 Ethan Benson <erbenson@alaska.net>
728 * First public release.
730 * Add TODO and BUGS files.
732 * mkofboot: Check to see if usemount=yes, and if so make sure we
733 are root before proceeding to erase the partition.
735 * ybin: Removed useless echo line.
737 2000-01-05 Ethan Benson <erbenson@alaska.net>
741 * ybin (util_install): Fully support OF `wrappers' now: if a
742 wrapper is defined in the configuration file then the wrapper is
743 given the HFS file type specified instead of the bootfile, the
744 bootfile's type is set to "boot".
746 * ybin: New configuration option `bless' when yes and are using
747 hfsutils we will `bless' the root directory of the bootstrap
748 filesystem so OF should be able to find and boot the system
749 without reconfiguration.
751 * mkofboot/ybin (checkconf): Add validation for the new `bless'
752 option. Also add check that the wrapper, if defined, exists and we
753 have permission to it.
755 2000-01-04 Ethan Benson <erbenson@alaska.net>
759 * ybin (util_install): Quote the filetype/creator arguments to
760 hattrib to prevent the shell from interpreting any meta-characters
761 in some cases. Also no longer try and set metadata on wrapper if
764 * mkofboot: When creating hfs or dos filesystems give them volume
765 label of "bootstrap".
767 2000-01-03 Ethan Benson <erbenson@alaska.net>
771 * mkofboot: added -w switch to grep when checking if a filesystem
772 is already mounted to prevent erroneous positive matches.
774 * ybin (util_install): Add check to make sure that the target
775 device is not mounted as a filesystem before mucking with it.
779 2000-01-01 Ethan Benson <erbenson@alaska.net>