[imx6dl-sabreauto]linux-3.0.35,print"kernel panic"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[imx6dl-sabreauto]linux-3.0.35,print"kernel panic"

575 Views
zhuzili
Contributor I

I download image from web, and flash linux image to sd card,but kernel panic.

image files:u-boot-mx6dl-sabreauto.bin, uImage, rootfs.ext2.gz

log:

Bluetooth: RFCOMM TTY layer initialized

Bluetooth: RFCOMM socket layer initialized

Bluetooth: RFCOMM ver 1.11

Bluetooth: BNEP (Ethernet Emulation) ver 1.3

Bluetooth: BNEP filters: protocol multicast

Bluetooth: HIDP (Human Interface Emulation) ver 1.2

lib80211: common routines for IEEE802.11 drivers

VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

Bus freq driver module loaded

Bus freq driver Enabled

mxc_dvfs_core_probe

DVFS driver module loaded

regulator_init_complete: VGEN6: incomplete constraints, leaving on

regulator_init_complete: VGEN5: incomplete constraints, leaving on

regulator_init_complete: VGEN4: incomplete constraints, leaving on

regulator_init_complete: VGEN2: incomplete constraints, leaving on

snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:04:02 UTC (242)

VFS: Mounted root (vfat filesystem) on device 179:1.

Freeing init memory: 208K

Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

[<80048854>] (unwind_backtrace+0x0/0xf8) from [<8050ac74>] (panic+0x74/0x18c)

[<8050ac74>] (panic+0x74/0x18c) from [<8050a988>] (init_post+0xa0/0xc4)

[<8050a988>] (init_post+0xa0/0xc4) from [<800089b4>] (kernel_init+0x10c/0x13c)

[<800089b4>] (kernel_init+0x10c/0x13c) from [<80042aa4>] (kernel_thread_exit+0x0/0x8)

CPU0: stopping

[<80048854>] (unwind_backtrace+0x0/0xf8) from [<8003c324>] (do_IPI+0x150/0x17c)

[<8003c324>] (do_IPI+0x150/0x17c) from [<80041a0c>] (__irq_svc+0x4c/0xe8)

Exception stack(0x80a91f68 to 0x80a91fb0)

1f60:                   80afb380 20000093 00000001 00000000 80a90000 80af3f24

1f80: 80aa5a70 80513188 80aa8e7c 412fc09a 00000000 00000000 00000000 80a91fb0

1fa0: 8005076c 80042b04 40000013 ffffffff

[<80041a0c>] (__irq_svc+0x4c/0xe8) from [<80042b04>] (default_idle+0x24/0x28)

[<80042b04>] (default_idle+0x24/0x28) from [<80042d20>] (cpu_idle+0xe0/0x124)

[<80042d20>] (cpu_idle+0xe0/0x124) from [<80008868>] (start_kernel+0x248/0x288)

[<80008868>] (start_kernel+0x248/0x288) from [<10008040>] (0x10008040)

Labels (2)
0 Kudos
2 Replies

412 Views
bpe
NXP Employee
NXP Employee

Your rootfs binary is EXT2 while the kernel mounts VFAT as root. This suggests that your SD card was

improperly prepared for booting or your kernel parameter string has a invalid "root=<dev>" token.

Make sure you followed either Section 7.4 or Section 8.4 of i.MX 6Solo/6DualLite SABRE-AI Linux

User's Guide for your BSP version to prepare your SD card. Make sure you specified the correct

boot partition on the kernel command line. See Section 9.2 of the same document for additional

details. Document bundle for your BSP version can be obtained from this page:

Embedded Linux for i.MX Applications Processo|NXP


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

412 Views
zhuzili
Contributor I

thank you very much, bpe!

The "kernel panic" reason is  that i divided sd card into two partitions:ext3 and fat,  so kernel maybe mount vfat partition, but the menu bar shows“口口口”,i don`t know why? i am doing the new rootfs

I plan  to flash u-boot.bin to spi nor flash,  flash uImage and rootfs  to emmc through sd card,how to partition emmc,and flash,could you give me some suggests?

0 Kudos