UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Participant sponduri
Participant
336 Views
Registered: ‎07-31-2018

Petalinux kernel hanging randomly when booting up

Hi,

I am using petalinux 2018.3 to build linux for a custom board. The linux boots properly for most of the time but randomly the boot process hangs at the following stages

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.0 (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP Thu May 30 23:35:25 UTC 2019
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine model: xlnx,zynqmp
[ 0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '')
[ 0.000000] bootconsole [cdns0] enabled

[and]

Hit any key to stop autoboot: 0
Device: mmc@ff160000
Manufacturer ID: 15
OEM: 100
Name: 8GTF4
Tran Speed: 200000000
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 7.3 GiB
Bus Width: 4-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 7.3 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 512 KiB ENH
reading image.ub
5593196 bytes read in 389 ms (13.7 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
Using 'conf@system-top.dtb' configuration
Trying 'kernel@1' kernel subimage
Description: Linux kernel
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x100000f8
Data Size: 5555760 Bytes = 5.3 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x00080000
Entry Point: 0x00080000
Hash algo: sha1
Hash value: 93fff9bd1085dc7934d27b4ad3928e7ccdfbc39a
Verifying Hash Integrity ... sha1+ OK
## Loading fdt from FIT Image at 10000000 ...
Using 'conf@system-top.dtb' configuration
Trying 'fdt@system-top.dtb' fdt subimage
Description: Flattened Device Tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x1054c82c
Data Size: 35532 Bytes = 34.7 KiB
Architecture: AArch64
Hash algo: sha1
Hash value: 362a9ef3974a690fcfd3baf877184f194cf756a4
Verifying Hash Integrity ... sha1+ OK
Booting using the fdt blob at 0x1054c82c
Uncompressing Kernel Image ... OK
Loading Device Tree to 0000000007ff4000, end 0000000007fffacb ... OK

Starting kernel ...

I have cross checked the serial device addresses in device tree and also the kernel arguments I am using are

earlycon=cdns,0xff000000 console=ttyPS0,115200n8 clk_ignore_unused root=/dev/mmcblk1p2 rw rootwait uio_pdrv_genirq.of_id=generic-uio

Could some one please guide me to possible reasons on why this is happening

Thanks

 

0 Kudos
2 Replies
Moderator
Moderator
302 Views
Registered: ‎05-10-2017

Re: Petalinux kernel hanging randomly when booting up

Do you have xsdb or vivado/sdk connected through jtag? Please disable cpu-idle by following the AR below.

https://www.xilinx.com/support/answers/69143.html

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Participant sponduri
Participant
288 Views
Registered: ‎07-31-2018

Re: Petalinux kernel hanging randomly when booting up

Not sure if I am facing the same problem as described in the article but I made the necessary changes in my kernel and have to test it. Will comment on the issue after adequately testing it

0 Kudos