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: 
Observer suo220
Observer
469 Views
Registered: ‎05-24-2018

zynq mp load kernel error

My paltform is a custom design with ZU4EV,which is based ZCU104。The system hangs  with some problem,Does anyone have an idea what it could be? The log is below:

 

?Xilinx Zynq MP First Stage Boot Loader
Release 2018.1 Oct 24 2018 - 05:28:40
NOTICE: ATF running on XCZU4EV/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-v2017.4-1351-gdf4a7e97
NOTICE: BL31: Built : 21:26:32, Oct 23 2018
PMUFW: v1.0


U-Boot 2018.01 (Oct 24 2018 - 05:26:55 +0800) Xilinx ZynqMP ZCU102 rev1.0

DRAM: 4 GiB
EL Level: EL2
Chip ID: zu4ev
MMC: sdhci@ff170000: 0 (SD)
SF: Detected n25q512a with page size 256 Bytes, erase size 64 KiB, total 64 MiB
*** Warning - bad CRC, using default environment

In: serial@ff000000
Out: serial@ff000000
Err: serial@ff000000
Board: Xilinx ZynqMP
Bootmode: SD_MODE1
U-BOOT for wq

Hit any key to stop autoboot: 0
Device: sdhci@ff170000
Manufacturer ID: 3
OEM: 5344
Name: SC32G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.7 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading image.ub
13339012 bytes read in 893 ms (14.2 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: 6883327 Bytes = 6.6 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x00080000
Entry Point: 0x00080000
Hash algo: sha1
Hash value: 5b17d0ad015b965dfbeb19e40954b052bf4b9a53
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: 0x1069b594
Data Size: 6409822 Bytes = 6.1 MiB
Architecture: AArch64
OS: Linux
Load Address: unavailable
Entry Point: unavailable
Hash algo: sha1
Hash value: 5636a9d0792b00be112157e80f3108539c2d7ef8
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: 0x10690a08
Data Size: 43720 Bytes = 42.7 KiB
Architecture: AArch64
Hash algo: sha1
Hash value: ebe9b839eb3f39a8993350ef931abcaae6936a4c
Verifying Hash Integrity ... sha1+ OK
Booting using the fdt blob at 0x10690a08
Uncompressing Kernel Image ... OK
Loading Ramdisk to 079e3000, end 07fffe5e ... OK
Loading Device Tree to 00000000079d5000, end 00000000079e2ac7 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.0-xilinx-v2018.1 (oe-user@oe-host) (gcc version 7.2.0 (GCC)) #1 SMP Wed Oct 24 05:34:52 CST 2018
[ 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] swapper[0]: undefined instruction: pc=ffffff8008d25b40
[ 0.000000] Code: b9458003 d2800000 d348fc01 2a0003e2 (f86170a1)
[ 0.000000] Internal error: undefined instruction: 0 [#1] SMP
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.0-xilinx-v2018.1 #1
[ 0.000000] Hardware name: xlnx,zynqmp (DT)
[ 0.000000] task: ffffff8008da2000 task.stack: ffffff8008d90000
[ 0.000000] PC is at sparse_init+0x6c/0x394
[ 0.000000] LR is at sparse_init+0x38/0x394
[ 0.000000] pc : [<ffffff8008d25b40>] lr : [<ffffff8008d25b0c>] pstate: 400000c5
[ 0.000000] sp : ffffff8008d93e60
[ 0.000000] x29: ffffff8008d93e60 x28: 0000000000d10018
[ 0.000000] x27: 0000000000000400 x26: 000000007fe05548
[ 0.000000] x25: 0000000000000200 x24: 0000000000000018
[ 0.000000] x23: ffffff8008e50320 x22: ffffff8008e51000
[ 0.000000] x21: ffffff8008e51000 x20: ffffffc87fdc7d00
[ 0.000000] x19: 0000000880000000 x18: 0000000000000010
[ 0.000000] x17: 0000000000000018 x16: 0000000000000000
[ 0.000000] x15: 0000000000000000 x14: 000000000000002c
[ 0.000000] x13: 000000087fffff70 x12: 0000000000000000
[ 0.000000] x11: 000000000000a000 x10: 000000087fff5000
[ 0.000000] x9 : 0000000000000000 x8 : ffffffc87ffc7d00
[ 0.000000] x7 : 0000000000000000 x6 : 000000000000003f
[ 0.000000] x5 : ffffff8008e51600 x4 : 0000000000000000
[ 0.000000] x3 : 0000000000000021 x2 : 0000000000000000
[ 0.000000] x1 : 0000000000000000 x0 : 0000000000000000
[ 0.000000] Process swapper (pid: 0, stack limit = 0xffffff8008d90000)
[ 0.000000] Call trace:
[ 0.000000] Exception stack(0xffffff8008d93d20 to 0xffffff8008d93e60)
[ 0.000000] 3d20: 0000000000000000 0000000000000000 0000000000000000 0000000000000021
[ 0.000000] 3d40: 0000000000000000 ffffff8008e51600 000000000000003f 0000000000000000
[ 0.000000] 3d60: ffffffc87ffc7d00 0000000000000000 000000087fff5000 000000000000a000
[ 0.000000] 3d80: 0000000000000000 000000087fffff70 000000000000002c 0000000000000000
[ 0.000000] 3da0: 0000000000000000 0000000000000018 0000000000000010 0000000880000000
[ 0.000000] 3dc0: ffffffc87fdc7d00 ffffff8008e51000 ffffff8008e51000 ffffff8008e50320
[ 0.000000] 3de0: 0000000000000018 0000000000000200 000000007fe05548 0000000000000400
[ 0.000000] 3e00: 0000000000d10018 ffffff8008d93e60 ffffff8008d25b0c ffffff8008d93e60
[ 0.000000] 3e20: ffffff8008d25b40 00000000400000c5 0000000880000000 0000000000000000
[ 0.000000] 3e40: ffffffffffffffff 0000000000880000 ffffff8008d93e60 ffffff8008d25b40
[ 0.000000] [<ffffff8008d25b40>] sparse_init+0x6c/0x394
[ 0.000000] [<ffffff8008d156b8>] bootmem_init+0x88/0x190
[ 0.000000] [<ffffff8008d13580>] setup_arch+0x1dc/0x490
[ 0.000000] [<ffffff8008d10844>] start_kernel+0x64/0x3ac
[ 0.000000] Code: b9458003 d2800000 d348fc01 2a0003e2 (f86170a1)
[ 0.000000] random: get_random_bytes called from print_oops_end_marker+0x4c/0x68 with crng_init=0
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task!

0 Kudos
1 Reply
Moderator
Moderator
428 Views
Registered: ‎12-04-2016

Re: zynq mp load kernel error

Hi @suo220

 

Can you try debugging this linux kernel using any debugger as it is not clear from the boot messages what could be the exact issue, and it seems it is failing during early stages of kernel booting

 

Are you sure the memory including stack has been setup correctly? 

 

Best Regards

Shabbir

0 Kudos