My yaboot changes for PPCRCD

Przemek Iskra sparky at pld-linux.org
Thu Mar 30 06:13:58 EST 2006


On Wed, Mar 29, 2006 at 10:28:21AM -0600, Nathan Lynch wrote:
> Przemek Iskra wrote:

> > * yaboot-net.patch *
> >   fix file detection in network device-path on iBook G4
> 
> Can you tell us more about what the problem was?

so, it is iBook G4, OF:

Apple PowerBook6,5 4.8.7f1 BootROM built on 09/23/04 at 16:13:38


my dhcp and tftp servers are correctly configured, if i boot with:
> boot enet:,\boot\yaboot

i get:
/chosen/bootpath = /pci at f4000000/ethernet at f:192.168.0.2,\boot\yaboot


| args = strrchr(path, ':');

/pci at f4000000/ethernet at f:192.168.0.2,\boot\yaboot
                        ^-- args

| args = strchr(args, ',');
| tmp = args;
| tmp--;
| args++;

/pci at f4000000/ethernet at f:192.168.0.2,\boot\yaboot
                             tmp --^ ^-- args

| if (*tmp != ':') {
| 	args = strchr(args, ',');
| 	if (!args)
| 		return NULL;
| 	args++;
| }


returns NULL, but if it's commented funcion returns filename correctly

see ya

-- 
 ____  Sparky{PI] -- Przemyslaw _  ___  _  _  ........... LANG...Pl..Ca..Es..En
/____) ___  ___  _ _ || Iskra  |  | _ \| |  | : WWW........ppcrcd.pld-linux.org
\____\| -_)'___| ||^'||//\\// <   |  _/| |  | : JID......sparky<at>jabberes.org
(____/||   (_-_|_||  ||\\ ||   |_ |_|  |_| _| : Mail....sparky<at>pld-linux.org



More information about the Yaboot-devel mailing list