OpenWrt Forum Archive

Topic: Openwrt on rb433uah

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

Hi,
I've been trying to install openwrt from sources applying patches described in this post: , and I did it, but when I do network boot there is no NAND flash detected.

I got something like that:

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=00001040
Readback ErrCtl register=00001040
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: 125412k/131072k available (1831k kernel code, 5488k reserved, 327k data, 1716k 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: 644 bytes
NET: Registered protocol family 16
MIPS: machine is MikroTik RouterBOARD 433UAH
registering PCI controller with io_map_base unset
PCI: mapping irq 34 to pin1@0000:00:14.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 Jul  6 2009 18:02:20 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 0xba000000, irq 5
eth1: Atheros AG71xx at 0xb9000000, irq 4
Atheros AR71xx SPI Controller driver version 0.2.2
Atheros AR71xx hardware watchdog driver version 0.1.0
TCP vegas registered
NET: Registered protocol family 17
Bridge firewalling registered
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: 1716k 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. br-lan: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
device eth0 entered promiscuous mode
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
wlan: trunk
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_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
wlan: mac acl policy registered
ath_pci: trunk
PCI: Enabling device 0000:00:14.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 5413: mem=0x10000000, irq=34
eth0: link up (100Mbps/Full duplex)
br-lan: port 1(eth0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state



BusyBox v1.11.2 (2009-07-06 14:05:27 ART) 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.1, r16499) ----------------------------
  * 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:/#

Maybe I'm obviating something at compiling time?

Thanks to all.

dblackbeer

Yes, the same post, I've been following, but I couldn't apply the patch completly. There is a difference in header file ar71xx.h with patch so I did manually.
However I changed  the #if 0 back to #if 1 in the file mach-rb-4xx.c and I got this:

root@OpenWrt:/# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00010000 00001000 "spi0.0"
root@OpenWrt:/#

Maybe I got wrong source revision?

svn -r 16499 co svn://svn.openwrt.org/openwrt/branches/8.09

I solved by using Development branch, with a little modification over potsted patch file.

Regards dblackbber

@dblackbeer
can you post the patch here?

and can it be included in kamikaze-trunk?

Here's the patch. Only ar71xx.h file it looks quite different. The rest is basically the same thing. Finally I left line 72 with no change (#if 0) in mach-rb-4xx.c

Index: target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
===================================================================
--- target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h        (revision 16741)
+++ target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h        (working copy)
@@ -124,7 +124,9 @@
        AR71XX_MACH_AW_NR580,   /* AzureWave AW-NR580 */
        AR71XX_MACH_RB_411,     /* MikroTik RouterBOARD 411/411A/411AH */
        AR71XX_MACH_RB_433,     /* MikroTik RouterBOARD 433/433AH */
+       AR71XX_MACH_RB_433U,     /* MikroTik RouterBOARD 433/433UAH */
        AR71XX_MACH_RB_450,     /* MikroTik RouterBOARD 450 */
+       AR71XX_MACH_RB_450G,     /* MikroTik RouterBOARD 450G */
        AR71XX_MACH_RB_493,     /* Mikrotik RouterBOARD 493/493AH */
        AR71XX_MACH_PB42,       /* Atheros PB42 */
        AR71XX_MACH_PB44,       /* Atheros PB44 */
Index: target/linux/ar71xx/files/arch/mips/ar71xx/prom.c
===================================================================
--- target/linux/ar71xx/files/arch/mips/ar71xx/prom.c   (revision 16741)
+++ target/linux/ar71xx/files/arch/mips/ar71xx/prom.c   (working copy)
@@ -39,10 +39,16 @@
                .name           = "433",
                .mach_type      = AR71XX_MACH_RB_433,
        }, {
-               .name           = "450",
+               .name        = "433U",
+               .mach_type    = AR71XX_MACH_RB_433U,
+       }, {
+               .name           = "450",
                .mach_type      = AR71XX_MACH_RB_450,
        }, {
-               .name           = "493",
+               .+               .mach_type    = AR71XX_MACH_RB_450G,
+       }, {
+               .name           = "493",
                .mach_type      = AR71XX_MACH_RB_493,
        }, {
                .name           = "AP81",
Index: target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c
===================================================================
--- target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c    (revision 16741)
+++ target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c    (working copy)
@@ -72,7 +72,7 @@
        }
 };

