Hi there,

The Edimax 3G-6210n[1] is a small Router with a battery, 100MBit,
bgn-WLAN, USB for 3G sticks. It's running Linux 2.6.16[2] and I
managed to get a shell on the box for some investigation.

Porting OpenWRT might turn into a somewhat bigger task, this might
end up in a new target (str9100?). 

So, this mail is basically:

* Are you (i.e. the OpenWRT project) interested in supporting this
  hardware?
* If yes, where do I go from here? Provide a new entry in
  <http://wiki.openwrt.org/toh/start#work.in.progress>?

Next goal: Make the bootloader (Uboot) boot from an USB flash drive
(just the way Jeff Doozan did with the DockStar). For obvious reasons:
Testing a new kernel without the risk of bricking the flash. If
there's an obvious way to do this, let my know. I miss fw_setenv :)

Some data attached below. Feel free to ask for more.

    Christoph

[1] http://www.edimax.com/en/produce_detail.php?pd_id=330&pl1_id=1&pl2_id=2
[2] Sources for Kernel and GPL-userland are provided.

# uname -a
Linux (none) 2.6.16-star #1419 Thu Jun 17 17:24:02 CST 2010 armv4l unknown

# cat /proc/cpuinfo 
Processor       : FA526id(wb) rev 1 (v4l)
BogoMIPS        : 153.60
Features        : swp half 
CPU implementer : 0x66
CPU architecture: 4
CPU variant     : 0x0
CPU part        : 0x526
CPU revision    : 1
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format B
Cache format    : Harvard
I size          : 16384
I assoc         : 2
I line length   : 16
I sets          : 512
D size          : 16384
D assoc         : 2
D line length   : 16
D sets          : 512

Hardware        : STAR STR9100
Revision        : 0000
Serial          : 0000000000000000


NB: This CPU does _not_ have thumb interworking support.


dmesg:

