Kernel panic when booting from SD card

Document created by Aaronwu Employee on Mar 16, 2016Last modified by lallison on Jun 13, 2016
Version 2Show Document
  • View in full screen mode



I'm following the official quick start guide to boot from the SD card, it works fine with the prebuilt kernel vmImage file released in the CCES Linux Add-in package, but when I try to use my own built kernel vmImage, I get error kernel panic message like following, what should I do?


Kernel panic - not syncing: junk in compressed archive

CPU: 0 PID: 1 Comm: swapper Not tainted 4.0.0-ADI-1.0.0 #6

Hardware name: SC58x-EZKIT (Device Tree Support)

[<c00138b4>] (unwind_backtrace) from [<c001106c>] (show_stack+0x10/0x14)

[<c001106c>] (show_stack) from [<c034efec>] (panic+0x90/0x1e4)

[<c034efec>] (panic) from [<c04ce090>] (populate_rootfs+0x30/0xb8)

[<c04ce090>] (populate_rootfs) from [<c000881c>] (do_one_initcall+0x8c/0x1d8)

[<c000881c>] (do_one_initcall) from [<c04ccd9c>] (kernel_init_freeable+0x144/0x1e4)

[<c04ccd9c>] (kernel_init_freeable) from [<c034ddb4>] (kernel_init+0xc/0xe8)

[<c034ddb4>] (kernel_init) from [<c000e1a0>] (ret_from_fork+0x14/0x34)

---[ end Kernel panic - not syncing: junk in compressed archive

random: nonblocking pool is initialized




The default buildroot configuration is for using with the RAM boot uImage, when build vmImage for SD boot, try to disable the following item in buildroot menuconfig:



make menuconfig:

filesystem images->

[ ] initial RAM filesystem linked into linux kernel

2 people found this helpful