OpenWrt Forum Archive

Topic: Linksys WRT610N

The content of this topic has been archived between 6 Feb 2018 and 1 May 2018. Unfortunately there are posts – most likely complete pages – missing.

rickmancr750 wrote:

Hi Sentenza et al.

I'm having real trouble compiling OWRT. My Puppy Linx distro doesn't have a port of svn, Cygwin doesn't have a case sensitive filesystem, my SuSE server has a dead cd drive so can't load svn etc. <sigh>

Would Sentenza be kind enough to post a binary for a wrt610n some place handy?

My wrt610n exploits are linked from the page http://www.glasson.org

Have you really understood that after flashing, you won't have neither wired or wireless network? If you do REALLY understand it, I can provide you a bin...

By the way, I didn't had time to play with the box in recent days but will try to put the "original" binary drivers into a kamikaze 2.4 and let you know. I know this is far from ideal, but still better than using stock firmware...

I have some patches ready for 2.6 that add the PHY id to tg3 and correct the ssb-gige mac-address code that is wrong. I've not been able to get a packet out of the box, broadcast packets are seen in a tcpdump but nothing will come out of it...

I don't know another way to find the last changes in the drivers (bcm47xx) than reverse-engineering, but this is not something I'm familiar with.

Happy hacking

Any success putting binary drivers into kamikaze 2.4..?

Hi,

Not for the moment... I had to fulfill my obligations first as a father and also as a damn system administrator...

I hope I'll be able to spend some time on it this week.

Bye

Guys,

I'm having problems with my Serial cable add-on

After fixing the wires to my audio jack I didn't see anything with Hyperterminal.

I was using 9600 8-N-1 for settings with no flow control.

Am-I supposed to see any console information from the Linksys software?

I was expecting to have some console access before uploading the OpenWRT firmware.

Just looking to test the serial cable before so I can recover after.

I'm using the TTL-232R-3V3-AJ USB to Serial converter.

Thansk,

/Carl

Hi,

Default serial settings are 115000 8N1... Not standard, but  better interactivity...

Happy hacking

Should you see something from the Linksys software with the Serial cable?
Thansk,
/Carl

Yes, definitely...

You will first see the CFE that enables you to interrupt boot and for example tftp a new firmware, and then you will see a "standard" linux 2.4 booting just before Linksys init (that in my case included many errors wink )

I will test again with settings at 115000 and will hope that was my problem...

Either that or I fried the port although my multimeter still show 3.13V on it...

Thanks,

/Carl

My serial port works!!!

I can now start loading firmware...

Anyone has code to test?


CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Wed Jun 25 19:11:21 CST 2008 (ljh@team2-complier)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing PCI. [normal]
PCI bus 0 slot 0/0: vendor 0x14e4 product 0x0800 (flash memory, rev 0x02)
PCI bus 0 slot 1/0: vendor 0x14e4 product 0x471f (ethernet network, rev 0x02)
PCI bus 0 slot 2/0: vendor 0x14e4 product 0x471a (USB serial bus, interface 0x10, rev 0x02)
PCI bus 0 slot 2/1: vendor 0x14e4 product 0x471a (USB serial bus, interface 0x20, rev 0x02)
PCI bus 0 slot 3/0: vendor 0x14e4 product 0x471b (USB serial bus, rev 0x02)
PCI bus 0 slot 4/0: vendor 0x14e4 product 0x0804 (PCI bridge, rev 0x02)
PCI bus 0 slot 5/0: vendor 0x14e4 product 0x0816 (MIPS processor, rev 0x02)
PCI bus 0 slot 6/0: vendor 0x14e4 product 0x471d (IDE mass storage, rev 0x02)
PCI bus 0 slot 7/0: vendor 0x14e4 product 0x4718 (network/computing crypto, rev 0x02)
PCI bus 0 slot 8/0: vendor 0x14e4 product 0x080f (RAM memory, rev 0x02)
PCI bus 0 slot 9/0: vendor 0x14e4 product 0x471e (class 0xfe, subclass 0x00, rev 0x02)
Initializing Devices.

No DPN
This is a Parallel Flash
Boot partition size = 262144(0x40000)
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)
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: 65536 KBytes

Total memory used by CFE:  0x80700000 - 0x807A60E0 (680160)
Initialized Data:          0x8073A2E0 - 0x8073E570 (17040)
BSS Area:                  0x8073E570 - 0x807400E0 (7024)
Local Heap:                0x807400E0 - 0x807A40E0 (409600)
Stack Area:                0x807A40E0 - 0x807A60E0 (8192)
Text (code) segment:       0x80700000 - 0x8073A2E0 (238304)
Boot area (physical):      0x007A7000 - 0x007E7000
Relocation Factor:         I:00000000 - D:00000000

Boot version: v4.2
The boot is CFE

