ALTBOOT(8) | sandpoint | ALTBOOT(8) |
altboot runs in conjunction with popular U-Boot/PPCBoot bootloaders used by NAS products. With an appropriate boot command line, saved in the environment, altboot can load and start a NetBSD kernel without manual intervention. The original U-Boot/PPCBoot bootloaders remain useful and altboot works as a functional extension of them.
=> cp.b fffe0000 1000000 20000
Here 0xfffe'0000 is the flash address where altboot is stored while 0x0100'0000 is the RAM address to copy to.
The invocation syntax is:
=> go 1000000 opt1 opt2 ... bootname
Omitting optN makes altboot default to multi-user mode boot.
N.B., the maximum number of the go command argument varies and depends on the U-Boot/PPCBoot buildtime configuration.
nfs:filename
nfs:
tftp:filename
tftp:
wdNp:filename
wdNp:
net:
The last one is a synonym of “nfs”.
U-Boot/PPCBoot provides a way to run a short list of commands right after power-on. The following is a procedure to setup the system for starting NetBSD after a 5 second delay, allowing the user to break into interactive mode. Note that a backslashed ‘;' is necessary to enter the script correctly.
=> setenv bootcmd cp.b fffe0000 1000000 20000\; go 1000000 wd0: => setenv bootdelay 5 => saveenv
January 26, 2011 | NetBSD 5.99 |