[#4637] boot up default-configured kernel on bf527 and bf548 ezkit would have no rootfs to mount
Submitted By: Mingquan Pan
Open Date
2008-11-12 03:32:49 Close Date
2008-11-12 23:02:35
Priority:
Medium Assignee:
Mike Frysinger
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Duplicate
Uboot version or rev.:
Toolchain version or rev.:
Nov 07
App binary format:
N/A
Summary: boot up default-configured kernel on bf527 and bf548 ezkit would have no rootfs to mount
Details:
boot up default-configured kernel on bf527 and bf548 ezkit would have no rootfs to mount.
On bf527 ezkit,
Loading .text @ 0x00001000 (1194160 bytes)
Loading .rodata @ 0x001248b0 (296344 bytes)
Loading .init.rodata @ 0x0016ce48 (156 bytes)
Loading __ksymtab @ 0x0016cee4 (16680 bytes)
Loading __ksymtab_gpl @ 0x0017100c (5752 bytes)
Loading __ksymtab_strings @ 0x00172684 (50400 bytes)
Loading __init_rodata @ 0x0017eb64 (172 bytes)
Loading __param @ 0x0017ec10 (640 bytes)
Clearing .bss @ 0x0017ee90 (66876 bytes)
Loading .data @ 0x0018f3cc (68660 bytes)
Loading .init.text @ 0x001a0000 (101136 bytes)
Loading .init.data @ 0x001b8b10 (20648 bytes)
Loading .init.setup @ 0x001bdbb8 (584 bytes)
Loading .initcall.init @ 0x001bde00 (640 bytes)
Loading .con_initcall.init @ 0x001be080 (4 bytes)
Loading .init.ramfs @ 0x001be084 (2840268 bytes)
Loading .text_l1 @ 0xffa00000 (5516 bytes)
sh_addr: FFA00000, p_paddr: 00473750
Loading from: 02464000 to 00473750, size: 5516
Loading .data_l1 @ 0xff800000 (192 bytes)
sh_addr: FF800000, p_paddr: 00474CDC
Loading from: 02466000 to 00474CDC, size: 192
## Starting application at 0x001ad3d8 ...
Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5679 (test@uclinux60-bf527-std) (gcc version 4.1.2 (ADI svn)) #16 Wed Nov 12 16:19:15 CST 2008
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001248b0
rodata = 0x001248b0-0x0017ee90
bss = 0x0017ee90-0x0018f3cc
data = 0x0018f3cc-0x001a0000
stack = 0x0019e000-0x001a0000
init = 0x001a0000-0x00475000
available = 0x00475000-0x03eff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Reset caused by Software reset
Blackfin support (C) 2004-2008 Analog Devices, Inc.
Compiled for ADSP-BF527 Rev 0.0
ERROR: Not running on ADSP-BF527: unknown CPUID 0x27e0 Rev 0.0
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 MHz System Clock
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-through)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16001
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50 console=tty0 console=ttyBF0,57600
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 59364k/65536k RAM, (2900k init code, 1166k kernel code, 494k data, 1024k dma, 584k reserved)
Calibrating delay loop... 1044.48 BogoMIPS (lpj=2088960)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (15 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (42 KB free)
PDA for CPU0 reserved at 00180058
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, pio, host, debug=0
musb_hdrc: USB Host mode controller at ffc03800 using PIO, IRQ 59
musb_hdrc musb_hdrc.0: MUSB HDRC host driver
musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
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
NET: Registered protocol family 1
msgmni has been set to 115
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...
dma_alloc_init: dma_page @ 0x0057c000 - 256 pages at 0x03f00000
bfin-otp: initialized
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART
brd: module loaded
bfin_mac_mdio: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=25)@sclk=131MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
m25p80 spi0.1: m25p16 (2048 Kbytes)
Creating 2 MTD partitions on "m25p80":
0x00000000-0x00040000 : "bootloader(spi)"
0x00040000-0x00200000 : "linux kernel(spi)"
bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 20:37:07 UTC (1086035827)
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.0.0.0, gw=255.255.255.255,
host=10.100.4.50, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
List of all partitions:
1f00 256 mtdblock0 (driver?)
1f01 1792 mtdblock1 (driver?)
No filesystem could mount root, tried:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)
And init ramfs item has been seleted. config file for linux is attached.
on bf548 is similar:
ALSA device list:
No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2004-06-01 12:25:18 UTC (1086092718)
eth0: SMSC911x/921x identified at 0x24000000, IRQ: 175
eth0: link down
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.0.0.0, gw=255.255.255.255,
host=10.100.4.50, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
VFS: Cannot open root device "mtdblock0" or unknown-block(31,0)
Please append a correct "root=" boot option; here are the available partitions:
0800 39070080 sda driver: sd
0801 8193118 sda1
0802 20482875 sda2
1f00 256 mtdblock0 (driver?)
1f01 4096 mtdblock1 (driver?)
1f02 12032 mtdblock2 (driver?)
1f03 4096 mtdblock3 (driver?)
1f04 258048 mtdblock4 (driver?)
1f05 256 mtdblock5 (driver?)
1f06 1792 mtdblock6 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Follow-ups
--- Mike Frysinger 2008-11-12 06:26:47
dupe of [#4624]. you need to update your toolchain.
--- Mingquan Pan 2008-11-12 23:02:35
Yes, it is ok by using trunk head toolchain.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.linux.ramfs application/octet-stream 36441 Mingquan Pan