mac_init(): Find mac [00:22:6B:60:3E:00] in location 1
Nothing...
country_init(): Find country code in location 0
The country is same
CMD: [ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0]
eth0: Link speed: 1000BaseT FDX
Device eth0:  hwaddr 00-22-6B-60-3E-00, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
CMD: [go;]
Check CRC of image1
  Len:     0x715000    (7426048)    (0xBC040000)
  Offset0: 0x1C        (28)        (0xBC04001C)
  Offset1: 0x1016DC    (1054428)    (0xBC1416DC)
  Offset2: 0x0    (0)    (0xBC040000)
  Header CRC:    0xCEFF59B1
  Calculate CRC: 0xCEFF59B1
Image 1 is OK
Try to load image 1.
CMD: [load -raw -addr=0x807a60e0 -max=0x3a0000 :]
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: Failed.
Could not load :: Timeout occured
CMD: [boot -raw -z -addr=0x80001000 -max=0x3a0000 flash0.os:]
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 2416640 bytes read
Entry at 0x80001000
Closing network.
eth0: cannot clear 1400/00000002
Starting program at 0x80001000
CPU revision is: 0002901a

Primary instruction cache 32kb, linesize 16 bytes (4 ways)

Primary data cache 32kb, linesize 16 bytes (2 ways)

Linux version 2.4.20 (ljh@team2-complier) (gcc version 3.2.3 with Broadcom modifications) #136 Sat Aug 16 15:31:07 CST 2008

Setting the PFC to its default value

Determined physical RAM map:

memory: 04000000 @ 00000000 (usable)

On node 0 totalpages: 16384

zone(0): 16384 pages.

zone(1): 0 pages.

zone(2): 0 pages.

Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200

CPU: BCM4785 rev 2 at 300 MHz

Calibrating delay loop... 299.82 BogoMIPS

Memory: 62208k/65536k available (2119k kernel code, 3328k reserved, 144k data, 76k init, 0k highmem)

Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)

Inode cache hash table entries: 4096 (order: 3, 32768 bytes)

Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)

Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)

Page-cache hash table entries: 16384 (order: 4, 65536 bytes)

Checking for 'wait' instruction...  unavailable.

POSIX conformance testing by UNIFIX

PCI: Initializing host

PCI: Fixing up bus 0

PCI: Fixing up bridge

PCI: Fixing up bus 1

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

Starting kswapd

devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)

devfs: boot_options: 0x1

NTFS driver v1.1.22 [Flags: R/O]

squashfs: version 3.0 (2006/03/15) Phillip Lougher

pty: 256 Unix98 ptys configured

Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled

ttyS00 at 0xb8000300 (irq = 8) is a 16550A

ttyS01 at 0xb8000400 (irq = 0) is a 16550A

HDLC line discipline: version $Revision$, maxframe=4096

N_HDLC line discipline registered.

PPP generic driver version 2.4.2

Broadcom Gigabit Ethernet Driver bcm5700 with Broadcom NIC Extension (NICE) ver. 8.3.14 (11/2/05)

PHY ID unknown, assume it is a copper PHY.

eth0: Broadcom BCM4785 10/100/1000 Integrated Controller found at mem 18010000, IRQ 5, node addr 00226b603e00

eth0: Unknown transceiver found

eth0: Scatter-gather ON, 64-bit DMA ON, Tx Checksum ON, Rx Checksum ON, 802.1Q VLAN ON, NAPI ON

SCSI subsystem driver Revision: 1.00

Amd/Fujitsu Extended Query Table v1.1 at 0x0040

number of CFI chips: 1

Flash device: 0x800000 at 0x1c000000

Physically mapped flash: squashfs filesystem found at block 1285

(Not Found Lang Block)off=0x1416dc off1=0x7e0000 size=0x800000

Creating 5 MTD partitions on "Physically mapped flash":

0x00000000-0x00040000 : "pmon"

0x00040000-0x007e0000 : "linux"

0x001416dc-0x007e0000 : "rootfs"

mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only

0x007e0000-0x007f0000 : "lang"

0x007f0000-0x00800000 : "nvram"

sflash: found no supported devices

usb.c: registered new driver usbdevfs

usb.c: registered new driver hub

ehci_hcd 00:02.1: PCI device 14e4:471a

ehci_hcd 00:02.1: irq 3, pci mem b8002800

usb.c: new USB bus registered, assigned bus number 1

ehci_hcd 00:02.1: illegal capability!

ECHI PCI device 471a14e4 found.

PCI: 00:02.1 PCI cache line size set incorrectly (0 bytes) by BIOS/FW, correcting to 32

ehci_hcd 00:02.1: USB 0.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4

hub.c: USB hub found

hub.c: 2 ports detected

host/usb-uhci.c: $Revision: 1.2 $ time 15:32:18 Aug 16 2008

host/usb-uhci.c: High bandwidth mode enabled

ECHI PCI device 471b14e4 found.

host/usb-uhci.c: v1.275:USB Universal Host Controller Interface driver

host/usb-ohci.c: USB OHCI at membase 0xb8002000, IRQ 3

host/usb-ohci.c: usb-00:02.0, PCI device 14e4:471a

usb.c: new USB bus registered, assigned bus number 2

hub.c: USB hub found

hub.c: 2 ports detected

