This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to fix Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

Other Parts Discussed in Thread: DM3730

Now, i'm in development process with Jorjin ATBN441 (it's using DM3730) .

I use ti-sdk-beagleboard-06.00.00.00 for that (prebuild images) . And i have got this problem :

[ 4.314117] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
[ 4.321594] Please append a correct "root=" boot option; here are the available partitions:
[ 4.330383] 1f00 512 mtdblock0 (driver?)
[ 4.335754] 1f01 1920 mtdblock1 (driver?)
[ 4.341125] 1f02 128 mtdblock2 (driver?)
[ 4.346527] 1f03 4096 mtdblock3 (driver?)
[ 4.351898] 1f04 517632 mtdblock4 (driver?)
[ 4.357269] b300 3880960 mmcblk0 driver: mmcblk
[ 4.362915] b301 72261 mmcblk0p1 00000000-0000-0000-0000-000000000000
[ 4.370849] b302 3799372 mmcblk0p2 00000000-0000-0000-0000-000000000000
[ 4.378753] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

Please help me to resolve it, and show me how to customize linux for new board ?

Thank you so much !

  • Hi Thanh,

    Could you share the u-boot boot parameters.

    I presume that you are trying to boot the board with SD card.


    [ 4.314117] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
    [ 4.321594] Please append a correct "root=" boot option; here are the available partitions:


    Do you have a filesystem on SD card's 2nd partition as per the above log ?
  • Hi Titus S,
    Thank for your reply.
    I'm using prebuild images of ti-sdk-beagleboard-06.00.00.00 and trying to boot from SD card.
    I checked SD card and it had filesystem.

    But i don't know how to customize uboot for my new board. So i think, the prebuild images can't use for my board and i have to customize it for my board. (my board design is based on Panther board Jorjin)

    This is my log

    U-Boot 2012.04.01 (Jun 25 2013 - 02:44:12)

    OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
    OMAP3 Beagle board + LPDDR/NAND
    I2C: ready
    DRAM: 256 MiB
    NAND: 512 MiB
    MMC: OMAP SD/MMC: 0
    *** Warning - bad CRC, using default environment

    In: serial
    Out: serial
    Err: serial
    Beagle Rev Ax/Bx
    No EEPROM on expansion board
    Die ID #03ee00029ff80000015a85ce07016018
    Net: Net Initialization Skipped
    No ethernet found.
    Hit any key to stop autoboot: 0
    gpio: pin 173 (gpio 173) value is 1
    gpio: pin 7 (gpio 7) value is 0
    SD/MMC found on device 0
    reading uEnv.txt

    ** Unable to read "uEnv.txt" from mmc 0:1 **
    reading uImage

    3413088 bytes read
    Booting from mmc ...
    ## Booting kernel from Legacy Image at 80007fc0 ...
    Image Name: Linux-3.3.7
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3413024 Bytes = 3.3 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    XIP Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [ 0.000000] Booting Linux on physical CPU 0
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Linux version 3.3.7 (jenkins@sdit-build02) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.3
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine: OMAP3 Beagle Board
    [ 0.000000] Reserving 12582912 bytes SDRAM for VRAM
    [ 0.000000] Memory policy: ECC disabled, Data cache writeback
    [ 0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
    [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 61696
    [ 0.000000] Kernel command line: console=ttyO2,115200n8 mpurate=auto buddy=none camera=none vram=12M omapfb.mode=dvi:640x4t
    [ 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 524288 bytes of page_cgroup
    [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [ 0.000000] Memory: 243MB = 243MB total
    [ 0.000000] Memory: 239020k/239020k available, 23124k 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] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc061770c (6206 kB)
    [ 0.000000] .init : 0xc0618000 - 0xc064e000 ( 216 kB)
    [ 0.000000] .data : 0xc064e000 - 0xc069e800 ( 322 kB)
    [ 0.000000] .bss : 0xc069e824 - 0xc06d8034 ( 231 kB)
    [ 0.000000] NR_IRQS:474
    [ 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 clockevent source: GPTIMER12 at 32768 Hz
    [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [ 0.000000] Console: colour dummy device 80x30
    [ 0.000183] Calibrating delay loop... 484.21 BogoMIPS (lpj=1892352)
    [ 0.031616] pid_max: default: 32768 minimum: 301
    [ 0.031799] Mount-cache hash table entries: 512
    [ 0.032135] Initializing cgroup subsys cpuacct
    [ 0.032165] Initializing cgroup subsys memory
    [ 0.032196] Initializing cgroup subsys devices
    [ 0.032226] Initializing cgroup subsys freezer
    [ 0.032226] Initializing cgroup subsys blkio
    [ 0.032257] Initializing cgroup subsys perf_event
    [ 0.032318] CPU: Testing write buffer coherency: ok
    [ 0.032592] Setting up static identity map for 0x80461c08 - 0x80461c60
    [ 0.033294] devtmpfs: initialized
    [ 0.034973] omap_hwmod: usbtll_fck: missing clockdomain for usbtll_fck.
    [ 0.063781] print_constraints: dummy:
    [ 0.064025] NET: Registered protocol family 16
    [ 0.064208] GPMC revision 5.0
    [ 0.065643] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [ 0.065734] OMAP GPIO hardware version 2.5
    [ 0.065856] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [ 0.066040] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [ 0.066223] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [ 0.066436] gpiochip_add: registered GPIOs 128 to 159 on device: gpio
    [ 0.066619] gpiochip_add: registered GPIOs 160 to 191 on device: gpio
    [ 0.067169] omap_mux_init: Add partition: #1: core, flags: 0
    [ 0.068359] OMAP3 Beagle Rev: Ax/Bx
    [ 0.070465] Reprogramming SDRC clock to 400000000 Hz
    [ 0.070495] dpll3_m2_clk rate change failed: -22
    [ 0.072448] usbhs_omap: alias fck already exists
    [ 0.072570] Found NAND on CS0
    [ 0.072570] Registering NAND on CS0
    [ 0.073089] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.076538] omap-mcbsp.2: alias fck already exists
    [ 0.076721] omap-mcbsp.3: alias fck already exists
    [ 0.077819] OMAP DMA hardware revision 5.0
    [ 0.086212] bio: create slab <bio-0> at 0
    [ 0.087280] SCSI subsystem initialized
    [ 0.088806] usbcore: registered new interface driver usbfs
    [ 0.088928] usbcore: registered new interface driver hub
    [ 0.089080] usbcore: registered new device driver usb
    [ 0.089782] omap_i2c omap_i2c.1: bus 1 rev1.4.0 at 2600 kHz
    [ 0.092193] twl4030: PIH (irq 7) chaining IRQs 368..375
    [ 0.092315] twl4030: power (irq 373) chaining IRQs 376..383
    [ 0.092834] twl4030: gpio (irq 368) chaining IRQs 384..401
    [ 0.093109] gpiochip_add: registered GPIOs 192 to 211 on device: twl4030
    [ 0.095336] print_constraints: VUSB1V5: 1500 mV normal standby
    [ 0.095764] print_constraints: VUSB1V8: 1800 mV normal standby
    [ 0.096160] print_constraints: VUSB3V1: 3100 mV normal standby
    [ 0.097717] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
    [ 0.098358] print_constraints: VMMC1: 1850 <--> 3150 mV at 3150 mV normal standby
    [ 0.098846] print_constraints: VDAC: 1800 mV normal standby
    [ 0.099304] print_constraints: VDVI: 1800 mV normal standby
    [ 0.099853] print_constraints: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
    [ 0.100250] omap_i2c omap_i2c.3: bus 3 rev1.4.0 at 100 kHz
    [ 0.101104] omap-iommu omap-iommu.0: isp registered
    [ 0.101257] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [ 0.101898] Bluetooth: Core ver 2.16
    [ 0.101959] NET: Registered protocol family 31
    [ 0.101989] Bluetooth: HCI device and connection manager initialized
    [ 0.101989] Bluetooth: HCI socket layer initialized
    [ 0.102020] Bluetooth: L2CAP socket layer initialized
    [ 0.102050] Bluetooth: SCO socket layer initialized
    [ 0.102325] Switching to clocksource 32k_counter
    [ 0.114410] usbhs_omap usbhs_omap: xclk60mhsp1_ck set parentfailed error:-22
    [ 0.114440] usbhs_omap usbhs_omap: xclk60mhsp2_ck set parentfailed error:-22
    [ 0.114898] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [ 0.124633] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
    [ 0.125000] NET: Registered protocol family 2
    [ 0.125213] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.125671] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.125976] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.126098] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.126098] TCP reno registered
    [ 0.126129] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.126159] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.126403] NET: Registered protocol family 1
    [ 0.126770] RPC: Registered named UNIX socket transport module.
    [ 0.126770] RPC: Registered udp transport module.
    [ 0.126800] RPC: Registered tcp transport module.
    [ 0.126800] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.130004] VFS: Disk quotas dquot_6.5.2
    [ 0.130065] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.130615] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.130950] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [ 0.130981] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
    [ 0.131591] msgmni has been set to 466
    [ 0.133148] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
    [ 0.133239] io scheduler noop registered
    [ 0.133270] io scheduler deadline registered
    [ 0.133331] io scheduler cfq registered (default)
    [ 0.134246] OMAP DSS rev 2.0
    [ 0.136322] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [ 0.137695] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
    [ 0.138122] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
    [ 0.138519] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
    [ 0.898986] console [ttyO2] enabled
    [ 0.903167] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
    [ 0.919342] brd: module loaded
    [ 0.927001] loop: module loaded
    [ 0.932220] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit)
    [ 0.942047] Creating 5 MTD partitions on "omap2-nand.0":
    [ 0.947692] 0x000000000000-0x000000080000 : "X-Loader"
    [ 0.954711] 0x000000080000-0x000000260000 : "U-Boot"
    [ 0.961700] 0x000000260000-0x000000280000 : "U-Boot Env"
    [ 0.968444] 0x000000280000-0x000000680000 : "Kernel"
    [ 0.976135] 0x000000680000-0x000020000000 : "File System"
    [ 1.156616] usbcore: registered new interface driver catc
    [ 1.162414] usbcore: registered new interface driver kaweth
    [ 1.168304] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
    [ 1.176239] usbcore: registered new interface driver pegasus
    [ 1.182250] usbcore: registered new interface driver rtl8150
    [ 1.188293] usbcore: registered new interface driver asix
    [ 1.194030] usbcore: registered new interface driver cdc_ether
    [ 1.200225] usbcore: registered new interface driver dm9601
    [ 1.206207] usbcore: registered new interface driver smsc95xx
    [ 1.212310] usbcore: registered new interface driver gl620a
    [ 1.218170] usbcore: registered new interface driver net1080
    [ 1.224182] usbcore: registered new interface driver plusb
    [ 1.230010] usbcore: registered new interface driver rndis_host
    [ 1.236328] usbcore: registered new interface driver cdc_subset
    [ 1.242584] usbcore: registered new interface driver zaurus
    [ 1.248535] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
    [ 1.256744] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.263732] _regulator_get: ehci-omap.0 supply hsusb0 not found, using dummy regulator
    [ 1.272125] _regulator_get: ehci-omap.0 supply hsusb1 not found, using dummy regulator
    [ 3.290039] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    [ 3.296478] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    [ 3.304412] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    [ 3.321411] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    [ 3.327575] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 3.334747] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3.342376] usb usb1: Product: OMAP-EHCI Host Controller
    [ 3.348022] usb usb1: Manufacturer: Linux 3.3.7 ehci_hcd
    [ 3.353668] usb usb1: SerialNumber: ehci-omap.0
    [ 3.359130] hub 1-0:1.0: USB hub found
    [ 3.363159] hub 1-0:1.0: 3 ports detected
    [ 3.391784] Initializing USB Mass Storage driver...
    [ 3.397003] usbcore: registered new interface driver usb-storage
    [ 3.403350] USB Mass Storage support registered.
    [ 3.408599] mousedev: PS/2 mouse device common for all mice
    [ 3.416137] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input0
    [ 3.427764] i2c /dev entries driver
    [ 3.431884] Linux media interface: v0.10
    [ 3.436035] Linux video capture interface: v2.00
    [ 3.441528] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    [ 3.447998] Bluetooth: HCI UART driver ver 2.2
    [ 3.452606] Bluetooth: HCI H4 protocol initialized
    [ 3.457733] Bluetooth: HCI BCSP protocol initialized
    [ 3.462982] Bluetooth: HCILL protocol initialized
    [ 3.467895] Bluetooth: HCIATH3K protocol initialized
    [ 3.473236] usbcore: registered new interface driver btusb
    [ 3.479278] cpuidle: using governor ladder
    [ 3.483551] cpuidle: using governor menu
    [ 3.711364] usbcore: registered new interface driver usbhid
    [ 3.717285] usbhid: USB HID core driver
    [ 3.721862] usbcore: registered new interface driver snd-usb-audio
    [ 3.729217] OMAP3 Beagle/Devkit8000 SoC init
    [ 3.823394] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
    [ 3.833312] ALSA device list:
    [ 3.836517] #0: omap3beagle
    [ 3.839721] oprofile: hardware counters not available
    [ 3.845062] oprofile: using timer interrupt.
    [ 3.849761] TCP cubic registered
    [ 3.853240] NET: Registered protocol family 17
    [ 3.857910] NET: Registered protocol family 15
    [ 3.862640] lib80211: common routines for IEEE802.11 drivers
    [ 3.868682] Registering the dns_resolver key type
    [ 3.873657] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 3.881774] ThumbEE CPU extension supported.
    [ 3.890319] sr_init: No PMIC hook to init smartreflex
    [ 3.895843] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
    [ 3.904174] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
    [ 3.912414] SmartReflex Class3 initialized
    [ 3.921173] clock: disabling unused clocks to save power
    [ 3.928009] registered taskstats version 1
    [ 3.933074] fbcvt: 640x480@60: CVT Name - .307M3-R
    [ 3.946594] Console: switching to colour frame buffer device 80x30
    [ 3.962615] regulator_init_complete: VDAC: incomplete constraints, leaving on
    [ 3.970916] input: gpio-keys as /devices/platform/gpio-keys/input/input1
    [ 3.978485] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    [ 3.985687] Waiting for root device /dev/mmcblk0p2...
    [ 4.199035] mmc0: new high speed SDHC card at address 0002
    [ 4.205413] mmcblk0: mmc0:0002 00000 3.70 GiB (ro)
    [ 4.212799] mmcblk0: p1 p2
    [ 4.314117] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
    [ 4.321594] Please append a correct "root=" boot option; here are the available partitions:
    [ 4.330383] 1f00 512 mtdblock0 (driver?)
    [ 4.335754] 1f01 1920 mtdblock1 (driver?)
    [ 4.341125] 1f02 128 mtdblock2 (driver?)
    [ 4.346527] 1f03 4096 mtdblock3 (driver?)
    [ 4.351898] 1f04 517632 mtdblock4 (driver?)
    [ 4.357269] b300 3880960 mmcblk0 driver: mmcblk
    [ 4.362915] b301 72261 mmcblk0p1 00000000-0000-0000-0000-000000000000
    [ 4.370849] b302 3799372 mmcblk0p2 00000000-0000-0000-0000-000000000000
    [ 4.378753] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

    Best Regards,
    Thanh
  • Hi,
    Does your memory card have lock switch.? I faced this kind of problem earlier. Just make sure your memory card is in unlock condition. I just doubt this may also give problem.
    Rgds,
    Vijay
  • Hi Vijay,
    Thank for your reply.
    I'm using microSD card and checked it :(

    Best regards,
    Thanh
  • Hi Thanh,
    Could you share your u-boot boot parameters.


    [ 4.199035] mmc0: new high speed SDHC card at address 0002
    [ 4.205413] mmcblk0: mmc0:0002 00000 3.70 GiB (ro)
    [ 4.212799] mmcblk0: p1 p2


    Please make sure that you are passing the argument as read and write "rw" with root delay.

    Ex:

    setenv bootargs console=ttyO2,115200n8 noinitrd root=/dev/mmcblk0p2 rootfstype=ext3 rw rootdelay=5
  • Hi Titus S,
    Thank you so much !
    I'm sorry, perhaps it's booting from Nand.
    So i changed it to boot from mmc by this way :

    setenv bootargs console=ttyO0,115200n8 rw noinitrd omap_vout.vid1_static_vrfb_alloc=y root=/dev/mmcblk0p2 rootfstype=ext3 rootwait ip=off
    setenv bootcmd 'mmc init;fatload mmc 0 0x80300000 uImage;bootm 0x80300000'

    and i received :

    U-Boot SPL 2012.04.01 (Jun 25 2013 - 02:44:12)
    Texas Instruments Revision detection unimplemented
    OMAP SD/MMC: 0
    reading u-boot.img
    reading u-boot.img

    U-Boot 2012.04.01 (Jun 25 2013 - 02:44:12)

    OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
    OMAP3 Beagle board + LPDDR/NAND
    I2C: ready
    DRAM: 256 MiB
    NAND: 512 MiB
    MMC: OMAP SD/MMC: 0
    In: serial
    Out: serial
    Err: serial
    Beagle Rev Ax/Bx
    No EEPROM on expansion board
    Die ID #03ee00029ff80000015a85ce07016018
    Net: Net Initialization Skipped
    No ethernet found.
    Hit any key to stop autoboot: 0
    mmc - MMC sub system

    Usage:
    mmc read addr blk# cnt
    mmc write addr blk# cnt
    mmc erase blk# cnt
    mmc rescan
    mmc part - lists available partition on current mmc device
    mmc dev [dev] [part] - show or set current mmc device [partition]
    mmc list - lists available devices
    MMC: block number 0x1 exceeds max(0x0)

    ** Unable to use mmc 0:1 for fatload **
    Wrong Image Format for bootm command
    ERROR: can't get kernel image!
    OMAP3 beagleboard.org #

    Best regards,
    Thanh
  • Hi Thanh,

    Your boot parameters seems good.

    Then try to enter u-boot command one by one in u-boot prompt and see how it goes (booting kernel or not).

    u-boot # mmc init
    or
    u-boot # mmc rescan

    u-boot # fatls mmc 0:1 (To see the content of MMC's 1st partition )

    u-boot # fatload mmc 0 0x80300000 uImage

    u-boot # bootm 0x80300000

    Please let me know if any issues.
  • Hi Titus S.
    Thank for your supports.
    I used that command as you said.
    But i still got the problem what the same with the first one.

    [ 4.391357] Please append a correct "root=" boot option; here are the available partitions:
    [ 4.400207] 1f00 512 mtdblock0 (driver?)
    [ 4.405487] 1f01 1920 mtdblock1 (driver?)
    [ 4.410888] 1f02 128 mtdblock2 (driver?)
    [ 4.416290] 1f03 4096 mtdblock3 (driver?)
    [ 4.421661] 1f04 517632 mtdblock4 (driver?)
    [ 4.427062] b300 7761920 mmcblk0 driver: mmcblk
    [ 4.432739] b301 72261 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
    [ 4.441223] b302 7679070 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2
    [ 4.449707] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)


    Best regrads,
    Thanh
  • Hi Thanh,
    Could you attache the complete boot up log.

  • Hi Thanh,

    I presume that you setup NFS on your linux host machine with your respective filesystem.

    Are you running "NFS server" on your linux host machine ?

    What is your linux host machine ?

    Ubuntu or Fedora or REDHAT or debian ?

    For Ubuntu,

    sudo service nfs-kernel-server restart
  • Hi Titus S,

    This is my log :

    ## Booting kernel from Legacy Image at 80300000 ...
    Image Name: Linux-3.3.7
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3521536 Bytes = 3.4 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [ 0.000000] Booting Linux on physical CPU 0
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Linux version 3.3.7 (thanhnk@ThanhNK) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #11 Tue Mar 105
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine: OMAP3 Beagle Board
    [ 0.000000] Reserving 14680064 bytes SDRAM for VRAM
    [ 0.000000] Memory policy: ECC disabled, Data cache writeback
    [ 0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
    [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 61184
    [ 0.000000] Kernel command line: console=ttyO2,115200n8 rw noinitrd omap_vout.vid1_static_vrfb_alloc=y root=/dev/mmcf
    [ 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 524288 bytes of page_cgroup
    [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [ 0.000000] Memory: 241MB = 241MB total
    [ 0.000000] Memory: 236404k/236404k available, 25740k 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] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc06706c4 (6562 kB)
    [ 0.000000] .init : 0xc0671000 - 0xc06a7000 ( 216 kB)
    [ 0.000000] .data : 0xc06a8000 - 0xc0700ad0 ( 355 kB)
    [ 0.000000] .bss : 0xc0700af4 - 0xc07667bc ( 408 kB)
    [ 0.000000] NR_IRQS:474
    [ 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 clockevent source: GPTIMER12 at 32768 Hz
    [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [ 0.000000] Console: colour dummy device 80x30
    [ 0.000213] Calibrating delay loop... 484.21 BogoMIPS (lpj=1892352)
    [ 0.031799] pid_max: default: 32768 minimum: 301
    [ 0.031951] Mount-cache hash table entries: 512
    [ 0.032318] Initializing cgroup subsys cpuacct
    [ 0.032318] Initializing cgroup subsys memory
    [ 0.032379] Initializing cgroup subsys devices
    [ 0.032379] Initializing cgroup subsys freezer
    [ 0.032409] Initializing cgroup subsys blkio
    [ 0.032409] Initializing cgroup subsys perf_event
    [ 0.032501] CPU: Testing write buffer coherency: ok
    [ 0.032745] Setting up static identity map for 0x80499718 - 0x80499770
    [ 0.034942] omap_hwmod: usbtll_fck: missing clockdomain for usbtll_fck.
    [ 0.079925] print_constraints: dummy:
    [ 0.080169] NET: Registered protocol family 16
    [ 0.080352] GPMC revision 5.0
    [ 0.081756] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [ 0.081848] OMAP GPIO hardware version 2.5
    [ 0.081970] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [ 0.082153] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [ 0.082336] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [ 0.082519] gpiochip_add: registered GPIOs 128 to 159 on device: gpio
    [ 0.082794] gpiochip_add: registered GPIOs 160 to 191 on device: gpio
    [ 0.083282] omap_mux_init: Add partition: #1: core, flags: 0
    [ 0.084472] OMAP3 Beagle Rev: Ax/Bx
    [ 0.086669] Reprogramming SDRC clock to 400000000 Hz
    [ 0.086700] dpll3_m2_clk rate change failed: -22
    [ 0.088470] usbhs_omap: alias fck already exists
    [ 0.088562] Found NAND on CS0
    [ 0.088592] Registering NAND on CS0
    [ 0.089111] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.092529] omap-mcbsp.2: alias fck already exists
    [ 0.092681] omap-mcbsp.3: alias fck already exists
    [ 0.093780] OMAP DMA hardware revision 5.0
    [ 0.102111] bio: create slab <bio-0> at 0
    [ 0.103149] SCSI subsystem initialized
    [ 0.104675] usbcore: registered new interface driver usbfs
    [ 0.104797] usbcore: registered new interface driver hub
    [ 0.104949] usbcore: registered new device driver usb
    [ 0.105651] omap_i2c omap_i2c.1: bus 1 rev1.4.0 at 2600 kHz
    [ 0.108123] twl4030: PIH (irq 7) chaining IRQs 368..375
    [ 0.108245] twl4030: power (irq 373) chaining IRQs 376..383
    [ 0.108734] twl4030: gpio (irq 368) chaining IRQs 384..401
    [ 0.109069] gpiochip_add: registered GPIOs 192 to 211 on device: twl4030
    [ 0.111083] print_constraints: VUSB1V5: 1500 mV normal standby
    [ 0.111511] print_constraints: VUSB1V8: 1800 mV normal standby
    [ 0.111907] print_constraints: VUSB3V1: 3100 mV normal standby
    [ 0.113464] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
    [ 0.114105] print_constraints: VMMC1: 1850 <--> 3150 mV at 3150 mV normal standby
    [ 0.114624] print_constraints: VDAC: 1800 mV normal standby
    [ 0.115112] print_constraints: VDVI: 1800 mV normal standby
    [ 0.115661] print_constraints: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
    [ 0.116058] omap_i2c omap_i2c.3: bus 3 rev1.4.0 at 100 kHz
    [ 0.127014] omap_i2c omap_i2c.2: bus 2 rev1.4.0 at 100 kHz
    [ 0.127777] omap-iommu omap-iommu.0: isp registered
    [ 0.127960] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [ 0.128570] Bluetooth: Core ver 2.16
    [ 0.128631] NET: Registered protocol family 31
    [ 0.128662] Bluetooth: HCI device and connection manager initialized
    [ 0.128692] Bluetooth: HCI socket layer initialized
    [ 0.128692] Bluetooth: L2CAP socket layer initialized
    [ 0.128723] Bluetooth: SCO socket layer initialized
    [ 0.128906] Switching to clocksource 32k_counter
    [ 0.150146] usbhs_omap usbhs_omap: xclk60mhsp1_ck set parentfailed error:-22
    [ 0.150177] usbhs_omap usbhs_omap: xclk60mhsp2_ck set parentfailed error:-22
    [ 0.150665] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [ 0.155670] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
    [ 0.156036] NET: Registered protocol family 2
    [ 0.156250] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.156646] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.156829] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.156951] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.156951] TCP reno registered
    [ 0.156982] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.157012] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.157257] NET: Registered protocol family 1
    [ 0.157623] RPC: Registered named UNIX socket transport module.
    [ 0.157653] RPC: Registered udp transport module.
    [ 0.157653] RPC: Registered tcp transport module.
    [ 0.157653] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.309234] VFS: Disk quotas dquot_6.5.2
    [ 0.309295] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.310302] JFFS2 version 2.2. (NAND) (SUMMARY) �੩ 2001-2006 Red Hat, Inc.
    [ 0.310791] msgmni has been set to 461
    [ 0.312225] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
    [ 0.312347] io scheduler noop registered
    [ 0.312347] io scheduler deadline registered
    [ 0.312438] io scheduler cfq registered (default)
    [ 0.313140] OMAP DSS rev 2.0
    [ 0.315124] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [ 0.316375] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
    [ 0.316833] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
    [ 0.317169] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
    [ 1.059814] console [ttyO2] enabled
    [ 1.063873] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
    [ 1.079162] brd: module loaded
    [ 1.086303] loop: module loaded
    [ 1.091217] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit)
    [ 1.101104] Creating 5 MTD partitions on "omap2-nand.0":
    [ 1.106719] 0x000000000000-0x000000080000 : "X-Loader"
    [ 1.113342] 0x000000080000-0x000000260000 : "U-Boot"
    [ 1.120147] 0x000000260000-0x000000280000 : "U-Boot Env"
    [ 1.126739] 0x000000280000-0x000000680000 : "Kernel"
    [ 1.134246] 0x000000680000-0x000020000000 : "File System"
    [ 1.311462] usbcore: registered new interface driver catc
    [ 1.317230] usbcore: registered new interface driver kaweth
    [ 1.323059] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
    [ 1.330963] usbcore: registered new interface driver pegasus
    [ 1.336975] usbcore: registered new interface driver rtl8150
    [ 1.342987] usbcore: registered new interface driver asix
    [ 1.348693] usbcore: registered new interface driver cdc_ether
    [ 1.354858] usbcore: registered new interface driver dm9601
    [ 1.360778] usbcore: registered new interface driver smsc95xx
    [ 1.366882] usbcore: registered new interface driver gl620a
    [ 1.372772] usbcore: registered new interface driver net1080
    [ 1.378753] usbcore: registered new interface driver plusb
    [ 1.384582] usbcore: registered new interface driver rndis_host
    [ 1.390838] usbcore: registered new interface driver cdc_subset
    [ 1.397094] usbcore: registered new interface driver zaurus
    [ 1.403015] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
    [ 1.411132] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.418090] _regulator_get: ehci-omap.0 supply hsusb0 not found, using dummy regulator
    [ 1.426452] _regulator_get: ehci-omap.0 supply hsusb1 not found, using dummy regulator
    [ 3.449279] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    [ 3.455444] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    [ 3.463317] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    [ 3.480590] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    [ 3.486724] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 3.493835] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3.501403] usb usb1: Product: OMAP-EHCI Host Controller
    [ 3.506958] usb usb1: Manufacturer: Linux 3.3.7 ehci_hcd
    [ 3.512542] usb usb1: SerialNumber: ehci-omap.0
    [ 3.517822] hub 1-0:1.0: USB hub found
    [ 3.521789] hub 1-0:1.0: 3 ports detected
    [ 3.550994] Initializing USB Mass Storage driver...
    [ 3.556213] usbcore: registered new interface driver usb-storage
    [ 3.562500] USB Mass Storage support registered.
    [ 3.567565] mousedev: PS/2 mouse device common for all mice
    [ 3.574584] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input0
    [ 3.585998] hibk, run cbc34803_init
    [ 3.589691] hibk, runcbc34803_probe
    [ 3.593383] hibk, cbc34803_read
    [ 3.597839] cbc34803 2-0069: rtc core: registered cbc34803 as rtc0
    [ 3.604339] i2c /dev entries driver
    [ 3.608428] Linux media interface: v0.10
    [ 3.612579] Linux video capture interface: v2.00
    [ 3.618041] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    [ 3.624420] Bluetooth: HCI UART driver ver 2.2
    [ 3.629089] Bluetooth: HCI H4 protocol initialized
    [ 3.634094] Bluetooth: HCI BCSP protocol initialized
    [ 3.639282] Bluetooth: HCILL protocol initialized
    [ 3.644195] Bluetooth: HCIATH3K protocol initialized
    [ 3.649505] usbcore: registered new interface driver btusb
    [ 3.655487] cpuidle: using governor ladder
    [ 3.659759] cpuidle: using governor menu
    [ 3.883728] usbcore: registered new interface driver usbhid
    [ 3.889587] usbhid: USB HID core driver
    [ 3.893951] usbcore: registered new interface driver snd-usb-audio
    [ 3.901245] OMAP3 Beagle/Devkit8000 SoC init
    [ 3.991851] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
    [ 4.001342] ALSA device list:
    [ 4.004486] #0: omap3beagle
    [ 4.007598] oprofile: hardware counters not available
    [ 4.012908] oprofile: using timer interrupt.
    [ 4.017608] TCP cubic registered
    [ 4.020996] NET: Registered protocol family 17
    [ 4.025695] NET: Registered protocol family 15
    [ 4.030395] lib80211: common routines for IEEE802.11 drivers
    [ 4.036315] Registering the dns_resolver key type
    [ 4.041290] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 4.049346] ThumbEE CPU extension supported.
    [ 4.057647] sr_init: No PMIC hook to init smartreflex
    [ 4.063171] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
    [ 4.071472] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
    [ 4.079711] SmartReflex Class3 initialized
    [ 4.088317] clock: disabling unused clocks to save power
    [ 4.094665] registered taskstats version 1
    [ 4.114501] Console: switching to colour frame buffer device 80x30
    [ 4.127807] omapdss DPI: Could not find exact pixel clock. Requested 23500 kHz, got 24000 kHz
    [ 4.139892] regulator_init_complete: VDAC: incomplete constraints, leaving on
    [ 4.149810] input: gpio-keys as /devices/platform/gpio-keys/input/input1
    [ 4.157196] hibk, cbc34803_read
    [ 4.161773] cbc34803 2-0069: setting system clock to 2000-01-01 23:08:35 UTC (946768115)
    [ 4.170715] Waiting for root device /dev/mmcblk0p2...
    [ 4.359771] mmc0: new high speed SDHC card at address aaaa
    [ 4.366119] mmcblk0: mmc0:aaaa SS08G 7.40 GiB (ro)
    [ 4.381134] mmcblk0: p1 p2
    [ 4.394989] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
    [ 4.402404] Please append a correct "root=" boot option; here are the available partitions:
    [ 4.411163] 1f00 512 mtdblock0 (driver?)
    [ 4.416442] 1f01 1920 mtdblock1 (driver?)
    [ 4.421752] 1f02 128 mtdblock2 (driver?)
    [ 4.427032] 1f03 4096 mtdblock3 (driver?)
    [ 4.432342] 1f04 517632 mtdblock4 (driver?)
    [ 4.437622] b300 7761920 mmcblk0 driver: mmcblk
    [ 4.443206] b301 72261 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
    [ 4.451599] b302 7679070 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2
    [ 4.459991] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

    Best regards,
    Thanh
  • Hi Thanh,

    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 61184
    [ 0.000000] Kernel command line: console=ttyO2,115200n8 rw noinitrd omap_vout.vid1_static_vrfb_alloc=y root=/dev/mmc
    [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)

    You are trying to boot linux from SD card.

    Try to add "rootwait" parameter in u-boot boot parameter.

  • Hi Titus S.

    I don't understand why i have to restart NFS server ? because the rootfs is in SD card.

    My linux host machine is ubuntu 12.04 LTS ( I use ti-skd-beagleboard-06.00.00.00)

    Thank you so much !

    Best regards,
    Thanh
  • Hi Thanh,
    Ohh...I was confused about one more thread that I'm working like yours problem. :-)

    Try to add "rootwait" parameter in u-boot boot parameter like below.

    setenv bootargs console=ttyO2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none
  • Hi Titus S.

    Thank you so much !
    I use your boot parameter and my board operated successfully.

    Best regards
    Thanh
  • Sounds good.
    Thanks for your update.