BCM5354 D-Link DIR-320

Alexandr Rybalko ray at dlink.ua
Fri Apr 17 14:46:40 UTC 2009


Latest news.

I`m get all memory regions from SSB.
Try to start OHCI and EHCI on region defined by Broadcom.
But always in trap :(



CFE> boot -tftp -raw -addr=0x807963c0 -max=0x770000
192.168.0.90:kernel.tramp.bin cmd = boot -tftp -raw -addr=0x807963c0
-max=0x770000 192.168.0.90:kernel.tramp.bin Loader:raw Filesys:tftp
Dev:eth0 File:192.168.0.90:kernel.tramp.bin Options:(null) Loading:
entry point=807963C0 ...... 3250901 bytes read
Entry at 0x807963c0
Closing network.
Starting program at 0x807963c0
entry: mips_init()
  picache_stride    = 4096
  picache_loopcount = 4
  pdcache_stride    = 4096
  pdcache_loopcount = 4
cpu0: Broadcom processor v41.144
  MMU: Standard TLB, 32 entries
  L1 i-cache: 4 ways of 256 sets, 16 bytes per line
  L1 d-cache: 2 ways of 512 sets, 16 bytes per line
Va=0xc0000000 Ve=ffffc000
init kernel_segmap va >> = 768 nkpt:120
avail_start:0x439000 avail_end:0x2000000
KDB: debugger backends: ddb
KDB: current backend: ddb
hz=100 cyl_per_hz:200000 cyl_per_usec:200 freq:200000000
cyl_per_hz:2000000 cyl_per_sec:200000000 Copyright (c) 1992-2009 The
FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
1991, 1992, 1993, 1994 The Regents of the University of California. All
rights reserved. FreeBSD is a registered trademark of The FreeBSD
Foundation. FreeBSD 8.0-CURRENT #38 r191051M: Fri Apr 17 17:26:12 EEST
2009
root at terran.mk.farlep.net:/usr/home/ray/Projects/MIPS/FreeBSD/obj/mips/usr/home/ray/Projects/MIPS/FreeBSD/src/sys/BCM4704
real memory  = 32763904 (31996K bytes) Physical memory chunk(s):
0x00439000 - 0x01f44fff, 28360704 bytes (6924 pages)
avail memory = 28012544 (26MB)
mem: <memory>
null: <null device, zero device>
nfslock: pseudo-device
nexus0: <MIPS32 root nexus>
nexus_hinted_child: discovered hinted child siba0 at maddr 0x18000000
(65536) clock0: <Generic MIPS32 ticker> on nexus0
Establish HARD IRQ 5: filt 0x801f9154 handler 0 arg 0
clock0: [FILTER]
siba0: start 18000000 len 00010000
siba0: idlo = 600422dd
siba0: idhi = 42439004
siba0:  chipcore id = 00000800
siba0: ccid = 07025354, cc_id = 5354, cc_rev = 0002
siba0: 7 cores detected.
siba0: after remapping: start 18000000 len 00007000
siba0: <Sonics SiliconBackplane rev 0x0> at mem 0x18000000-0x18006fff
on nexus0 siba_attach: entry
siba0: siba_read_4
siba0: siba_dev_match(4243, 0900, 04)
siba0: corid=0800 base0 18000000 size 1000
siba0: corid=0800 base1 1fc00000 size 400000
siba0: corid=0800 base2 1c000000 size 2000000
siba0: corid=0800 base3 1a000000 size 2000000
siba0: siba_read_4
siba0: siba_dev_match(4243, 0806, 09)
siba0: <Ethernet core> corid=0806 regions count 1
siba0: corid=0806 base0 18001000 size 1000
siba0: siba_read_4
siba0: siba_dev_match(4243, 0816, 08)
siba0: <MIPS 3302 core> corid=0816 regions count 1
siba0: corid=0816 base0 18002000 size 1000
siba0: siba_read_4
siba0: siba_dev_match(4243, 0819, 02)
siba0: <USB 2.0 Host> corid=0819 regions count 2
siba0: corid=0819 func=1 base 18003000 size 0200
siba0: corid=0819 func=2 base 18003800 size 0100
siba0: siba_read_4
siba0: siba_dev_match(4243, 080f, 04)
siba0: <SDRAM/DDR controller> corid=080f regions count 4
siba0: corid=080f base0 18004000 size 1000
siba0: corid=080f base1 00000000 size 8000000
siba0: corid=080f base2 10000000 size 8000000
siba0: corid=080f base3 80000000 size 20000000
siba0: siba_read_4
siba0: siba_dev_match(4243, 0812, 0d)
siba0: <IEEE 802.11> corid=0812 regions count 1
siba0: corid=0812 base0 18005000 size 1000
siba0: siba_read_4
siba0: siba_dev_match(4243, 081c, 02)
siba0: <Roboswitch> corid=081c regions count 1
siba0: corid=081c base0 18006000 size 1000
siba_cc0: <ChipCommon core> at mem 0x18000000-0x18000fff irq 0 on siba0
siba_alloc_resource: proxying request to parent
Establish HARD IRQ 0: filt 0 handler 0x80206b50 arg 0
siba_cc0: [GIANT-LOCKED]
siba_cc0: [ITHREAD]
siba0: <Ethernet core> at device 1 (no driver attached)
siba_mips0: <MIPS 3302 processor> at mem 0x18002000-0x18002fff on siba0
ehci0: <SiBa integrated EHCI controller> at mem 0x18003000-0x18003fff
irq 3 on siba0 siba_alloc_resource: proxying request to parent
Establish HARD IRQ 3: filt 0 handler 0x8003f194 arg 0xc084f000
ehci0: [MPSAFE]
ehci0: [ITHREAD]
Trap cause = 7 (bus error (load or store) - kernel mode)
[thread pid 0 tid 100000 ]
Stopped at      ehci_init+0xa4: lbu     v0,0(v1)







-- 
Alexandr Rybalko <ray at dlink.ua>


More information about the freebsd-mips mailing list