Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RB1100 (almost) boots with RB800 kernel



Hello,

Just noticed that RB800 support was added to NetBSD CVS tree, and
decided to try it out on RB1100.

So, installed a fresh NetBSD 5.1, cross-compiled evbppc / RB800 from
-current and it seems to load.

Got to root filesystem prompt, and in some seconds watchdog timeout
panic'd. After
ten secs or so, the system rebooted automatically. Didn't try to load
NFS root yet.

Here's some info I managed to get from RouterOS admin interface,
including PCI and IRQ info:
http://www.cs.helsinki.fi/u/jvtmuukk/rb1100/rb1100-routeros-info.txt

RB1100 has micro-SD slot instead of CF; and RouterBoot doesn't
actually support booting from SD.

I don't have Linux dmesg (yet...), MikroTik's RouterOS is somewhat restricted:
 - doesn't allow shell access
 - update packages (.npk) are nowadays signed (so can't install sshd)
 - no boot messages visible through serial port
 - no success yet on booting the official Linux kernel from network

Will experiment more later. Anyone else with RB1100?

Here's the boot log, also available at
http://www.cs.helsinki.fi/u/jvtmuukk/rb1100/rb1100-netbsd-RB800-boot-000.log

jumping to kernel code
 initppc<enter> porpllsr=0x00c4800c sys_clk=66666667
comcnfreq=400000002 openpic-reset(ctpr=15) cache(DC=32/32,IC=32/32)
memprobe=512MB e500_tlbinit(0x357000,512MB) hid0=0/0x80004000
hid1=0xc4001000 pordevsr=0x2a328860 devdisr=0x1000000
msgbuf=0x1fffe000 exception_init=0x2748f4
uvm_page_physload(0x357,0x1fffd,0x357,0x1fffd,0)
kern_segtab=0x357000powerpc_fixup_stubs: 754 fixups done in 646302
cycles
 initppc done!
Loaded initial symtab at 0x2ccfc0, strtab at 0x2f6370, # entries 10451
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.
NetBSD 5.99.45 (RB800-$Revision: 1.2 $) #0: Mon Feb 14 03:20:45 EET 2011
        jvtm%netzie.byte.fi@localhost:/usr/obj/sys/arch/evbppc/compile/RB800
total memory = 512 MB
avail memory = 498 MB
mainbus0 (root)
cpunode0 at mainbus0 node 0
cpunode0: 256KB/32B 4-banked 8-way unified L2 cache
cpu0 at cpunode0
cpu0: 800 MHz MPC8544 1.1 with an e500v2 2.2 core, ID 0 (Primary)
cpu0: 32KB/32B 8-way L1 data cache
cpu0: 32KB/32B 8-way L1 instruction cache
cpu0: 2 TLBs, 3 concurrent 8-bit PIDs (256 total)
cpu0: tlb0: 512 fixed-size (4KB) 4-way set associative entries
cpu0: tlb1: 16 variable-size (4KB..4GB) fully associative entries
e500wdog0 at cpunode0: default period is 6 seconds (wdog is active)
duart0 at cpunode0: 2 ports
com0 at duart0 port 1: ns16550a, working fifo
com0: console
com1 at duart0 port 2: ns16550a, working fifo
duart0: interrupting on irq 26
tsec0 at cpunode0 instance 1 phy 2
tsec0: Ethernet address 00:00:00:00:00:00
atphy0 at tsec0 phy 2: Atheros AR8021 10/100/1000 PHY, rev. 1
atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
tsec1 at cpunode0 instance 2 phy 1
tsec1: Ethernet address 00:00:00:00:00:01
atphy1 at tsec0 phy 1: Atheros AR8021 10/100/1000 PHY, rev. 1
atphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
diic0 at cpunode0: 2 ports
iic0 at diic0: I2C bus
iic1 at diic0: I2C bus
diic0: interrupting on irq 27
gpio at cpunode0 not configured
ddrc at cpunode0 not configured
pq3pcie0 at cpunode0 instance 1: PCI-Express x4 controller
pci0 at pq3pcie0 bus 0
ppb0 at pci0 dev 0 function 0: Freescale Semiconductor MPC8544 (rev. 0x11)
ppb0: PCI Express 1.0 <Root Port of PCI-E Root Complex>
pci1 at ppb0 bus 1
Attansic Technologies Atheros AR8131 Gigabit Ethernet Adapter
(ethernet network, revision 0xc0) at pci1 dev 0 function 0 not
configured
pq3pcie1 at cpunode0 instance 2: PCI-Express x4 controller
pci2 at pq3pcie1 bus 0
ppb1 at pci2 dev 0 function 0: Freescale Semiconductor MPC8544 (rev. 0x11)
ppb1: PCI Express 1.0 <Root Port of PCI-E Root Complex>
pci3 at ppb1 bus 1
Attansic Technologies Atheros AR8131 Gigabit Ethernet Adapter
(ethernet network, revision 0xc0) at pci3 dev 0 function 0 not
configured
pq3pcie2 at cpunode0 instance 3: PCI-Express x1 controller
pci4 at pq3pcie2 bus 0
ppb2 at pci4 dev 0 function 0: Freescale Semiconductor MPC8544 (rev. 0x11)
ppb2: PCI Express 1.0 <Root Port of PCI-E Root Complex>
pci5 at ppb2 bus 1
Attansic Technologies Atheros AR8131 Gigabit Ethernet Adapter
(ethernet network, revision 0xc0) at pci5 dev 0 function 0 not
configured
pq3pci0 at cpunode0: missing pci0-interrupt-map board propertyobio0 at
cpunode0: 6 of 8 ports enabled
obio0: cs0: 16MB 8-bit GPCM region at 0xff000000
obio0: cs1: 32KB 8-bit UPMA region at 0xf8000000
obio0: cs2: 32KB 8-bit UPMC region at 0xf9000000
obio0: cs3: 32KB 8-bit GPCM region at 0xf9200000
obio0: cs4: 32KB 8-bit GPCM region at 0xf9300000
obio0: cs5: 32KB 8-bit UPMB region at 0xf0000000
cpunode0: 8 input pins, 8 output pins
gpio0 at cpunode0: 8 pins
gpio1 at cpunode0: 8 pins
root device:
panic: e500_wdogintr: tf=0x336fe8 tb=805306401 srr0/srr1=0x2187c/0x21200
CPL stack: 7
trapframe 0x336ea8 (exc=700 srr0/1=0x43ed0/0x1000 esr/dear=0x2000000/0x80)
lr =001964b0 ctr=0003d17c cr =20021242 xer=20000000
r00=00001000 r01=00336f70 r02=002ca294 r03=00293604
r04=00297b28 r05=00297e18 r06=00297e18 r07=00000240
r08=00000001 r09=00330000 r10=00000001 r11=1fffe000
r12=00021242 r13=deadbeef r14=deadbeef r15=003562a8
r16=00357000 r17=00020d3b r18=deadbeef r19=00330000
r20=00330000 r21=00330000 r22=00000000 r23=00000000
r24=002c0000 r25=002a0000 r26=00000080 r27=00000000
r28=00330000 r29=00330000 r30=00297b70 r31=00000104
Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0xc:        tw      0, r1, r
1
db>

-- 
Jyrki Muukkonen


Home | Main Index | Thread Index | Old Index