I'm trying to build an image that works, with the longterm goal of creating an openwrt+zoneminder based better firmware for many cameras.
Since the 933L has 8MB flash I have created a different profile for it, and have built an image that works when tftp'd in. However, the kernel doesn't see the MTD (this is trunk build). I started with the profile for a 930 which really should have worked, and have gone through menuconfig enabling anything relevant.
But it doesn't see the mtd. Can anyone help?This might be simple but as I'm coming up to speed building openwrt it is taking a lot of time.
So this is ramips 3052 based... 64MB flash.
[ 0.000000] Linux version 3.18.7 (iconnor@pseudo.home.connortechnology.com) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44532) ) #30 Thu Feb 26 16:32:51 EST 2015
[ 0.000000] SoC Type: Ralink RT3352 id:1 rev:6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[ 0.000000] MIPS: machine is D-Link DCS-933
[ 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 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 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] Writing ErrCtl register=0007a30c
[ 0.000000] Readback ErrCtl register=0007a30c
[ 0.000000] Memory: 61768K/65536K available (2242K kernel code, 121K rwdata, 400K rodata, 172K init, 177K bss, 3768K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 400MHz
[ 0.000000] clocksource_of_init: no matching clocksources found
[ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.090000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.100000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.110000] pinctrl core: initialized pinctrl subsystem
[ 0.120000] NET: Registered protocol family 16
[ 0.130000] pinmux core: rt2880-pinmux does not support function sdram
[ 0.140000] rt2880-pinmux pinctrl: invalid function sdram in map table
[ 0.170000] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.180000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.190000] Switched to clocksource MIPS
[ 0.200000] NET: Registered protocol family 2
[ 0.210000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.220000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.230000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.240000] TCP: reno registered
[ 0.250000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.260000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.280000] NET: Registered protocol family 1
[ 0.280000] rt-timer 10000100.timer: maximum frequency is 8138Hz
[ 0.300000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.320000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.330000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.360000] msgmni has been set to 120
[ 0.390000] io scheduler noop registered
[ 0.400000] io scheduler deadline registered (default)
[ 0.410000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.430000] console [ttyS0] disabled
[ 0.430000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a 16550A
[ 0.450000] console [ttyS0] enabled
[ 0.450000] console [ttyS0] enabled
[ 0.470000] bootconsole [early0] disabled
[ 0.470000] bootconsole [early0] disabled
[ 0.480000] of-flash 1f000000.cfi: do_map_probe() failed
[ 0.500000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[ 0.520000] rt2880_wdt 10000120.watchdog: Initialized
[ 0.530000] TCP: cubic registered
[ 0.530000] NET: Registered protocol family 17
[ 0.540000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.570000] 8021q: 802.1Q VLAN Support v1.8
[ 0.590000] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 0.610000] Please append a correct "root=" boot option; here are the available partitions:
[ 0.620000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 0.620000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)