usb.c: registered new driver usblp

printer.c: v0.13: USB Printer Device Class driver

Initializing USB Mass Storage driver...

usb.c: registered new driver usb-storage

USB Mass Storage support registered.

NET4: Linux TCP/IP 1.0 for NET4.0

IP Protocols: ICMP, UDP, TCP, IGMP

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 4096 bind 8192)

Linux IP multicast router 0.06 plus PIM-SM

ip_conntrack version 2.1 (512 buckets, 4096 max) - 368 bytes per conntrack

IPSEC isakmp Support Max Pass-through [50].

ip_conntrack_rtsp v0.01 loading

ip_nat_rtsp v0.01 loading

ip_tables: (C) 2000-2002 Netfilter core team

ipt_time loading

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

IPv6 v0.8 for NET4.0

IPv6 over IPv4 tunneling driver

NET4: Ethernet Bridge 008 for NET4.0

802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>

All bugs added by David S. Miller <davem@redhat.com>

cramfs: wrong magic

FAT: bogus logical sector size 23328

NTFS: Unable to set blocksize 512.

VFS: Mounted root (squashfs filesystem) readonly.

Mounted devfs on /dev

Freeing unused kernel memory: 76k freed

Algorithmics/MIPS FPU Emulator v1.5

cmd=[insmod ctmisc ]
Using /lib/modules/2.4.20/kernel/drivers/net/ctmisc/ctmisc.o
Register /dev/ctmisc device, major:250 minor:0

The boot is CFE
/dev/: cannot create
cmd=[misc -t get_wsc_pin -w 3 ]
type = [get_wsc_pin]
get_data(): cmd=ctmisc_ioctl: cmd=0x26, buffer size=196

0x26 count=8 lendata_init(): base = 0xbc03fcdc

=8
data_init(): location = [1], mydatas index = 1

ctmisc_ioctl: index=1

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get WSC count is [1]
get_data(): WSC 0: [65214381]
get_data(): done
cmd=[misc -t get_mac -w 3 ]
type = [get_mac]
get_data(): cmd=ctmisc_ioctl: cmd=0x11, buffer size=196

0x11 count=8 lendata_init(): base = 0xbc001e00

=18
data_init(): location = [2], mydatas index = 2

ctmisc_ioctl: index=2

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get MAC count is [2]
get_data(): MAC 0: [00:90:4c:b9:00:2a]
get_data(): MAC 1: [00:22:6B:60:3E:00]
get_data(): done
cmd=[misc -t get_sn -w 3 ]
type = [get_sn]
get_data(): cmd=ctmisc_ioctl: cmd=0x15, buffer size=196

0x15 count=8 lendata_init(): base = 0xbc03fe30

=20
data_init(): location = [1], mydatas index = 1

ctmisc_ioctl: index=1

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get SN count is [1]
get_data(): SN 0: [CTG01H913079ˇˇˇˇˇˇˇˇ]
get_data(): done
cmd=[misc -t get_country -w 3 ]
type = [get_country]
get_data(): cmd=ctmisc_ioctl: cmd=0x2c, buffer size=196

0x2c count=1 lendata_init(): base = 0xbc03fe2c

=4
data_init(): location = [1], mydatas index = 1

ctmisc_ioctl: index=1

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get COUNTRY count is [1]
get_data(): COUNTRY 0: [CAˇˇ]
get_data(): done
cmd=[misc -t get_2g_country_code -w 3 ]
type = [get_2g_country_code]
ctmisc_ioctl: cmd=0x2e, buffer size=196

get_data(): cmd=data_init(): base = 0xbc03fe28

0x2e count=1 lendata_init(): location = [1], mydatas index = 1

=4
ctmisc_ioctl: index=1

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get 2G_COUNTRY_CODE count is [1]
get_data(): 2G_COUNTRY_CODE 0: [US2]
get_data(): done
cmd=[misc -t get_5g_country_code -w 3 ]
type = [get_5g_country_code]
ctmisc_ioctl: cmd=0x5e, buffer size=196

get_data(): cmd=data_init(): base = 0xbc03fe24

0x5e count=1 lendata_init(): location = [1], mydatas index = 1

=4
ctmisc_ioctl: index=1

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get 5G_COUNTRY_CODE count is [1]
get_data(): 5G_COUNTRY_CODE 0: [Q2ˇˇ]
get_data(): done
cmd=[misc -t get_flash_type -w 1 ]
type = [get_flash_type]
ctmisc_ioctl: cmd=0x17, buffer size=196

get_flash_type()Try 4: vendor id = 0x00C2, device id = 0x22CB

: cmd=0x17 countMX29LV640D 4Mx16 BotB=0 len=0
Flash Type: MX29LV640D 4Mx16 BotB

tallest:=====(ctmisc ioctl done...)=====

Get FLASH TYPE is [MX29LV640D 4Mx16 BotB]
------ CT HW version is xe ------
------ pci/1/2/boardflags2 = 0x0602 ------
cmd=[misc -t get_pa2ga0idxval -w 3 ]
type = [get_pa2ga0idxval]
ctmisc_ioctl: cmd=0x28, buffer size=196

