here is the log for unable mount root on mmc , please see the attached file
2010/9/25 Robert Nelson <[email protected]> > On Sat, Sep 25, 2010 at 8:21 AM, Chen Dai <[email protected]> wrote: > > maybe it is related to u-boot > > because i also build an u-boot use the beagleboard config, the kernel can > > boot successfully > > Well, that depends, when you built with the beagleboard u-boot did you > atleast change the mach # (devkit8000 is 2330): > > diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c > index 3b4c9e7..49a8d98 100644 > --- a/board/ti/beagle/beagle.c > +++ b/board/ti/beagle/beagle.c > @@ -50,7 +50,7 @@ int board_init(void) > > gpmc_init(); /* in SRAM or SDRAM, finish GPMC */ > /* board id for Linux */ > - gd->bd->bi_arch_number = MACH_TYPE_OMAP3_BEAGLE; > + gd->bd->bi_arch_number = 2330; > /* boot param addr */ > gd->bd->bi_boot_params = (OMAP34XX_SDRC_CS0 + 0x100); > > > Otherwise your board is booting up as a beagle board-omap3beagle.c... > I know they are clones, but they dont' use the same kernel board file > and those patches touch board-devkit8000.c.. > > Regards, > > -- > Robert Nelson > http://www.rcn-ee.com/ >
Texas Instruments X-Loader 1.4.4ss (May 11 2010 - 12:15:48) Beagle Rev Ax/Bx Reading boot sector Loading u-boot.bin from mmc U-Boot 2010.09-rc2 (Sep 25 2010 - 13:30:27) OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz OMAP3 DevKit8000 + LPDDR/NAND I2C: ready DRAM: 256 MiB NAND: 256 MiB In: serial Out: serial Err: serial Die ID #056000040000000004036ac00301401e Net: dm9000 Hit any key to stop autoboot: 0 OMAP3 DevKit8000 # OMAP3 DevKit8000 # OMAP3 DevKit8000 # p bootdelay=3 baudrate=115200 bootfile="uImage" dieid#=056000040000000004036ac00301401e ethact=dm9000 ipaddr=192.168.16.254 serverip=192.168.16.54 gatewayip=192.168.16.1 netmask=255.255.255.0 ethaddr=02:bd:03:01:80:14 bootargs=console=ttyS2,115200n8 omapdss.debug=1 root=/dev/mmcblk0p2 ro omapdss.def_disp=lcd omapfb.mode=lcd:800x480 bootcmd=mmc init; fatload mmc 0 0x80300000 uImage; bootm 0x80300000 stdin=serial stdout=serial stderr=serial Environment size: 445/131068 bytes OMAP3 DevKit8000 # boot mmc1 is available reading uImage 4474456 bytes read ## Booting kernel from Legacy Image at 80300000 ... Image Name: Linux-2.6.35.5-x4.1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4474392 Bytes = 4.3 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.35.5-x4.1 (m...@mi2-desktop) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #2 PREEMPT Sun Sep 26 13:14:22 CST 2010 [ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine: OMAP3 Devkit8000 [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp ) [ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000 [ 0.000000] Reserving 12582912 bytes SDRAM for VRAM [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyS2,115200n8 omapdss.debug=1 root=/dev/mmcblk0p2 ro omapdss.def_disp=lcd omapfb.mode=lcd:800x480 [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] allocated 1310720 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 128MB 128MB = 256MB total [ 0.000000] Memory: 230312k/230312k available, 31832k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB) [ 0.000000] vmalloc : 0xd0800000 - 0xf8000000 ( 632 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .init : 0xc0008000 - 0xc0049000 ( 260 kB) [ 0.000000] .text : 0xc0049000 - 0xc0812000 (7972 kB) [ 0.000000] .data : 0xc088c000 - 0xc08eb9c0 ( 383 kB) [ 0.000000] SLUB: Genslabs=9, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU-based detection of stalled CPUs is disabled. [ 0.000000] Verbose stalled-CPUs detection is disabled. [ 0.000000] NR_IRQS:402 [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz [ 0.000000] omap_hwmod: l3_hwmod: cannot be enabled (3) [ 0.000000] omap_hwmod: l4_core_hwmod: cannot be enabled (3) [ 0.000000] omap_hwmod: l4_per_hwmod: cannot be enabled (3) [ 0.000000] omap_hwmod: l4_wkup_hwmod: cannot be enabled (3) [ 0.000000] Reprogramming SDRC clock to 332000000 Hz [ 0.000000] GPMC revision 5.0 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts [ 0.000000] Total of 96 interrupts on 1 active controller [ 0.000000] OMAP GPIO hardware version 2.5 [ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] Calibrating delay loop... 496.77 BogoMIPS (lpj=1937408) [ 0.000000] pid_max: default: 32768 minimum: 301 [ 0.000000] Security Framework initialized [ 0.000000] Smack: Initializing. [ 0.000000] Mount-cache hash table entries: 512 [ 0.000000] Initializing cgroup subsys ns [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Initializing cgroup subsys memory [ 0.000000] Initializing cgroup subsys devices [ 0.000000] Initializing cgroup subsys freezer [ 0.000000] CPU: Testing write buffer coherency: ok [ 0.000000] regulator: core version 0.5 [ 0.000000] NET: Registered protocol family 16 [ 0.000000] Found NAND on CS0 [ 0.000000] Registering NAND on CS0 [ 0.000000] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available [ 0.000244] OMAP DMA hardware revision 4.0 [ 0.000640] omap-mcpdm omap-mcpdm: unable to get pdm_ck: -2 [ 0.000671] omap-mcpdm: probe of omap-mcpdm failed with error -2 [ 0.007507] bio: create slab <bio-0> at 0 [ 0.008758] SCSI subsystem initialized [ 0.010345] usbcore: registered new interface driver usbfs [ 0.010498] usbcore: registered new interface driver hub [ 0.010742] usbcore: registered new device driver usb [ 0.011169] i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz [ 0.014160] twl4030: PIH (irq 7) chaining IRQs 368..375 [ 0.014190] twl4030: power (irq 373) chaining IRQs 376..383 [ 0.014739] twl4030: gpio (irq 368) chaining IRQs 384..401 [ 0.017822] regulator: VUSB1V5: 1500 mV normal standby [ 0.018188] regulator: VUSB1V8: 1800 mV normal standby [ 0.018554] regulator: VUSB3V1: 3100 mV normal standby [ 0.020294] twl4030_usb twl4030_usb: Initialized TWL4030 USB module [ 0.021179] regulator: VPLL1: 1800 mV normal standby [ 0.022888] regulator: VIO: 1800 mV normal standby [ 0.023437] regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby [ 0.023559] twl_reg twl_reg.6: can't register VMMC1, -22 [ 0.023590] twl_reg: probe of twl_reg.6 failed with error -22 [ 0.023864] regulator: VDAC: 1800 mV normal standby [ 0.035522] i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz [ 0.036529] Advanced Linux Sound Architecture Driver Version 1.0.23. [ 0.037109] NetLabel: Initializing [ 0.037139] NetLabel: domain hash size = 128 [ 0.037139] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.037231] NetLabel: unlabeled traffic allowed by default [ 0.037292] Switching to clocksource 32k_counter [ 0.061431] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0 [ 0.067413] musb_hdrc musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92 [ 0.067810] NET: Registered protocol family 2 [ 0.068145] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.069366] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.069610] TCP bind hash table entries: 8192 (order: 3, 32768 bytes) [ 0.069732] TCP: Hash tables configured (established 8192 bind 8192) [ 0.069763] TCP reno registered [ 0.069763] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.069824] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.070098] NET: Registered protocol family 1 [ 0.070648] RPC: Registered udp transport module. [ 0.070648] RPC: Registered tcp transport module. [ 0.070678] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.071838] PMU: registered new PMU device of type 0 [ 0.071960] dspbridge_init: 600000 bytes @ 81800000 [ 0.072601] audit: initializing netlink socket (disabled) [ 0.072692] type=2000 audit(0.257:1): initialized [ 0.261260] VFS: Disk quotas dquot_6.5.2 [ 0.261718] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.268218] fuse init (API version 7.14) [ 0.270355] Btrfs loaded [ 0.270385] msgmni has been set to 449 [ 0.273284] alg: No test for stdrng (krng) [ 0.273864] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) [ 0.273895] io scheduler noop registered [ 0.273895] io scheduler deadline registered [ 0.274047] io scheduler cfq registered (default) [ 0.334381] OMAP DSS rev 2.0 [ 0.334472] OMAP DISPC rev 3.0 [ 0.334533] OMAP VENC rev 2 [ 0.663970] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.685119] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654 [ 0.705596] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654 [ 0.725982] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654 [ 1.402832] console [ttyS2] enabled [ 1.414764] brd: module loaded [ 1.422058] loop: module loaded [ 1.426971] omap2-nand driver initializing [ 1.431274] omap2-nand: probe of omap2-nand failed with error -16 [ 1.437652] OneNAND driver initializing [ 1.441955] dm9000 Ethernet Driver, V1.31 [ 1.538909] eth0: dm9000a at d080c000,d0810400 IRQ 185 MAC: 02:bd:03:01:80:14 (chip) [ 1.546966] usbcore: registered new interface driver cdc_ether [ 1.552917] usbcore: registered new interface driver rndis_host [ 1.559570] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.566497] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller [ 1.572540] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1 [ 1.580230] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800 [ 1.600097] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00 [ 1.606658] hub 1-0:1.0: USB hub found [ 1.610534] hub 1-0:1.0: 3 ports detected [ 1.639190] Initializing USB Mass Storage driver... [ 1.644287] usbcore: registered new interface driver usb-storage [ 1.650360] USB Mass Storage support registered. [ 1.655120] g_ether gadget: using random self ethernet address [ 1.661010] g_ether gadget: using random host ethernet address [ 1.668273] usb0: MAC d2:1a:05:8f:1c:18 [ 1.672210] usb0: HOST MAC aa:69:bb:09:bf:e0 [ 1.676574] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008 [ 1.683288] g_ether gadget: g_ether ready [ 1.687347] musb_hdrc musb_hdrc: MUSB HDRC host driver [ 1.692871] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2 [ 1.700866] hub 2-0:1.0: USB hub found [ 1.704742] hub 2-0:1.0: 1 port detected [ 1.709228] mice: PS/2 mouse device common for all mice [ 1.715667] input: twl4030_pwrbutton as /devices/platform/i2c_omap.1/i2c-1/1-0049/twl4030_pwrbutton/input/input0 [ 1.726531] i2c /dev entries driver [ 1.731109] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 1.738189] device-mapper: uevent: version 1.0.3 [ 1.744049] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: [email protected] [ 1.752990] device-mapper: multipath: version 1.1.1 loaded [ 1.758575] device-mapper: multipath round-robin: version 1.0.0 loaded [ 1.766235] sdhci: Secure Digital Host Controller Interface driver [ 1.772521] sdhci: Copyright(c) Pierre Ossman [ 1.779754] No device for DAI tlv320aic23 [ 1.868835] No device for DAI omap-mcbsp-dai-0 [ 1.873321] No device for DAI omap-mcbsp-dai-1 [ 1.877838] No device for DAI omap-mcbsp-dai-2 [ 1.882354] No device for DAI omap-mcbsp-dai-3 [ 1.886810] No device for DAI omap-mcbsp-dai-4 [ 1.891326] No device for DAI omap-mcpdm [ 1.895263] Not OMAP3 EVM! [ 1.898040] Not OMAP3517 / AM3517 EVM! [ 1.901824] OMAP3 Beagle/Devkit8000 SoC init [ 1.907928] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok [ 1.917633] ALSA device list: [ 1.920715] #0: omap3beagle (twl4030) [ 1.926666] TCP cubic registered [ 1.931427] NET: Registered protocol family 10 [ 1.938293] lo: Disabled Privacy Extensions [ 1.946594] NET: Registered protocol family 17 [ 1.951354] ThumbEE CPU extension supported. [ 1.958190] Power Management for TI OMAP3. [ 1.973815] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1 [ 1.982452] registered taskstats version 1 [ 2.009063] Console: switching to colour frame buffer device 100x32 [ 2.029632] regulator_init_complete: incomplete constraints, leaving VDAC on [ 2.045410] md: Waiting for all devices to be available before autodetect [ 2.052246] md: If you don't use raid, use raid=noautodetect [ 2.059020] md: Autodetecting RAID arrays. [ 2.063201] md: Scanned 0 and added 0 devices. [ 2.067718] md: autorun ... [ 2.070556] md: ... autorun DONE. [ 2.074218] Root-NFS: No NFS server available, giving up. [ 2.079742] VFS: Unable to mount root fs via NFS, trying floppy. [ 2.086578] VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0) [ 2.093566] Please append a correct "root=" boot option; here are the available partitions: [ 2.102020] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) [ 2.110443] [<c00503bc>] (unwind_backtrace+0x0/0x100) from [<c064c054>] (dump_stack+0x18/0x1c) [ 2.119171] [<c064c054>] (dump_stack+0x18/0x1c) from [<c064c0cc>] (panic+0x74/0xec) [ 2.126922] [<c064c0cc>] (panic+0x74/0xec) from [<c0009204>] (mount_block_root+0x194/0x23c) [ 2.135375] [<c0009204>] (mount_block_root+0x194/0x23c) from [<c0009394>] (mount_root+0xe8/0x114) [ 2.144348] [<c0009394>] (mount_root+0xe8/0x114) from [<c0009564>] (prepare_namespace+0x1a4/0x1e0) [ 2.153411] [<c0009564>] (prepare_namespace+0x1a4/0x1e0) from [<c000877c>] (kernel_init+0x144/0x158) [ 2.162658] [<c000877c>] (kernel_init+0x144/0x158) from [<c004a46c>] (kernel_thread_exit+0x0/0x8)
_______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev
