OK, looks like switch driver makes a problem,
This build does not load it on boot, let's see how far it goes without it.
Then we can try with Linksys's driver from sourcecode.
Joined: 05 Jan 2008 Posts: 52 Location: Raleigh, NC, USA, Earth
Posted: Tue Jan 15, 2008 8:49 Post subject:
Well, that's promising...
Code:
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)) #1520 Mon Jan 14 22:08:42 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, 0x00089710], len=0x002ad000 crc32=0x122aeb46
new trx = [0x0000001c, 0x000008e4, 0x00089710], len=0x002b0000 crc32=0xf65a15ca
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
insmod: init_module: switch-robo: No such device
PCI: Enabling device 01:01.0 (0004 -> 0006)
eth0: Broadcom BCM4321 802.11 Wireless Controller 4.80.56.0
sh: cannot create /proc/switch/eth0/reset: Directory nonexistent
sh: cannot create /proc/switch/eth0/vlan/0/ports: Directory nonexistent
sh: cannot create /proc/switch/eth0/vlan/1/ports: Directory nonexistent
sorry, your unit does not support resetbutton feature
nvram_commit(): end
ifconfig: SIOCSIFFLAGS: Cannot assign requested address
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
cp: cannot stat '/tmp/mycron.d/*': No such file or directory
cp: cannot stat '/jffs/mycron.d/*': No such file or directory
cp: cannot stat '/mmc/mycron.d/*': No such file or directory
sh: /tmp/.rc_startup: not found
killall: wdswatchdog.sh: no process killed
killall: schedulerb.sh: no process killed
sh: missing ]
Joined: 05 Jan 2008 Posts: 52 Location: Raleigh, NC, USA, Earth
Posted: Tue Jan 15, 2008 9:02 Post subject:
It'll reboot instantly if I load bcm57xxlsys. Wireless is operational, if you manually start it because it's eth0 not eth1. The switch is completely unconfigured as indicated by all the lights being on.
Joined: 05 Jan 2008 Posts: 52 Location: Raleigh, NC, USA, Earth
Posted: Tue Jan 15, 2008 19:37 Post subject:
Eko wrote:
ok, do you want a build with Linksys's driver and wireless eth0 ?
But i cen see in nvram you've sent wl0_ifname=eth1, serial log says eth0, hmm.
The serial log shows it as eth0 because it's not finding the lan/wan ethernet. Wireless is the only device it can find, so it's eth0. If you mean the linksys 57xx/robo driver, then sure; I'll test it when I'm free.
heh, lots of people waiting in eager anticipation for you in fact my router is sitting here without the covers but plugged in, watching this thread constantly and waiting for firmware to flash and try... sad, maybe, but let's speed up the process here a bit. 1 guy from USA and 1 from EU trying to collaborate.. i mean we get a mere 1 step closer per day due to time differences.. I'd love to help but i dont have teh skills atm ;/ heh _________________ Active member of the Johannesburg Area Wireless User Group - http://www.jawug.za.net/
i mean we get a mere 1 step closer per day due to time differences
And we both have jobs/lives as well.
well you arent allowed to have a job OR a life till this is done
haha just kidding but you guys should add eachother on msn or something it would probably make this simpler
Joined: 05 Jan 2008 Posts: 52 Location: Raleigh, NC, USA, Earth
Posted: Wed Jan 16, 2008 2:36 Post subject:
tdunks wrote:
well you arent allowed to have a job OR a life till this is done :P
Only if you'll pay my ridiculous salary. And until my MAX3232's show up, you don't want to see the rig I have setup to talk to a 3.3V digital serial port. :-)
Quote:
haha just kidding but you guys should add eachother on msn or something it would probably make this simpler
He uses Yahoo! I use Google Talk (maybe once a year.) Or IRC, but people aren't that old school. But that doesn't really help when we aren't generally awake at the same time.
oh yea ur even further behing him than i am aren't you? because im on for about 6-7 hours the same time he is...if only i had the jtag connector and such to do the debugging myself and post it for him...also considering i have every messenger lol
Eko, any news on the new test build with linux driver etc? _________________ Active member of the Johannesburg Area Wireless User Group - http://www.jawug.za.net/
Respond to pings for tftp duration then same symptoms as before - but at least there's tftp now so the basics of the ethernet drivers must be working. _________________ Active member of the Johannesburg Area Wireless User Group - http://www.jawug.za.net/