get_data(): cmd=data_init(): base = 0xbc03f6c0

0x28 count=8 lendata_init(): location = [1], mydatas index = 1

=24
ctmisc_ioctl: index=1

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get PA2GA0IDXVAL count is [1]
get_data(): PA2GA0IDXVAL 0: [2 0xfec9 0x159a 0xfafcˇˇ]
get_data(): done
cmd=[misc -t get_pa2ga1idxval -w 3 ]
type = [get_pa2ga1idxval]
ctmisc_ioctl: cmd=0x2a, buffer size=196

get_data(): cmd=data_init(): base = 0xbc03f600

0x2a count=8 lendata_init(): location = [1], mydatas index = 1

=24
ctmisc_ioctl: index=1

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get PA2GA1IDXVAL count is [1]
get_data(): PA2GA1IDXVAL 0: [4 0xfeb5 0x14c0 0xfaffˇˇ]
get_data(): done
2G idx[2] w0a0[0xfec9] w1a0[0x159a] w2a0[0xfafcˇˇ]
Update [0xfec9] to [0xfec9]
Update [0x159a] to [0x159a]
Update [0xfafcˇˇ] to [0xfafc]
2G idx[4] w0a1[0xfeb5] w1a1[0x14c0] w2a1[0xfaffˇˇ]
Update [0xfeb5] to [0xfeb5]
Update [0x14c0] to [0x14c0]
Update [0xfaffˇˇ] to [0xfaff]
cmd=[misc -t get_pa5gha0idxval -w 3 ]
type = [get_pa5gha0idxval]
ctmisc_ioctl: cmd=0x38, buffer size=196

get_data(): cmd=data_init(): base = 0xbc03f4c0

0x38 count=8 lendata_init(): location = [0], mydatas index = 0

=24
ctmisc_ioctl: index=0

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get PA5GHA0IDXVAL count is [0]
get_data(): done
cmd=[misc -t get_pa5gha1idxval -w 3 ]
type = [get_pa5gha1idxval]
ctmisc_ioctl: cmd=0x3a, buffer size=196

get_data(): cmd=data_init(): base = 0xbc03f400

0x3a count=8 lendata_init(): location = [1], mydatas index = 1

=24
ctmisc_ioctl: index=1

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get PA5GHA1IDXVAL count is [1]
get_data(): PA5GHA1IDXVAL 0: [6 0xfeac 0x12da 0xfb54ˇˇ]
get_data(): done
Using default 5G high PA0 value
5G high idx[6] w0a1[0xfeac] w1a1[0x12da] w2a1[0xfb54ˇˇ]
Update [0xfeac] to [0xfeac]
Update [0x12da] to [0x12da]
Update [0xfb54ˇˇ] to [0xfb54]
cmd=[misc -t get_pa5gla0idxval -w 3 ]
type = [get_pa5gla0idxval]
ctmisc_ioctl: cmd=0x48, buffer size=196

get_data(): cmd=data_init(): base = 0xbc03f2c0

0x48 count=8 lendata_init(): location = [0], mydatas index = 0

=24
ctmisc_ioctl: index=0

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get PA5GLA0IDXVAL count is [0]
get_data(): done
cmd=[misc -t get_pa5gla1idxval -w 3 ]
type = [get_pa5gla1idxval]
ctmisc_ioctl: cmd=0x4a, buffer size=196

get_data(): cmd=data_init(): base = 0xbc03f200

0x4a count=8 lendata_init(): location = [0], mydatas index = 0

=24
ctmisc_ioctl: index=0

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get PA5GLA1IDXVAL count is [0]
get_data(): done
Using default 5G low PA0 value
Using default 5G low PA1 value
cmd=[misc -t get_pa5ga0idxval -w 3 ]
type = [get_pa5ga0idxval]
ctmisc_ioctl: cmd=0x58, buffer size=196

get_data(): cmd=data_init(): base = 0xbc03f0c0

0x58 count=8 lendata_init(): location = [1], mydatas index = 1

=24
ctmisc_ioctl: index=1

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get PA5GA0IDXVAL count is [1]
get_data(): PA5GA0IDXVAL 0: [2 0xfeac 0x1446 0xfb1bˇˇ]
get_data(): done
cmd=[misc -t get_pa5ga1idxval -w 3 ]
type = [get_pa5ga1idxval]
ctmisc_ioctl: cmd=0x5a, buffer size=196

get_data(): cmd=data_init(): base = 0xbc03f000

0x5a count=8 lendata_init(): location = [0], mydatas index = 0

=24
ctmisc_ioctl: index=0

tallest:=====(ctmisc ioctl done...)=====

get_data(): Get PA5GA1IDXVAL count is [0]
get_data(): done
5G middle idx[2] w0a0[0xfeac] w1a0[0x1446] w2a0[0xfb1bˇˇ]
Update [0xfeac] to [0xfeac]
Update [0x1446] to [0x1446]
Update [0xfb1bˇˇ] to [0xfb1b]
Using default 5G middle PA1 value
Restoring Storage Nvram Defaults
enter main_loop()..
find "lang" in MSQUASHFS error: Can't find a SQUASHFS superblock on mtdblock(31,3)

TD 3 (/dev/mtdblock/3)
ret = -1
www -> /www
mount: No such file or directory
cmd=[touch /tmp/var/lib/nfs/xtab ]
cmd=[chmod 644 /tmp/var/lib/nfs/xtab ]
cmd=[touch /tmp/var/lib/nfs/etab ]
cmd=[chmod 644 /tmp/var/lib/nfs/etab ]
cmd=[touch /tmp/var/lib/nfs/rmtab ]
cmd=[chmod 644 /tmp/var/lib/nfs/rmtab ]
cmd=[touch /tmp/var/lib/nfs/state ]
cmd=[chmod go-rwx /tmp/var/lib/nfs/state ]
cmd=[touch /tmp/disk_updating_lock ]
cmd=[chmod 644 /tmp/disk_updating_lock ]
cmd=[touch /tmp/file_variable_updating_lock ]
cmd=[chmod 644 /tmp/file_variable_updating_lock ]
cmd=[insmod /lib/ufsd_cbtn.o ]
Using /lib/ufsd_cbtn.o
modules[0]=bcm57xx buf=[bcm57xx ]
modules[1]=wl buf=[bcm57xx wl ]
Needed modules: bcm57xx wl
cmd=[insmod bcm57xx ]
insmod: bcm57xx.o: no module by that name found
cmd=[insmod wl ]
Using /lib/modules/2.4.20/kernel/drivers/net/wl/wl.o
Error reading /proc/partitions: invalid header.
Failed trying to open `/proc/mdstat': No such file or directory
Failed trying to open `/proc/sestat': No such file or directory
Error reading /proc/partitions: invalid header.
Failed trying to open `/proc/mdstat': No such file or directory
Failed trying to open `/proc/sestat': No such file or directory
Hit enter to continue...The chipset is BCM4705 + BCM5397 for EWC

Make date==>Year:8,Month:8,Day:16
Firmware version =>v1.00.00
sum3=7427072 garbage=992 n=1024
MD5=[fe777e63f6991f868cff263824b83acc]
cmd=[killall httpd ]
killall: httpd: no process killed
cmd=[killall httpd ]
killall: httpd: no process killed
cmd=[resetbutton ]
WARNING: console log level set to 1
cmd=[vconfig set_name_type VLAN_PLUS_VID_NO_PAD ]
cmd=[vconfig add eth0 1 ]
cmd=[vconfig set_ingress_map vlan1 0 0 ]
cmd=[vconfig set_ingress_map vlan1 1 1 ]
cmd=[vconfig set_ingress_map vlan1 2 2 ]
cmd=[vconfig set_ingress_map vlan1 3 3 ]
cmd=[vconfig set_ingress_map vlan1 4 4 ]
cmd=[vconfig set_ingress_map vlan1 5 5 ]
cmd=[vconfig set_ingress_map vlan1 6 6 ]
cmd=[vconfig set_ingress_map vlan1 7 7 ]
cmd=[vconfig add eth0 2 ]
cmd=[vconfig set_ingress_map vlan2 0 0 ]
cmd=[vconfig set_ingress_map vlan2 1 1 ]
cmd=[vconfig set_ingress_map vlan2 2 2 ]
cmd=[vconfig set_ingress_map vlan2 3 3 ]
cmd=[vconfig set_ingress_map vlan2 4 4 ]
cmd=[vconfig set_ingress_map vlan2 5 5 ]
cmd=[vconfig set_ingress_map vlan2 6 6 ]
cmd=[vconfig set_ingress_map vlan2 7 7 ]
cmd=[brctl addbr br0 ]
cmd=[brctl setfd br0 0 ]
cmd=[brctl stp br0 dis ]
name=[vlan1] lan_ifname=[br0]
cmd=[brctl addif br0 vlan1 ]
br0: No such file or directory
cmd=[wlconf vlan1 up ]
vlan1: Operation not supported
name=[eth1] lan_ifname=[br0]
Write wireless mac successfully
cmd=[brctl addif br0 eth1 ]
Disable wireless interface
name=[eth2] lan_ifname=[br0]
Write wireless mac successfully
cmd=[brctl addif br0 eth2 ]
Disable wireless interface
name=[eth3] lan_ifname=[br0]
cmd=[brctl addif br0 eth3 ]
interface eth3 does not exist!
eth3: No such device
module:  wl                  c0068000  1141664   0 (unused)
cmd=[wl gpiotimerval 0x640000 ]
wl: No such file or directory
cmd=[wl vlan_mode 0 ]
wl: No such file or directory
both wireless band is disabled, off led!
eth1: Argument list too long
wl: Buffer too short
eth2: Argument list too long
wl: Buffer too short
lo: File exists
Set 66560 to /proc/sys/net/core/rmem_max ...
cmd=[tftpd -s /tmp -c -l -P 610N ]
cmd=[cron ]
cron: No such file or directory
cron: created
[HTTPD Starting on /www]
The boot is CFE
tftp server started
tftpd: standalone socket
cmd=[httpd ]
cmd=[dnsmasq -h -i br0 -r /tmp/resolv.conf ]
br0 192.168.1.100  86400
cmd=[udhcpd /tmp/udhcpd.conf ]
info, udhcp server (v0.9.8) started
zebra disabled.
No disk, do not start samba.
cmd=[nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan ]
cmd=[killall twonkymedia ]
No interface specified. Quitting...
killall: twonkymedia: no process killed
cmd=[killall twonkymediaserv ]
killall: twonkymediaserv: no process killed
cmd=[killall twonkymediaserver ]
killall: twonkymediaserver: no process killed
cmd=[upnp -D -L br0 -W vlan2 -S 0 -I 60 -A 180 ]
calling upnp_main
lltd:echo WRT610N > /proc/sys/kernel/hostname
LLTD: wireless interface argument is eth1.
Using /bin/eghn_kernel_module.o
IP is 101a8c0
mask is ffffff
cmd=[tc qdisc del dev vlan1 root ]
RTNETLINK answers: No such file or directory
cmd=[tc qdisc del dev eth1 root ]
RTNETLINK answers: No such file or directory
cmd=[tc qdisc del dev eth2 root ]
RTNETLINK answers: No such file or directory
cmd=[sh /tmp/cmdfile126 ]
Initializing UPnP Sdk with
     ipaddress = (null) port = 0
