• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomeProjectSwitch reference design on ONetSwitch30
Previous Next

Switch reference design on ONetSwitch30

Posted by: Alvin Jin , February 2, 2016

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.

17

 

 

Demo runs at u-boot level.

Features

 

17-1

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

17-2

 

 

Design Outline

Clocks

 

17-3

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

17-4

 

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.

17-5

 

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.

 

 

 

 

Share!
Tweet

Alvin Jin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors