Problem booting Angstrom 2016.12 on imx28evk

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

Problem booting Angstrom 2016.12 on imx28evk

1,272 Views
sonuabraham
Contributor I

Hi ,

I am trying to build Angstrom 2016.12 based systemd-image for imx28evk.

I have placed u-boot.sb in the fist partition of the SD card and I am using tftp boot for the kernel image and NFS for the root file system.

I am getting the following error at the last stage of the boot process.

I have attached full kernel logs and my u-boot environment settings below ..


Welcome to The Ångström Distribution v2016.12!

[    8.556899] systemd[1]: Set hostname to <imx28evk>.
[    8.588386] systemd[1]: Initializing machine ID from random generator.
[    9.951135] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b
[    9.951135]
[    9.960349] CPU: 0 PID: 1 Comm: systemd Not tainted 4.8.17-fslc+g35ef795 #1
[    9.967341] Hardware name: Freescale MXS (Device Tree)
[    9.972579] [<c000fb84>] (unwind_backtrace) from [<c000dbc8>] (show_stack+0x10/0x14)
[    9.980394] [<c000dbc8>] (show_stack) from [<c00ca018>] (panic+0xbc/0x23c)
[    9.987346] [<c00ca018>] (panic) from [<c001a53c>] (do_exit+0xa28/0xa74)
[    9.994110] [<c001a53c>] (do_exit) from [<c001bda8>] (do_group_exit+0x38/0xbc)
[   10.001397] [<c001bda8>] (do_group_exit) from [<c00279d0>] (get_signal+0x1ec/0x890)
[   10.009111] [<c00279d0>] (get_signal) from [<c000d098>] (do_signal+0xb4/0x44c)
[   10.016385] [<c000d098>] (do_signal) from [<c000d600>] (do_work_pending+0xc0/0xd0)
[   10.024007] [<c000d600>] (do_work_pending) from [<c000a288>] (slow_work_pending+0xc/0x20)
[   10.032284] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b
[   10.032284]
[   37.079265] random: crng init done

 

 

Please guide me how to debug the Kenel panic or suggest me if I am missing out some settings in kernel configuration  ..

Thanks in advance ...

Sonu Abraham

Original Attachment has been moved to: u-boot-environement.zip

Original Attachment has been moved to: kenel-full-logs.zip

Labels (2)
Tags (1)
0 Kudos
Reply
2 Replies

884 Views
sonuabraham
Contributor I

Hi Igor,

Thanks for the information .

I added few more logs by changing the kernel boot parameters and got the following log

Looks some components related to virtualization is missing ..

[    8.469578] VFS: Mounted root (nfs filesystem) on device 0:13.
[    8.481480] devtmpfs: mounted
[    8.487182] Freeing unused kernel memory: 284K (c0811000 - c0858000)
[    8.493591] This architecture does not have kernel memory protection.
[   10.231393] systemd[1]: System time before build time, advancing clock.
Mounting cgroup to /sys/fs/cgroup/cpu of type cgroup with options cpu.
systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL -XZ +LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD +IDN)
No virtualization found in DMI
No virtualization found in CPUID
Virtualization XEN not found, /proc/xen/capabilities does not exist
No virtualization found in /proc/device-tree/*
No virtualization found in /proc/cpuinfo.
This platform does not support /proc/sysinfo
Found VM virtualization none
Detected architecture arm.

Welcome to The Ångström Distribution v2016.12!

Set hostname to <imx28evk>.
[   11.911468] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b
[   11.911468]
[   11.920684] CPU: 0 PID: 1 Comm: systemd Not tainted 4.8.17-fslc+g35ef795 #1
[   11.927673] Hardware name: Freescale MXS (Device Tree)
[   11.932911] [<c000fb84>] (unwind_backtrace) from [<c000dbc8>] (show_stack+0x10/0x14)
[   11.940726] [<c000dbc8>] (show_stack) from [<c00ca018>] (panic+0xbc/0x23c)
[   11.947675] [<c00ca018>] (panic) from [<c001a53c>] (do_exit+0xa28/0xa74)
[   11.954435] [<c001a53c>] (do_exit) from [<c001bda8>] (do_group_exit+0x38/0xbc)
[   11.961726] [<c001bda8>] (do_group_exit) from [<c00279d0>] (get_signal+0x1ec/0x890)
[   11.969438] [<c00279d0>] (get_signal) from [<c000d098>] (do_signal+0xb4/0x44c)
[   11.976715] [<c000d098>] (do_signal) from [<c000d600>] (do_work_pending+0xc0/0xd0)
[   11.984336] [<c000d600>] (do_work_pending) from [<c000a288>] (slow_work_pending+0xc/0x20)
[   11.992609] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b
[   11.992609]
[   36.205745] random: crng init done

Is there any configuration settings for enabling the virtualization components when building the kernel for imx28evk boards.

Thanks,

Sonu Abraham

0 Kudos
Reply

884 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sonu

most possible reason is ddr errors, one can find optimized setting with tool on

https://community.freescale.com/docs/DOC-1455

https://community.freescale.com/message/375692#375692

other reason may be brownout exceptions, one can add debug printfs or run application

with jtag step by step to find out it.

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

0 Kudos
Reply