zedboard + AD-FMCOMMS3-EBZ AD9361 (一) ADI官方固件下载SD卡中运行
一、本次笔记参考官方文档地址:
AD-FMCOMMS2-EBZ 用户指南 [ADI 公司 Wiki]
原理图下载:
AD-FMCOMMS2-EBZ Hardware [Analog Devices Wiki]
二、AD-FMComms2和AD-FMComms3的差别:
AD-FMComms2-EBZ板与AD-FMComms3-EBZ板非常相似,只有一个例外,即RX/TX RF差分到单端巴伦/变压器。
三、zedboard 版本
原理图下载地址: ZedBoard Schematics Rev. D.2
四、官方要求一张 16GB 的 SD 卡,读卡器 , 我找到了 一个 32GB 的卡
五、固件说明文档地址
ADI公司Kuiper Linux [Analog Devices Wiki]
Analog Devices Kuiper Linux 是基于 Raspberry Pi OS、专为降低 ADI 硬件集成门槛设计的 Linux 发行版,集成数千个 ADI 设备驱动及 IIO Oscilloscope、GNURadio 等开发工具,支持AMD/Xilinx、Intel/Altera FPGA与Raspberry Pi平台;
使用需满足16 GB SD 卡、Host PC、指定烧录工具(Etcher 等) 等需求,默认用户(analog)与 root 账户密码均为analog;
zedboard 是 xilinx zynq 7020 平台 , 按照说明 需要4个文件 ,其中三个文件复制到SD卡中, 设置 SD方式启动即可:
1、img 文件 需要 kuiper-imager_1.0.0-rc3_windows.exe 写入到 SD卡中
2、boot.bin 文件
3、devicetree.dtb
4、zynq-common/uImage
六、固件下载地址, 此时版本是 2023_r2 Patch1
Kuiper Linux Release Notes [Analog Devices Wiki]
https://swdownloads.analog.com/cse/boot_partition_files/2023_r2/latest_boot_partition.tar.gz
下载的两个文件,操作如下:
1、image_2025-03-18-ADI-Kuiper-full.zip 包含 2025-03-18-ADI-Kuiper-full.img
解压 出来,使用 官方提供的 kuiper-imager_1.0.0-rc3_windows.exe 将 2025-03-18-ADI-Kuiper-full.img 写入到SD卡中;
- 先选择SD卡,然后 选择 2025-03-18-ADI-Kuiper-full.img 文件 烧录
3、latest_boot_partition.tar.gz 包含三个文件 : boot.bin、devicetree.dtb、uImage 复制到 SD卡中
解压 latest_boot_partition.tar 再次解压:latest_boot_partition , 因为使用 zedboard , 选择 下面目录中的文件
最后 SD卡 文件截图:boot.bin、devicetree.dtb、uImage 不要复制错了,我就复制错一次,没有启动!!!, 怕复制错误 可以参考第九步;
七、更改 zedboard 启动方式为 SD 卡, SD卡 插入到 板子上
UG585 文档
SD 卡模式: MIO6 = 0; MIO5 = 1; MIO4 = 1; MIO3 = 0; MIO2 = 0; (靠近 网口位置 的 一排跳线帽 )
八、插上电源和 串口 线 ,日志如下 :
九、格式化SD卡后,单独 下面三个文件 ,可以启动 ,只能启动 uboot , 不能启动 Linux ,用于 验证 这三个文件是否复制错误,日志如下
1、此方式可以 验证 SD 卡 方式启动 , 引脚是否 配置正确
2、此方式可以 验证 SD 卡是否 识别, SD 卡 的 好坏
3、此方式可以 验证 这三个文件 是否 copy 正确,
U-Boot 2018.01-21442-gf06dec3cab (Oct 17 2024 - 08:59:33 +0300), Build: jenkins-development-build_uboot-35
Model: Zynq Zed Development Board
Board: Xilinx Zynq
Silicon: v3.1
DRAM: ECC disabled 512 MiB
MMC: sdhci@e0100000: 0 (SD)
SF: Detected s25fl256s_64k with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@e0001000
Out: serial@e0001000
Err: serial@e0001000
Net: ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id
eth0: ethernet@e000b000
Hit any key to stop autoboot: 2 1 0
Device: sdhci@e0100000
Manufacturer ID: 3
OEM: 5344
Name: SU08G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.4 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes** Unable to read file uEnv.txt **Copying Linux from SD to RAM...reading uImage
8412448 bytes read in 467 ms (17.2 MiB/s)
reading devicetree.dtb
26740 bytes read in 18 ms (1.4 MiB/s)
** Unable to read file uramdisk.image.gz **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Device 0: unknown device
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: pxefile_addr_r
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Zynq>
十、也可以使用 rufus 烧录 2025-03-18-ADI-Kuiper-full.img 到 SD 卡中
更多方式 ,可以参考 官方文档 :
https://wiki.analog.com/resources/tools-software/linux-software/zynq_images/windows_hosts
十一、文档 最后 也给了 如何 编译 自己的 image
Analog Devices Kuiper Linux [Analog Devices Wiki]