Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: OF boot delay to allow disk to come alive?



The last section of this page might be relevant also...

"[...] a patch for machines that try to boot before their drives have spun up"
http://www.netbsd.org/ports/macppc/SystemDisk-tutorial/of105patch.html

Matth

On 21-Feb-09, at 10:13 AM, Georg Schwarz wrote:


Am 21.02.2009 um 16:04 schrieb Matthieu Lalonde:

This technique involves you have a small (1~2MiB is sufficient) HFS partition which you will use to start the bootloader. On that partition you will add the ofwboot.xcf and create a file called bootbsd.of and include the following in it:

---bootbsd.of----------
\ netbsd open-firmware boot command
." hello1" cr
" screen" output
." hello2" cr
boot hd:,\ofwboot.xcf hd:9,/netbsd
----------------------------------

Replace the last line with your boot command. This will usually create enough of a delay to wait for the drives to spin up. If the delay is not long enough, you'll be able to play with the script to make it wait a little longer. This is what worked on my PM9600 and my PM G4 Digital Audio (the former needed disk spin time and the latter video startup time). Later on to setup auto boot use "setenv boot-command boot hd:,\bootbsd.of".


You're suggesting to add an extra HFS partition to the boot disk? How will that help OF accessing the disk, or rather waiting to access it? Do small HFS partitions require less startup time?
Will that example work with OF 1.0.5 anyhow?


--
Georg Schwarz    http://home.pages.de/~schwarz/
georg.schwarz%freenet.de@localhost  +49 151 11559652





Home | Main Index | Thread Index | Old Index