Intro
The switch reference design provides a set of board-specific projects.
This design implements a traditional Layer-2 switch at Zynq PL, running without Linux while status can be monitored by u-boot.
Demo runs at u-boot level.
Features
Board | Project |
---|---|
ONetSwitch30 | ons30-app21-ref_switch |
Pre-Built Images
- For quick start demo.
File | ONetSwitch30 |
---|---|
boot.bin | Download |
devicetree | N/A |
kernel | N/A |
rootfs (EXT) | N/A |
sw-lib | N/A |
sw-app | N/A |
- For image assembling.
File | ONetSwitch30 |
---|---|
system.bit | Download |
dt source | N/A |
fsbl | Download |
u-boot (FAT) | Download |
u-boot (EXT) | Download |
rootfs (FAT) | N/A |
- Additional init./config. script.
File | ONetSwitch30 |
---|---|
script | N/A |
Block Diagram
Design Outline
Clocks
Resets
The system reset is from Processor System Reset Module and synchronized with the slowest clock, normally the 75MHz PS FCLK1.
Interrupts
Total 4. One interrupts per AXI Ethernet i.e. MAC.
Core Design
Address Map
For Zynq PS address map, please refer to Appx. B of Xilinx UG585.
For MAC register offset and description, please refer to Xilinx PG138.
Demo
- Prepare the images in SD/TF card, or download the pre-built ones.
- Connect two PCs to any two of the four ports, with IPv4 set in the same subnet.
- Configure the registers inside PHY devices for initialization.
- (For ONS30) vsc8574-setup.tcl should be used.
- Ping each other, should get the response.
Leave a Reply
You must be logged in to post a comment.