Hey everyone!
Been using OpenWRT for a while now however new to the forum and hoping to help add support for some additional devices.
Working with Zyxel model similar to others where OpenWRT has support. Provided specs below.
Model: Zyxel Q1000z / P-870HNU-51c
Board ID: 96368MVWG
Flash: MX29GL256ELT2I
Ram: 2x W9425G6JH-5
Ethernet: BCM53115
Wireless: BCM43222KFBG
After trying various firmware revisions from the download section as well as a couple revisions I compiled myself I am stuck with the following kernel panic.
Starting program at 0x80a00000
[ 0.000000] Linux version 3.18.11 (root@kali) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r45483) ) #1 Fri Apr 17 21:18:37 CDT 2015
[ 0.000000] Detected Broadcom 0x6368 CPU revision b2
[ 0.000000] CPU frequency is 400 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: 1.13.0-104.4
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a031 (Broadcom BMIPS4350)
[ 0.000000] board: board name: P870HW-51a_v2
[ 0.000000] MIPS: machine is Zyxel P870HW-51a v2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 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] Memory: 59904K/65536K available (2713K kernel code, 133K rwdata, 568K rodata, 1312K init, 192K bss, 5632K reserved)
[ 0.000000] NR_IRQS:256
[ 0.000000] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[ 0.036000] pid_max: default: 32768 minimum: 301
[ 0.040000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.052000] NET: Registered protocol family 16
[ 0.060000] registering PCI controller with io_map_base unset
[ 0.076000] PCI host bridge to bus 0000:00
[ 0.080000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.084000] pci_bus 0000:00: root bus resource [io 0x8000000-0x800ffff]
[ 0.088000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.096000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30003fff]
[ 0.100000] Switched to clocksource MIPS
[ 0.104000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[ 0.132000] ssb: Found chip with id 0xA8D6, rev 0x00 and package 0x08
[ 0.196000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
[ 0.204000] NET: Registered protocol family 2
[ 0.212000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.216000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.224000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.232000] TCP: reno registered
[ 0.236000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.240000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.248000] NET: Registered protocol family 1
[ 0.252000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.260000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.268000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.280000] msgmni has been set to 117
[ 0.284000] io scheduler noop registered
[ 0.288000] io scheduler deadline registered (default)
[ 0.292000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 10, base_baud = 1▒[ 0.304000] console [ttyS0] enabled
[ 0.304000] console [ttyS0] enabled
[ 0.312000] bootconsole [early0] disabled
[ 0.312000] bootconsole [early0] disabled
[ 0.320000] bcm63xx-rng bcm63xx-rng: registered RNG driver
[ 0.328000] 18000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[ 0.336000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.340000] Amd/Fujitsu Extended Query version 1.3.
[ 0.348000] number of CFI chips: 1
[ 0.352000] bcm63xxpart: CFE boot tag CRC invalid (expected ffffffff, actual bc2b198b)
[ 0.360000] 3 bcm63xxpart partitions found on MTD device 18000000.nor
[ 0.364000] Creating 3 MTD partitions on "18000000.nor":
[ 0.372000] 0x000000000000-0x000000010000 : "CFE"
[ 0.376000] 0x000000010000-0x0000003f0000 : "linux"
[ 0.384000] mtd: partition "linux" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.396000] 0x0000003f0000-0x000000400000 : "nvram"
[ 0.404000] bcm63xx-spi bcm63xx-spi: at 0xb0000800 (irq 9, FIFOs size 542)
[ 0.448000] b53_common: found switch: BCM63xx, rev 0
[ 0.452000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.460000] TCP: cubic registered
[ 0.464000] NET: Registered protocol family 17
[ 0.468000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.480000] 8021q: 802.1Q VLAN Support v1.8
[ 0.492000] jffs2: Too few erase blocks (1)
[ 0.496000] List of all partitions:
[ 0.500000] 1f00 64 mtdblock0 (driver?)
[ 0.504000] 1f01 3968 mtdblock1 (driver?)
[ 0.508000] 1f02 64 mtdblock2 (driver?)
[ 0.516000] No filesystem could mount root, tried: squashfs jffs2
[ 0.520000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[ 0.520000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[ 33.132000] random: nonblocking pool is initialized
I believe this is caused by either an issue with the partition layout or incompatibility with the MX29GL256ELT2I flash. Just not sure how to verify and resolve.
I am able to boot into OpenWRT live using the vmlinux.elf loaded at CFE boot over tftp. This is a pain to set up using AT commands but it works and I assume because the flash is not involved. Also notice many devices such as wireless and Ethernet are not present when using OpenWRT live vs stock.
First "live"/host boot after applying OpenWRT firmware. Seems to modify the file system but does not depend on it.
CFE version 1.13.0-104.4 for BCM96368 (32bit,SP,BE)
Build Date: 08/17/2010 (kuanjung@MSGSW4-server2)
Copyright (C) 2000-2009 Broadcom Corporation.
Parallel flash device: name S29GL256P90, id 0x2222 size 32768KB
Total Flash size: 32768K with 256 sectors
ethsw: found bcm53115!
Chip ID: BCM6368B2, MIPS: 400MHz
Main Thread: TP0
Total Memory: 67108864 bytes (64MB)
Boot Address: 0xb8000000
Board IP address : 192.168.0.2:ffffff00
Host IP address : 192.168.0.100
Gateway IP address : 192.168.0.1
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 5
Boot image (0=latest, 1=previous) : 0
Board Id (0-11) : 96368MVWG
Number of MAC Addresses (1-32) : 4
Base MAC Address : 08:6c:87:6f:b0:8c
PSI Size (1-128 KBytes : 128
Enable Backup PSI [0|1] : 0
System Log Size (0-256) KBytes : 0
Main Thread Number [0|1] : 0
*** Press any key to stop auto run (5 seconds) ***
Auto run second count down: 3
web info: Waiting for connection on socket 0.
CFE>
CFE> ATIP
Press: <enter> to use current value
'-' to go previous parameter
'.' to clear the current value
'x' to exit this command
Board IP address : 192.168.0.2:ffffff00
Host IP address : 192.168.0.100
Gateway IP address : 192.168.0.1
Run from flash/host (f/h) : f h
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 5
Boot image (0=latest, 1=previous) : 0
*** command status = 0
CFE> ATGO
Wait for Multiboot Service Packet... 0
0x80010000/3296796 0x80334e1c/230144 Entry at 0x80014d10
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found.
Closing DMA Channels.
Starting program at 0x80014d10
[ 0.000000] Linux version 3.10.49 (jeff@kali) (gcc version 4.8.3 (OpenWrt/Lin aro GCC 4.8-2014.04 r44952) ) #1 Sat Apr 18 00:02:23 CDT 2015
[ 0.000000] Detected Broadcom 0x6368 CPU revision b2
[ 0.000000] CPU frequency is 400 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] registering 38 GPIOs
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: 1.13.0-104.4
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0002a031 (Broadcom BMIPS4350)
[ 0.000000] board: board name: 96368MVWG
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 16256
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jff s2 noinitrd console=ttyS0,115200
[ 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] Memory: 61400k/65536k available (2353k kernel code, 4136k reserve d, 621k data, 288k init, 0k highmem)
[ 0.000000] NR_IRQS:256
[ 0.000000] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[ 0.032000] pid_max: default: 32768 minimum: 301
[ 0.036000] Mount-cache hash table entries: 512
[ 0.044000] NET: Registered protocol family 16
[ 0.052000] registering PCI controller with io_map_base unset
[ 0.060000] bio: create slab <bio-0> at 0
[ 0.064000] PCI host bridge to bus 0000:00
[ 0.068000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.072000] pci_bus 0000:00: root bus resource [io 0x8000000-0x800ffff]
[ 0.076000] pci_bus 0000:00: No busn resource found for root bus, will use [b us 00-ff]
[ 0.092000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30003fff]
[ 0.096000] Switching to clocksource MIPS
[ 0.104000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[ 0.132000] ssb: Found chip with id 0xA8D6, rev 0x00 and package 0x08
[ 0.196000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
[ 0.204000] NET: Registered protocol family 2
[ 0.208000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.216000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.224000] TCP: Hash tables configured (established 512 bind 512)
[ 0.228000] TCP: reno registered
[ 0.232000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.240000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.248000] NET: Registered protocol family 1
[ 0.252000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.260000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc.
[ 0.272000] msgmni has been set to 119
[ 0.276000] io scheduler noop registered
[ 0.280000] io scheduler deadline registered (default)
[ 0.284000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 10) is a bcm63xx_ ▒[ 0.292000] console [ttyS0] enabled, bootconsole disabled
[ 0.292000] console [ttyS0] enabled, bootconsole disabled
[ 0.304000] bcm63xx-rng bcm63xx-rng: registered RNG driver
[ 0.312000] physmap platform flash device: 08000000 at 18000000
[ 0.320000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manuf acturer ID 0x0000c2 Chip ID 0x00227e
[ 0.332000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.336000] Amd/Fujitsu Extended Query version 1.3.
[ 0.340000] number of CFI chips: 1
[ 0.344000] bcm63xxpart: CFE boot tag found with version 6 and board type 963 68VVW
[ 0.352000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[ 0.360000] bcm63xxpart: Partition 1 is kernel offset 20100 and length 128e20
[ 0.364000] bcm63xxpart: Partition 2 is rootfs offset 148f20 and length 1e970 e0
[ 0.372000] bcm63xxpart: Partition 3 is nvram offset 1fe0000 and length 20000
[ 0.380000] bcm63xxpart: Partition 4 is linux offset 20000 and length 1fc0000
[ 0.388000] bcm63xxpart: Spare partition is offset 400004 and length 1bdfffc
[ 0.396000] 5 bcm63xxpart partitions found on MTD device physmap-flash.0
[ 0.404000] Creating 5 MTD partitions on "physmap-flash.0":
[ 0.408000] 0x000000000000-0x000000020000 : "CFE"
[ 0.416000] 0x000000020100-0x000000148f20 : "kernel"
[ 0.420000] mtd: partition "kernel" must either start or end on erase block b oundary or be smaller than an erase block -- forcing read-only
[ 0.436000] 0x000000148f20-0x000001fe0000 : "rootfs"
[ 0.440000] mtd: partition "rootfs" must either start or end on erase block b oundary or be smaller than an erase block -- forcing read-only
[ 0.456000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.460000] mtd: partition "rootfs_data" created automatically, ofs=0x400000, len=0x1be0000
[ 0.468000] 0x000000400000-0x000001fe0000 : "rootfs_data"
[ 0.476000] 0x000001fe0000-0x000002000000 : "nvram"
[ 0.484000] 0x000000020000-0x000001fe0000 : "linux"
[ 0.492000] bcm63xx-spi bcm63xx-spi: at 0xb0000800 (irq 9, FIFOs size 542)
[ 0.540000] b53_common: found switch: BCM63xx, rev 0
[ 0.544000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.556000] TCP: cubic registered
[ 0.556000] NET: Registered protocol family 17
[ 0.564000] 8021q: 802.1Q VLAN Support v1.8
[ 0.576000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.584000] Freeing unused kernel memory: 288K (802f8000 - 80340000)
[ 1.916000] init: failed to symlink /tmp -> /var
[ 1.920000] init: Console is alive
[ 1.924000] init: - watchdog -
[ 2.928000] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 6.800000] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
ifconfig: SIOCGIFFLAGS: No such device
[ 6.832000] procd: - early -
[ 6.836000] procd: - watchdog -
[ 7.616000] procd: - ubus -
[ 8.628000] procd: - init -
Please press Enter to activate this console.
[ 17.524000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 17.536000] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 17.540000] jffs2_build_filesystem(): erasing all blocks after the end marker ... done.
[ 193.508000] jffs2: notice: (605) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
BusyBox v1.23.2 (2015-04-17 21:05:32 CDT) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
CHAOS CALMER (Bleeding Edge, r45483)
-----------------------------------------------------
* 1 1/2 oz Gin Shake with a glassful
* 1/4 oz Triple Sec of broken ice and pour
* 3/4 oz Lime Juice u▒▒K▒▒ѹ
* 1 1/2 oz Orange Juice
* 1 tsp. Grenadine Syrup
-----------------------------------------------------
root@OpenWrt:/#
ls /dev - Stock (Qwest / Zyxel) firmware
# ls -l /dev
crw-rw-r-- 1 admin root 222, 0 Jan 3 2011 ac97
crw-rw-r-- 1 admin root 212, 0 Jan 3 2011 bcm
crw-rw-r-- 1 admin root 236, 0 Jan 3 2011 bcm_omci
crw-rw-r-- 1 admin root 237, 0 Jan 3 2011 bcm_ploam
crw-rw-r-- 1 admin root 235, 0 Jan 3 2011 bcm_user_ploam
crw-rw-r-- 1 admin root 210, 0 Jan 3 2011 bcmaal20
crw-rw-r-- 1 admin root 208, 0 Jan 3 2011 bcmadsl0
crw-rw-r-- 1 admin root 208, 1 Jan 3 2011 bcmadsl1
crw-rw-r-- 1 admin root 205, 0 Jan 3 2011 bcmatm0
crw-rw-r-- 1 admin root 226, 0 Jan 3 2011 bcmatmb0
crw-rw-r-- 1 admin root 209, 0 Jan 3 2011 bcmendpoint0
crw-rw-r-- 1 admin root 241, 0 Jan 3 2011 bcmfap
crw-rw-r-- 1 admin root 231, 0 Jan 3 2011 bcmgpon
crw-rw-r-- 1 admin root 229, 0 Jan 3 2011 bcmgpon_bar3
crw-rw-r-- 1 admin root 230, 0 Jan 3 2011 bcmgpon_ploam
crw-rw-r-- 1 admin root 211, 0 Jan 3 2011 bcmles0
crw-rw-r-- 1 admin root 234, 0 Jan 3 2011 bcmmoca0
crw-rw-r-- 1 admin root 224, 0 Jan 3 2011 bcmprof
crw-rw-r-- 1 admin root 207, 0 Jan 3 2011 bcmvdsl0
crw-rw-r-- 1 admin root 238, 0 Jan 3 2011 bcmvlan
crw-rw-r-- 1 admin root 228, 0 Jan 3 2011 bcmxtmcfg0
crw-rw-r-- 1 admin root 213, 0 Jan 3 2011 bounce
crw-rw-r-- 1 admin root 206, 0 Jan 3 2011 brcmboard
crw-rw-r-- 1 admin root 68, 0 Jan 3 2011 capi20
crw-rw-r-- 1 admin root 5, 1 Jan 1 00:00 console
crw-rw-r-- 1 admin root 242, 0 Jan 3 2011 fcache
lrwxrwxrwx 1 admin root 9 Jan 3 2011 fuse -> /var/fuse
crw-rw-r-- 1 admin root 10, 183 Jan 3 2011 hwrandom
crw-rw-r-- 1 admin root 89, 0 Jan 3 2011 i2c-0
prw-rw-r-- 1 admin root 0 Jan 3 2011 initctl
crw-rw-r-- 1 admin root 45, 128 Jan 3 2011 ippp0
crw-rw-r-- 1 admin root 45, 129 Jan 3 2011 ippp1
crw-rw-r-- 1 admin root 45, 0 Jan 3 2011 isdn
crw-rw-r-- 1 admin root 45, 64 Jan 3 2011 isdnctrl
crw-rw-r-- 1 admin root 45, 64 Jan 3 2011 isdnctrl0
crw-rw-r-- 1 admin root 45, 255 Jan 3 2011 isdninfo
crw-rw-r-- 1 admin root 1, 2 Jan 3 2011 kmem
crw-rw-r-- 1 admin root 125, 0 Jan 3 2011 linux-uk-proxy
crw-rw-r-- 1 admin root 126, 0 Jan 3 2011 linux-user-bde
lrwxrwxrwx 1 admin root 12 Jan 3 2011 log -> /var/log/log
crw-rw-r-- 1 admin root 1, 1 Jan 3 2011 mem
drwxrwxr-x 2 admin root 21 Jan 3 2011 misc
crw-rw-r-- 1 admin root 90, 0 Jan 3 2011 mtd0
crw-rw-r-- 1 admin root 90, 2 Jan 3 2011 mtd1
brw-rw-r-- 1 admin root 31, 0 Jan 3 2011 mtdblock0
brw-rw-r-- 1 admin root 31, 1 Jan 3 2011 mtdblock1
brw-rw-r-- 1 admin root 31, 2 Jan 3 2011 mtdblock2
brw-rw-r-- 1 admin root 31, 3 Jan 3 2011 mtdblock3
brw-rw-r-- 1 admin root 31, 4 Jan 3 2011 mtdblock4
brw-rw-r-- 1 admin root 31, 5 Jan 3 2011 mtdblock5
brw-rw-r-- 1 admin root 31, 6 Jan 3 2011 mtdblock6
brw-rw-r-- 1 admin root 31, 7 Jan 3 2011 mtdblock7
crw-rw-r-- 1 admin root 1, 3 Jan 3 2011 null
crw-rw-r-- 1 admin root 227, 0 Jan 3 2011 p8021ag0
crw-rw-r-- 1 admin root 232, 0 Jan 3 2011 pktcmf
crw-rw-r-- 1 admin root 214, 0 Jan 3 2011 pmon
crw-rw-r-- 1 admin root 1, 4 Jan 3 2011 port
crw-rw-r-- 1 admin root 108, 0 Jan 3 2011 ppp
crw-rw-r-- 1 admin root 180, 0 Jan 3 2011 printer0
crw-rw-r-- 1 admin root 5, 2 Jan 3 2011 ptmx
crw-rw-r-- 1 admin root 2, 0 Jan 3 2011 ptyp0
crw-rw-r-- 1 admin root 2, 1 Jan 3 2011 ptyp1
crw-rw-r-- 1 admin root 240, 0 Jan 3 2011 pwrmngt
lrwxrwxrwx 1 admin root 4 Jan 3 2011 ram -> ram1
brw-rw-r-- 1 admin root 1, 0 Jan 3 2011 ram0
brw-rw-r-- 1 admin root 1, 1 Jan 3 2011 ram1
brw-rw-r-- 1 admin root 1, 2 Jan 3 2011 ram2
brw-rw-r-- 1 admin root 1, 3 Jan 3 2011 ram3
crw-rw-r-- 1 admin root 1, 8 Jan 3 2011 random
brw-rw-r-- 1 admin root 8, 0 Jan 3 2011 sda0
brw-rw-r-- 1 admin root 8, 1 Jan 3 2011 sda1
brw-rw-r-- 1 admin root 8, 2 Jan 3 2011 sda2
brw-rw-r-- 1 admin root 8, 3 Jan 3 2011 sda3
brw-rw-r-- 1 admin root 8, 4 Jan 3 2011 sda4
brw-rw-r-- 1 admin root 8, 16 Jan 3 2011 sdb0
brw-rw-r-- 1 admin root 8, 17 Jan 3 2011 sdb1
brw-rw-r-- 1 admin root 8, 18 Jan 3 2011 sdb2
brw-rw-r-- 1 admin root 8, 19 Jan 3 2011 sdb3
brw-rw-r-- 1 admin root 8, 20 Jan 3 2011 sdb4
brw-rw-r-- 1 admin root 8, 32 Jan 3 2011 sdc0
brw-rw-r-- 1 admin root 8, 33 Jan 3 2011 sdc1
brw-rw-r-- 1 admin root 8, 34 Jan 3 2011 sdc2
brw-rw-r-- 1 admin root 8, 48 Jan 3 2011 sdd0
brw-rw-r-- 1 admin root 8, 49 Jan 3 2011 sdd1
brw-rw-r-- 1 admin root 8, 50 Jan 3 2011 sdd2
brw-rw-r-- 1 admin root 8, 64 Jan 3 2011 sde0
brw-rw-r-- 1 admin root 8, 65 Jan 3 2011 sde1
brw-rw-r-- 1 admin root 8, 66 Jan 3 2011 sde2
brw-rw-r-- 1 admin root 8, 80 Jan 3 2011 sdf0
brw-rw-r-- 1 admin root 8, 81 Jan 3 2011 sdf1
brw-rw-r-- 1 admin root 8, 82 Jan 3 2011 sdf2
brw-rw-r-- 1 admin root 8, 96 Jan 3 2011 sdg0
brw-rw-r-- 1 admin root 8, 97 Jan 3 2011 sdg1
brw-rw-r-- 1 admin root 8, 98 Jan 3 2011 sdg2
brw-rw-r-- 1 admin root 8, 112 Jan 3 2011 sdh0
brw-rw-r-- 1 admin root 8, 113 Jan 3 2011 sdh1
brw-rw-r-- 1 admin root 8, 114 Jan 3 2011 sdh2
crw-rw-r-- 1 admin root 225, 0 Jan 3 2011 si3215
crw-rw-r-- 1 admin root 223, 0 Jan 3 2011 slac
crw-rw-r-- 1 admin root 233, 0 Jan 3 2011 spu
crw-rw-r-- 1 admin root 5, 0 Jan 1 00:06 tty
crw-rw-r-- 1 admin root 4, 0 Jan 3 2011 tty0
crw-rw-r-- 1 admin root 4, 1 Jan 3 2011 tty1
crw-rw-r-- 1 admin root 4, 64 Jan 1 00:06 ttyS0
crw-rw-r-- 1 admin root 4, 65 Jan 3 2011 ttyS1
crw-rw-r-- 1 admin root 3, 0 Jan 3 2011 ttyp0
crw-rw-r-- 1 admin root 3, 1 Jan 3 2011 ttyp1
crw-rw-r-- 1 admin root 254, 0 Jan 3 2011 ubi0
crw-rw-r-- 1 admin root 10, 63 Jan 3 2011 ubi_ctrl
crw-rw-r-- 1 admin root 1, 9 Jan 3 2011 urandom
crw-rw-r-- 1 admin root 1, 5 Jan 3 2011 zero
#
s /dev - Custom OpenWRT
root@OpenWrt:/# ls -l /dev
crw-r--r-- 1 root root 5, 1 Jan 1 1970 console
crw-r--r-- 1 root root 10, 63 Jan 1 1970 cpu_dma_latency
crw-rw-rw- 1 root root 1, 7 Jan 1 1970 full
crw-r--r-- 1 root root 10, 183 Jan 1 1970 hwrng
crw-r--r-- 1 root root 1, 11 Jan 1 1970 kmsg
srw-rw-rw- 1 root root 0 Apr 18 02:14 log
crw-r--r-- 1 root root 1, 1 Jan 1 1970 mem
crw-r--r-- 1 root root 90, 0 Jan 1 1970 mtd0
crw-r--r-- 1 root root 90, 1 Jan 1 1970 mtd0ro
crw-r--r-- 1 root root 90, 2 Jan 1 1970 mtd1
crw-r--r-- 1 root root 90, 3 Jan 1 1970 mtd1ro
crw-r--r-- 1 root root 90, 4 Jan 1 1970 mtd2
crw-r--r-- 1 root root 90, 5 Jan 1 1970 mtd2ro
crw-r--r-- 1 root root 90, 6 Jan 1 1970 mtd3
crw-r--r-- 1 root root 90, 7 Jan 1 1970 mtd3ro
crw-r--r-- 1 root root 90, 8 Jan 1 1970 mtd4
crw-r--r-- 1 root root 90, 9 Jan 1 1970 mtd4ro
crw-r--r-- 1 root root 90, 10 Jan 1 1970 mtd5
crw-r--r-- 1 root root 90, 11 Jan 1 1970 mtd5ro
brw-r--r-- 1 root root 31, 0 Jan 1 1970 mtdblock0
brw-r--r-- 1 root root 31, 1 Jan 1 1970 mtdblock1
brw-r--r-- 1 root root 31, 2 Jan 1 1970 mtdblock2
brw-r--r-- 1 root root 31, 3 Jan 1 1970 mtdblock3
brw-r--r-- 1 root root 31, 4 Jan 1 1970 mtdblock4
brw-r--r-- 1 root root 31, 5 Jan 1 1970 mtdblock5
crw-r--r-- 1 root root 10, 62 Jan 1 1970 network_latency
crw-r--r-- 1 root root 10, 61 Jan 1 1970 network_throughput
crw-rw-rw- 1 root root 1, 3 Jan 1 1970 null
crw-r--r-- 1 root root 1, 4 Jan 1 1970 port
crw-rw-rw- 1 root root 5, 2 Jan 1 1970 ptmx
drwxr-xr-x 2 root root 0 Jan 1 1970 pts
crw-r--r-- 1 root root 1, 8 Jan 1 1970 random
lrwxrwxrwx 1 root root 14 Apr 18 02:14 root -> /dev/mtdblock2
drwxr-xr-x 2 root root 40 Jan 1 1970 shm
crw-r--r-- 1 root root 5, 0 Jan 1 1970 tty
crw-r--r-- 1 root root 4, 64 Apr 18 02:19 ttyS0
crw-r--r-- 1 root root 1, 9 Jan 1 1970 urandom
crw-r--r-- 1 root root 10, 130 Jan 1 1970 watchdog
crw-rw-rw- 1 root root 1, 5 Jan 1 1970 zero
I figure I will have to compile some drivers for the various missing devices but that should not be an issue - although I am surprised the the LAN at least is not working. I also tried the standard b43 driver when compiling but no luck - not sure if this is because its running live or what..
I think the first issue to resolve is the kernel panic though.. Hoping it is trivial but and guidance would be appreciated!!