AnsweredAssumed Answered

i.MX6Q Kernel Panic - Yocto

Question asked by Joel Winarske on Apr 29, 2020
Latest reply on Apr 30, 2020 by Bio_TICFSL

I'm working with a BD Sabrelite board (rev-D), and attempting to boot a Yocto build:

Linux version 4.14.98-2.0.0-ga+yocto+g040261770bd9 (oe-user@oe-host) (gcc version 9.2.0 (GCC)sor [412fc09a] revision 10 (ARMv7), cr=10c5387d


I can boot a core-image-weston image without additions.  Once I started adding Alsa, vpu, and gstreamer I'm hitting this kernel panic.  Full boot log attached.


Known issue?









Registering SWP/SWPB emulation handler
AppArmor: AppArmor sha1 policy hashing enabled
01-01 00:00:00 UTC (0)
usb_otg_vbus: disabling
ALSA device list:
  #0: sgtl5000-audio
hub 1-1:1.0: USB hub found
hub 1-1:1.EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. vice 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 1024K
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00


CPU0: stopping
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.98-2.0.0-ga+yocto+g040261770bd9 #1
Hardware name: Fre4>] (dump_backtrace) from [<8010d004>] (show_stack+0x18/0x1c)
 r7:60000193 r6:80e689ac r5:00000000 r4:80e689ac
[<8010cfec>] (s] (dump_stack) from [<8010fb78>] (handle_IPI+0x188/0x1b4)
 r7:80e01ee0 r6:80d7bcbc r5:00000004 r4:80d7bcbc
[<8010f9f0>] (handl0 r8:f4a01100 r7:f4a00100 r6:f4a0010c r5:80e23048 r4:80e040cc
Exception stack(0x80e01ee0 to 0x80e01f28)
1ee0: 00000001 00000000 00000000 8011a520 80e00000 80e03dc0 80e03d70 80d7b660
1f00: 80e01f50 00000000 00000000 80e01f3c 80e01f40 80e01f30 80108dbc 80108dc0
1f20: 60000113 ffffffff
 r9:80e00000 r8:80e01f50 r7:80e01f14 r6:ffffffff r5:60000113 r4:80108dc0
[<80108d80>] (arch_cpu_idle) from [<809ab71c>] (default_idle_call+0x28/0x34)
[<809ab6f4>] (default_idle_call) from [<8016e2c4>] (do_idle+0x1c8/0x20c)
[<8016e0fc>] (do_idle) from [<8016e608>] (cpu_startup_entry+0x20/0x24)
 r10:80d66a30 r9:abfff780 r8:80e6b000 r7:ffffffff r6:80e03d40 r5:00000002
 r4:000000be r3:80e00000
[<8016e5e8>] (cpu_startup_entry) from [<809a5aa8>] (rest_init+0xcc/0xd0)
[<809a59dc>] (rest_init) from [<80d00df0>] (start_kernel+0x410/0x438)
 r5:80e6b000 r4:80e6b04c
ktrace: e0>] (start_kernel) fr: swapper/2 Not tainted 4.14.98-2.0.0-ga+yocto+g040261770bd9 #1
[<8010cc84>] (dump_backtrace) from [<8010d004>] (show_0x188/0x1b4)
 r7:a80a1f30 r6:80d7bcbc r5:00000004 r4:80d7bcbc
[<8010f9f0>] (handle_IPI) from [<801015e4>] (gic_handle_irq+0x94/0x98)
 r9:a80a1f30 r8:f4a01100 r7:f4a00100 r6:f4a0010c r5:80e2a1fa0 00000000 00000000 a80a1f8c
1f60: a80a1f90 a80a1f80 80108df64 r6:ffffffff r5:600e0113 r4:80108dc0
[<80108d80>] (arch_cpu_c0387d r5:00000002
 r4:00000084 r3:a80a0000
[<8016e5e8>] (cpu_70bd9 #1
Hardware name: Freescale i.MX6 Quad/DualLite (Device Trace:
[<8010cc84>] (dump_backtrace) from [<8010d004>] (show_stx94)
[<809924c4>] (dump_stack) from [<8010fb78>] (handle_IPI+0x48 r4:80e040cc
[<80101550>] (gic_handle_irq) from [<8010d28c>] (__irq_svc+0x6c/0xa8)
Exception stack(0xa80a3f30 to 0xa80a3f78)000000 8011a520
3f40: a80a2000 80e03dc0 80e03d70 80d7b660 a80a3 80108dc0 60000013 ffffffff
 r9:a80a2000 r8:a80a3fa0 r7:a80a3f6le) from [<809ab71c>] (default_idle_call+0x28/0x34)
[<809ab6f4><8016e0fc>] (do_idle) from [<8016e608>] (cpu_startup_entry+0x20/artup_entry) from [<8010f778>] (secondary_start_kernel+0x15c/0x168)
[<8010f61c>] (secondary_start_kernel) from [<101018ec>] (0x101018ec)
 r5:00000051 r4:3809006a
---[ end Kernel panic - not