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!

取消
显示结果 
搜索替代 
您的意思是: 
Highlighted
Newbie esc345
Newbie
420 次查看
注册日期: ‎05-21-2018

MPSOC ZU3EG 系统启动时候卡死

现在遇到这样的问题,同样的代码和逻辑配置文件 在开发板上面一切正常,但是在我们自己的板子上就会出现kernel 启动卡死不知道是什么问题,log如下:

Xilinx Zynq MP First Stage Boot Loader
Release 2017.2 Mar 4 2019 - 16:55:13
NOTICE: ATF running on XCZU3EG/silicon v4/RTL5.1 at 0xfffea000, with PMU firmwa re
NOTICE: BL31: Secure code at 0x0
NOTICE: BL31: Non secure code at 0x8000000
NOTICE: BL31: v1.3(release):
NOTICE: BL31: Built : 15:37:56, Mar 9 2018
PMUFW: v0.3


U-Boot 2017.01 (Mar 04 2019 - 17:29:39 +0800) Xilinx ZynqMP ZCU102 revB

I2C: Error, wrong i2c adapter 0 max 0 possible
ready
DRAM: 2 GiB
EL Level: EL2
Chip ID: xczu3eg
SF: Detected n25q256a with page size 512 Bytes, erase size 128 KiB, total 64 MiB
Error, wrong i2c adapter 0 max 0 possible
In: serial@ff000000
Out: serial@ff000000
Err: serial@ff000000
Net: ZYNQ GEM: ff0e0000, phyaddr 9, interface rgmii-id

Warning: ethernet@ff0e0000 (eth0) using random MAC address - fe:7b:c4:ce:6b:de
eth0: ethernet@ff0e0000
Hit any key to stop autoboot: 0
SF: Detected n25q256a with page size 512 Bytes, erase size 128 KiB, total 64 MiB
device 0 offset 0x850000, size 0x80000
SF: 524288 bytes @ 0x850000 Read: OK
device 0 offset 0x900000, size 0xf00000
SF: 15728640 bytes @ 0x900000 Read: OK
## Flattened Device Tree blob at 04000000
Booting using the fdt blob at 0x4000000
Loading Device Tree to 000000000fff5000, end 000000000ffff1bc ... OK

Starting kernel ...

[ 0.000000] test cp3
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.0 (rocket@ubuntu) (gcc version 6.2.1 20161114 (Linaro GCC Snapshot 6.2-2016.11) ) #213 SMP Thu Feb 28 16:56:21 CST 2019
[ 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 128 MiB at 0x0000000068000000
[ 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 @ffffffc067f78000 s47384 r8192 d30440 u86016
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719

请问下大概会是什么问题导致?DDR 测试正常

0 项奖励
6 条回复6
Xilinx Employee
Xilinx Employee
369 次查看
注册日期: ‎09-14-2018

回复: MPSOC ZU3EG 系统启动时候卡死

@esc345 

不是很好判断。和开发板硬件有哪些区别吗,用的同一个镜像?

0 项奖励
Newbie esc345
Newbie
365 次查看
注册日期: ‎05-21-2018

回复: MPSOC ZU3EG 系统启动时候卡死

只是外设有一些区别,用的是同一个套 kernel

0 项奖励
Xilinx Employee
Xilinx Employee
354 次查看
注册日期: ‎09-14-2018

回复: MPSOC ZU3EG 系统启动时候卡死

@esc345 

意思是直接拿开发板的镜像在自己板子上运行的吗?如果外设有区别,镜像基本不能在别的板子上正常运行

0 项奖励
Newbie esc345
Newbie
351 次查看
注册日期: ‎05-21-2018

回复: MPSOC ZU3EG 系统启动时候卡死

是我描述的不是很清楚,现在的情况是这样的:

1.kernel是用2017.2的源码编译的,在开发板上面跑一点问题没有

2.现在用同样的kernel源码,但是使用针对我们板子生成的fsbl跑是目前帖子上的这个情况

3.还是使用同样的kernel源码,在我们之前一批做的板子上面跑也是没问题

4.DRAM测试过没有问题

5.如果是外设不一样导致的卡死也不应该死在这里,parse_early_param都没有跑到

0 项奖励
Xilinx Employee
Xilinx Employee
339 次查看
注册日期: ‎08-25-2010

回复: MPSOC ZU3EG 系统启动时候卡死

Hi @esc345,

看到一个I2C的error:

I2C: Error, wrong i2c adapter 0 max 0

之前注意到在2017.2上出现过类似的问题,建议用2017.3或者更新的能否解决这个问题?

Thanks
Simon
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 项奖励
Observer jack.lv
Observer
112 次查看
注册日期: ‎09-10-2018

回复: MPSOC ZU3EG 系统启动时候卡死

我碰到过类似卡死的问题,最后发现是由于uart口multidriver导致的

0 项奖励