UPnP Initialized
     ipaddress= 192.168.1.1 port = 49152
Specifying the webserver root directory -- /var/EGHN_QPH
Registering the RootDevice
     with desc_doc_url: http://192.168.1.1:49152/qphdevicedesc.xml
RootDevice Registered
Initializing State Table
Found service: urn:schemas-upnp-org:service:QosPolicyHolder:2
serviceId: urn:upnp-org:serviceId:QosPolicyHolder-1
State Table Initialized
Dispay orig configurations
cmd=[cat /tmp/cmdfile126 ]
tc qdisc add dev vlan1 root handle 1: prio bands 8 priomap 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7
tc qdisc add dev vlan1 parent 1:1 handle 10: pfifo limit 20
tc qdisc add dev vlan1 parent 1:2 handle 20: pfifo limit 20
tc qdisc add dev vlan1 parent 1:3 handle 30: pfifo limit 20
tc qdisc add dev vlan1 parent 1:4 handle 40: pfifo limit 20
tc qdisc add dev vlan1 parent 1:5 handle 50: pfifo limit 20
tc qdisc add dev vlan1 parent 1:6 handle 60: pfifo limit 20
tc qdisc add dev vlan1 parent 1:7 handle 70: pfifo limit 20
tc qdisc add dev vlan1 parent 1:8 handle 80: pfifo limit 20
tc filter add dev vlan1 parent 1:0 prio 5 protocol all tcindex mask 0xff shift 0 pass_on
tc filter add dev vlan1 parent 1:0 prio 5 handle 0 tcindex classid 1:6
tc filter add dev vlan1 parent 1:0 prio 5 handle 1 tcindex classid 1:8
tc filter add dev vlan1 parent 1:0 prio 5 handle 2 tcindex classid 1:7
tc filter add dev vlan1 parent 1:0 prio 5 handle 3 tcindex classid 1:5
tc filter add dev vlan1 parent 1:0 prio 5 handle 4 tcindex classid 1:4
tc filter add dev vlan1 parent 1:0 prio 5 handle 5 tcindex classid 1:3
tc filter add dev vlan1 parent 1:0 prio 5 handle 6 tcindex classid 1:2
tc filter add dev vlan1 parent 1:0 prio 5 handle 7 tcindex classid 1:1
cmd=[sh /tmp/cmdfile126 ]
Advertisements Sent
cmd=[dhcp6s -c /tmp/dhcp6s.conf br0 ]
cmd=[killall -1 radvd ]
killall: radvd: no process killed
tallest:=====( wan_or_lan=wan )=====
tallest:=====( wan_or_lan=wan is wan !!)=====
cmd=[udhcpc -i vlan2 -l br0 -p /var/run/wan_udhcpc.pid -s /tmp/udhcpc ]
info, udhcp client (v0.9.8) started
cmd=[nas /tmp/nas.wan.conf /tmp/nas.wan.pid wan ]
cmd=[dhcp6s -c /tmp/dhcp6s.conf br0 ]
No interface specified. Quitting...
Hit enter to continue...Hit enter to continue...cmd=[sh /tmp/cmdfile126 ]



