ZYNQMP_xazu3eg_VxWorks7_U-BOOT启动项修改
作者:互联网
修改前
Xilinx Zynq MP First Stage Boot Loader
Release 2018.3 Jan 11 2021 - 07:18:39
PMUFW: v1.1
U-Boot 2018.01 (Jan 11 2021 - 07:17:28 +0000) Xilinx ZynqMP ZCU102 rev1.0
I2C: ready
DRAM: 4 GiB
EL Level: EL2
Chip ID: zu3eg
MMC: mmc@ff160000: 0 (eMMC), mmc@ff170000: 1 (SD)
SF: Detected n25q256a with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@ff010000
Out: serial@ff010000
Err: serial@ff010000
Board: Xilinx ZynqMP
Bootmode: SD_MODE1
Net: ZYNQ GEM: ff0e0000, phyaddr ffffffff, interface rgmii-id
Address in ROM is 00:0a:35:ec:65:8f
Address in environment is 00:0a:35:0a:0b:0c
eth0: ethernet@ff0e0000
U-BOOT for zu3-lite
ethernet@ff0e0000 Waiting for PHY auto negotiation to complete...... TIMEOUT !
Hit any key to stop autoboot: 0
Device: mmc@ff160000
Manufacturer ID: 13
OEM: 14e
Name: Q2J55
Tran Speed: 52000000
Rd Block Len: 512
MMC version 5.0
High Capacity: Yes
Capacity: 7.1 GiB
Bus Width: 4-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 7.1 GiB WRREL
Boot Capacity: 16 MiB ENH
RPMB Capacity: 4 MiB ENH
** Unable to read file image.ub **
ZynqMP>
修改启动项
** Unable to read file image.ub **
ZynqMP> print bootcmd
bootcmd=run default_bootcmd
ZynqMP> setenv bootcmd "fatload mmc 1 0x01000000 uVxWorks;fatload mmc 1 0x000e0000 xlnx.dtb;bootm 0x01000000 - 0x000e0000"
ZynqMP> saveenv
Saving Environment to SPI Flash...
SF: Detected n25q256a with page size 256 Bytes, erase size 64 KiB, total 32 MiB
Erasing SPI flash...Writing to SPI flash...done
ZynqMP> reset
resetting ...
修改后
Xilinx Zynq MP First Stage Boot Loader
Release 2018.3 Jan 11 2021 - 07:18:39
PMUFW: v1.1
U-Boot 2018.01 (Jan 11 2021 - 07:17:28 +0000) Xilinx ZynqMP ZCU102 rev1.0
I2C: ready
DRAM: 4 GiB
EL Level: EL2
Chip ID: zu3eg
MMC: mmc@ff160000: 0 (eMMC), mmc@ff170000: 1 (SD)
SF: Detected n25q256a with page size 256 Bytes, erase size 64 KiB, total 32 MiB
In: serial@ff010000
Out: serial@ff010000
Err: serial@ff010000
Board: Xilinx ZynqMP
Net: ZYNQ GEM: ff0e0000, phyaddr ffffffff, interface rgmii-id
Address in ROM is 00:0a:35:ec:65:8f
Address in environment is 00:0a:35:0a:0b:0c
eth0: ethernet@ff0e0000
Hit any key to stop autoboot: 0
reading uVxWorks
5422704 bytes read in 363 ms (14.2 MiB/s)
reading xlnx.dtb
19849 bytes read in 18 ms (1.1 MiB/s)
NET: ethernet@ff0e0000 using MAC address from ROM - 00:0a:35:ec:65:8f
## Booting kernel from Legacy Image at 01000000 ...
Image Name: vxworks
Image Type: AArch64 VxWorks Kernel Image (uncompressed)
Data Size: 5422640 Bytes = 5.2 MiB
Load Address: 00100000
Entry Point: 00100000
Verifying Checksum ... OK
## Flattened Device Tree blob at 000e0000
Booting using the fdt blob at 0x0e0000
Loading Kernel Image ... OK
Loading Device Tree to 0000000007ff8000, end 0000000007fffd88 ... OK
## Starting vxWorks at 0x00100000, device tree at 0x07ff8000 ...
Target Name: vxTarget
_________ _________
\77777777\ /77777777/
\77777777\ /77777777/
\77777777\ /77777777/
\77777777\ /77777777/
\77777777\ \7777777/
\77777777\ \77777/ VxWorks 7 SMP 64-bit
\77777777\ \777/
\77777777\ \7/ Core Kernel version: 3.1.0.0
\77777777\ - Build date: Jul 19 2021 13:20:57
\77777777\
\7777777/ Copyright Wind River Systems, Inc.
\77777/ - 1984-2021
\777/ /7\
\7/ /777\
- -------
Board: Xilinx ZCU102
CPU Count: 4
OS Memory Size: 4096MB
ED&R Policy Mode: Deployed
Debug Agent: Not started
Stop Mode Agent: Not started
ERROR: ipcom_drv_eth_init: drvname:gem, drvunit: 0
Adding 10559 symbols for standalone.
->
标签:77777777,ZYNQMP,xazu3eg,ZynqMP,...,MiB,BOOT,Xilinx,mmc 来源: https://blog.csdn.net/u014689277/article/details/118894091