当前位置:网站首页>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
****************************************
边栏推荐
猜你喜欢
随机推荐
HCIP-R&S By Wakin自用笔记(1)企业网络高级解决方案
正则表达式未完
Video Object Detection
正畸MIA微种植体支抗技术中国10周年交流会在沈举办
The Development and Current Situation of Object Detection
getBoundingClientRect
Zip4j使用
03 ts类型缩小,函数
PG网络传输安全SSL介绍及使用示例
Homework 8.3 Thread Synchronization Mutex Condition Variables
笔记本WIFI无法上网(无Internet访问权限)
STP实验
七夕福利!中奖名单:书籍免费送!
小波提取特征的VQ实现
The CPU suddenly soars and the system responds slowly, what is the cause?Is there any way to check?
EuROC dataset format and related codes
How to add custom syntax to MySQL?
八一建军节 | 致敬中国人民解放军
天呐,七夕我收到9份告白~
CPU突然飙高系统反应慢,是怎么导致的?有什么办法排查?









