ZYNQMP_XAZU3EG_VxWorks7_U-BOOT启动项修改

10 篇文章 3 订阅

修改前

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.

->
 

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
vxworks xlnx,zynq7k-Gpio dts是指在vxWorks操作系统中,使用xlnx,zynq7k-Gpio设备树(Device Tree Source)文件进行配置的一种方式。该设备树文件中包含了与xlnx,zynq7k-Gpio相关的配置信息,用于描述和定义Gpio设备的属性和功能。通过在vxWorks bsp目录中找到xlnx_zynq7k文件夹并复制为xlnx_zynq7k_tlz7x,并在风河BSP目录下搜索所有关键字为xlnx,zynq7k-misccfg的文件,可以找到与xlnx,zynq7k-Gpio相关的代码和配置信息。根据代码分析可以看出,该驱动既支持ZYNQ7000系列,又支持MPSoc系列,使用的gpio部分是相同的IP核。因此,vxworks xlnx,zynq7k-Gpio dts是用于配置和定义ZYNQ7000系列和MPSoc系列GPIO设备的设备树文件。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [实时系统vxWorks - zynq7020移植vxWorks](https://blog.csdn.net/rt201314/article/details/118742170)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* *3* [ZYQN7000系列VxWorks驱动开发:调试GPIO子系统](https://blog.csdn.net/weixin_42314225/article/details/121596418)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值