please pull powerpc-merge.git

Geoff Levand geoffrey.levand at am.sony.com
Thu Nov 17 09:36:38 EST 2005


Benjamin Herrenschmidt wrote:
> Linus (and others on the list), in case that interests you, this
> zImage.vmode thing can be booted directly from open firmware. More
> specifically, it can be _netbooted_ which is very handy for testing
> kernels, especially when you have 2  G5s :)
> 
> To netboot from OF, the simplest way to do so is to type:
> 
> boot enet:server_ip,filename
> 
> (server_ip is the numeric address of the tftp server, filename the file
> to request on that server).
> 
> OF can also automatically pick the server and filename via DHCP,
> however, Apple hacked badly there, it only works if your DHCP server has
> been modified to send some apple-specific extensions. (They claim they
> did that to avoid confusing users, go figure) so don't bother with that.

FYI, using the stock dhcpd in Fedora Core 4 (on a i386 PC) OF can get the 
IP address of the TFTP server from DHCP, but can't pickup the TFTP image 
path, so that needs to be put into the OF command.  Note that you'll 
need to use a back slash in path names. Here's what I use in 
boot-device:

enet:-1,\g5\boot\zImage.vmode

Here's a dhcpd.conf entry:

        host g5
        {
                hardware ethernet xxxxxxxxxxxxx;
                fixed-address 192.168.1.15;
                server-name "192.168.1.10";
                next-server 192.168.1.10;
                filename "\g5\boot\zImage.vmode";
                option host-name "g5";
                option root-path "192.168.1.10:/target/g5";
        }

-Geoff




More information about the Linuxppc64-dev mailing list