I have the Attitude Adjustment (ar71xx) release uImage and jffs2-64k rootfs flashed onto a new Cisco Meraki MR12. While the unit boots properly, the ethernet ports don't show up. I've done some research and it seems like it's an easy fix (ethernet PHY mask patch), but I'm not sure which files to modify in the 12.09 source or what values for the mask will work.
The frustrating thing is that the Kamikaze initramfs image (2.6/ar71xx/21397) recognizes the ports, but won't mount the jffs2 rootfs on boot, although mounting the rootfs from the commandline works. My thought is that the mask values from the Kamikaze AG71xx driver might be able to be ported over. Any insight would be greatly appreciated!
I've also tried using the latest snapshot which gives the same result as the 12.09 release.
If we can get this working, I'll be more than happy to write the wiki page for it.
Here are three boot logs:
Attitude Adjustment (uImage)
U-Boot 1.1.4-g0c3911dd (Mar 3 2011 - 17:08:51)
PB93 (ar7241 - Virian) U-boot
DRAM:
sri
ar7240_ddr_initial_config(133): virian ddr1 init
#### TAP VALUE 1 = 0x2, 2 = 0x2 [0x20102010: 0x88000132]
64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 272k for U-Boot at: 83fb8000
Reserving 192k for malloc() at: 83f88000
Reserving 44 Bytes for Board Info at: 83f87fd4
Reserving 36 Bytes for Global Data at: 83f87fb0
Reserving 128k for boot params() at: 83f67fb0
Stack Pointer at: 83f67f98
Now running in RAM - U-Boot at: 83fb8000
id read 0x100000ff
flash size 16MB, sector count = 256
Flash: 16 MB
BOARD IS NOT CALIBRATED!!!
In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize...
No valid address in Flash. Using fixed address
Virian External MII mode MDC CFG Value ==> 6
: cfg1 0xf cfg2 0x7014
eth0 link down
eth0: 00:03:7f:09:0b:ad
ATHRSF1_PHY: PHY unit 0x0, address 0x4, ID 0xd04e,
ATHRSF1_PHY: Port 0, Neg Success
ATHRSF1_PHY: unit 0 port 0 phy addr 4
eth0 up
eth0
RESET is un-pushed
Hit any key to stop autoboot: 0
## Booting image at 81000000 ...
Image Name: MIPS OpenWrt Linux-3.3.8
Created: 2013-03-23 16:49:58 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 957102 Bytes = 934.7 kB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864
Starting kernel ...
[ 0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Mar 23 16:49:30 UTC 2013
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7242 rev 1
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00004000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00004000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=PB92 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,256k(u-boot-env)ro,1024k(kernel),6144k(rootfs),256k(nvram),8448k(art),7168k@0x80000(firmware) mem=64M rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 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: 61488k/65536k available (2211k kernel code, 4048k reserved, 418k data, 212k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 512
[ 0.090000] NET: Registered protocol family 16
[ 0.090000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79
[ 0.100000] MIPS: machine is Atheros PB92
[ 0.330000] registering PCI controller with io_map_base unset
[ 0.340000] bio: create slab <bio-0> at 0
[ 0.350000] PCI host bridge to bus 0000:00
[ 0.350000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.360000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.360000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[ 0.370000] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.370000] Switching to clocksource MIPS
[ 0.380000] NET: Registered protocol family 2
[ 0.380000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.390000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.400000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.400000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.410000] TCP reno registered
[ 0.410000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.420000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.430000] NET: Registered protocol family 1
[ 0.450000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.450000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.470000] msgmni has been set to 120
[ 0.470000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.480000] io scheduler noop registered
[ 0.480000] io scheduler deadline registered (default)
[ 0.490000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.520000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.520000] console [ttyS0] enabled, bootconsole disabled
[ 0.520000] console [ttyS0] enabled, bootconsole disabled
[ 0.540000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[ 0.550000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.550000] 7 cmdlinepart partitions found on MTD device spi0.0
[ 0.560000] Creating 7 MTD partitions on "spi0.0":
[ 0.560000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.570000] 0x000000040000-0x000000080000 : "u-boot-env"
[ 0.580000] 0x000000080000-0x000000180000 : "kernel"
[ 0.580000] 0x000000180000-0x000000780000 : "rootfs"
[ 0.590000] mtd: partition "rootfs" set to be root filesystem
[ 0.600000] split_squashfs: no squashfs found in "spi0.0"
[ 0.600000] 0x000000780000-0x0000007c0000 : "nvram"
[ 0.610000] 0x0000007c0000-0x000001000000 : "art"
[ 0.610000] 0x000000080000-0x000000780000 : "firmware"
[ 0.630000] ag71xx_mdio: probed
[ 0.630000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.190000] ag71xx ag71xx.0: eth0: no PHY found with phy_mask=00000001
[ 1.190000] TCP cubic registered
[ 1.200000] NET: Registered protocol family 17
[ 1.200000] Bridge firewalling registered
[ 1.210000] 8021q: 802.1Q VLAN Support v1.8
[ 2.220000] JFFS2 notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 2.240000] VFS: Mounted root (jffs2 filesystem) readonly on device 31:3.
[ 2.250000] Freeing unused kernel memory: 212k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
- init -
Please press Enter to activate this console. [ 8.250000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[ 8.260000] Backport based on wireless-testing.git master-2012-09-07
[ 8.270000] compat.git: wireless-testing.git
[ 8.410000] cfg80211: Calling CRDA to update world regulatory domain
[ 8.420000] cfg80211: World regulatory domain updated:
[ 8.430000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 8.430000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.440000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 8.450000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 8.460000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.470000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.660000] usbcore: registered new interface driver usbfs
[ 8.670000] usbcore: registered new interface driver hub
[ 8.670000] usbcore: registered new device driver usb
[ 9.340000] PPP generic driver version 2.4.2
[ 9.410000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 9.540000] NET: Registered protocol family 24
[ 9.590000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 9.600000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 9.610000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 9.650000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 9.670000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 9.670000] hub 1-0:1.0: USB hub found
[ 9.680000] hub 1-0:1.0: 1 port detected
[ 9.730000] nf_conntrack version 0.5.0 (964 buckets, 3856 max)
[ 10.050000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) 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
-----------------------------------------------------
ATTITUDE ADJUSTMENT (12.09, r36088)
-----------------------------------------------------
* 1/4 oz Vodka Pour all ingredients into mixing
* 1/4 oz Gin tin with ice, strain into glass.
* 1/4 oz Amaretto
* 1/4 oz Triple sec
* 1/4 oz Peach schnapps
* 1/4 oz Sour mix
* 1 splash Cranberry juice
-----------------------------------------------------
root@OpenWrt:/# ifconfig
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:/#
Kamikaze (initramfs uImage)
U-Boot 1.1.4-g0c3911dd (Mar 3 2011 - 17:08:51)
PB93 (ar7241 - Virian) U-boot
DRAM:
sri
ar7240_ddr_initial_config(133): virian ddr1 init
#### TAP VALUE 1 = 0x2, 2 = 0x2 [0x20102010: 0x8000132]
64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 272k for U-Boot at: 83fb8000
Reserving 192k for malloc() at: 83f88000
Reserving 44 Bytes for Board Info at: 83f87fd4
Reserving 36 Bytes for Global Data at: 83f87fb0
Reserving 128k for boot params() at: 83f67fb0
Stack Pointer at: 83f67f98
Now running in RAM - U-Boot at: 83fb8000
id read 0x100000ff
flash size 16MB, sector count = 256
Flash: 16 MB
BOARD IS NOT CALIBRATED!!!
In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize...
No valid address in Flash. Using fixed address
Virian External MII mode MDC CFG Value ==> 6
: cfg1 0xf cfg2 0x7014
eth0 link down
eth0: 00:03:7f:09:0b:ad
ATHRSF1_PHY: PHY unit 0x0, address 0x4, ID 0xd04e,
ATHRSF1_PHY: Port 0, Neg Success
ATHRSF1_PHY: unit 0 port 0 phy addr 4
eth0 up
eth0
RESET is un-pushed
Hit any key to stop autoboot: 0
ar7240> tftpboot 0x81000000 openwrt-ar71xx-generic-uImage-initramfs-lzma.bin
Trying eth0
dup 1 speed 1000
Using eth0 device
TFTP from server 192.168.1.101; our IP address is 192.168.1.1
Filename 'openwrt-ar71xx-generic-uImage-initramfs-lzma.bin'.
Load address: 0x81000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
################
done
Bytes transferred = 1413034 (158faa hex)
ar7240> bootm
## Booting image at 81000000 ...
Image Name: MIPS OpenWrt Linux-2.6.33.3
Created: 2010-05-08 5:13:15 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1412970 Bytes = 1.3 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864
Starting kernel ...
Linux version 2.6.33.3 (alex@motard) (gcc version 4.4.3 (GCC) ) #2 Sat May 8 08:13:11 EEST 2010
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR7242 rev 1, CPU:400.000 MHz, AHB:200.000 MHz, DDR:400.000 MHz
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: board=PB92 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,256k(u-boot-env)ro,1024k(kernel),6144k(rootfs),256k(nvram),8448k(art),7168k@0x80000(firmware) mem=64M rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
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
Memory: 61480k/65536k available (1869k kernel code, 3988k reserved, 350k data, 716k init, 0k highmem)
NR_IRQS:56
Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is Atheros PB92
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
pci 0000:00:00.0: BAR 0: set to [mem 0x10000000-0x1000ffff 64bit] (PCI address [0x10000000-0x1000ffff]
PCI: mapping irq 48 to pin1@0000:00:00.0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 120
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: found mx25l12805d, expected m25p80
m25p80 spi0.0: mx25l12805d (16384 Kbytes)
7 cmdlinepart partitions found on MTD device spi0.0
Creating 7 MTD partitions on "spi0.0":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000080000 : "u-boot-env"
0x000000080000-0x000000180000 : "kernel"
0x000000180000-0x000000780000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
split_squashfs: no squashfs found in "spi0.0"
0x000000780000-0x0000007c0000 : "nvram"
0x0000007c0000-0x000001000000 : "art"
0x000000080000-0x000000780000 : "firmware"
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
eth1: Atheros AG71xx at 0xba000000, irq 5
Atheros AR71xx hardware watchdog driver version 0.1.0
TCP westwood registered
NET: Registered protocol family 17
Freeing unused kernel memory: 716k freed
eth0: link up (1000Mbps/Full duplex)
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
eth0: link down
- init -
Please press Enter to activate this console. eth0: link up (1000Mbps/Full duplex)
eth1: link up (1000Mbps/Full duplex)
BusyBox v1.16.1 (2010-05-07 17:50:49 EEST) 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 (bleeding edge, r21397) ------------------
* 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 12:9C:E1:21:C9:8E
inet addr:10.2.19.28 Bcast:10.2.19.31 Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3292 (3.2 KiB) TX bytes:1836 (1.7 KiB)
Interrupt:4
eth1 Link encap:Ethernet HWaddr 42:9B:26:8A:21:33
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1209 (1.1 KiB)
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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:300 (300.0 B) TX bytes:300 (300.0 B)
root@OpenWrt:/# echo "/dev/mtdblock3 /mnt jffs2 defaults" > /etc/fstab
root@OpenWrt:/# mount /dev/mtdblock3
root@OpenWrt:/# cd /mnt/
root@OpenWrt:/mnt# ls
bin etc mnt proc root sys usr www
dev lib overlay rom sbin tmp var
root@OpenWrt:/mnt#
Kamikaze (uImage)
U-Boot 1.1.4-g0c3911dd (Mar 3 2011 - 17:08:51)
PB93 (ar7241 - Virian) U-boot
DRAM:
sri
ar7240_ddr_initial_config(133): virian ddr1 init
#### TAP VALUE 1 = 0x2, 2 = 0x2 [0x20102010: 0x88000132]
64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 272k for U-Boot at: 83fb8000
Reserving 192k for malloc() at: 83f88000
Reserving 44 Bytes for Board Info at: 83f87fd4
Reserving 36 Bytes for Global Data at: 83f87fb0
Reserving 128k for boot params() at: 83f67fb0
Stack Pointer at: 83f67f98
Now running in RAM - U-Boot at: 83fb8000
id read 0x100000ff
flash size 16MB, sector count = 256
Flash: 16 MB
BOARD IS NOT CALIBRATED!!!
In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize...
No valid address in Flash. Using fixed address
Virian External MII mode MDC CFG Value ==> 6
: cfg1 0xf cfg2 0x7014
dup 1 speed 1000
eth0: 00:03:7f:09:0b:ad
ATHRSF1_PHY: PHY unit 0x0, address 0x4, ID 0xd04e,
ATHRSF1_PHY: Port 0, Neg Success
ATHRSF1_PHY: unit 0 port 0 phy addr 4
eth0 up
eth0
RESET is un-pushed
Hit any key to stop autoboot: 0
## Booting image at 81000000 ...
Image Name: MIPS OpenWrt Linux-2.6.33.3
Created: 2010-05-08 5:09:02 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 832413 Bytes = 812.9 kB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864
Starting kernel ...
Linux version 2.6.33.3 (alex@motard) (gcc version 4.4.3 (GCC) ) #1 Sat May 8 08:08:58 EEST 2010
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR7242 rev 1, CPU:400.000 MHz, AHB:200.000 MHz, DDR:400.000 MHz
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: board=PB92 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,256k(u-boot-env)ro,1024k(kernel),6144k(rootfs),256k(nvram),8448k(art),7168k@0x80000(firmware) mem=64M rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
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
Memory: 62028k/65536k available (1869k kernel code, 3432k reserved, 350k data, 160k init, 0k highmem)
NR_IRQS:56
Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is Atheros PB92
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
pci 0000:00:00.0: BAR 0: set to [mem 0x10000000-0x1000ffff 64bit] (PCI address [0x10000000-0x1000ffff]
PCI: mapping irq 48 to pin1@0000:00:00.0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 121
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: found mx25l12805d, expected m25p80
m25p80 spi0.0: mx25l12805d (16384 Kbytes)
7 cmdlinepart partitions found on MTD device spi0.0
Creating 7 MTD partitions on "spi0.0":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000080000 : "u-boot-env"
0x000000080000-0x000000180000 : "kernel"
0x000000180000-0x000000780000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
split_squashfs: no squashfs found in "spi0.0"
0x000000780000-0x0000007c0000 : "nvram"
0x0000007c0000-0x000001000000 : "art"
0x000000080000-0x000000780000 : "firmware"
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
eth1: Atheros AG71xx at 0xba000000, irq 5
Atheros AR71xx hardware watchdog driver version 0.1.0
TCP westwood registered
NET: Registered protocol family 17
VFS: Cannot open root device "(null)" or unknown-block(31,3)
Please append a correct "root=" boot option; here are the available partitions:
1f00 256 mtdblock0 (driver?)
1f01 256 mtdblock1 (driver?)
1f02 1024 mtdblock2 (driver?)
1f03 6144 mtdblock3 (driver?)
1f04 256 mtdblock4 (driver?)
1f05 8448 mtdblock5 (driver?)
1f06 7168 mtdblock6 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
(Last edited by ngpitt on 11 Jun 2014, 20:05)