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: 
Visitor xying
Visitor
787 Views
Registered: ‎03-31-2019

Linux hangs at "bootconsole [cdns0] disabled" when I try Xilinx Answer 72076

I follow the steps in Xilinx Answer 72076 using Vivado 2018.2 and Petalinux 2018.2. This is my block design:QQ截图20190605193833.png

 

 

 

 

 

 

 

 

 

When BOOT.BIN and image.ub are generated, I copied them to a SD card and power on my ZCU106. When Linux boots, the system hangs at "bootconsole [cdns0] disabled". Does anyone know why? Thank you!

The log is as follows:

Xilinx Zynq MP First Stage Boot Loader
Release 2019.1 May 25 2019 - 07:43:50
NOTICE: ATF running on XCZU7EV/silicon v4/RTL5.1 at 0xfffea000
NOTICE: BL31: Secure code at 0x0
NOTICE: BL31: Non secure code at 0x8000000
NOTICE: BL31: v1.4(release):xilinx-v2018.1-4-g93a69a5a
NOTICE: BL31: Built : 06:50:51, Jun 5 2019
PMUFW: v1.0


U-Boot 2018.01 (Jun 05 2019 - 14:51:40 +0800) Xilinx ZynqMP ZCU102 rev1.0

I2C: ready
DRAM: 4 GiB
usb dr_mode not found
EL Level: EL2
Chip ID: zu7ev
MMC: sdhci@ff170000: 0 (SD)
SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB
*** Warning - bad CRC, using default environment

In: serial@ff000000
Out: serial@ff000000
Err: serial@ff000000
Board: Xilinx ZynqMP
Bootmode: LVL_SHFT_SD_MODE1
Net: ZYNQ GEM: ff0e0000, phyaddr ffffffff, interface rgmii-id
eth0: ethernet@ff0e0000
U-BOOT for zcu106_rc1

ethernet@ff0e0000 Waiting for PHY auto negotiation to complete......................................... TIMEOUT !
Hit any key to stop autoboot: 0
Device: sdhci@ff170000
Manufacturer ID: 3
OEM: 5344
Name: SL16G
Tran Speed: 100000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading image.ub
15325436 bytes read in 1004 ms (14.6 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: 0x10000104
Data Size: 7004065 Bytes = 6.7 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x00080000
Entry Point: 0x00080000
Hash algo: sha1
Hash value: b8e8f7a81e740565bf36ff5e68f522f2a334cf9c
Verifying Hash Integrity ... sha1+ OK
## Loading ramdisk from FIT Image at 10000000 ...
Using 'conf@system-top.dtb' configuration
Trying 'ramdisk@1' ramdisk subimage
Description: petalinux-user-image
Type: RAMDisk Image
Compression: gzip compressed
Data Start: 0x106b5f70
Data Size: 8287227 Bytes = 7.9 MiB
Architecture: AArch64
OS: Linux
Load Address: unavailable
Entry Point: unavailable
Hash algo: sha1
Hash value: 992cd827e245aa754cd1c2390fab480f2e8d104e
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: 0x106ae1ac
Data Size: 31999 Bytes = 31.2 KiB
Architecture: AArch64
Hash algo: sha1
Hash value: 30dc872ebb59c28c02c8b8afca8cdfa465654753
Verifying Hash Integrity ... sha1+ OK
Booting using the fdt blob at 0x106ae1ac
Uncompressing Kernel Image ... OK
Loading Ramdisk to 07818000, end 07fff3fb ... OK
Loading Device Tree to 000000000780d000, end 0000000007817cfe ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.0-xilinx-v2018.2 (oe-user@oe-host) (gcc version 7.2.0 (GCC)) #1 SMP Wed Jun 5 15:03:54 CST 2019
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine model: xlnx,zynqmp
[ 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 0x000000006fc00000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 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 @ffffffc87ff78000 s46488 r8192 d31336 u86016
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1033987
[ 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 0x6bc00000-0x6fc00000] (64MB) mapped at [ffffffc06bc00000-ffffffc06fbfffff]
[ 0.000000] Memory: 3776392K/4193280K available (10044K kernel code, 648K rwdata, 3144K rodata, 512K init, 2168K bss, 154744K 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 - 0xffffff8008a50000 ( 10048 KB)
[ 0.000000] .rodata : 0xffffff8008a50000 - 0xffffff8008d70000 ( 3200 KB)
[ 0.000000] .init : 0xffffff8008d70000 - 0xffffff8008df0000 ( 512 KB)
[ 0.000000] .data : 0xffffff8008df0000 - 0xffffff8008e92200 ( 649 KB)
[ 0.000000] .bss : 0xffffff8008e92200 - 0xffffff80090b0330 ( 2169 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] RCU event tracing is enabled.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arch_timer: cp15 timer(s) running at 99.99MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x170f8de2d3, max_idle_ns: 440795206112 ns
[ 0.000003] sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 4398046511101ns
[ 0.008252] Console: colour dummy device 80x25
[ 0.012508] console [tty0] enabled
[ 0.015875] bootconsole [cdns0] disabled

0 Kudos
6 Replies
Visitor xying
Visitor
737 Views
Registered: ‎03-31-2019

Re: Linux hangs at "bootconsole [cdns0] disabled" when I try Xilinx Answer 72076

Someone help please

0 Kudos
Highlighted
Explorer
Explorer
728 Views
Registered: ‎11-22-2018

Re: Linux hangs at "bootconsole [cdns0] disabled" when I try Xilinx Answer 72076

try:
bootargs=console=ttyPS0,115200 earlycon clk_ignore_unused earlyprintk

or:

close CPU idle as https://www.xilinx.com/support/answers/69143.html

0 Kudos
Visitor xying
Visitor
507 Views
Registered: ‎03-31-2019

Re: Linux hangs at "bootconsole [cdns0] disabled" when I try Xilinx Answer 72076

Thank you for your reply! Sadly, it didn't work.

0 Kudos
Moderator
Moderator
491 Views
Registered: ‎12-04-2016

Re: Linux hangs at "bootconsole [cdns0] disabled" when I try Xilinx Answer 72076

Hi @xying 

How did you packaged BOOT.bin? Have you added bitfile to it while generating it?

0 Kudos
Visitor xying
Visitor
460 Views
Registered: ‎03-31-2019

Re: Linux hangs at "bootconsole [cdns0] disabled" when I try Xilinx Answer 72076

Hi Shabbirk! Thank you for your reply.

I used the following command to package a boot.bin file as Xilinx_Answer_72076 did:

"petalinux-package --boot --fsbl <fsbl path> --u-boot <u-boot path> --pmufw <pmufw path> --atf <atf path> --fpga <bitstream path>"

0 Kudos
Observer annalisamati
Observer
267 Views
Registered: ‎03-18-2009

Re: Linux hangs at "bootconsole [cdns0] disabled" when I try Xilinx Answer 72076

Any update about this issue?

Thanks,

Annalisa

0 Kudos