-#if 0
+#if 0
 /*
  * SPI device support is experimental
  */
@@ -84,7 +84,8 @@
        {
                .bus_num        = 0,
                .chip_select    = 0,
-               .max_speed_hz   = 25000000,
+               .max_speed_hz    = 33000000,
+               .mode        = SPI_MODE_0,
                .modalias       = "m25p80",
                .platform_data  = &rb4xx_flash_data,
        }
@@ -98,13 +99,15 @@
        {
                .bus_num        = 0,
        = "450G",
                .chip_select    = 0,
-               .max_speed_hz   = 25000000,
+               .max_speed_hz    = 33000000,
+               .mode        = SPI_MODE_0,
                .modalias       = "m25p80",
-               .platform_data  = &rb433_flash_data,
+               .platform_data  = &rb4xx_flash_data,
        }, {
                .bus_num        = 0,
                .chip_select    = 2,
-               .max_speed_hz   = 25000000,
+               .max_speed_hz    = 10000000,
+               .mode        = SPI_MODE_0,
                .modalias       = "mmc_spi",
                .platform_data  = &rb433_mmc_data,
        }
@@ -113,7 +116,6 @@
 static u32 rb433_spi_get_ioc_base(u8 chip_select, int cs_high, int is_on)
 {
        u32 ret;
-
        if (is_on == AR71XX_SPI_CS_INACTIVE) {
                ret = SPI_IOC_CS0 | SPI_IOC_CS1;
        } else {
@@ -205,7 +207,31 @@
 }

 MIPS_MACHINE(AR71XX_MACH_RB_433, "MikroTik RouterBOARD 433/AH", rb433_setup);
+static void __init rb433u_setup(void)
+{
+    rb4xx_generic_setup();
+    rb433_add_device_spi();

+    ar71xx_add_device_mdio(0xffffffe9);
+
+    ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
+    ar71xx_eth0_data.phy_mask = 0x00000006;
+    ar71xx_eth0_data.speed = SPEED_100;
+    ar71xx_eth0_data.duplex = DUPLEX_FULL;
+
+    ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
+    ar71xx_eth1_data.phy_mask = 0x00000010;
+
+    ar71xx_add_device_eth(1);
+    ar71xx_add_device_eth(0);
+
+    ar71xx_add_device_usb();
+
+    ar71xx_pci_init(ARRAY_SIZE(rb4xx_pci_irqs), rb4xx_pci_irqs);
+}
+
+MIPS_MACHINE(AR71XX_MACH_RB_433U, "MikroTik RouterBOARD 433UAH", rb433u_setup);
+
 static void __init rb450_setup(void)
 {
        rb4xx_generic_setup();
@@ -226,7 +252,27 @@
 }

 MIPS_MACHINE(AR71XX_MACH_RB_450, "MikroTik RouterBOARD 450", rb450_setup);
+static void __init rb450g_setup(void)
+{
+    rb4xx_generic_setup();
+    rb4xx_add_device_spi();

+    ar71xx_add_device_mdio(0xffffffe0);
+
+    ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
+    ar71xx_eth0_data.phy_mask = 0x0000000f;
+    ar71xx_eth0_data.speed = SPEED_1000;
+    ar71xx_eth0_data.duplex = DUPLEX_FULL;
+
+    ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
+    ar71xx_eth1_data.phy_mask = 0x00000010;
+
+    ar71xx_add_device_eth(1);
+    ar71xx_add_device_eth(0);
+}
+
+MIPS_MACHINE(AR71XX_MACH_RB_450G, "MikroTik RouterBOARD 450G", rb450g_setup);
+
 static void __init rb493_setup(void)
 {
        rb4xx_generic_setup();

about to apply this patch in kamikaze-trunk I have no idea.

thanks, after booting with this kernel, I get:

$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00040000 "booter"
mtd1: 003c0000 00040000 "kernel"
mtd2: 1fc00000 00040000 "rootfs"

but also I get:

NAND flash driver for RouterBoard 4xx series version 0.1.10
NAND SPI clock 28333 kHz (AHB 170000 kHz / 6)
FLASH SPI clock 28333 kHz (AHB 170000 kHz / 6)
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 1 at 0x00040000
Bad eraseblock 2 at 0x00080000
Bad eraseblock 3 at 0x000c0000
Bad eraseblock 4 at 0x00100000       
...
Bad eraseblock 1993 at 0x1f240000
Creating 3 MTD partitions on "NAND 512MiB 3,3V 8-bit":

is this ok?? or..

I solved making Bios Nand Format. But Wait! check first if your kernel partition mounting it.
I got 60% used space and I cannot allocate elf image on it! And filesystem is empty.

/dev/mtdblock1            3.8M      3.8M         0 100% /mnt
# find /mnt/
/mnt/
/mnt/lost+found

I would make an erase from the "BIOS" but I wanted to backup the RouterOS first, just in case I need it again... I just don't know how?!?

ok then. I erased the NAND from the boot menu, the errors are gone now.
This is what I get when I boot the openwrt initramfs:

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00040000 "booter"
mtd1: 003c0000 00040000 "kernel"
mtd2: 1fc00000 00040000 "rootfs"
root@OpenWrt:/# mount /dev/mtdblock1 /mnt/
yaffs: dev is 32505857 name is "mtdblock1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
yaffs: auto selecting yaffs2
yaffs_read_super: isCheckpointed 0
root@OpenWrt:/# ls /mnt/
lost+found
root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                    62.1M     52.0K     62.1M   0% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock1            3.8M      2.3M      1.5M  60% /mnt
root@OpenWrt:/# find /mnt/
/mnt/
/mnt/lost+found

it's a bit strange that there are no files in /dev/mtdblock1 but still it's 2.3M of 3.8M used

(Last edited by gdamjan on 10 Jul 2009, 13:36)

Yes, I stalled at this point too. I'm taking a look to a yaffs options in kernel config file.

I don´t think that it be marked bad blocks. Both partitions mtdblock1 and mtdblock2 it looks similar too:

root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                    62.1M     40.0K     62.1M   0% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock1            3.8M      2.3M      1.5M  60% /mnt
/dev/mtdblock2          508.0M      2.3M    505.8M   0% /tmp/rootfs

dblackbeer

Another posibility is to achieve a small kernel elf file like 1.5Mb. Can I get this?

Ok, I solved this issue with this dirty patch:

Index: trunk/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
===================================================================
--- trunk/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c       (revision 16778)
+++ trunk/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c       (working copy)
@@ -92,7 +92,7 @@
        {
                .name   = "kernel",
                .offset = (256 * 1024),
-               .size   = (4 * 1024 * 1024) - (256 * 1024),
+               .size   = (8 * 1024 * 1024) - (256 * 1024),
        },
        {
                .name   = "rootfs",

The patch file chages kernel partition size to 8 mb. Anyway we must to report the issue to developers, in both partitions kernel and rootfs I have 2.3 Mb used space despite filesystems are empty.

Now this is my partition table:

root@OpenWrt:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00040000 "booter"
mtd1: 007c0000 00040000 "kernel"
mtd2: 1f800000 00040000 "rootfs"

And here I have mounted kernel partition after booting from nand flash:

root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root               504.0M      9.7M    494.3M   2% /
tmpfs                    62.2M    828.0K     61.4M   1% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock1            7.8M      4.5M      3.2M  58% /mnt

But now I got full running Openwrt on RB433UAH!

Regards dblackbeer

The patch file chages kernel partition size to 8 mb.

is that safe?

Lol

There is no partition table like a disk. I read that partitions are hardcoded in a c file logically and I found it. Happily the routerboard bios isn`t seems has problem with this, I guess that bios doesn`t know anything about partitions addresses. Only need to know where the kernel file is and I left that part with no chages.

Regards
dblackbeer

What image did you install on the rootfs partition?
I've put the squashfs, but it's readonly after reboot ... how do I enable the jffs2 overlay like it's on the WRTs??


EDIT:
ok, I just unpacked openwrt-ar71xx-rootfs.tgz in the mounted rootfs partition:

scp mypc:src/kamikaze_trunk/bin/openwrt-ar71xx-rootfs.tgz /tmp
mount /dev/mtdblock2 /mnt
cd /mnt
tar xzf /tmp/openwrt-ar71xx-rootfs.tgz

I guess that gives me a RW yaffs2 filesystem

(Last edited by gdamjan on 17 Jul 2009, 15:50)

When I passed rootfs with cat  method I had that "readonly" problem. But I formatted nand flash and I did it manually:

mount /dev/mtdblock2 /mnt
tar -xzvf openwrt-ar71xx-rootfs.tgz -C /mnt

it worked for me.

Regards
dblackbeer

Is this mmc_spi error still there in dmesg?

gpio-buttons driver version 0.1.1
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
mmc_spi spi0.2: can't share SPI bus
mmc_spi: probe of spi0.2 failed with error -16

(Last edited by Dogge on 18 Jul 2009, 18:17)

no.

Has anyone made the switch work with the RB433UAH?

I install OpenWRT on a RouterBoard 433 UAH thanks to help from you.

But I do not to work other network interfaces. Only the interface with POE works.

More information below:


My interfaces configuration:

root@OpenWrt:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:0C:42:41:29:7B
          inet addr:192.168.77.1  Bcast:192.168.77.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:656 (656.0 B)  TX bytes:814 (814.0 B)

br-wan    Link encap:Ethernet  HWaddr 00:0C:42:41:29:7C
          inet addr:10.10.10.1  Bcast:10.10.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING 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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 00:0C:42:41:29:7B
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:684 (684.0 B)  TX bytes:814 (814.0 B)
          Interrupt:5

eth1      Link encap:Ethernet  HWaddr 00:0C:42:41:29:7C
          UP BROADCAST RUNNING 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:4

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)


Ping test:

root@OpenWrt:/# ping 192.168.77.254
PING 192.168.77.254 (192.168.77.254): 56 data bytes
64 bytes from 192.168.77.254: seq=0 ttl=64 time=6.739 ms
64 bytes from 192.168.77.254: seq=1 ttl=64 time=0.197 ms
64 bytes from 192.168.77.254: seq=2 ttl=64 time=0.220 ms
64 bytes from 192.168.77.254: seq=3 ttl=64 time=0.194 ms
^C
--- 192.168.23.254 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.194/1.837/6.739 ms


root@OpenWrt:/# ping 10.10.10.20
PING 10.10.10.20 (10.10.10.20): 56 data bytes
^C
--- 10.10.10.20 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss




My dmesg:

ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xba000000, irq 5
eth1: Atheros AG71xx at 0xb9000000, irq 4


I installed the pciutils and ethtool to try to discover the problem but failed.

root@OpenWrt:/# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 4
        Transceiver: external
        Auto-negotiation: on
        Current message level: 0x000000ff (255)
        Link detected: yes

root@OpenWrt:/# ethtool eth1
Settings for eth1:
Cannot get device settings: No such device
        Current message level: 0x000000ff (255)
        Link detected: yes

root@OpenWrt:/# ethtool eth2
Settings for eth2:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available

root@OpenWrt:/# ethtool eth3
Settings for eth3:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available


root@OpenWrt:/# lspci -vv
00:00.0 Non-VGA unclassified device: Device 0700:1107 (rev 01)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B+ DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
        Latency: 0
        Region 0: Memory at <unassigned> (32-bit, prefetchable)
        Region 1: I/O ports at <unassigned> [disabled]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
                Bridge: PM- B3+


Please, help me!!!

Thanks in advance.

The key it must be in mach-rb-4xx.c file. I haven´t seen this yet.

The discussion might have continued from here.