in file /home/u1204/openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.33.2/linux-brcm47xx/linux-3.8.13/drivers/mtd/bcm47xxpart.c at line 111 variable "board_data" is used, but this board doesn't have a "board_id".
regarding flash detection, if partition parser did not find root partition, that means the kernel does not recognize the partition it's booting from? or am i wrong? how to fix that, it is samsung K8P5516UZB-EI4E 32MB flash chip, but due to it's flash layout only 8MB are useful for booting an image. On 1 June 2013 10:34, Hauke Mehrtens <ha...@hauke-m.de> wrote: > On 06/01/2013 04:23 PM, Tomislav Požega wrote: > > compiled an image with patches included in my previous message, flashed > > the device and got kernel panic and errors in log file > > > > i'm not sure how to proceed further with this > > > > > > > > Decompressing.............done > > > > > > CFE version 1.0.37 for BCM947XX (32bit,SP,LE) > > Build Date: Tue Apr 28 09:59:43 CEST 2009 (jan@raptor) > > Copyright (C) 2000,2001,2002,2003 Broadcom Corporation. > > > > Initializing Arena > > Initializing Devices. > > et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.24 > > CPU type 0x29029: 240MHz > > Total memory: 32768 KBytes > > > > Total memory used by CFE: 0x80700000 - 0x807B2DC0 (732608) > > Initialized Data: 0x80730AA0 - 0x8074C590 (113392) > > BSS Area: 0x8074C590 - 0x8074CDC0 (2096) > > Local Heap: 0x8074CDC0 - 0x807B0DC0 (409600) > > Stack Area: 0x807B0DC0 - 0x807B2DC0 (8192) > > Text (code) segment: 0x80700000 - 0x80730AA0 (199328) > > Boot area (physical): 0x007B3000 - 0x007F3000 > > Relocation Factor: I:00000000 - D:00000000 > > > > Device eth0: hwaddr 00-0C-E3-68-38-02, ipaddr 192.168.1.1, mask > > 255.255.255.0 > > gateway not set, nameserver not set > > Loader:raw Filesys:raw Dev:flash0.os0 File: Options:(null) > > RG offset = bc040000 > > Loading: .. 3836 bytes read > > Entry at 0x80001000 > > Closing network. > > Starting program at 0x80001000 > > [ 0.000000] Linux version 3.8.13 (u1204@ubuntu) (gcc version 4.6.4 > > (OpenWrt/Linaro GCC 4.6-2012.12 r36813) ) #6 Sat Jun 1 03:28:03 EDT 2013 > .... > > [ 0.456000] Amd/Fujitsu Extended Query Table at 0x0040 > > [ 0.464000] Amd/Fujitsu Extended Query version 1.3. > > [ 0.468000] number of CFI chips: 1 > > [ 0.528000] 2 bcm47xxpart partitions found on MTD device > physmap-flash.0 > > [ 0.532000] Creating 2 MTD partitions on "physmap-flash.0": > > [ 0.540000] 0x000000000000-0x000001fe0000 : "boot" > > [ 0.552000] 0x000001fe0000-0x000002000000 : "nvram" > > The partition parser did not found any root partition, then it can not > mount any root partition. Have a look at drivers/mtd/bcm47xxpart.c. > > > [ 0.568000] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled > > (30 seconds, Software Timer) > > [ 0.580000] TCP: cubic registered > > [ 0.584000] NET: Registered protocol family 17 > > [ 0.588000] Bridge firewalling registered > > [ 0.592000] 8021q: 802.1Q VLAN Support v1.8 > > [ 0.604000] VFS: Cannot open root device "(null)" or > > unknown-block(0,0): error -6 > > [ 0.612000] Please append a correct "root=" boot option; here are the > > available partitions: > > [ 0.620000] 1f00 32640 mtdblock0 (driver?) > > [ 0.624000] 1f01 128 mtdblock1 (driver?) > > [ 0.628000] Kernel panic - not syncing: VFS: Unable to mount root fs > > on unknown-block(0,0) > > > >
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel