cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hgtcs
Adventurer
Adventurer
518 Views
Registered: ‎04-05-2018

linux镜像上板启动失败:## Error: "cp_kernel2ram" not defined

Jump to solution

大家好,

我手上有一块xczu5ev-sfvc784-1-i芯片的开发板,我在vivado创建了只有一个PS IP核的工程,然后使用petalinux生成了镜像,使用petalinux-config --get-hw-description=./hdf时的配置选择默认,然后使用生成的镜像上板启动,然后报错:

Xilinx Zynq MP First Stage Boot Loader 
Release 2018.3   Nov  3 2019  -  15:47:01
NOTICE:  ATF running on XCZU5EV/silicon v4/RTL5.1 at 0xfffea000
NOTICE:  BL31: Secure code at 0x0
NOTICE:  BL31: Non secure code at 0x8000000
NOTICE:  BL31: v1.5(release):xilinx-v2018.2-919-g08560c36
NOTICE:  BL31: Built : 15:46:02, Nov  3 2019
PMUFW:	v1.1


U-Boot 2018.01 (Nov 03 2019 - 15:46:34 +0000) Xilinx ZynqMP ZCU102 rev1.0

I2C:   ready
DRAM:  2 GiB
EL Level:	EL2
Chip ID:	zu5ev
MMC:   mmc@ff160000: 0 (SD)
Using default environment

## Error: flags type check failure for "serverip" <= "AUTO" (type: i)
himport_r: can't insert "serverip=AUTO" into hash table
In:    serial@ff000000
Out:   serial@ff000000
Err:   serial@ff000000
Board: Xilinx ZynqMP
Bootmode: SD_MODE
Net:   ZYNQ GEM: ff0c0000, phyaddr ffffffff, interface rgmii-id
eth0: ethernet@ff0c0000
U-BOOT for 5ev_ps_test

ethernet@ff0c0000 Waiting for PHY auto negotiation to complete......................................... TIMEOUT !
Hit any key to stop autoboot:  0 
## Error: "cp_kernel2ram" not defined
ZynqMP> 

请问哪里可能有问题?

 

谢谢大家,

hgtcs

0 Kudos
1 Solution

Accepted Solutions
hgtcs
Adventurer
Adventurer
447 Views
Registered: ‎04-05-2018

问题找到了,出在【petalinux-config】配置选项时,Subsystem AUTO Hardware Settings→ Advanced bootable images storage Settings→ boot image settings中,
image storage media未选择SD卡,镜像启动方式选择错误;
Advanced bootable images storage Settings栏下的选项都要检查看配置是否正确,选择合适的配置。

View solution in original post

0 Kudos
1 Reply
hgtcs
Adventurer
Adventurer
448 Views
Registered: ‎04-05-2018

问题找到了,出在【petalinux-config】配置选项时,Subsystem AUTO Hardware Settings→ Advanced bootable images storage Settings→ boot image settings中,
image storage media未选择SD卡,镜像启动方式选择错误;
Advanced bootable images storage Settings栏下的选项都要检查看配置是否正确,选择合适的配置。

View solution in original post

0 Kudos