OpenWrt Forum Archive

Topic: Mikrotik 435G ethernet ans usb

The content of this topic has been archived on 3 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello to all of the members of openWrt forum.

I am new to OpenWrt and have some troubles with it on the Mikrotik RouterBoard 435G. I successfully built my kernel image and boot into it from the network (dhcpd, tftp onm slackware).
Now I wish to install it permanently into the nand with root partition on the USB flsah memory. The problem is that I cannot see none of my ethernet interfaces.

root@OpenWrt:/etc/init.d# ifconfig -a                                                                                                                                               
lo        Link encap:Local Loopback                                                                                                                                                 
          inet addr:127.0.0.1  Mask:255.0.0.0                                                                                                                                       
          UP LOOPBACK RUNNING  MTU:16436  Metric:1                                                                                                                                 
          RX packets:42864 errors:0 dropped:0 overruns:0 frame:0                                                                                                                   
          TX packets:42864 errors:0 dropped:0 overruns:0 carrier:0                                                                                                                 
          collisions:0 txqueuelen:0                                                                                                                                                 
          RX bytes:2914752 (2.7 MiB)  TX bytes:2914752 (2.7 MiB) 

And the next problem is that I cannot see the USB connected to the routerboard either.

[    0.000000] Linux version 2.6.39.4 (zoltan@mail) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #8 Sat Dec 31 21:29:47 CET 2011                             
[    0.000000] prom: fw_arg0=00000008, fw_arg1=a0871c00, fw_arg2=00000000, fw_arg3=00000000                                                                                         
[    0.000000] MyLoader: sysp=6b3eff77, boardp=7ee7ff8f, parts=b7f6ffff                                                                                                             
[    0.000000] bootconsole [early0] enabled                                                                                                                                         
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)                                                                                                                                
[    0.000000] SoC: Atheros AR7161 rev 2                                                                                                                                            
[    0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz                                                                                                
[    0.000000] Determined physical RAM map:                                                                                                                                         
[    0.000000]  memory: 10000000 @ 00000000 (usable)                                                                                                                                
[    0.000000] User-defined physical RAM map:                                                                                                                                       
[    0.000000]  memory: 10000000 @ 00000000 (usable)                                                                                                                                
[    0.000000] Initrd not found or empty - disabling initrd                                                                                                                         
[    0.000000] Zone PFN ranges:                                                                                                                                                     
[    0.000000]   Normal   0x00000000 -> 0x00010000                                                                                                                                  
[    0.000000] Movable zone start PFN for each node                                                                                                                                 
[    0.000000] early_node_map[1] active PFN ranges                                                                                                                                  
[    0.000000]     0: 0x00000000 -> 0x00010000                                                                                                                                      
[    0.000000] On node 0 totalpages: 65536                                                                                                                                          
[    0.000000] free_area_init_node: node 0, pgdat 802dd270, node_mem_map 81000000                                                                                                   
[    0.000000]   Normal zone: 512 pages used for memmap                                                                                                                             
[    0.000000]   Normal zone: 0 pages reserved                                                                                                                                      
[    0.000000]   Normal zone: 65024 pages, LIFO batch:15                                                                                                                            
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768                                                                                                                        
[    0.000000] pcpu-alloc: [0] 0                                                                                                                                                    
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024                                                                                           
[    0.000000] Kernel command line:  console=ttyS0,115200 gpio=4031 HZ=340000000 mem=256M kmac=00:0C:42:EC:3F:99 board=435G boot=1 mlc=2 rootfstype=squashfs,yaffs,jffs2 noinitrd   
[    0.000000] MIPS: no machine found for id '435G', supported machines:                                                                                                            
[    0.000000] id                       name                                                                                                                                        
[    0.000000] Generic                  Generic AR71xx board                                                                                                                        
[    0.000000] ALL0258N                 Allnet ALL0258N                                                                                                                             
[    0.000000] AP121-MINI               Atheros AP121-MINI                                                                                                                          
[    0.000000] AP121                    Atheros AP121                                                                                                                               
[    0.000000] AP81                     Atheros AP81                                                                                                                                
[    0.000000] AP83                     Atheros AP83                                                                                                                                
[    0.000000] AP96                     Atheros AP96                                                                                                                                
[    0.000000] AW-NR580                 AzureWave AW-NR580                                                                                                                          
[    0.000000] DB120                    Atheros DB120                                                                                                                               
[    0.000000] DIR-600-A1               D-Link DIR-600 rev. A1                                                                                                                      
[    0.000000] DIR-615-C1               D-Link DIR-615 rev. C1                                                                                                                      
[    0.000000] DIR-825-B1               D-Link DIR-825 rev. B1                                                                                                                      
[    0.000000] EAP7660D                 Senao EAP7660D                                                                                                                              
[    0.000000] JA76PF                   jjPlus JA76PF                                                                                                                               
[    0.000000] JWAP003                  jjPlus JWAP003                                                                                                                              
[    0.000000] HORNET-UB                ALFA NETWORKS Hornet-UB                                                                                                                     
[    0.000000] MZK-W04NU                Planex MZK-W04NU                                                                                                                            
[    0.000000] MZK-W300NH               Planex MZK-W300NH                                                                                                                           
[    0.000000] NBG460N                  Zyxel NBG460N/550N/550NH                                                                                                                    
[    0.000000] OM2P                     OpenMesh OM2P                                                                                                                               
[    0.000000] PB42                     Atheros PB42                                                                                                                                
[    0.000000] PB44                     Atheros PB44                                                                                                                                
[    0.000000] PB92                     Atheros PB92                                                                                                                                
[    0.000000] 493G                     MikroTik RouterBOARD 493G                                                                                                                   
[    0.000000] 493                      MikroTik RouterBOARD 493/AH                                                                                                                 
[    0.000000] 450G                     MikroTik RouterBOARD 450G                                                                                                                   
[    0.000000] 450                      MikroTik RouterBOARD 450                                                                                                                    
[    0.000000] 433U                     MikroTik RouterBOARD 433UAH                                                                                                                 
[    0.000000] 433                      MikroTik RouterBOARD 433/AH                                                                                                                 
[    0.000000] 411U                     MikroTik RouterBOARD 411U                                                                                                                   
[    0.000000] 411                      MikroTik RouterBOARD 411/A/AH                                                                                                               
[    0.000000] 750i                     MikroTik RouterBOARD 750                                                                                                                    
[    0.000000] TEW-632BRP               TRENDnet TEW-632BRP                                                                                                                         
[    0.000000] TL-MR3420                TP-LINK TL-MR3420                                                                                                                           
[    0.000000] TL-MR3220                TP-LINK TL-MR3220                                                                                                                           
[    0.000000] TL-WA901ND               TP-LINK TL-WA901ND                                                                                                                          
[    0.000000] TL-WA901ND-v2            TP-LINK TL-WA901ND v2                                                                                                                       
[    0.000000] TL-WR741ND               TP-LINK TL-WR741ND                                                                                                                          
[    0.000000] TL-WR741ND-v4            TP-LINK TL-WR741ND v4                                                                                                                       
[    0.000000] TL-WR841N-v1.5           TP-LINK TL-WR841N v1                                                                                                                        
[    0.000000] TL-WR941ND               TP-LINK TL-WR941ND                                                                                                                          
[    0.000000] TL-WR1043ND              TP-LINK TL-WR1043ND                                                                                                                         
[    0.000000] TL-WR703N                TP-LINK TL-WR703N v1                                                                                                                        
[    0.000000] UBNT-XM                  Ubiquiti UniFi                                                                                                                              
[    0.000000] UBNT-AR                  Ubiquiti AirRouter                                                                                                                          
[    0.000000] UBNT-NM                  Ubiquiti Nanostation M                                                                                                                      
[    0.000000] UBNT-RM                  Ubiquiti Rocket M                                                                                                                           
[    0.000000] UBNT-BM                  Ubiquiti Bullet M                                                                                                                           
[    0.000000] UBNT-LS-SR71             Ubiquiti LS-SR71                                                                                                                            
[    0.000000] UBNT-LSX                 Ubiquiti LSX                                                                                                                                
[    0.000000] UBNT-RSPRO               Ubiquiti RouterStation Pro                                                                                                                  
[    0.000000] UBNT-RS                  Ubiquiti RouterStation                                                                                                                      
[    0.000000] WHR-HP-GN                Buffalo WHR-HP-GN                                                                                                                           
[    0.000000] WHR-G301N                Buffalo WHR-G301N                                                                                                                           
[    0.000000] WHR-HP-G300N             Buffalo WHR-HP-G300N                                                                                                                        
[    0.000000] WNDR3700                 NETGEAR WNDR3700/WNDR3800/WNDRMAC                                                                                                           
[    0.000000] WNR2000                  NETGEAR WNR2000                                                                                                                             
[    0.000000] WP543                    Compex WP543                                                                                                                                
[    0.000000] WRT160NL                 Linksys WRT160NL                                                                                                                            
[    0.000000] WRT400N                  Linksys WRT400N                                                                                                                             
[    0.000000] WZR-HP-G300NH            Buffalo WZR-HP-G300NH                                                                                                                       
[    0.000000] WZR-HP-G300NH2           Buffalo WZR-HP-G300NH2                                                                                                                      
[    0.000000] WZR-HP-AG300H            Buffalo WZR-HP-AG300H                                                                                                                       
[    0.000000] WZR-HP-G450H             Buffalo WZR-HP-G450H                                                                                                                        
[    0.000000] ZCN-1523H-5              Zcomax ZCN-1523H-5                                                                                                                          
[    0.000000] ZCN-1523H-2              Zcomax ZCN-1523H-2                                                                                                                          
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)                                                                                                                  
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)                                                                                                      
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)                                                                                                        
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.                                                                                                      
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes                                                                                               
[    0.000000] Writing ErrCtl register=00000000                                                                                                                                     
[    0.000000] Readback ErrCtl register=00000000                                                                                                                                    
[    0.000000] Memory: 254244k/262144k available (2122k kernel code, 7900k reserved, 428k data, 2568k init, 0k highmem)                                                             
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1                                                                                               
[    0.000000] NR_IRQS:80                                                                                                                                                           
[    0.000000] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)                                                                                                              
[    0.060000] pid_max: default: 32768 minimum: 301                                                                                                                                 
[    0.060000] Mount-cache hash table entries: 512                                                                                                                                  
[    0.070000] NET: Registered protocol family 16                                                                                                                                   
[    0.070000] MIPS: machine is Generic AR71xx board                                                                                                                                
[    0.080000] bio: create slab <bio-0> at 0                                                                                                                                        
[    0.090000] Switching to clocksource MIPS                                                                                                                                        
[    0.090000] NET: Registered protocol family 2                                                                                                                                    
[    0.100000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)                                                                                                       
[    0.100000] TCP established hash table entries: 8192 (order: 4, 65536 bytes)                                                                                                     
[    0.110000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)                                                                                                            
[    0.110000] TCP: Hash tables configured (established 8192 bind 8192)                                                                                                             
[    0.120000] TCP reno registered                                                                                                                                                  
[    0.120000] UDP hash table entries: 256 (order: 0, 4096 bytes)                                                                                                                   
[    0.130000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                                                                                                              
[    0.130000] NET: Registered protocol family 1                                                                                                                                    
[    0.140000] PCI: CLS 0 bytes, default 32                                                                                                                                         
[    2.940000] squashfs: version 4.0 (2009/01/31) Phillip Lougher                                                                                                                   
[    2.950000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.                                                                       
[    2.960000] yaffs built Dec 30 2011 15:20:47 Installing.                                                                                                                         
[    2.960000]                                                                                                                                                                      
[    2.960000]                                                                                                                                                                      
[    2.960000]                                                                                                                                                                      
[    2.960000]                                                                                                                                                                      
[    2.960000] YAFFS-WARNING CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED selected.                                                                                                       
[    2.960000]                                                                                                                                                                      
[    2.960000]                                                                                                                                                                      
[    2.960000]                                                                                                                                                                      
[    2.960000] msgmni has been set to 496                                                                                                                                           
[    2.960000] io scheduler noop registered                                                                                                                                         
[    2.960000] io scheduler deadline registered (default)                                                                                                                           
[    2.970000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled                                                                                                             
[    3.000000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A                                                                                                        
[    3.000000] console [ttyS0] enabled, bootconsole disabled                                                                                                                        
[    3.010000] Atheros AR71xx SPI Controller driver version 0.2.4                                                                                                                   
[    3.030000] Atheros AR71xx hardware watchdog driver version 0.1.0                                                                                                                
[    3.030000] ar71xx-wdt: timeout=15 secs (max=25)                                                                                                                                 
[    3.030000] TCP westwood registered                                                                                                                                              
[    3.040000] NET: Registered protocol family 17                                                                                                                                   
[    3.040000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>                                                                                                        
[    3.050000] All bugs added by David S. Miller <davem@redhat.com>                                                                                                                 
[    3.070000] Freeing unused kernel memory: 2568k freed                                                                                                                            
[    3.410000] Button Hotplug driver version 0.4.1                                                                                                                                  
[    6.830000] SCSI subsystem initialized                                                                                                                                           
[    6.930000] usbcore: registered new interface driver usbfs                                                                                                                       
[    6.930000] usbcore: registered new interface driver hub                                                                                                                         
[    6.940000] usbcore: registered new device driver usb                                                                                                                            
[    7.000000] PPP generic driver version 2.4.2                                                                                                                                     
[    7.080000] ip_tables: (C) 2000-2006 Netfilter Core Team                                                                                                                         
[    7.170000] NET: Registered protocol family 24                                                                                                                                   
[    7.260000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                                                                                                           
[    7.330000] nf_conntrack version 0.5.0 (4012 buckets, 16048 max)                                                                                                                 
[    7.520000] ath_hal: module license 'Proprietary' taints kernel.                                                                                                                 
[    7.520000] Disabling lock debugging due to kernel taint                                                                                                                         
[    7.550000] ath_hal: 2009-05-08 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, XR)                                                
[    7.600000] ath_pci: trunk                                                                                                                                                       
[    7.600000] wlan: trunk                                                                                                                                                          
[    7.610000] wlan: mac acl policy registered                                                                                                                                      
[    7.610000] ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)                                                                                             
[    7.620000] ath_rate_minstrel: look around rate set to 10%                                                                                                                       
[    7.620000] ath_rate_minstrel: EWMA rolloff level set to 75%                                                                                                                     
[    7.630000] ath_rate_minstrel: max segment size in the mrr set to 6000 us                                                                                                        
[    7.660000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver                                                                                                               
[    7.680000] uhci_hcd: USB Universal Host Controller Interface driver                                                                                                             
[    7.750000] Initializing USB Mass Storage driver...                                                                                                                              
[    7.750000] usbcore: registered new interface driver usb-storage                                                                                                                 
[    7.760000] USB Mass Storage support registered.                                                                                                                                 
[   10.580000] ar71xx-wdt: enabling watchdog timer

Usually when I connect an usb flash memory (to my linux desktop) dmesg will show an event about it - that new usb device was connected. Here nothing happens - after the last line there should be something (I connected an USB device). I posted the complete dmesg, maybe there is something wrong with the basic kernel (openwrt) configuration.
Here are the loaded modules:

root@OpenWrt:/dev# lsmod                                                                                                                                                            
Module                  Size  Used by    Tainted: P                                                                                                                                 
usb_storage            32864  0                                                                                                                                                     
uhci_hcd               17296  0                                                                                                                                                     
ohci_hcd               15984  0                                                                                                                                                     
ath_pci               271248  0                                                                                                                                                     
ath_hal               293744  1 ath_pci                                                                                                                                             
nf_nat_irc               784  0                                                                                                                                                     
nf_conntrack_irc        2496  1 nf_nat_irc                                                                                                                                          
nf_nat_ftp               976  0                                                                                                                                                     
nf_conntrack_ftp        4416  1 nf_nat_ftp                                                                                                                                          
ipt_MASQUERADE           944  1                                                                                                                                                     
iptable_nat             2128  1                                                                                                                                                     
nf_nat                  9984  4 nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat                                                                                                    
xt_CT                   1072  0                                                                                                                                                     
xt_conntrack            2080  3                                                                                                                                                     
xt_NOTRACK               464  0                                                                                                                                                     
iptable_raw              560  1                                                                                                                                                     
xt_state                 624  0                                                                                                                                                     
nf_conntrack_ipv4       3824  6 iptable_nat,nf_nat                                                                                                                                  
nf_defrag_ipv4           624  1 nf_conntrack_ipv4                                                                                                                                   
nf_conntrack           36656 12 nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_CT,xt_conntrack,xt_NOTRACK,xt_state,nf_conntrack_ipv4  
ehci_hcd               31616  0                                                                                                                                                     
sd_mod                 21952  0                                                                                                                                                     
pppoe                   7184  0                                                                                                                                                     
pppox                   1152  1 pppoe                                                                                                                                               
ipt_REJECT              1840  2                                                                                                                                                     
xt_TCPMSS               1968  0                                                                                                                                                     
ipt_LOG                 6064  0                                                                                                                                                     
xt_comment               416  0                                                                                                                                                     
xt_multiport            1104  0                                                                                                                                                     
xt_mac                   544  0                                                                                                                                                     
xt_limit                 960  1                                                                                                                                                     
iptable_mangle           832  1                                                                                                                                                     
iptable_filter           624  1                                                                                                                                                     
ip_tables               8976  4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter                                                                                               
xt_tcpudp               1616  3                                                                                                                                                     
x_tables               10080 18 ipt_MASQUERADE,iptable_nat,xt_CT,xt_conntrack,xt_NOTRACK,iptable_raw,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,p
ppp_async               5968  0                                                                                                                                                     
ppp_generic            18544  3 pppoe,pppox,ppp_async                                                                                                                               
slhc                    4192  1 ppp_generic                                                                                                                                         
usbcore                96464  5 usb_storage,uhci_hcd,ohci_hcd,ehci_hcd                                                                                                              
scsi_mod               68384  2 usb_storage,sd_mod                                                                                                                                  
nls_base                4544  1 usbcore                                                                                                                                             
crc_ccitt                944  1 ppp_async                                                                                                                                           
leds_gpio               1632  0                                                                                                                                                     
button_hotplug          2672  0                                                                                                                                                     
gpio_keys_polled        2080  0                                                                                                                                                     
input_polldev           2064  1 gpio_keys_polled                                                                                                                                    
input_core             19824  3 button_hotplug,gpio_keys_polled,input_polldev

I will keep trying to identify the problem but if anybody has some idea please post it.
Thanks
---------------------------------------------------------------------------------------------------
UPDATE 2012 5 jan.

It looks like there are lots of kernel patches which has to be applied to the OpenWrt kernel itself. Here is the link which belongs to a similar discussion with the Mikrotik routerBoard 450g:
http://www.nexlab.it/index.php/2009/04/ … ux-part-2/

I compared several patches included in this package. The result is that lot of non existent code should be added to the kernel source. The problem is that the patch (released by the Mikrotik developers) is designed to a different kernel version. So it cannot be applied as it is.

If somebody has progress with this routerboard please post it here.

(Last edited by zoltan on 5 Jan 2012, 18:54)

How did you get bootp working? thanks.

Target System (Atheros AR71xx/AR7240/AR913x/AR934x)  --->
Subtarget (Devices with NAND flash (mostly Mikrotik))  --->
Target Profile (Default Profile (no WiFi))  ---> 
Target Images  ---> ramdisk, cpio.gz, tar.gz
...
dnsmasq-tftp: sent srv/tftp/openwrt-ar71xx-nand-vmlinux-initramfs.elf to 172.17.18.119
...
your choice: e - upgrade firmware over ethernet
trying bootp protocol............. OK
Got IP address: 172.17.18.119
resolved mac address xx:xx:xx:xx:xx
transfer started ...................................... transfer ok, time=1.29s
invalid upgrade file id

any progress on this device? I'm considering buying it

Weedy
I didn't choose the upgrade but just boot from network
So the "your choice: e - upgrade firmware over ethernet" should look like
boot from network.
I was trying to boot from an image which is downloaded from the tftp server. Then I can install the Openwrt into the memory - which is what you are trying to do with your e choice. (I think)

Lepak
Right now I am going to build up some working kernel-source - I am going to find some patches which make the board work with openwrt. I keep posting the results.

Nice, cause it's all on you smile seems nobody else would take this project and device looks promising.

Yes, this device looks promising.
With the usb ports and the microSD you can have a nice storage for fully operational linux. As a matter of fact I really take a fancy with openwrt.
The logic that you compile the userspace apps just as the kernel is nice.

So now I am going to make this steps:

1. I need some usable interface by which I can store the openwrt source the way that I can install it into the NAND memory.
- There are 3 options eth-port, wlan-port or usb. (I think I will try it in this order)

2. Since the size of the bootable elf image is limited you can add more apps and kernel-parts only when openwrt will be installed on NAND.

Hi zoltan,

How is your progress with 535G?

Hello!

I installed Kamikaze from svn://svn.openwrt.org/openwrt/branches/8.09.
Works Ethernet (br0, eth0, eth1). Works Wifi (wifi0, wifi1 - ath_pci). Of the five mini-pci operates two. Not tested how well.
On Monday, I try to test the board.
What's next?

nice thing.. but why only two mini-pci? what's difference to other?

Sorry, no log files.
A total of 5 slots: 1,2,3,4,5.
Insert the card in slot 1 - When booting I get the error "wifi0: request_irq failed"
Slot 2 - request_irq  OK
Slot 3 - error "wifi0: request_irq failed"
Slot 4 - error "wifi0: request_irq failed"
Slot 5 - request_irq OK
therefore, 2 of 5
I want to check if they work in routerOS, only on Monday.

Hi,

Kamokaze 8.09.02 on Mikrotik 435G log:

RouterBOOT booter 2.29

RouterBoard 435G

CPU frequency: 680 MHz
  Memory size: 256 MB

Press any key within 2 seconds to enter setup..
trying bootp protocol... OK
Got IP address: 192.168.6.101
resolved mac address 00:14:D1:10:CC:A4
Gateway: 192.168.6.1
transfer started ............................. transfer ok, time=1.26s
setting up elf image... OK
jumping to kernel code
Linux version 2.6.26.8 (cta@ubuntu10-04) (gcc version 4.1.2) #5 Mon Apr 16 10:32:43 MSD 2012
console [early0] enabled
CPU revision is: 00019374 (MIPS 24K)
Determined physical RAM map:
 memory: 08000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal          0 ->    32768
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->    32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 init=/etc/preinit
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 125540k/131072k available (1771k kernel code, 5436k reserved, 319k data, 1732k init, 0k highmem)
SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
net_namespace: 484 bytes
NET: Registered protocol family 16
MIPS: machine is Generic AR71xx board
registering PCI controller with io_map_base unset
PCI: mapping irq 33 to pin1@0000:00:12.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
yaffs Apr 13 2012 16:57:08 Installing. 
msgmni has been set to 245
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console handover: boot [early0] -> real [ttyS0]
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
eth0: invalid speed specified
ag71xx: probe of ag71xx.0 failed with error -22
eth0: Atheros AG71xx at 0xba000000, irq 5
Atheros AR71xx SPI Controller driver version 0.2.2
m25p80 spi0.0: pm25lv512 (64 Kbytes)
Atheros AR71xx hardware watchdog driver version 0.1.0
TCP vegas registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Freeing unused kernel memory: 1732k freed
Algorithmics/MIPS FPU Emulator v1.5
[sighandler]: No more events to be processed, quitting.
[cleanup]: Waiting for children.
[cleanup]: All children terminated.
- preinit -
Press CTRL-C for failsafe

Please press Enter to activate this console. usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PPP generic driver version 2.4.2
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 2009-05-08 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, XR)
ath_pci: trunk
wlan: trunk
wlan: mac acl policy registered
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi0: Atheros 5212: mem=0x10000000, irq=33
ar71xx-ohci ar71xx-ohci: Atheros AR71xx built-in OHCI controller
ar71xx-ohci ar71xx-ohci: new USB bus registered, assigned bus number 1
ar71xx-ohci ar71xx-ohci: irq 14, io mem 0x1c000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v3.0
ar71xx-ehci ar71xx-ehci: Atheros AR71xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 2
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected



BusyBox v1.11.2 (2012-04-13 16:44:05 MSD) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (8.09.2, r18801) -------------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:42:BF:90:49  
          inet addr:192.168.6.83  Bcast:192.168.6.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:5 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@OpenWrt:/# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

Problem 1:

eth0: Atheros AG71xx at 0xb9000000, irq 4
eth0: invalid speed specified

Problem 2:

ath_hal: module license 'Proprietary' taints kernel.

ath_hal: 2009-05-08 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, XR)

ath_pci: trunk

wlan: trunk

wlan: mac acl policy registered

ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)

ath_rate_minstrel: look around rate set to 10%

ath_rate_minstrel: EWMA rolloff level set to 75%

ath_rate_minstrel: max segment size in the mrr set to 6000 us

PCI: Enabling device 0000:00:14.0 (0000 -> 0002)

wifi0: request_irq failed

How  to fix them?

what about ath5k?

ath5k - the same mistakes - request irq failed

anyone had any progress with this fw?

I tested Kamikaze 8.09.02, I see the ethernet interface but doesn't work. My host can't resolve mac address.
I maked a simple patch for backfire and lastest version in svn. This is result:

USB works. I tested usb ethernet, I need to test mass storage.
MTD is detected, but I have a i/o error on mtdblock2, I dumped a part of RouterOS.
ETH0 and ETH1 is detected but doesn't work as in kamikaze.
Mini-PCI I need test better but doesn't work.
MicroSD I need test better but doesn't work.

Try to put the Attitude Adjustment. Ethernet, usb and pci work.

it does? so it's fully functional?

Try it

I don't actually own the device.. I was going to switch to it from routerstation pro as it's EOL. It was expensive and I can only use it with openwrt.. but if it works.. nice.. I'll start saving for one.

It does work. Everything. I own two devices now.

taoga wrote:

Try to put the Attitude Adjustment. Ethernet, usb and pci work.

With Attitude Adjustment RB435G works very well.

Thank you

The discussion might have continued from here.