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.
Dear Experts,
I reflshed x-loader, u-boot, kernel and jffs file system successfully, when i reboot the system, it ended with kernel panic error, here is the last few lines of my terminal,
## Booting kernel from Legacy
usbhid: v2.6:USB HID core driver
<4>No device for DAI omap-mcbsp-dai-3
CPU: ARMv7 Processor [41
No device for DAI omap-mcbsp-dai-3387f
<4>No device for DAI omap-mcbsp-dai-4 VIPT nonaliasing data cache, VIPT no
No device for DAI omap-mcbsp-dai-4
<6>OMAP3 EVM SoC init
Machine: OMAP3 E
OMAP3 EVM SoC init
Memory policy: E
<6>TWL4030 Audio Codec initeback
TWL4030 Audio Codec init
<7>On node 0 totalpag
<6>asoc: twl4030 <-> omap-mcbsp-dai-0 mapping okrea_init_node: node 0, pgdat c0440c24, node_mem_
asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
<7> Norm
<6>ALSA device list:ed for memmap
ALSA device list:
<6> #0: omap3evm (twl4030)reserved
#0: omap3evm (twl4030)al zone: 25146 pages, LI
<6>TCP cubic registered
TCP cubic registered3.1 (full speed S
<5>Kernel comma
<6>RPC: Registered udp transport module.oot=/dev/ram0 initrd=0x8
RPC: Registered udp transport module.
1600000,16
<6>RPC: Registered tcp transport module.otate=1 omapfb.rotate_type=1
RPC: Registered tcp transport module.
omap_vo
<3>Power Management for TI OMAP3.1.1.235:10.1.1.188:10.1.1.1:255.2
Power Management for TI OMAP3.
<6>SmartReflex driver initialized:on
<6>Clocking rate (
SmartReflex driver initialized2/500 MHz
<6>Disabling unused clock "sr2_fck"
<6>IVA2 clocking rate: 360 MHz
Disabling unused clock "sr2_fck"programming SDRC
<6>OMAP clo
<6>Disabling unused clock "mcbsp_fck"
Disabling unused clock "mcbsp_fck"ce 80x30
<6>Disabling unused clock "mcbsp_ick"tries: 16384 (order: 4, 65536 bytes)
Disabling unused clock "mcbsp_ick"
<6>I
<6>Disabling unused clock "mcbsp_ick"rder: 3, 32768 bytes)
Disabling unused clock "mcbsp_ick"
<6>Memory: 99MB = 99M
<6>Disabling unused clock "mcbsp_ick">Memory: 79416KB available (3928K cod
Disabling unused clock "mcbsp_ick"
<6>Disabling unused clock "gpt3_ick"
<6>CPU: Testing write bu
Disabling unused clock "gpt3_ick"
<6>net
<6>Disabling unused clock "gpt4_ick"
<6>NET: Registered proto
Disabling unused clock "gpt4_ick"
<4>MUX: setup AF
<6>Disabling unused clock "gpt5_ick" 0x0118
Disabling unused clock "gpt5_ick">MUX: setup L8_34XX_GPIO63 (0xd80
<6>Disabling unused clock "gpt6_ick"
Disabling unused clock "gpt6_ick"GPIO22 (0xd80025ec): 0x0100 -> 0x
<6>Disabling unused clock "gpt7_ick"
<4>MUX:
Disabling unused clock "gpt7_ick" 0x0118 -> 0x011c
<6>Disabling unused clock "gpt8_ick"
<4>MUX: setup AH14_34XX_GPIO2
Disabling unused clock "gpt8_ick"
<6>Disabling unused cl
<4>MUX: se
Disabling unused clock "gpio2_dbck"25f6): 0x0100 -> 0x010b
<6>Disabling unused clock "gpio3_dbck"
<4>MUX: setup AB10_
Disabling unused clock "gpio3_dbck"100 -> 0x010b
<6>Disabling unused clock "gpio4_dbck"
<4>MUX: setup AB9_3430_USB2HS_
Disabling unused clock "gpio4_dbck"b
<6>Disabling unused clock "gpio5_dbck"X: setup W3_3430_USB2HS_PHY_D2 (0xd800
Disabling unused clock "gpio5_dbck"
<6>Disabling unused clock "gpt9_fck"430_USB2HS_PHY_D
<4>MUX: setup
Disabling unused clock "gpt7_fck"): 0x0108 -> 0x010b
<6>Disabling unused clock "gpt6_fck"
<4>MUX: setup T2_343
Disabling unused clock "gpt6_fck"00 -> 0x010b
<6>Disabling unused clock "gpt5_fck"
<3>twl4030: client 1 is not
Disabling unused clock "gpt5_fck"
<3>twl4030: cli
<6>Disabling unused clock "gpt4_fck"
<4>MUX: s
Disabling unused clock "gpt4_fck"): 0x0018 -> 0x011c
<6>Disabling unused clock "gpt3_fck"
<4>MUX: setup C23_34XX_G
Disabling unused clock "gpt3_fck"1c
<6>Disabling unused clock "gpt2_fck"3evmdc: Driver registration complete
Disabling unused clock
<6>Disabling unused clock "wdt2_fck"
<6>OMAP DSS rev 2
Disabling unused clock "wdt2_fck"C rev 3.0
<6
<6>Disabling unused clock "gpio1_dbck"MAP DSI rev 1.0
bio
Disabling unused clock "gpio1_dbck"
<6>i2c_omap i2c
<6>Disabling unused clock "des1_ick"
Disabling unused clock "des1_ick" chaining IRQs 368..375
<6>Disabling unused clock "sha11_ick"6>twl4030: power (irq 373) chaining I
Disabling unused clock "sha11_ick"
<6>Disabling unused clock "mailboxes_ick">usbcore: registered new interface driver
Disabling unused clock "mailboxes_ick"
<6>usbcore: registered ne
<6>Disabling unused clock "mcbsp_ick"
<6>musb_hdr
Disabling unused clock "mcbsp_ick"ug=0
<6>Disabling unused clock "mcbsp_ick"vision 0x33, sysconfig 0x2011, syssta
Disabling unused clock "mcbsp_ick"
<6>Disabling unused clock "gpt10_ick"enable 0x0
<7>musb_hdrc:
Disabling unused clock "gpt10_ick" bu
<6>Disabling unused clock "mspro_ick"
<7>musb_hdrc: hw_ep 0shared, max 64
Disabling unused clock "mspro_ick"<7>musb_hdrc: hw_ep 1tx, max 512
<6>Disabling unused clock "des2_ick"b_hdrc: hw_ep 1rx, max 512
Disabling unused clock "des2_ick"c: hw_ep 2tx, max 512
<6>Disabling unused clock "sha12_ick"ep 2rx, max 512
Disabling unused clock "sha12_ick" max 512
<6>Disabling unused clock "aes2_ick"12
<
Disabling unused clock "aes2_ick"
<7>
<6>Disabling unused clock "icr_ick"
<7>musb_h
Disabling unused clock "icr_ick"
<7>musb_h
<6>Disabling unused
<6>Disabling unused clock "hdq_fck"
<7>musb_hdrc: hw_ep 8tx, ma
Disabling unused clock "hdq_fck"
<7>musb_hdrc: hw_ep 8rx, ma
<6>Disabling unused clock "mcbsp_fck">musb_hdrc: hw_ep 9tx, max 512
Disabling unused clock "mcbsp_fck"drc: hw_ep 9rx, max 64
<6>Disabling unused clock "mcbsp_fck"p 10tx, max 512
Disabling unused clock "mcbsp_fck"x, max 64
<6>Disabling unused clock "mspro_fck"256
Disabling unused clock "mspro_fck"
<7
<6>Disabling unused clock "gpt11_fck"
<7>musb_hd
Disabling unused clock "gpt11_fck"
<7>musb_hdrc
<6>Disabling unused clock "sad2d_ick"
<7>musb_hdrc: hw_ep
<6>usb usb1: New US
<6>VFP support v0.3: VFP support v0.3: implementor 41 architecture 3 part 30 var
<6>usb usb1: New USB device strings: Mfr=3, Product
iant c rev 1ber=1
implementor 41 architecture 3 part 30 variant c rev 1
<6>usb usb1: Product: MUSB HDRC host driver
<4>GPIO-153 autorequested
<6>usb u
GPIO-153 autorequestedx 2.6.29-rc3-omap1 mus
<3>omap-dss DISPC error: Requested pixel clock
<6>IP route cache hash
za
omap-dss: Could not find exact pixel clock. Requested 25190 kHz, got 25189 kHz
<6>TCP established hash table entries: 4096 (order:
<4>Display already enabled
Display already enabled
<6>TCP bind hash
<4>Display already enabled: 2, 16384 bytes)
Display already enabled
<6>Buffer Size = 3686400configured (established
Buffer Size = 3686400
<6>Buffer Size = 3686400
<6>OMAP3
Buffer Size = 36864002.01.03.11 (OMAP3EVM)
<6>omap_vout: registered and initialized video device 1 [mulator V0.97 (double precision)
v4l2]
omap_vout: registered and initialized video device 1 [v4l2]hash table entries: 1024 (order 0, 4096 bytes)
<6>display->updated
<6>JFFS2 ve
display->updated © 2001-2006 Re
<6>net eth0: SMSC911x/921x identified at 0xc685c000, IRQ: 336
<6>msgmni has been set to 187
net eth0: SMSC911x/921x identified at 0xc6
bootserver=10.1.1.188, rootserver=10.1.1.188, rootserver=10.1.1.188, rootpa
th=, rootpath=
<5>RAMDISK: Couldn't find valid RAM disk image starting at 0.
RAMDISK: Couldn't find valid RAM disk image starting at 0.
List of all partitions:
List of all partitions:
1f00 512 mtdblock01f00 512 mtdblock0 (driver?)
(driver?)
1f01 1792 mtdblock11f01 1792 mtdblock1 (driver?)
(driver?)
1f02 256 mtdblock21f02 256 mtdblock2 (driver?)
(driver?)
1f03 5120 mtdblock31f03 5120 mtdblock3 (driver?)
(driver?)
1f04 254464 mtdblock41f04 254464 mtdblock4 (driver?)
(driver?)
No filesystem could mount root, tried: No filesystem could mount root, tried: e
xt3 ext3 ext2 ext2 vfat vfat msdos msdos
<0>Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0
)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
What is the problem, kindly help.. (i thought that kernel must be corrupt so took from back up (where it was installed initially) and tried to port many times, every time i got the same error )
Regards,
Ashwini
Ashwini Deshpande said:What is the problem, kindly help.. (i thought that kernel must be corrupt so took from back up (where it was installed initially) and tried to port many times, every time i got the same error )
Your kernel seems ok, at least it is not crashing, the problem appears to be with the filesystem it is trying to mount, either the filesystem itself or how it is being mounted. Could you post the printenv output from U-Boot so we can take a look at your bootargs? Often a failure like this is related to a problem in the boot arguments which are setup in U-Boot.
Thanks,
Here is my printenv output,
OMAP3_EVM # printenv
baudrate=115200
bootfile="uImage"
ethaddr=00:50:c2:7e:90:b9
rf_unlock=nand unlock
rf_blank_ram=mw.b 0x81600000 0xff 0x1400000
rf_er_xloader=nand erase 0 20000
rf_er_uboot=nand erase 80000 40000
rf_er_env=nand erase 260000 20000
rf_er_kernel=nand erase 280000 220000
rf_er_ramdisk=nand erase 780000 1000000
rf_er_fs=nand erase 780000 1400000
rf_get_xloader=tftpboot 0x81600000 images/boot-strap/x-load.bin.ift
rf_get_uboot=tftpboot 0x81600000 images/u-boot/u-boot.bin
rf_get_kernel=tftpboot 0x81600000 images/kernel/uImage
rf_get_ramdisk=tftpboot 0x81600000 images/fs/ramdisk.gz
rf_get_min_rd=tftpboot 0x81600000 images/fs/ramdisk-base.gz
rf_get_fs=tftpboot 0x81600000 images/fs/rootfs.jffs2
rf_wr_xloader_new=nandecc hw; nand write.i 0x81600000 0 20000
rf_wr_uboot_new=nandecc sw; nand write.i 0x81600000 80000 40000
rf_wr_kernel_new=nandecc sw; nand write.i 0x81600000 280000 220000
rf_wr_ramdisk_new=nandecc sw; nand write.i 0x81600000 780000 1000000
rf_wr_fs_new=nandecc sw; nand write.i 0x81600000 780000 1400000
rf_wr_xloader_old=nand ecc hw; nand write.i 0x81600000 0 20000
rf_wr_uboot_old=nand ecc sw; nand write.i 0x81600000 80000 40000
rf_wr_kernel_old=nand ecc sw; nand write.i 0x81600000 280000 220000
rf_wr_ramdisk_old=nand ecc sw; nand write.i 0x81600000 780000 1000000
rf_wr_fs_old=nand ecc sw; nand write.i 0x81600000 780000 1400000
rf_ev=run rf_unlock; run rf_er_env
rf_xl_old=run rf_unlock; run rf_blank_ram; run rf_er_xloader; run rf_get_xloader; run rf_wr_xloader_old
rf_ub_old=run rf_unlock; run rf_blank_ram; run rf_er_uboot; run rf_get_uboot; run rf_wr_uboot_old
rf_kn_old=run rf_unlock; run rf_blank_ram; run rf_er_kernel; run rf_get_kernel;run rf_wr_kernel_old
rf_rd_old=run rf_unlock; run rf_blank_ram; run rf_er_ramdisk; run rf_get_ramdisk; run rf_wr_ramdisk_old
rf_min_rd_old=run rf_unlock; run rf_blank_ram; run rf_er_ramdisk; run rf_get_min_rd; run rf_wr_ramdisk_old
rf_fs_old=run rf_unlock; run rf_blank_ram; run rf_er_fs; run rf_get_fs; run rf_wr_fs_old
rf_xl_new=run rf_unlock; run rf_blank_ram; run rf_er_xloader; run rf_get_xloader; run rf_wr_xloader_new
rf_ub_new=run rf_unlock; run rf_blank_ram; run rf_er_uboot; run rf_get_uboot; run rf_wr_uboot_new
rf_kn_new=run rf_unlock; run rf_blank_ram; run rf_er_kernel; run rf_get_kernel;run rf_wr_kernel_new
rf_rd_new=run rf_unlock; run rf_blank_ram; run rf_er_ramdisk; run rf_get_ramdisk; run rf_wr_ramdisk_new
rf_min_rd_new=run rf_unlock; run rf_blank_ram; run rf_er_ramdisk; run rf_get_min_rd; run rf_wr_ramdisk_new
rf_fs_new=run rf_unlock; run rf_blank_ram; run rf_er_fs; run rf_get_fs; run rf_wr_fs_new
rf_all_rd_old=run rf_xl_old; run rf_ub_old; run rf_kn_old; run rf_rd_old
rf_all_min_rd_old=run rf_xl_old; run rf_ub_old; run rf_kn_old; run rf_min_rd_old
rf_all_fs_old=run rf_xl_old; run rf_ub_old; run rf_kn_old; run rf_fs_old
rf_all_rd_new=run rf_xl_new; run rf_ub_new; run rf_kn_new; run rf_rd_new
rf_all_min_rd_new=run rf_xl_new; run rf_ub_new; run rf_kn_new; run rf_min_rd_new
rf_all_fs_new=run rf_xl_new; run rf_ub_new; run rf_kn_new; run rf_fs_new
filesize=E00000
fileaddr=81600000
gatewayip=10.1.1.1
netmask=255.255.255.0
ipaddr=10.1.1.235
serverip=10.1.1.188
bootargs=omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y
get_kernel=run nand_kernel
get_initrd=run nand_initrd
nand_kernel=nand read.i 0x80000000 280000 220000
nand_initrd=nand read.i 0x81600000 780000 1000000
tftp_kernel=tftpboot 0x80000000 uImage
tftp_initrd=tftpboot 0x81600000 ramdisk.gz
bootargs_rd=mem=99M console=ttyS0,115200n8 root=/dev/ram0 initrd=0x81600000,16M
ramdisk_size=40960 mpurate=600 omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y
bootargs_fs=mem=99M console=ttyS0,115200n8 noinitrd root=/dev/mtdblock4 rw rootf stype=jffs2 mpurate=600 omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y
bootargs_nfs=mem=99M console=ttyS0,115200n8 noinitrd ip=dhcp rw root=/dev/nfs nf sroot=<nfsserver_ip>:/home/<useracct>/workdir/filesys,nolock mpurate=600 omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:on
boot_rd=run get_kernel; run get_initrd; setenv bootargs $(bootargs_rd); run addip; bootm 0x80000000
boot_fs=run get_kernel; setenv bootargs $(bootargs_fs); run addip; bootm 0x80000000
boot_nfs=run get_kernel; setenv bootargs $(bootargs_nfs); run addip; bootm 0x80000000
bootcmd=run boot_rd
bootdelay=20
stdin=serial
stdout=serial
stderr=serial
Environment size: 4503/131068 bytes
Regards,
Ashwini
When i tried to send reflash-micron.txt and initenv-micron.txt via hyper terminal, i got 'Illegal format' error, (although i had converted both of them to windows compatible using unix2dos command).
So, i set the environmental variables one by one manually present those files .
Regards,