cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
701 Views
Registered: ‎09-26-2017

Linux Kernel hang

Hi,

 

While booting a linux kernel on Zync Utrascale MP (ZCU-102) with 2017.3SDK , the kernel is hanged on 

 

[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[ 0.000000] bootconsole [cdns0] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 256 MiB at 0x000000006d400000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] percpu: Embedded 21 pages/cpu @ffffffc87ff68000 s48152 r8192 d29672 u86016
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1034240
[ 0.000000] Kernel command line: earlycon clk_ignore_unused
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] software IO TLB [mem 0x69400000-0x6d400000] (64MB) mapped at [ffffffc069400000-ffffffc06d3fffff]
[ 0.000000] Memory: 3777964K/4194304K available (9020K kernel code, 582K rwdata, 2840K rodata, 512K init, 394K bss, 154196K reserved, 262144K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB)
[ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008950000 ( 9024 KB)
[ 0.000000] .rodata : 0xffffff8008950000 - 0xffffff8008c20000 ( 2880 KB)
[ 0.000000] .init : 0xffffff8008c20000 - 0xffffff8008ca0000 ( 512 KB)
[ 0.000000] .data : 0xffffff8008ca0000 - 0xffffff8008d31a00 ( 583 KB)
[ 0.000000] .bss : 0xffffff8008d31a00 - 0xffffff8008d945b4 ( 395 KB)
[ 0.000000] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB)
[ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum)
[ 0.000000] 0xffffffbf00000000 - 0xffffffbf1dc00000 ( 476 MB actual)
[ 0.000000] memory : 0xffffffc000000000 - 0xffffffc880000000 ( 34816 MB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 64.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 99.99MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171015c90f, max_idle_ns: 440795203080 ns
[ 0.000002] sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 4398046511101ns
[ 0.008248] Console: colour dummy device 80x25
[ 0.012506] console [tty0] enabled
[ 0.015872] bootconsole [cdns0] disabled
 

Please help 

0 Kudos
3 Replies
Highlighted
Moderator
Moderator
680 Views
Registered: ‎09-12-2007

Re: Linux Kernel hang

Can you post your bootargs, and your HDF file please?

0 Kudos
Highlighted
Moderator
Moderator
661 Views
Registered: ‎06-27-2017

Re: Linux Kernel hang

@psk1801,

 

Can you check bootargs with below mentioned one in device tree filee?

 

chosen { 
                bootargs = "earlycon console=ttyPS0,115200"; 
                stdout-path = "serial0:115200n8"; 
        };

 

If not, Please add these changes in system-user.dtsi file in petalinux & build.

 

Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.

Best Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.
0 Kudos
Highlighted
616 Views
Registered: ‎04-12-2018

Re: Linux Kernel hang

You will get this behaviour if you have drivers that rely on PL but you either havent loaded the PL or there is a lockup in the PL....

0 Kudos