BusyBox v1.00-pre2 (2008.05.14-07:46+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

#
# help

Built-in commands:
-------------------
    . : break cd continue eval exec exit export help login newgrp
    read readonly set shift times trap umask wait

#
#
# exit
Hit enter to continue...

Greetings everyone,

Does anyone know if it will be possible to add both a serial port and an additional USB port (or card reader)?  I'm interested in adding more storage to be used as part of the router's file system.  I know I could attach a USB hub to the existing USB port, but I'm afraid it might impact the read/write performance of the attached network storage disk.  If anyone has any input I'd appreciate a response (the folks over at DD-WRT seem to be ignoring me... I've since stopped participating in their forums because of this, not to mention the fact I've recently learned of the alleged GPL violations...). 

I'm new to the flashing of firmware scene, so please be patient with me.  I am really looking forward to the experience, and perhaps, one day, helping with the development/testing.

Thanks

@gosselic: Congrats on getting the serial port working!...I'm jealous  :P

(Last edited by 5arge on 2 Dec 2008, 17:32)

5arge wrote:

Greetings everyone,

Does anyone know if it will be possible to add both a serial port and an additional USB port (or card reader)?  I'm interested in adding more storage to be used as part of the router's file system.  I know I could attach a USB hub to the existing USB port, but I'm afraid it might impact the read/write performance of the attached network storage disk.

Don't think that anybody got so far on this PCB, but it might be possible. However adding a hard drive to the USB port should give you enough storage... If only we found a way to get that damn ethernet working...

Thanks for the quick reply sentenza.  I already have a hard drive attached through the USB for NAS and FTP, I just thought using a directory in this drive as part of the Router's file system (running programs from it) might affect the performance of the disk.

I really wish I knew more to be able to help get this router working with the firmware.  Any suggested websites where I can learn a thing or two?

I think in the mean time I will try to compile the Linksys source code with a different FTP program (or at least with a modified config to achieve better logging).  Of course, this will be after I manage to add a serial port: I don't know enough about compiling software to even think of attempting it without a serial port. big_smile

(Last edited by 5arge on 2 Dec 2008, 18:58)

The WRTSL54GS already had the holes & solder-points for a 2-port USB.  It was an easy mod just desolder a 2-port stacked USB module off an old PC motherboard, and substitute it for the single-port module on the SL unit.  It was trivial I did it to 2 units no problems.

I see no such evidence of an easy addition on the WRT610N.

I'm not sure what performance problem with using a hub would be?  You'll run out of CPU long before you overtax a USB2.0 port.

Adding a serial port using the "stereo jack" method outlined several pages back is fairly easy.  Only 3 wires to solder, and fit a stereo jack, and a very portable USB-serial cable with the smart bits.  Highly recommended.

I offered to donate a WRT610n still haven't heard back from a specific developer willing to accept shipment and work on the problems.   I will ping them again.  I have been off on holiday the last week myself and it will take me a few days digging out from work obligations before I can return to my hobby work on this router.  I mainly intend to clean up the Wiki page and document GPIO and other nitpicky items.  I'm not really developer so I can't help with fixing wireless drivers etc.

I also donated 20 Euro to B43 project last week to assist them in their BroadCom open-source driver work.

(Last edited by vincentfox on 2 Dec 2008, 21:04)

Hi Vincent,

Hi also donated 50 euros to b43 team but did not get any feedback... I've try to fight with tg3 in 2.6 but without successful results, so I'm actually trying to integrate modules shipped by Linksys in 2.4 kamikaze built, but did not manage to built it until now...

I'm sick at home this week, so perhaps I'll manage to spend more time on it...

@Vincent

Thanks for the info.

I have a few questions for you.  The instructions you provided are as clear as day, however, I'm unsure of the exact parts I need to order.  I've been looking around for the correct cable, and have found FTDI.com.  They have two USB to audio jack cables, one is a 5v, and the other is a 3.3v.  I don't know which one to get (I'll provide links).  I'm also having a little difficulty locating a good 3.5mm jack; all of the one's I've found appear to be quite bulky as compared to the one in your pictures (on the side that will be inside the router), or have a plastic housing.  I've considered ripping apart an older piece of equipment that has a 3.5mm stereo jack, but don't know exactly how I would go about fixing it to the router to prevent it from falling inside the router when I try to plug it in.

I'm also becoming a little skeptical of what I'm going to be able to do once it's installed.  As of right now, I see myself installing it, establishing a TTL session, and then staring at the screen wondering what to do next.  :P  Although, I still think I'm going to go through with it.  At most I MIGHT be able to recompile the Linksys source with another FTP server, but that will probably take months.  Hopefully, that will be a step in the right direction for learning something useful to be able to contribute in some way to these forums (or this project).  I'm afraid that what is required to get OPENWRT working on this router is WAY over my head for the time being.  Other than a few shell scripts and some extremely basic HTML tagging, I've got no experience with programming (if those even count).

Anyway, here's the links for the cables I'm looking at:

3.3v: (TTL-232R-3V3-AJ )- http://apple.clickandbuild.com/cnb/shop … egoryID=47
5v: (TTL-232R-AJ)- http://apple.clickandbuild.com/cnb/shop … egoryID=47

I can't find any other seller for these cables, and shipping it overseas won’t help the cost.  Are either of these the same cable you are using?  If so, do you know if their drivers work for XP 64?  I’m not seeing FT232RQ listed anywhere in the supported devices column, only FT232R is listed…

