Skip to contentSkip to conversation

Booting 2.2.0-pre6 on a PowerStack-II (Net 4000/200)

DISCUSSION Johnnie Peters 1 participant 1 message Jan 16, 1999

lore
Share & tools
lore
#0 lore raw

I think this is the same problem I was seeing. This machine is also the

known as
the Utah. I fixed this in arch/ppc/boot/misc.c. Here is the diff:

454c454
< if (( (unsigned long)zimage_start <= 0x01000000 ) &&
initrd_start)
---

Quoted 1 line
      if ( (unsigned long)zimage_start <= 0x01000000 )

Johnnie

Quoted 5 lines · Michael Meissner
Quoted 4 lines · Alois Fertl
Quoted 3 lines · Cort Dougan

It looks like your zImage is being stomped on before it can be decompressed. I'll take a look at the boot loader code and see

why it

Quoted 1 line
Quoted 1 line
Quoted 1 line

isn't adjusting your free ram section. You might want to try

changing to

Quoted 1 line
Quoted 1 line
Quoted 1 line

load address in the PPCBug to be near the top of memory in the

mean time.

Quoted 1 line
Quoted 1 line

I guess this system is running "PowerPC Open Firmware". You can

change the

Quoted 6 lines
Quoted 6 lines

load address via the firmware menu:
Administrative Options...

    ---> Modify the Configuration Settings...
          ---> Edit Configuration Variables

step to the parameter "load-base" and enter a new value (decimal). One other problem is the this firmware version obviously does not

provide

Quoted 1 line
Quoted 1 line

residual data. So Linux will probably not find the PCI devices

correctly.

Quoted 2 lines

I tried setting the load-base to various values, and all of them

caused dumps

Quoted 1 line

within the monitor (I tried 10 meg, 64 meg, 3 meg, 120 meg, and even 4

meg + 4

Quoted 3 lines

all to no avail).

Also, Gary Thomas's 2.0.32 kernel seemed to have no problem in sizing

memory,

Quoted 9 lines

so I presume it is able to pick up the residual data.

Quoted 7 lines
Quoted 7 lines
}       loaded at:     00400400 00415FD0
}       relocated to:  00600000 00615BD0
}       zimage at:     0040A400 0049A889
}       avail ram:     00400000 00600000

}
} Linux/PPC load: console=tty0 console=ttyS0,9600n8

root=/dev/sda2 mem=127M

Quoted 3 lines
Quoted 2 lines
Quoted 2 lines

} Uncompressing Linux...done.
} Now booting the kernel

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]