当前位置:网站首页>zynq 记录
zynq 记录
2022-08-04 19:23:00 【洪大宇】
# jtag dl not connect uart
setenv ipaddr 10.0.2.188
setenv serverip 10.0.0.133
setenv ipaddr 192.168.1.20
setenv serverip 192.168.1.33
mdio write eth0 1 0x1f 0x8180
mdio write eth1 1 0x1f 0x8180
ping 192.168.1.33
tftpboot 0x5000000 image.ub && bootm 0x5000000
tftpboot 0x5000000 BOOT.BIN
# flash 启动内核命令
sf probe 0 0 0 && sf read 0x5000000 0xf40000 0x1900000 && bootm 0x5000000
i2c si538x && sleep 10 && sf probe 0 0 0 && sf read 0x5000000 0xf40000 0x1900000 && bootm 0x5000000
#Uboot 部分不做修改, 只修改内核部分
#kernel command
ssh-keygen -f "/home/xilinx/.ssh/known_hosts" -R "192.168.0.124"
# 生成管理密钥
ssh-keygen -t rsa -C "[email protected]"
i2c si538x #配置si538x 的时钟
# Oran 项目
# 读取时钟是否完成了同步
mdio eth1 0x1f 0x8180
devmem 0xa008040c
# awk 读取使用 regs 的方法 配置相关的寄存器
# petalinux 使用方法
# yocto 的下载路径 file:///home/xilinx/petalinuxv2021.2-space/OranAxiEthernet/components/yocto/downloads
# 内核下载的路径名称 petalinuxv2021.2 使用的linux kernel 的路径 linux-xlnx-5.10+gitAUTOINC+568989d441-r0 文件名称
# FSBL 文件的下载的名称
# ARM-TRUST-PLATFROM 文件下载的路径名称
#以太网的计数器 0xa0080000
****************************************
#回环寄存器 0xa0080008 32 0x40000003 关 0xc0000003 开
#以太网计数触发 0xa0080020 32 1 触发
#以太网收计数寄存器 0xa0080808 好包计数 800 所有的包计数
#以太网发计数寄存器 0xa0080708 好饱计数 700 所有的包计数
0x0020 TICK_REG: 0020
0x0700 STAT_TX_TOTAL_PACKETS_LSB: 0700
0x0708 STAT_TX_TOTAL_GOOD_PACKETS_LSB: 0708
0x0808 STAT_RX_TOTAL_PACKETS_LSB: 0808
0x0810 STAT_RX_TOTAL_GOOD_PACKETS_LSB: 0810
0x040c 时钟同步计数器
****************************************
#Oran 寄存器 0xa0000000 使用的基地址
****************************************
eth_stats_total_rx_good_pkt_cnt_l 0xc000 eth_stats_total_rx_good_pkt_cnt_l (R) RO [31:0] 0x0 Total Received Good Packets counter (LSB) (includes both O-RAN and SW managed packets)
eth_stats_total_rx_bad_pkt_cnt_l 0xc008 eth_stats_total_rx_bad_pkt_cnt_l (R) RO [31:0] 0x0 Total Received Bad Packets counter(LSB) (includes both O-RAN and SW managed packets)
eth_stats_total_rx_bad_fcs_cnt_l 0xc010 eth_stats_total_rx_bad_fcs_cnt_l (R) RO [31:0] 0x0 Total Received Packets with Bad FCS counter(LSB) (includes both O-RAN and SW managed packets)
****************************************
#MCDMA 寄存器 0xa0010000 使用的基地址
****************************************
0x058 MM2S_CH1PKTCOUNT_STAT CH1 Packet Processed count
0x558 S2MM_CH1PKTDROP_STAT CH1 Packet Drop Stat
0x55C S2MM_CH1PKTCOUNT_STAT CH1 Packet Processed count
****************************************
#以太网的过滤寄存器 列表
****************************************
0xa0080018 0xffff0040
0xa0002200 0x00000010
0xa000610c 0xffffffff
0xa0006110 0xffffffff
0xa0006120 0xfffffeae
0xa0006130 0xfffffffc
0xa000A008 0x22223333
0xa000A00c 0x00004444
0xa000A000 0x55556666
0xa000A004 0x00004444
****************************************
边栏推荐
- IDEA 自动导入的配置(Auto import)
- Scala105-Spark.sql中collect_list用法
- PostgreSQL的 SPI_接口函数
- 02 ts 变量定义,类型
- [Sql刷题篇] 查询信息数据--Day1
- The CPU suddenly soars and the system responds slowly, what is the cause?Is there any way to check?
- 四维图新:子公司首款功能安全 MCU 芯片已陆续送样
- 拥抱Cmake小朋友 简单又实用,但是不灵活
- 判断字符串中是否包含中文
- Storage resource activation system to help new infrastructure
猜你喜欢
Orthodontic MIA micro-implant anchorage technology China 10th anniversary exchange meeting was held in Shenyang
Kubernetes之list-watch机制
从零开始实现一个简单的CycleGAN项目
NLP技术为何在工业界这么卷?前沿案例解析来了
[Sql brush topic] Query information data--Day1
正畸MIA微种植体支抗技术中国10周年交流会在沈举办
SQL Server 遇到报错解决办法--更新中
华为企业组网实例:VRRP+MSTP典型组网配置
Defaced Fingerprint Recovery and Identification
在线生成接口文档
随机推荐
Yuanguo chain game system development
lc marathon 8.3
TritonVM——基于Recursive STARK的虚拟机
将网页变成字符串,并保存起来
如何进行自动化测试?
四维图新:子公司首款功能安全 MCU 芯片已陆续送样
【最新资讯】2022下半年软考新增2个地区公布报名时间
SQL Server 遇到报错解决办法--更新中
ERC20转账压缩
win10 uwp ping
零基础做出高端堆叠极环图
2022年7月国产数据库大事记
HCIA-R&S自用笔记(22)STP状态与计时器、STP拓扑变化、STP配置及实验
03 ts类型缩小,函数
The upgrade of capacity helps the flow of computing power, the acceleration moment of China's digital economy
MMDetection usage example: from entry to exit
华为交换机:STP测试实验
Storage resource activation system to help new infrastructure
数据库治理的探索与实践
[Distributed Advanced] Let's fill in those pits in Redis distributed locks.