I really appreciate the fact that you all have even acknowledged my existence, much less engaged in a conversation with me.  It is a nice and fuzzy feeling, unlike my experience at another "open source" firmware forum...  :P    Thanks.

5arge,
I ordered TTL-232R-3V3-AJ from the same online retailer and it took about a week to get it to Canada.

The cable was easily recognised by XP no other issues then normal USB to serial converters was encountered.

Regards,
/Carl

hi everyone,
i am following this thread (and the one in dd-wrt forum) for a while and decided to build the linksys firmware ... maybe get an ssh/telnet daemon in there to figure out why the samba server doesnt really work ...

so i got the wrt610n source package (wrt610n_v1.00.00.018_us) ... oh ... no tool chain.
luckily looking through the scripts i found some references to the wrt350n.
hmm ... one of the wrt350n source packages (wrt350n_v1.03.7_us) is about 700mb ... and voila ... it includes the toolchain.
after setting some paths it starts to compile a while ... but then, i suppose it s the linker ...

wrt350n_v1.03.7_us/tools/brcm/hndtools-mipsel-linux/bin/../lib/gcc-lib/mipsel-linux/3.2.3/../../../../mipsel-linux/lib/crt1.o: In function `__start':
wrt350n_v1.03.7_us/tools/brcm/hndtools-mipsel-linux/bin/../lib/gcc-lib/mipsel-linux/3.2.3/../../../../mipsel-linux/lib/crt1.o(.text+0x18): undefined reference to `main'

and a lot more undefined references to various functions calls ...

has anyone been more succesful?

Thanks

You want the 3.3volt cable.  See the WRTSL54GS hardware Wiki page.

http://wiki.openwrt.org/OpenWrtDocs/Har … ef59391468

The idea came from JimWright and netprince in some other forum thread.

I ordered a half-dozen 3V3 cables.  I keep one in my laptop bag.   I do some WISP work and really critical routers in the field I might leave the cable with the router in case someone else needs to connect up and debug some problem.

I don't recall any trouble with the driver I think Windows found it?  But it's been a while since I connected a cable to a new laptop.  I don't have any 64-bit Windows boxes so I have no idea what problems might present there.   When I get home I will dig in my drivers folder and see if there is an INFO file or something with version info or other data.

When you hook console up to stock router, you do get a ROOT SHELL if you hit enter, so you can poke around in Linksys functional firmware and work out a great many things about the hardware from there.  We explored the SL in much detail, I'd like to see the WRT610n Wiki page with that much information in perhaps 2 months.

Awesome! That webpage contained all the information I needed.

I've ordered the cable, and Fry's has the plug in stock at a local store.

If it doesn't work under XP 64, I can always use an XP 32 virtual machine.  This has worked with my other standard USB to Serial cable, although it was quite unreliable...something's better than nothing though right?

Thanks again.

Regarding the driver for the serial cable:

Windows says it's FTDI 5/19/2006 version 2.0.0.0

And it's digitally signed Microsoft Windows Hardware Compatibility

The chip used has been in dozens of USB-serial devices for years.

@ Sentenza:  I assume you were using the BCM57XX Linux tg3 driver released on 9/12/08 when trying to compile.  The readme says that they are compatible with the 2.6 kernel...  You know much more about this stuff than I do, so I'm sure this is the release you used, but I'd kick myself if I didn't say anything and an older driver versions were the cause of the compiling problems.  Here's a link to the version I'm referencing  (thanks to rbolen70 over at DD-WRT): http://www.broadcom.com/docs/driver_dow … -3.92e.zip

@ Vincent:  Great.  Compatibility doesn't look like it should be a problem then.

Trivia:

With both radios turned off the WRT610n uses 4 Watts power
Measured with a Watts Up?

Heh, interesting.  I'd never heard of Watts Up?  They look like pretty neat tools.  I might need one once I graduate...help prove one of the benefits of server consolidation  :P

The new one is neat...built in web server.  Thats fancy!

5arge wrote:

@ Sentenza:  I assume you were using the BCM57XX Linux tg3 driver released on 9/12/08 when trying to compile.  The readme says that they are compatible with the 2.6 kernel...  You know much more about this stuff than I do, so I'm sure this is the release you used, but I'd kick myself if I didn't say anything and an older driver versions were the cause of the compiling problems.  Here's a link to the version I'm referencing  (thanks to rbolen70 over at DD-WRT): http://www.broadcom.com/docs/driver_dow … -3.92e.zip

Hi 5arge,

I've use the tg3 driver present in kernel, not the broadcom one, but I think they are really close. I'll give it a try, but I don't have much hope in it, as there is no reference at all to the silicon backplane functions, however the chip is connected via SSB...

What would be great is to manage to get a more recent 2.6 as the current profile use a 2.6.25, so perhaps more recent versions would give better results...

Anyway, thanks for the info...

I still did not manage to get a 2.4 profile to build... but keep trying...

WRT610n will be in hands of one of the developers in about a week I think.

Sorry, posts 76 to 75 are missing from our archive.