Linux does not boot

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

Linux does not boot

1,646 Views
yunbaekim
Contributor II

Linux does not boot.

See the 'NoGoodCase_LinuxBoot.txt" please.

 

 

Is it related to CAAM (Cryptographic Acceleration and Assurance Module)?

 


platform caam_sm: [0016] ef 79 50 00 19 e2 5e 43
platform caam_sm: [0024] 68 35 44 35 82 29 1c 85
snvs-secvio 20cc000.caam-snvs: violation handlers armed - check state
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
cs42xx8 1-0048: found device, revision 4
fsl-asrc 2034000.asrc: driver registered
snd-soc-dummy snd-soc-dummy: ASoC: Failed to create platform debugfs directory
imx-cs42888 sound-cs42888.25: cs42888 <-> 2024000.esai mapping ok
imx-cs42888 sound-cs42888.25: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
imx-cs42888 sound-cs42888.25: cs42888 <-> 2024000.esai mapping ok
imx-spdif sound-spdif.20: snd-soc-dummy-dai <-> 2004000.spdif mapping ok
imx-audio-hdmi sound-hdmi.21: hdmi-hifi <-> hdmi_audio.3 mapping ok
imx-tuner-si476x sound-fm.30: failed to find FM platform device
imx-tuner-si476x: probe of sound-fm.30 failed with error -22
NET: Registered protocol family 26
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
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: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
failed to disable 1.2 GHz OPP
VGEN2: disabling
VGEN2: couldn't disable: -5
SWBST: disabling
SW4: disabling
regulator-dummy: disabling
imx mcc test is registered.
usb_h1_vbus: 5000 mV
usb_otg_vbus: 5000 mV
ci_hdrc ci_hdrc.0: doesn't support gadget
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
UBI: attaching mtd3 to ubi0
random: nonblocking pool is initialized
UBI: scanning is finished
UBI: attached mtd3 (name "rootfs", size 8096 MiB) to ubi0
UBI: PEB size: 1048576 bytes (1024 KiB), LEB size: 1032192 bytes
UBI: min./max. I/O unit sizes: 8192/8192, sub-page size 8192
UBI: VID header offset: 8192 (aligned 8192), data offset: 16384
UBI: good PEBs: 8086, bad PEBs: 10, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1799680477
UBI: available PEBs: 0, total reserved PEBs: 8086, PEBs reserved for bad PEB handling: 150
UBI: background thread "ubi_bgt0d" started, PID 146
input: gpio-keys.18 as /devices/soc0/gpio-keys.18/input/input1
snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)
ALSA device list:
#0: cs42888-audio
#1: imx-spdif
#2: imx-hdmi-soc
UBIFS: recovery needed
UBIFS: recovery deferred
UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
UBIFS: LEB size: 1032192 bytes (1008 KiB), min./max. I/O unit sizes: 8192 bytes/8192 bytes
UBIFS: FS size: 8177025024 bytes (7798 MiB, 7922 LEBs), journal size 33030144 bytes (31 MiB, 32 LEBs)
UBIFS: reserved for root: 4952683 bytes (4836 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 3511CB4F-9804-45B0-975E-3CDA9761602D, small LPT model
VFS: Mounted root (ubifs filesystem) readonly on device 0:12.
devtmpfs: mounted
Freeing unused kernel memory: 328K (80d1f000 - 80d71000)
INIT: version 2.88 booting
Starting udev
udev: Not using udev cache because of changes detected in the following files:
udev: /proc/version /proc/cmdline /proc/devices
udev: lib/udev/rules.d/* etc/udev/rules.d/*
udev: The udev cache will be regenerated. To identify the detected changes,
udev: compare the cached sysconf at /etc/udev/cache.data
udev: against the current sysconf at /dev/shm/udev.cache
udevd[176]: starting version 182
DBG sensor data is at 7f014218
ERROR: v4l2 capture: slave not found!
UBIFS: completing deferred recovery
UBIFS: background thread "ubifs_bgt0_0" started, PID 229
UBIFS: deferred recovery completed
bootlogd: cannot allocate pseudo tty: No such file or directory
Populating dev cache
ALSA: Restoring mixer settings...
No state is present for card cs42888audio
Found hardware: "cs42888-audio" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card cs42888audio
No state is present for card imxspdif
Found hardware: "imx-spdif" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card imxspdif
No state is present for card imxhdmisoc
Found hardware: "imx-hdmi-soc" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card imxhdmisoc
Thu Jul 28 10:39:33 UTC 2016                     <<===========last message line

Original Attachment has been moved to: GoodCase_linuxBoot.txt.zip

Original Attachment has been moved to: NoGoodCase_LinuxBoot.txt.zip

0 Kudos
5 Replies

987 Views
igorpadykov
NXP Employee
NXP Employee

what board used in the case - is it Sabre AI reference board ?

Please check that mfgtool2-yocto-mx-sabreauto*.vbs file was

used when programming with mfg tools

0 Kudos

987 Views
igorpadykov
NXP Employee
NXP Employee

Hi  yunbaekim

I do not think that caam is the reason, more probably this

is ddr errors or corrupted nand image. So make sense to change/rewrite

nand.

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

0 Kudos

987 Views
yunbaekim
Contributor II

Hello igorpadykov.

Always stop at same time( before print 'INIT: Entering runlevel: 5').

And same phenomenon appears when boot from SDCARD.

0 Kudos

987 Views
igorpadykov
NXP Employee
NXP Employee

please try Demo Images from official i.MX6 product page

i.MX 6 Series Software and Development Tool|NXP 

0 Kudos

987 Views
yunbaekim
Contributor II

Hello igorpadykov~.

I tried Demo Images from official page('L4.1.15_2.0.0-ga_mfg-tools').

But the same result occurred.

See the log file please.

Header 1

platform caam_sm: [0016] 9d f5 a1 ab 0a 2d ce bd
platform caam_sm: [0024] 8f 20 2e ad fc 95 89 b8
snvs-secvio 20cc000.caam-snvs: can't get snvs clock
snvs-secvio 20cc000.caam-snvs: violation handlers armed - check state
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
cs42xx8 1-0048: found device, revision 4
fsl-asrc 2034000.asrc: driver registered
imx-cs42888 sound-cs42888: cs42888 <-> 2024000.esai mapping ok
imx-cs42888 sound-cs42888: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
imx-cs42888 sound-cs42888: cs42888 <-> 2024000.esai mapping ok
imx-spdif sound-spdif: snd-soc-dummy-dai <-> 2004000.spdif mapping ok
imx-tuner-si476x sound-fm: failed to find FM platform device
imx-tuner-si476x: probe of sound-fm failed with error -22
imx-audio-hdmi sound-hdmi: hdmi-hifi <-> soc:hdmi_audio@00120000 mapping ok
NET: Registered protocol family 26
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
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: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
imx_epdc_fb 20f4000.epdc: can't get/select pinctrl
ubi0: attaching mtd4
random: nonblocking pool is initialized
ubi0: scanning is finished
ubi0: attached mtd4 (name "rootfs", size 8096 MiB)
ubi0: PEB size: 1048576 bytes (1024 KiB), LEB size: 1032192 bytes
ubi0: min./max. I/O unit sizes: 8192/8192, sub-page size 8192
ubi0: VID header offset: 8192 (aligned 8192), data offset: 16384
ubi0: good PEBs: 8086, bad PEBs: 10, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1504641347
ubi0: available PEBs: 0, total reserved PEBs: 8086, PEBs reserved for bad PEB handling: 150
ubi0: background thread "ubi_bgt0d" started, PID 144
dhd_module_init in
input: gpio-keys as /devices/soc0/gpio-keys/input/input1
snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)
VGEN2: disabling
SW4: disabling
ALSA device list:
#0: cs42888-audio
#1: imx-spdif
#2: imx-hdmi-soc
UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
UBIFS (ubi0:0): LEB size: 1032192 bytes (1008 KiB), min./max. I/O unit sizes: 8192 bytes/8192 bytes
UBIFS (ubi0:0): FS size: 8177025024 bytes (7798 MiB, 7922 LEBs), journal size 33030144 bytes (31 MiB, 32 LEBs)
UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB)
UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 9E8922F6-D319-4E3F-999D-062358AC85C8, small LPT model
VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
devtmpfs: mounted
Freeing unused kernel memory: 428K (80ae7000 - 80b52000)
INIT: version 2.88 booting
Starting udev
udevd[174]: starting version 3.1.5
galcore: clk_get vg clock failed, disable vg!
Galcore version 5.0.11.41671
ERROR: v4l2 capture: slave not found!
UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 383
bootlogd: cannot allocate pseudo tty: No such file or directory
Populating dev cache
ALSA: Restoring mixer settings...
No state is present for card imxspdif
Found hardware: "imx-spdif" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card imxspdif
Fri Sep 16 20:32:27 UTC 2016
0 Kudos