系统启动报错uboot.env
8隔壁王叔叔 发布于2019-08 浏览:5698 回复:4
0
收藏
最后编辑于2020-11

系统启动报错,而且启动不了内核,打印信息如下:

Xilinx Zynq MP First Stage Boot Loader
Release 2017.4 Apr 26 2019 - 14:11:44
NOTICE: ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000, with PMU firmware
NOTICE: BL31: Secure code at 0x0
NOTICE: BL31: Non secure code at 0x8000000
NOTICE: BL31: v1.3(release):47af34b
NOTICE: BL31: Built : 06:06:35, Apr 26 2019


U-Boot 2017.01 (Apr 26 2019 - 14:12:22 +0800) Xilinx ZynqMP ZCU102 revB for OpenAi

I2C: ready
DRAM: 2 GiB
EL Level: EL2
Chip ID: xczu9eg
MMC: sdhci@ff160000: 0 (eMMC), sdhci@ff170000: 1 (SD)
reading uboot.env

** Unable to read "uboot.env" from mmc1:1 **
Using default environment

In: serial
Out: serial
Err: serial
Bootmode: LVL_SHFT_SD_MODE1
Net: ZYNQ GEM: ff0e0000, phyaddr 5, interface rgmii-id
eth0: ethernet@ff0e0000
U-BOOT for openAi

ethernet@ff0e0000 Waiting for PHY auto negotiation to complete...... TIMEOUT !
Hit any key to stop autoboot: 0
ZynqMP>

 

请问上面的这个问题该如何解决?

收藏
点赞
0
个赞
共4条回复 最后由luckyToMe2回复于2020-01
#5luckyToMe2回复于2020-01

看看

0
#48隔壁王叔叔回复于2019-08
#2 HI春雨回复
可能是SD卡的第一个分区坏掉了,就会出现这种现象。 另外在系统启动过程的前期,不要触碰串口控制台上面连接的键盘。如果按了任何建,也会出现这种现象。 出现这种现象,是系统停在了U-Boot里面。可以使用U-Boot命令,在ZynqMP> 提示符下输入 run bootcmd  就可以继续启动。如果SD卡未坏掉,是可以继续启动的。 如果SD卡真的坏掉了,需要重新制作一张。(请和我们联系启动映像相关事宜)
展开

U-Boot 2017.01 (Jun 06 2019 - 21:44:39 +0800) Xilinx ZynqMP ZU5 rev 1.0 for OpenAi

I2C: ready
DRAM: 2 GiB
EL Level: EL2
Chip ID: xczu9eg
MMC: sdhci@ff160000: 0 (eMMC), sdhci@ff170000: 1 (SD)
reading uboot.env

** Unable to read "uboot.env" from mmc1:1 **
Using default environment

In: serial
Out: serial
Err: serial
Bootmode: LVL_SHFT_SD_MODE1
Net: ZYNQ GEM: ff0e0000, phyaddr 5, interface rgmii-id
eth0: ethernet@ff0e0000
U-BOOT for openAi

ethernet@ff0e0000 Waiting for PHY auto negotiation to complete...... TIMEOUT !
Hit any key to stop autoboot: 0
ZynqMP>
Unknown command '' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP> print
Unknown command 'print' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP> printenv
Unknown command 'printenv' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP> help
Unknown command 'help' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP> run bootcmd
Unknown command 'run' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP>

 

 

谢谢回复,我感觉是SD卡有问题,我并没有按下任何按键,他是自己入这个界面的。

请问制作SD卡的话,我这边也没有相应的文件系统啊?

您可以提供制作SD卡的相关文件吗?

0
#38隔壁王叔叔回复于2019-08

U-Boot 2017.01 (Jun 06 2019 - 21:44:39 +0800) Xilinx ZynqMP ZU5 rev 1.0 for OpenAi

I2C: ready
DRAM: 2 GiB
EL Level: EL2
Chip ID: xczu9eg
MMC: sdhci@ff160000: 0 (eMMC), sdhci@ff170000: 1 (SD)
reading uboot.env

** Unable to read "uboot.env" from mmc1:1 **
Using default environment

In: serial
Out: serial
Err: serial
Bootmode: LVL_SHFT_SD_MODE1
Net: ZYNQ GEM: ff0e0000, phyaddr 5, interface rgmii-id
eth0: ethernet@ff0e0000
U-BOOT for openAi

ethernet@ff0e0000 Waiting for PHY auto negotiation to complete...... TIMEOUT !
Hit any key to stop autoboot: 0
ZynqMP>
Unknown command '' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP> print
Unknown command 'print' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP> printenv
Unknown command 'printenv' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP> help
Unknown command 'help' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP> run bootcmd
Unknown command 'run' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP>
Unknown command '' - try 'help'
ZynqMP>

 

谢谢回复,我感觉是SD卡有问题,我并没有按下任何按键,他是自己入这个界面的。

请问制作SD卡的话,我这边也没有相应的文件系统啊?

您可以提供制作SD卡的相关文件吗?

 

0
#2HI春雨回复于2019-08

可能是SD卡的第一个分区坏掉了,就会出现这种现象。

另外在系统启动过程的前期,不要触碰串口控制台上面连接的键盘。如果按了任何建,也会出现这种现象。

出现这种现象,是系统停在了U-Boot里面。可以使用U-Boot命令,在ZynqMP> 提示符下输入 run bootcmd  就可以继续启动。如果SD卡未坏掉,是可以继续启动的。

如果SD卡真的坏掉了,需要重新制作一张。(请和我们联系启动映像相关事宜)

0
TOP
切换版块