Here are some outputs of my device:
root@OpenWrt:/# nvram show | sort
Intel_firmware_version=v1.41.8
boardnum=42
boardtype=bcm94710dev
boot_date=Fri Sep 26 00:34:47 2003
boot_time=10
boot_ver=v1.5
boot_wait=on
clkfreq=125
dl_ram_addr=a0001000
et0macaddr=00:0C:41:9D:86:26
et0mdcport=0
et0phyaddr=30
et1macaddr=00:0C:41:9D:86:27
et1mdcport=1
et1phyaddr=30
firmware_version=v1.42.2
flash_type=Intel 28F320C3 2Mx16 BotB
lan_ipaddr=192.168.2.2
lan_netmask=255.255.255.0
opo=0x0
os_flash_addr=bfc40000
os_ram_addr=80001000
pmon_ver=PMON 3.31.15.0
scratch=a0180000
sdram_config=0x0000
sdram_init=0x0419
sdram_ncdl=0x00000000
sdram_refresh=0x8040
watchdog=5000
root@OpenWrt:/# dmesg
e: 4064 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Enabling BCM4710A0 cache workarounds.
Primary instruction cache 8kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 4kB, 2-way, VIPT, no aliases, linesize 16 bytes
Memory: 13280k/16384k available (2322k kernel code, 3104k reserved, 357k data, 136k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Calibrating delay loop... 82.68 BogoMIPS (lpj=165376)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
ssb: PCIcore in host mode found
PCI: Fixing up bridge 0000:00:00.0
PCI: Setting latency timer of device 0000:00:00.0 to 64
PCI: Fixing up device 0000:00:00.0
PCI: Fixing latency timer of device 0000:00:00.0 to 168
pci 0000:00:00.0: reg 10 32bit mmio: [0x000000-0x001fff]
pci 0000:00:00.0: reg 14 32bit mmio pref: [0x000000-0x7ffffff]
pci 0000:00:08.0: reg 10 32bit mmio: [0x000000-0x001fff]
PCI: Enabling device 0000:00:08.0 (0000 -> 0002)
PCI: Fixing up device 0000:00:08.0
PCI: Setting latency timer of device 0000:00:08.0 to 64
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x04, vendor 0x4243)
ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x05, vendor 0x4243)
ssb: Core 2 found: PCMCIA (cc 0x80D, rev 0x02, vendor 0x4243)
ssb: Core 3 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
ssb: Core 4 found: PCI (cc 0x804, rev 0x09, vendor 0x4243)
ssb: SPROM revision 1 detected.
ssb: Sonics Silicon Backplane found on PCI device 0000:00:08.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
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) © 2001-2006 Red Hat, Inc.
msgmni has been set to 25
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
flash init: 0x1fc00000 0x00400000
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x0035
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x2000,blocks=8
erase region 1: offset=0x10000,size=0x10000,blocks=63
Flash device: 0x400000 at 0x1fc00000
bootloader size: 262144
Creating 4 MTD partitions on "Physically mapped flash":
0x000000000000-0x000000040000 : "cfe"
0x000000040000-0x0000003f0000 : "linux"
0x00000011a400-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2F0000, len=100000
0x0000002f0000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "nvram"
b44.c:v2.0
eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:0c:41:9d:86:26
eth1: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:0c:41:9d:86:27
BCM47xx Watchdog Timer enabled (30 seconds, nowayout)
TCP westwood 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>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 136k freed
Please be patient, while OpenWrt loads ...
diag: Detected 'Linksys WRT54G V1.x'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
roboswitch: Probing device eth0: No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth1:
roboswitch: [/home/openwrt/backfire/build/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/switch-robo.c:130] SIOCGETCPHYRD failed!
roboswitch: [/home/openwrt/backfire/build/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/switch-robo.c:130] SIOCGETCPHYRD failed!
No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
b44: eth0: powering down PHY
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
b44: eth0: powering down PHY
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
b44: eth0: powering down PHY
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0xb1b1 instead
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
empty_blocks 0, bad_blocks 0, c->nr_blocks 16
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
b44: eth0: powering down PHY
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
b44: eth0: powering down PHY
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
device eth0.0 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.0) entering forwarding state
Generic kernel compatibility enabled based on linux-next next-20100113
cfg80211: Calling CRDA to update world regulatory domain
There is already a switch registered on the device 'eth0'
roboswitch: Probing device eth1:
roboswitch: [/home/openwrt/backfire/build/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/switch-robo.c:130] SIOCGETCPHYRD failed!
roboswitch: [/home/openwrt/backfire/build/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/switch-robo.c:130] SIOCGETCPHYRD failed!
No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
b43-phy0: Broadcom 4306 WLAN found (core revision 5)
cfg80211: World regulatory domain updated:
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
phy0: Selected rate control algorithm 'minstrel'
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::radio
Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ]
Broadcom 43xx-legacy driver loaded [ Features: PLID, Firmware-ID: FW10 ]
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (209 buckets, 836 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0xb1b1 instead
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
empty_blocks 0, bad_blocks 0, c->nr_blocks 16
root@OpenWrt:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "cfe"
mtd1: 003b0000 00010000 "linux"
mtd2: 002d5c00 00010000 "rootfs"
mtd3: 00100000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "nvram"
root@OpenWrt:/# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
none on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /dev type tmpfs (rw,relatime,size=512k)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
root on /tmp/root type tmpfs (rw,relatime)
mini_fo:/tmp/root on / type mini_fo (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
root@OpenWrt:/# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 1.9M 1.9M 0 100% /rom
tmpfs 6.6M 40.0K 6.5M 1% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
root 6.6M 52.0K 6.5M 1% /tmp/root
mini_fo:/tmp/root 1.9M 1.9M 0 100% /
I see nothing in the vnram.
In the dmesg I see:
mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
But I've read somewhere that this i actually normal?
And:
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x8585 instead
[...snip...]
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0xb1b1 instead
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
empty_blocks 0, bad_blocks 0, c->nr_blocks 16
Now what is this? This repeats later in the dmesg output.
I see nothing in /proc/mtd
I see nothing in mount
In the df output I see:
Filesystem Size Used Available Use% Mounted on
/dev/root 1.9M 1.9M 0 100% /rom
mini_fo:/tmp/root 1.9M 1.9M 0 100% /
But as far as I know this is as expected.
Anyone?