Port-ofppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Bootloader trouble
Hi.
On my mission to get NetBSD/ofppc running on some IBM hardware I came
across three problems:
1. How can I get to the "OK" OFW prompt on an IBM 43P-140 / 7043?
2. When I boot the boot loader on a 43P-150 / 7043-150 I get:
ok
0 > boot net -d
BOOTP S = 1
FILE: ofwboot.elf
Load Addr=0x4000 Max Size=0xbfc000
FINAL Packet Count = 114
DEFAULT CATCH!, code=fff00300 at %SRR0: 00c1afe0 %SRR1: 00003030
ok
0 > go
>> NetBSD/ofppc OpenFirmware Boot, Revision 1.5
>> (build@Zimbo, Wed Mar 15 21:39:04 CET 2006)
net_open: client addr: 192.168.1.103
[...]
I.e. The OFW aborts loading / doesn't execute the loaded image. When I
type "go" to force execution it works and loads the kernel just fine.
But this only works when I start the boot by hand from the "OK" prompt.
It doesn't work when auto-booting.
3. On the 43P-140 / 7043 the boot loader is executed without human
intervention, but it runns really really slow. It looks like it emits
about 1 character per second. It even starts to load the kernel. As
twiddling the the progress bar needs console IO, it loads about one
network packet per second and finaly stops. I also tried to load a
kernel directely via the OFW, without boot loader, but it looked like
the machine didn't recognize the file format.
I tried to cheat and prepared a PReP boot image. This is loaded fine but
the kernel seems to hang very early in startup.
It would be nice if someone could help with those boot loader issues.
LOAD: Waiting 60 seconds for Spanning Tree
BOOTP R = 1 BOOTP S = 1
FILE: ofwboot.elf
Load Addr=0x600000 Max Size=0xfa00000
FINAL Packet Count = 114 Final File Size = 57952 bytes.
INIT-PROGRAM: ELF-LOADER
Endian mode : Load Address = 600000
signature 0x7f454c46 : 7f454c46
class 0x01 : 1
ei_data 0x01 : 2
ei_version 0x01 : 1
type 0x0002 : 2
machine 0x0014 : 14
version 0x00000001 : 1
entry 0x02001b40 : 20000
phoff 0x00000034 : 34
shoff 0x000180f4 : e0a8
flags 0x00000000 : 0
ehsize 0x00000034 : 34
phentsize 0x00000020 : 20
phnum 0x00000002 : 1
shentsize 0x00000028 : 28
shnum 0x0000000a : b
shstrndx 0x00000008 : a
No ELF note section found in the image !!! Number of program headers : 1
pheader # 1 -------------------------------------
type = PT_LOAD
offset = 80
vaddr = 20000
paddr = 600080
filesz = d5e0
memsz = ff90
flags = 7
align = 10
about to $sync-cache ... ... done with $sync-cache
exiting ELF section
exit INIT-PROGRAM: ELF-LOADER
>> NetBSD/ofppc OpenFirmware Boot, Revision 1.5
>> (build@Zimbo, Wed Mar 15 21:39:04 CET 2006)
net_open: client addr: 192.168.1.9
net_open: subnet mask: 255.255.255.0
net_open: net gateway: 192.168.1.254
net_open: server addr: 192.168.1.14
net_open: server path: /nfsroot/NetBSD/ofppc
net_open: file name: ofwboot.elf
Using IP address: 192.168.1.9
root addr=192.168.1.14 path=/nfsroot/NetBSD/ofppc
2871140-
--
tschüß,
Jochen
Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/
Home |
Main Index |
Thread Index |
Old Index