<5>Linux version 2.6.16-star ([email protected]) (gcc version 3.4.6) #1419 
Thu Jun 17 17:24:02 CST 2010
<4>CPU: FA526id(wb) [66015261] revision 1 (ARMv4)
<4>Machine: STAR STR9100
<4>Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 8192
<7>  DMA zone: 8192 pages, LIFO batch:1
<7>  DMA32 zone: 0 pages, LIFO batch:0
<7>  Normal zone: 0 pages, LIFO batch:0
<7>  HighMem zone: 0 pages, LIFO batch:0
<4>CPU0: D VIVT write-back cache
<4>CPU0: I cache: 16384 bytes, associativity 2, 16 byte lines, 512 sets
<4>CPU0: D cache: 16384 bytes, associativity 2, 16 byte lines, 512 sets
<4>CPU clock at 200MHz
<4>AHB clock at 100MHz
<4>APB clock at 50MHz
<4>Built 1 zonelists
<5>Kernel command line: root=/dev/mtdblock3
<4>PID hash table entries: 256 (order: 8, 4096 bytes)
<4>Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
<4>Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>Memory: 32MB = 32MB total
<5>Memory: 29788KB available (2252K code, 251K data, 100K init)
<7>Calibrating delay loop... 153.60 BogoMIPS (lpj=768000)
<4>Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
<6>NET: Registered protocol family 16
<4>PCI clock at 33M
<6>PCI: bus0: Fast back to back transfers disabled
<4>PCI Bridge found
<4>PCI map irq: 00:00.00 slot 0, pin 1, irq: 0
<5>SCSI subsystem initialized
<6>usbcore: registered new driver usbfs
<6>usbcore: registered new driver hub
<6>Bluetooth: Core ver 2.8
<6>NET: Registered protocol family 31
<6>Bluetooth: HCI device and connection manager initialized
<6>Bluetooth: HCI socket layer initialized
<6>squashfs: version 3.4 (2008/08/26) Phillip Lougher
<6>Initializing Cryptographic API
<6>io scheduler noop registered
<6>io scheduler deadline registered (default)
<4>***********Init LED Driver*****************
<4>Init GPIO Interrupt
<4>***********Init LED Driver Finishing*****************
<6>LED & GPIO & LAN Status Driver LED_VERSION 
<4>GPIO interrupt handler install ok. 
<6>Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
<6>serial8250: ttyS0 at MMIO 0x78000000 (irq = 10) is a 16550A
<4>VLAN0_VLAN_TAG: 0
<6>PPP generic driver version 2.4.2
<6>PPP BSD Compression module registered
<6>PPP MPPE Compression module registered
<6>NET: Registered protocol family 24
<4>rdm_major = 254
<6>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
<6>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
<6>STR9100 NOR Flash: Found 1 x16 devices at 0x0 in 16-bit bank
<7>STR9100 NOR Flash: Found an alias at 0x400000 for the chip at 0x0
<4> Amd/Fujitsu Extended Query Table at 0x0040
<5>number of CFI chips: 1
<5>cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
<5>Creating 5 MTD partitions on "STR9100 NOR Flash":
<5>0x00000000-0x00040000 : "ARMBOOT"
<5>0x00040000-0x001a0000 : "Linux Kernel1"
<5>0x001a0000-0x003e0000 : "ROOT FS1"
<5>0x003e0000-0x00400000 : "Configs"
<5>0x00040000-0x003e0000 : "Upgrade"
<6>block2mtd: version $Revision: 1.30 $
<5>usbmon: debugfs is not available
<7>ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
<6>str9100-ehci str9100-ehci: str9100-ehci
<7>str9100-ehci str9100-ehci: reset hcs_params 0x101202 dbg=1 cc=1 pcc=2 
ordered !ppc ports=2
<7>str9100-ehci str9100-ehci: reset hcc_params 7070 thresh 7 uframes 1024
<7>drivers/usb/core/inode.c: creating file 'devices'
<7>drivers/usb/core/inode.c: creating file '001'
<6>str9100-ehci str9100-ehci: new USB bus registered, assigned bus number 1
<6>str9100-ehci str9100-ehci: irq 24, io mem 0xcc000000
<7>str9100-ehci str9100-ehci: reset command 080002 (park)=0 ithresh=8 
period=1024 Reset HALT
<7>str9100-ehci str9100-ehci: init command 010001 (park)=0 ithresh=1 
period=1024 RUN
<6>str9100-ehci str9100-ehci: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
<7>usb usb1: default language 0x0409
<7>usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
<6>usb usb1: Product: str9100-ehci
<6>usb usb1: Manufacturer: Linux 2.6.16-star ehci_hcd
<6>usb usb1: SerialNumber: str9100-ehci
<7>usb usb1: uevent
<7>usb usb1: uevent
<7>usb usb1: device is self-powered
<6>usb usb1: configuration #1 chosen from 1 choice
<7>usb usb1: adding 1-0:1.0 (config #1, interface 0)
<7>usb 1-0:1.0: uevent
<7>hub 1-0:1.0: usb_probe_interface
<7>hub 1-0:1.0: usb_probe_interface - got id
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 2 ports detected
<7>hub 1-0:1.0: standalone hub
<7>hub 1-0:1.0: no power switching (usb 1.0)
<7>hub 1-0:1.0: individual port over-current protection
<7>hub 1-0:1.0: Single TT
<7>hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
<7>hub 1-0:1.0: power on to power good time: 20ms
<7>hub 1-0:1.0: local power source is good
<7>hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
<7>drivers/usb/core/inode.c: creating file '001'
<7>ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
<7>str9100-ehci str9100-ehci: GetStatus port 1 status 001803 POWER sig=j CSC 
CONNECT
<7>hub 1-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
<4>ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver 
(STR9100)
<7>ohci_hcd: block sizes: ed 64 td 64
<6>str9100-ohci str9100-ohci: str9100-ohci
<7>drivers/usb/core/inode.c: creating file '002'
<6>str9100-ohci str9100-ohci: new USB bus registered, assigned bus number 2
<6>str9100-ohci str9100-ohci: irq 23, io mem 0xc4000000
<7>str9100-ohci str9100-ohci: resetting from state 'reset', control = 0x0
<7>str9100-ohci str9100-ohci: enabling initreset quirk
<7>str9100-ohci str9100-ohci: OHCI controller state
<7>str9100-ohci str9100-ohci: OHCI 1.0, NO legacy support registers
<7>str9100-ohci str9100-ohci: control 0x083 HCFS=operational CBSR=3
<7>str9100-ohci str9100-ohci: cmdstatus 0x00000 SOC=0
<7>str9100-ohci str9100-ohci: intrstatus 0x00000004 SF
<7>str9100-ohci str9100-ohci: intrenable 0x8000000a MIE RD WDH
<7>str9100-ohci str9100-ohci: hcca frame #0003
<7>str9100-ohci str9100-ohci: roothub.a 01000202 POTPGT=1 NPS NDP=2(2)
<7>str9100-ohci str9100-ohci: roothub.b 00000000 PPCM=0000 DR=0000
<7>str9100-ohci str9100-ohci: roothub.status 00008000 DRWE
<7>str9100-ohci str9100-ohci: roothub.portstatus [0] 0x00000100 PPS
<7>str9100-ohci str9100-ohci: roothub.portstatus [1] 0x00000100 PPS
<7>str9100-ohci str9100-ohci: created debug files
<7>usb usb2: default language 0x0409
<7>usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
<6>usb usb2: Product: str9100-ohci
<6>usb usb2: Manufacturer: Linux 2.6.16-star ohci_hcd
<6>usb usb2: SerialNumber: str9100-ohci
<7>usb usb2: uevent
<7>usb usb2: device is self-powered
<6>usb usb2: configuration #1 chosen from 1 choice
<7>usb usb2: adding 2-0:1.0 (config #1, interface 0)
<7>usb 2-0:1.0: uevent
<7>hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
<7>hub 2-0:1.0: usb_probe_interface
<7>hub 2-0:1.0: usb_probe_interface - got id
<6>hub 2-0:1.0: USB hub found
<6>hub 2-0:1.0: 2 ports detected
<7>hub 2-0:1.0: standalone hub
<7>hub 2-0:1.0: no power switching (usb 1.0)
<7>hub 2-0:1.0: global over-current protection
<7>hub 2-0:1.0: power on to power good time: 2ms
<7>hub 2-0:1.0: local power source is good
<7>hub 2-0:1.0: no over-current condition exists
<7>str9100-ehci str9100-ehci: port 1 high speed
<7>str9100-ehci str9100-ehci: GetStatus port 1 status 001005 POWER sig=se0 PE 
CONNECT
<6>usb 1-1: new high speed USB device using str9100-ehci and address 2
<7>drivers/usb/core/inode.c: creating file '001'
<7>ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
<7>ohci_hcd: block sizes: ed 64 td 64
<6>Bluetooth: HCI USB driver ver 2.9
<7>str9100-ehci str9100-ehci: port 1 high speed
<7>str9100-ehci str9100-ehci: GetStatus port 1 status 001005 POWER sig=se0 PE 
CONNECT
<7>usb 1-1: default language 0x0409
<7>usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3
<6>usb 1-1: Product: 802.11 n WLAN
<6>usb 1-1: Manufacturer: Ralink
<6>usb 1-1: SerialNumber: 1.0
<7>usb 1-1: uevent
<7>usb 1-1: device is bus-powered
<6>usb 1-1: configuration #1 chosen from 1 choice
<7>usb 1-1: adding 1-1:1.0 (config #1, interface 0)
<7>usb 1-1:1.0: uevent
<7>drivers/usb/core/inode.c: creating file '002'
<7>hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0000
<6>usbcore: registered new driver hci_usb
<4>u32 classifier
<4>    Perfomance counters on
<4>Netfilter messages via NETLINK v0.30.
<6>NET: Registered protocol family 2
<4>IP route cache hash table entries: 512 (order: -1, 2048 bytes)
<4>TCP established hash table entries: 2048 (order: 1, 8192 bytes)
<4>TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
<6>TCP: Hash tables configured (established 2048 bind 2048)
<6>TCP reno registered
<4>ip_conntrack version 2.4 (256 buckets, 2048 max) - 240 bytes per conntrack
<4>ctnetlink v0.90: registering with nfnetlink.
<4>ip_tables: (C) 2000-2006 Netfilter Core Team
<6>ipt_recent v0.3.1: Stephen Frost <[email protected]>.  
http://snowman.net/projects/ipt_recent/
<5>ClusterIP Version 0.8 loaded successfully
<4>arp_tables: (C) 2002 David S. Miller
<6>TCP bic registered
<6>NET: Registered protocol family 1
<6>NET: Registered protocol family 17
<6>Bluetooth: L2CAP ver 2.8
<6>Bluetooth: L2CAP socket layer initialized
<6>Bluetooth: BNEP (Ethernet Emulation) ver 1.2
<6>Bluetooth: BNEP filters: protocol multicast
<4>VFS: Mounted root (squashfs filesystem) readonly.
<6>Freeing init memory: 100K

Attachment: signature.asc
Description: Digital signature

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to