cramer/routehero, any chance 1 of u can give tornado/eko what they need?
I dont have a jtag or i'd do what i could :/... Would a hi res photo of the PCB help? _________________ Active member of the Johannesburg Area Wireless User Group - http://www.jawug.za.net/
cramer/routehero, any chance 1 of u can give tornado/eko what they need?
I dont have a jtag or i'd do what i could :/... Would a hi res photo of the PCB help?
More than happy to help out, just need some instructions on what to do exactly. New to embedded, but otherwise knowledgable with networking/oses.
Edit: I need to know where the serial interface is on the 300N. There's nothing obvious by looking at the PCB.
No DPN
This is a Parallel Flash
Partition information:
boot #00 00000000 -> 0003FFFF (262144)
trx #01 00040000 -> 0004001B (28)
os #02 0004001C -> 007F7FFF (8093668)
nvram #03 007F8000 -> 007FFFFF (32768)
Partition information:
boot #00 00000000 -> 0003FFFF (262144)
trx #01 00040000 -> 007F7FFF (8093696)
nvram #02 007F8000 -> 007FFFFF (32768)
Reset switch via GPIO 8 ...
PCI bus 0 slot 1/0: pci_map_mem: attempt to map 64-bit region tag=0x800 @ addr=18010004
PCI bus 0 slot 1/0: pci_map_mem: addr=0x18010004 pa=0x18010000
ge0: BCM5750 Ethernet at 0x18010000
CPU type 0x2901A: 300MHz
Total memory: 32768 KBytes
Total memory used by CFE: 0x80600000 - 0x806A1900 (661760)
Initialized Data: 0x80636C40 - 0x80639BE0 (12192)
BSS Area: 0x80639BE0 - 0x8063B900 (7456)
Local Heap: 0x8063B900 - 0x8069F900 (409600)
Stack Area: 0x8069F900 - 0x806A1900 (8192)
Text (code) segment: 0x80600000 - 0x80636C40 (224320)
Boot area (physical): 0x006A2000 - 0x006E2000
Relocation Factor: I:00000000 - D:00000000
Boot version: v4.4
The boot is CFE
mac_init(): Find mac [00:1d:7e:70:17:c4] in location 0
Nothing...
CMD: [ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0]
eth0: Link speed: 100BaseT FDX
Device eth0: hwaddr 00-1D-7E-70-17-C4, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
CMD: [go;]
Check CRC of image1
Len: 0x2AD000 (2805760) (0xBC040000)
Offset0: 0x1C (28) (0xBC04001C)
Offset1: 0x8E4 (2276) (0xBC0408E4)
Offset2: 0x89720 (562976) (0xBC0C9720)
Header CRC: 0x644883FA
Calculate CRC: 0x644883FA
Image 1 is OK
Try to load image 1.
Waiting for 3 seconds to upgrade ...
CMD: [load -raw -addr=0x806a1900 -max=0xf70000 :]
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: _tftpd_open(): retries=0/3
_tftpd_open(): retries=1/3
_tftpd_open(): retries=2/3
Failed.
Could not load :: Timeout occured
CMD: [boot -raw -z -addr=0x80001000 -max=0xf70000 flash0.os:]
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3732 bytes read
Entry at 0x80001000
Closing network.
eth0: cannot clear 1400/00000002
Starting program at 0x80001000
CPU revision is: 0002901a
Linux version 2.4.35 (eko@dd-wrt) (gcc version 3.4.4 (OpenWrt-2.0)) #1501 Sun Jan 13 11:23:58 CET 2008
Setting the PFC to its default value
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
CPU: BCM4785 rev 2 at 300 MHz
Using 150.000 MHz high precision timer.
Calibrating delay loop... 299.82 BogoMIPS
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Fixing up bus 1
Initializing RT netlink socket
Starting kswapd
pty: 256 Unix98 ptys configured
Updating TRX offsets and length:
old trx = [0x0000001c, 0x000008e4, 0x00089720], len=0x002ad000 crc32=0x644883fa
new trx = [0x0000001c, 0x000008e4, 0x00089720], len=0x002b0000 crc32=0x6128f7d0
Done
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_IPV4OPTSSTRIP loaded
WRT350N GPIO Init
5397 switch GPIO-Reset
VFS: Mounted root (squashfs filesystem) readonly.
Booting Device:Linksys WRT300N v1.1
eth1: No such device
Please stand by while rebooting the system...
There's a ~30s delay between the eth1 and the reboot. Nothing else is said by userspace. The thing has 8M of flash, so enable debug (so the cprint's will do something) and send me that image. Yeah, it'll take a while to load that much into flash, but it's worth it.
It looks like it may be detecting it as a 350. It's somewhere between a 300 and 350.
Friend of mine rebooted his linksys wrt54g today for the first time in 4 months. dd-wrt installed, of course. I'm really looking forward to a stable release for v1.1 of the 300N. A co-worker of mine bought one of these the day after I did. He doesn't quite understand the concept of dd-wrt being better than the linksys firmware, but I'm hoping to enlighten him once this project is complete.
Integrated wlan on my board is a BCM4321LKFBG. It also has a BCM4705LKFBG chipset.
Ethernet is BCM5325EKQMG but that's obviously not eth1 so irrelevant i guess.
This is probably known information but it's at my fingertips so I thought i'd post it incase.
the above test build is not working.. continuous reboot & no ping reply, but at least now with a higher debug level we should be able to get some useful logs -- we waitin for u cramer
keep it up guys. _________________ Active member of the Johannesburg Area Wireless User Group - http://www.jawug.za.net/