4 Microchip EVB-KSZ9563 on SAMA5D3 EDS
KSZ9563 Plug-in Evaluation Board (EVB-KSZ9563) on SAMA5D3 Ethernet Development System (DM320114)
Contents
4.1 Board Overview
The EVB-KSZ9563 Evaluation Board is a plug-in card that interfaces directly with a mating Microchip host processor or controller board, such as the SAMA5D3 Ethernet Development System Board. It features the KSZ9563, a highly integrated networking device that incorporates a layer-2+ managed Gigabit Ethernet switch, two 10BASE-T/100BASE-TX/1000BASE-T physical layer transceivers (PHYs) and associated MAC units, and one MAC port configured as the RGMII interface. The board’s two PHY ports are connected to RJ45 Ethernet jacks with integrated magnetics, and the RGMII MAC interface is brought out to a high-speed multi-pin (HS) connector.
Together, the EVB-KSZ9563 and SAMA5D3 Ethernet Development System (EDS) provide a highly-flexible platform for evaluation of basic PHY/Switch features via static Control-Status Registers (CSR’s) and development of firmware for advanced MAC/Switch features that require interaction with upper network layers (e.g., IEEE1588 PTP, AVB, and RSTP/MSTP).
The Microchip SAMA5D3 Ethernet Development System board (EDS) board is an MPU-based platform for evaluating Ethernet switch and PHY products. Compatible switch and PHY evaluation boards connect to the EDS board via either an RGMII connector or an RMII connector. These daughter boards are available separately. The EDS board is not intended for stand-alone use and has no Ethernet capabilities when no daughter board is connected.
4.1.1 Block Diagram
4.1.2 Photos
4.1.3 Specification
Model |
EVB-KSZ9563 on SAMA5D3 EDS |
---|---|
Processor |
Atmel SAMA5D36 (324-ball BGA package)
1 × ARM Cortex-A5 with v7-A Thumb®-2 instruction set
frequency up to 536 MHz
|
Memory |
256 MiB DDR2 SDRAM
|
Storage |
Full-size SD card slot
256 MiB NAND flash
|
Debug |
JTAG interface to program and debug the MPU (20-pin header)
1 × Serial communication (6-pin header)
|
USB |
2 × USB 2.0 Host
1 × Micro-AB USB Device
|
Ethernet (SAMA5D3 EDS) |
1 × Gigabit MAC with RGMII interface
1 × 10/100 Mbit MAC with RMII interface
|
Ethernet (EVB-KSZ9563) |
2 × Gigabit Ethernet PHYs
|
User Interface |
1 × Reset push button
LEDs for power, reset USB and NAND flash disable
|
Expansion Interface |
8 × 2 GPIO header with two-wire, SPI and audio
1 × 6 GPIO header with USART
|
Power Source |
DC Jack |
Power |
12V/500mA DC input jack |
4.2 Build Targets
4.2.1 Machines
Board[1] |
Target YAML[2] |
Machine[3] |
Target Recipe(s)[4] |
Running Media[5] |
Installation Media[6] |
---|---|---|---|---|---|
EVB-KSZ9563 on SAMA5D3 EDS |
|
|
|
SD card |
– |
|
|
|
internal NAND |
SD card |
4.2.2 Images
Read-Only Root Filesystem Image |
Recipe[7] |
Supported by Target(s) |
Description |
---|---|---|---|
|
|
All |
Standard TanoWrt image. |
|
All |
Standard TanoWrt image
and firmware upgrade
image. When building this image,
|
|
|
|
Factory installation image for standard TanoWrt
image. When building this image,
|
Image recipe name. This name can be used as argument
for --target
build command option (see Section 4.3 section).
4.3 Build
Please read the common information on how to perform a TanoWrt images build and preparing the build environment in section “Building TanoWrt”.
See also
See section Section 4.2.1 to select the required target YAML file (
<target-yml>
).See section Section 4.2.2 to select the required root filesystem image recipe (
<target-recipe>
).See section Section 4.5 for detailed information about the produced build artifacts.
4.3.1 Examples
4.3.1.1 Build Default Images for EVB-KSZ9563 on SAMA5D3 EDS Board
For SD Card
$ kas build targets/kas/evb-ksz9563-sd.yml
Default images will be produced to boot and run from the SD card on the EVB-KSZ9563 on SAMA5D3 EDS target board.
For Internal NAND Flash
$ kas build targets/kas/evb-ksz9563-nand.yml
An initial factory installation image will be generated, intended to run from the SD card. The installer image will install the default image to the internal NAND flash memory and further the EVB-KSZ9563 on SAMA5D3 EDS board will boot and run from the NAND flash memory.
4.4 Partitioning Layouts
4.4.1 SD Card
The partitioning and data layout of the SD card image for the EVB-KSZ9563 on SAMA5D3 EDS board are shown in the figure below.
4.4.2 NAND
The partitioning and data layout of the NAND image for the EVB-KSZ9563 on SAMA5D3 EDS board are shown in the figure below.
4.5 Produced Build Artifacts
All produced build artifacts are stored in the ~/tanowrt/build/tanowrt-glibc/deploy/images/<MACHINE>
directory.
Refer to table Produced Build Artifacts for a description of some common (not all) build artifacts.
Artifact |
Target(s) |
Description |
---|---|---|
Bootloader (AT91Bootstrap) |
||
|
All |
AT91Bootstrap binary for SD card images. |
|
|
AT91Bootstrap binary for NAND flash images. |
Bootloader (U-Boot) |
||
|
All |
U-Boot startup script. |
|
|
U-Boot startup script for factory installation image. |
|
All |
U-Boot initial environment image for SD card image. |
|
|
U-Boot initial environment image for internal NAND flash. |
|
All |
U-Boot binary image for booting from SD card. |
|
|
U-Boot binary image for booting from internal NAND flash. |
Linux Kernel and DTB |
||
|
All |
Flattened Image Tree (FIT) image with Linux kernel and Device Tree Blobs (DTB). |
|
All |
FIT image packed into an ext4 file system image. |
|
All |
Target Device Tree Blob (DTB). |
|
|
FIT image for SWU factory installation image with initramfs image. |
Images |
||
|
|
SD card image including all required partitions for booting and running the system. This image is ready to be written to the SD card using the dd utility or similar (see Writing Images). |
|
|
SD card factory installation image. This image is ready to be written to the SD card using the dd utility or similar (see Writing Images). |
|
|
Root filesystem initramfs image for factory installtion
image. This image is included in
|
|
All |
Root filesystem image (squashfs with LZO compression). |
|
All |
Firmware upgrade image. |
Note
<MACHINE>
in the artifacts path and artifact file names are replaced by
the actual value of the MACHINE
BitBake variable for the chosen
target. <rootfs-image>
is replaced by
the actual read-only root filesystem image name.
For example, below is the lists of artifacts produced by the evb-ksz9563-nand.yml
and evb-ksz9563-sd.yml
target builds. There are two types of listings here —
a complete listing, and a reduced listing without the symbolic links display.
4.5.1 Build Artifacts Listings for evb-ksz9563-sd.yml
Target
[~/tanowrt/build/tanowrt-glibc/deploy/images/evb-ksz9563-sd]$ ls -gGh | grep -v -e "^l"
total 135M
-rwxr-xr-x 2 20K Jul 27 17:54 at91bootstrap.bin-sdcard
-rw-r--r-- 2 50K Jul 27 17:55 at91-evb-ksz9563--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.dtb
-rw-r--r-- 2 4.5M Jul 27 17:55 fitImage--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.bin
-rw-r--r-- 2 6.4M Jul 27 17:55 fitImage-4.19.78+gitAUTOINC+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd.ext4
-rw-r--r-- 2 6.4M Jul 27 17:55 fitImage-evb-ksz9563-sd.ext4
-rw-r--r-- 2 1.6K Jul 27 17:55 fitImage-its--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.its
-rw-r--r-- 2 4.4M Jul 27 17:55 fitImage-linux.bin--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.bin
-rw-r--r-- 2 2.0M Jul 27 17:55 modules--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.tgz
drwxr-xr-x 7 260 Jul 27 16:28 sam-ba
-rw-r--r-- 2 771 Jul 27 17:54 startup-factory.img
-rw-r--r-- 2 12 Jul 27 17:54 startup-factory.img.version
-rw-r--r-- 2 2.0K Jul 27 17:54 startup.img
-rw-r--r-- 2 12 Jul 27 17:54 startup.img.version
-rw-r--r-- 2 5.3K Jul 27 17:57 tanowrt-image-full.env
-rw-r--r-- 2 63K Jul 27 17:56 tanowrt-image-full-evb-ksz9563-sd-20220727145300.rootfs.manifest
-rw-r--r-- 2 940M Jul 27 17:57 tanowrt-image-full-evb-ksz9563-sd-20220727145300.rootfs.sdcard.img
-rw-r--r-- 2 24M Jul 27 17:57 tanowrt-image-full-evb-ksz9563-sd-20220727145300.rootfs.squashfs-lzo
-rw-r--r-- 2 24 Jul 27 17:57 tanowrt-image-full-evb-ksz9563-sd-20220727145300.rootfs.version
-rw-r--r-- 2 374K Jul 27 17:56 tanowrt-image-full-evb-ksz9563-sd-20220727145300.testdata.json
-rw-r--r-- 2 2.6K Jul 27 17:57 tanowrt-image-full-sdimage-at91-swu-a-b.wks
-rw-r--r-- 2 31M Jul 27 17:57 tanowrt-image-full-swu-evb-ksz9563-sd-20220727145300.swu
-rw-r--r-- 2 192 Jul 27 17:53 u-boot-initial-env-evb-ksz9563-sd-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0
-rw-r--r-- 2 128K Jul 27 17:53 u-boot-initial-env-evb-ksz9563-sd-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
-rw-r--r-- 2 719K Jul 27 17:53 u-boot-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
[~/tanowrt/build/tanowrt-glibc/deploy/images/evb-ksz9563-sd]$ ls -gGh
total 135M
-rwxr-xr-x 2 20K Jul 27 17:54 at91bootstrap.bin-sdcard
-rw-r--r-- 2 50K Jul 27 17:55 at91-evb-ksz9563--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.dtb
lrwxrwxrwx 2 98 Jul 27 17:55 at91-evb-ksz9563.dtb -> at91-evb-ksz9563--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.dtb
lrwxrwxrwx 2 98 Jul 27 17:55 at91-evb-ksz9563-evb-ksz9563-sd.dtb -> at91-evb-ksz9563--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.dtb
lrwxrwxrwx 2 24 Jul 27 17:54 boot.bin-sdcard -> at91bootstrap.bin-sdcard
lrwxrwxrwx 2 90 Jul 27 17:55 fitImage -> fitImage--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.bin
-rw-r--r-- 2 4.5M Jul 27 17:55 fitImage--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.bin
-rw-r--r-- 2 6.4M Jul 27 17:55 fitImage-4.19.78+gitAUTOINC+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd.ext4
lrwxrwxrwx 2 90 Jul 27 17:55 fitImage-evb-ksz9563-sd.bin -> fitImage--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.bin
-rw-r--r-- 2 6.4M Jul 27 17:55 fitImage-evb-ksz9563-sd.ext4
-rw-r--r-- 2 1.6K Jul 27 17:55 fitImage-its--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.its
lrwxrwxrwx 2 94 Jul 27 17:55 fitImage-its-evb-ksz9563-sd -> fitImage-its--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.its
-rw-r--r-- 2 4.4M Jul 27 17:55 fitImage-linux.bin--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.bin
lrwxrwxrwx 2 100 Jul 27 17:55 fitImage-linux.bin-evb-ksz9563-sd -> fitImage-linux.bin--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.bin
-rw-r--r-- 2 2.0M Jul 27 17:55 modules--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.tgz
lrwxrwxrwx 2 89 Jul 27 17:55 modules-evb-ksz9563-sd.tgz -> modules--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-sd-20220727145300.tgz
drwxr-xr-x 7 260 Jul 27 16:28 sam-ba
lrwxrwxrwx 2 11 Jul 27 17:54 startup-evb-ksz9563-sd.img -> startup.img
lrwxrwxrwx 2 19 Jul 27 17:54 startup-evb-ksz9563-sd.img.version -> startup.img.version
lrwxrwxrwx 2 19 Jul 27 17:54 startup-factory-evb-ksz9563-sd.img -> startup-factory.img
lrwxrwxrwx 2 27 Jul 27 17:54 startup-factory-evb-ksz9563-sd.img.version -> startup-factory.img.version
-rw-r--r-- 2 771 Jul 27 17:54 startup-factory.img
-rw-r--r-- 2 12 Jul 27 17:54 startup-factory.img.version
-rw-r--r-- 2 2.0K Jul 27 17:54 startup.img
-rw-r--r-- 2 12 Jul 27 17:54 startup.img.version
-rw-r--r-- 2 5.3K Jul 27 17:57 tanowrt-image-full.env
-rw-r--r-- 2 63K Jul 27 17:56 tanowrt-image-full-evb-ksz9563-sd-20220727145300.rootfs.manifest
-rw-r--r-- 2 940M Jul 27 17:57 tanowrt-image-full-evb-ksz9563-sd-20220727145300.rootfs.sdcard.img
-rw-r--r-- 2 24M Jul 27 17:57 tanowrt-image-full-evb-ksz9563-sd-20220727145300.rootfs.squashfs-lzo
-rw-r--r-- 2 24 Jul 27 17:57 tanowrt-image-full-evb-ksz9563-sd-20220727145300.rootfs.version
-rw-r--r-- 2 374K Jul 27 17:56 tanowrt-image-full-evb-ksz9563-sd-20220727145300.testdata.json
lrwxrwxrwx 2 64 Jul 27 17:56 tanowrt-image-full-evb-ksz9563-sd.manifest -> tanowrt-image-full-evb-ksz9563-sd-20220727145300.rootfs.manifest
lrwxrwxrwx 2 66 Jul 27 17:57 tanowrt-image-full-evb-ksz9563-sd.sdcard.img -> tanowrt-image-full-evb-ksz9563-sd-20220727145300.rootfs.sdcard.img
lrwxrwxrwx 2 68 Jul 27 17:57 tanowrt-image-full-evb-ksz9563-sd.squashfs-lzo -> tanowrt-image-full-evb-ksz9563-sd-20220727145300.rootfs.squashfs-lzo
lrwxrwxrwx 2 62 Jul 27 17:56 tanowrt-image-full-evb-ksz9563-sd.testdata.json -> tanowrt-image-full-evb-ksz9563-sd-20220727145300.testdata.json
lrwxrwxrwx 2 63 Jul 27 17:57 tanowrt-image-full-evb-ksz9563-sd.version -> tanowrt-image-full-evb-ksz9563-sd-20220727145300.rootfs.version
-rw-r--r-- 2 2.6K Jul 27 17:57 tanowrt-image-full-sdimage-at91-swu-a-b.wks
-rw-r--r-- 2 31M Jul 27 17:57 tanowrt-image-full-swu-evb-ksz9563-sd-20220727145300.swu
lrwxrwxrwx 2 56 Jul 27 17:57 tanowrt-image-full-swu-evb-ksz9563-sd.swu -> tanowrt-image-full-swu-evb-ksz9563-sd-20220727145300.swu
lrwxrwxrwx 2 61 Jul 27 17:53 u-boot.bin -> u-boot-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 61 Jul 27 17:53 u-boot.bin-sdcard -> u-boot-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 61 Jul 27 17:53 u-boot-evb-ksz9563-sd.bin -> u-boot-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 61 Jul 27 17:53 u-boot-evb-ksz9563-sd.bin-sdcard -> u-boot-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 84 Jul 27 17:53 u-boot-initial-env-evb-ksz9563-sd-sdcard -> u-boot-initial-env-evb-ksz9563-sd-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0
lrwxrwxrwx 2 88 Jul 27 17:53 u-boot-initial-env-evb-ksz9563-sd-sdcard.bin -> u-boot-initial-env-evb-ksz9563-sd-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
-rw-r--r-- 2 192 Jul 27 17:53 u-boot-initial-env-evb-ksz9563-sd-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0
-rw-r--r-- 2 128K Jul 27 17:53 u-boot-initial-env-evb-ksz9563-sd-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 84 Jul 27 17:53 u-boot-initial-env-sdcard -> u-boot-initial-env-evb-ksz9563-sd-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0
lrwxrwxrwx 2 88 Jul 27 17:53 u-boot-initial-env-sdcard.bin -> u-boot-initial-env-evb-ksz9563-sd-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
-rw-r--r-- 2 719K Jul 27 17:53 u-boot-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
4.5.2 Build Artifacts Listings for evb-ksz9563-nand.yml
Target
[~/tanowrt/build/tanowrt-glibc/deploy/images/evb-ksz9563-nand]$ ls -gGh | grep -v -e "^l"
total 123M
-rwxr-xr-x 2 15K Jul 27 17:47 at91bootstrap.bin-nand
-rw-r--r-- 2 16K Jul 27 17:47 at91bootstrap.bin-nand-pmecc
-rwxr-xr-x 2 20K Jul 27 17:47 at91bootstrap.bin-sdcard
-rw-r--r-- 2 20K Jul 27 17:47 at91bootstrap.bin-sdcard-pmecc
-rw-r--r-- 2 50K Jul 27 17:50 at91-evb-ksz9563--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.dtb
-rw-r--r-- 2 4.5M Jul 27 17:50 fitImage--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.bin
-rw-r--r-- 2 1.6K Jul 27 17:50 fitImage-its--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.its
-rw-r--r-- 2 2.3K Jul 27 17:50 fitImage-its-tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.its
-rw-r--r-- 2 4.4M Jul 27 17:50 fitImage-linux.bin--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.bin
-rw-r--r-- 2 12M Jul 27 17:50 fitImage-tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.bin
-rw-r--r-- 2 2.0M Jul 27 17:50 modules--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.tgz
drwxr-xr-x 7 260 Jul 27 16:28 sam-ba
-rw-r--r-- 2 846 Jul 27 17:47 startup-factory.img
-rw-r--r-- 2 12 Jul 27 17:47 startup-factory.img.version
-rw-r--r-- 2 2.2K Jul 27 17:47 startup.img
-rw-r--r-- 2 12 Jul 27 17:47 startup.img.version
-rw-r--r-- 2 64K Jul 27 17:50 tanowrt-image-full-evb-ksz9563-nand-20220727144635.rootfs.manifest
-rw-r--r-- 2 23M Jul 27 17:50 tanowrt-image-full-evb-ksz9563-nand-20220727144635.rootfs.squashfs-lzo
-rw-r--r-- 2 24 Jul 27 17:51 tanowrt-image-full-evb-ksz9563-nand-20220727144635.rootfs.version
-rw-r--r-- 2 374K Jul 27 17:50 tanowrt-image-full-evb-ksz9563-nand-20220727144635.testdata.json
-rw-r--r-- 2 29M Jul 27 17:51 tanowrt-image-full-swu-evb-ksz9563-nand-20220727144635.swu
-rw-r--r-- 2 5.9K Jul 27 17:49 tanowrt-image-full-swu-factory.env
-rw-r--r-- 2 42M Jul 27 17:51 tanowrt-image-full-swu-factory-evb-ksz9563-nand-20220727144635.sdcard.img
-rw-r--r-- 2 778 Jul 27 17:49 tanowrt-image-full-swu-factory-sdimage-at91-swu-factory.wks
-rw-r--r-- 2 6.6M Jul 27 17:50 tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-20220727144635.rootfs.cpio.gz
-rw-r--r-- 2 3.3K Jul 27 17:50 tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-20220727144635.rootfs.manifest
-rw-r--r-- 2 24 Jul 27 17:50 tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-20220727144635.rootfs.version
-rw-r--r-- 2 381K Jul 27 17:50 tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-20220727144635.testdata.json
-rw-r--r-- 2 187 Jul 27 17:47 u-boot-initial-env-evb-ksz9563-nand-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0
-rw-r--r-- 2 128K Jul 27 17:47 u-boot-initial-env-evb-ksz9563-nand-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
-rw-r--r-- 2 192 Jul 27 17:47 u-boot-initial-env-evb-ksz9563-nand-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0
-rw-r--r-- 2 128K Jul 27 17:47 u-boot-initial-env-evb-ksz9563-nand-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
-rw-r--r-- 2 727K Jul 27 17:47 u-boot-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
-rw-r--r-- 2 719K Jul 27 17:47 u-boot-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
[~/tanowrt/build/tanowrt-glibc/deploy/images/evb-ksz9563-nand]$ ls -gGh
total 123M
-rwxr-xr-x 2 15K Jul 27 17:47 at91bootstrap.bin-nand
-rw-r--r-- 2 16K Jul 27 17:47 at91bootstrap.bin-nand-pmecc
-rwxr-xr-x 2 20K Jul 27 17:47 at91bootstrap.bin-sdcard
-rw-r--r-- 2 20K Jul 27 17:47 at91bootstrap.bin-sdcard-pmecc
-rw-r--r-- 2 50K Jul 27 17:50 at91-evb-ksz9563--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.dtb
lrwxrwxrwx 2 100 Jul 27 17:50 at91-evb-ksz9563.dtb -> at91-evb-ksz9563--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.dtb
lrwxrwxrwx 2 100 Jul 27 17:50 at91-evb-ksz9563-evb-ksz9563-nand.dtb -> at91-evb-ksz9563--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.dtb
lrwxrwxrwx 2 24 Jul 27 17:47 boot.bin-sdcard -> at91bootstrap.bin-sdcard
lrwxrwxrwx 2 92 Jul 27 17:50 fitImage -> fitImage--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.bin
-rw-r--r-- 2 4.5M Jul 27 17:50 fitImage--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.bin
lrwxrwxrwx 2 92 Jul 27 17:50 fitImage-evb-ksz9563-nand.bin -> fitImage--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.bin
-rw-r--r-- 2 1.6K Jul 27 17:50 fitImage-its--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.its
lrwxrwxrwx 2 96 Jul 27 17:50 fitImage-its-evb-ksz9563-nand -> fitImage-its--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.its
-rw-r--r-- 2 2.3K Jul 27 17:50 fitImage-its-tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.its
lrwxrwxrwx 2 149 Jul 27 17:50 fitImage-its-tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-evb-ksz9563-nand -> fitImage-its-tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.its
-rw-r--r-- 2 4.4M Jul 27 17:50 fitImage-linux.bin--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.bin
lrwxrwxrwx 2 102 Jul 27 17:50 fitImage-linux.bin-evb-ksz9563-nand -> fitImage-linux.bin--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.bin
-rw-r--r-- 2 12M Jul 27 17:50 fitImage-tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.bin
lrwxrwxrwx 2 145 Jul 27 17:50 fitImage-tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-evb-ksz9563-nand -> fitImage-tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.bin
-rw-r--r-- 2 2.0M Jul 27 17:50 modules--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.tgz
lrwxrwxrwx 2 91 Jul 27 17:50 modules-evb-ksz9563-nand.tgz -> modules--4.19.78+git0+046113c438+ksz2-tano0.2.20.20.0.1-evb-ksz9563-nand-20220727144635.tgz
drwxr-xr-x 7 260 Jul 27 16:28 sam-ba
lrwxrwxrwx 2 11 Jul 27 17:47 startup-evb-ksz9563-nand.img -> startup.img
lrwxrwxrwx 2 19 Jul 27 17:47 startup-evb-ksz9563-nand.img.version -> startup.img.version
lrwxrwxrwx 2 19 Jul 27 17:47 startup-factory-evb-ksz9563-nand.img -> startup-factory.img
lrwxrwxrwx 2 27 Jul 27 17:47 startup-factory-evb-ksz9563-nand.img.version -> startup-factory.img.version
-rw-r--r-- 2 846 Jul 27 17:47 startup-factory.img
-rw-r--r-- 2 12 Jul 27 17:47 startup-factory.img.version
-rw-r--r-- 2 2.2K Jul 27 17:47 startup.img
-rw-r--r-- 2 12 Jul 27 17:47 startup.img.version
-rw-r--r-- 2 64K Jul 27 17:50 tanowrt-image-full-evb-ksz9563-nand-20220727144635.rootfs.manifest
-rw-r--r-- 2 23M Jul 27 17:50 tanowrt-image-full-evb-ksz9563-nand-20220727144635.rootfs.squashfs-lzo
-rw-r--r-- 2 24 Jul 27 17:51 tanowrt-image-full-evb-ksz9563-nand-20220727144635.rootfs.version
-rw-r--r-- 2 374K Jul 27 17:50 tanowrt-image-full-evb-ksz9563-nand-20220727144635.testdata.json
lrwxrwxrwx 2 66 Jul 27 17:50 tanowrt-image-full-evb-ksz9563-nand.manifest -> tanowrt-image-full-evb-ksz9563-nand-20220727144635.rootfs.manifest
lrwxrwxrwx 2 70 Jul 27 17:50 tanowrt-image-full-evb-ksz9563-nand.squashfs-lzo -> tanowrt-image-full-evb-ksz9563-nand-20220727144635.rootfs.squashfs-lzo
lrwxrwxrwx 2 64 Jul 27 17:50 tanowrt-image-full-evb-ksz9563-nand.testdata.json -> tanowrt-image-full-evb-ksz9563-nand-20220727144635.testdata.json
lrwxrwxrwx 2 65 Jul 27 17:51 tanowrt-image-full-evb-ksz9563-nand.version -> tanowrt-image-full-evb-ksz9563-nand-20220727144635.rootfs.version
-rw-r--r-- 2 29M Jul 27 17:51 tanowrt-image-full-swu-evb-ksz9563-nand-20220727144635.swu
lrwxrwxrwx 2 58 Jul 27 17:51 tanowrt-image-full-swu-evb-ksz9563-nand.swu -> tanowrt-image-full-swu-evb-ksz9563-nand-20220727144635.swu
-rw-r--r-- 2 5.9K Jul 27 17:49 tanowrt-image-full-swu-factory.env
-rw-r--r-- 2 42M Jul 27 17:51 tanowrt-image-full-swu-factory-evb-ksz9563-nand-20220727144635.sdcard.img
lrwxrwxrwx 2 73 Jul 27 17:51 tanowrt-image-full-swu-factory-evb-ksz9563-nand.sdcard.img -> tanowrt-image-full-swu-factory-evb-ksz9563-nand-20220727144635.sdcard.img
-rw-r--r-- 2 778 Jul 27 17:49 tanowrt-image-full-swu-factory-sdimage-at91-swu-factory.wks
-rw-r--r-- 2 6.6M Jul 27 17:50 tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-20220727144635.rootfs.cpio.gz
-rw-r--r-- 2 3.3K Jul 27 17:50 tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-20220727144635.rootfs.manifest
-rw-r--r-- 2 24 Jul 27 17:50 tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-20220727144635.rootfs.version
-rw-r--r-- 2 381K Jul 27 17:50 tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-20220727144635.testdata.json
lrwxrwxrwx 2 82 Jul 27 17:50 tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand.cpio.gz -> tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-20220727144635.rootfs.cpio.gz
lrwxrwxrwx 2 83 Jul 27 17:50 tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand.manifest -> tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-20220727144635.rootfs.manifest
lrwxrwxrwx 2 81 Jul 27 17:50 tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand.testdata.json -> tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-20220727144635.testdata.json
lrwxrwxrwx 2 82 Jul 27 17:50 tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand.version -> tanowrt-image-initramfs-swu-factory-evb-ksz9563-nand-20220727144635.rootfs.version
lrwxrwxrwx 2 59 Jul 27 17:47 u-boot.bin -> u-boot-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 59 Jul 27 17:47 u-boot.bin-nand -> u-boot-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 61 Jul 27 17:47 u-boot.bin-sdcard -> u-boot-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 59 Jul 27 17:47 u-boot-evb-ksz9563-nand.bin -> u-boot-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 59 Jul 27 17:47 u-boot-evb-ksz9563-nand.bin-nand -> u-boot-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 61 Jul 27 17:47 u-boot-evb-ksz9563-nand.bin-sdcard -> u-boot-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 84 Jul 27 17:47 u-boot-initial-env-evb-ksz9563-nand-nand -> u-boot-initial-env-evb-ksz9563-nand-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0
lrwxrwxrwx 2 88 Jul 27 17:47 u-boot-initial-env-evb-ksz9563-nand-nand.bin -> u-boot-initial-env-evb-ksz9563-nand-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
-rw-r--r-- 2 187 Jul 27 17:47 u-boot-initial-env-evb-ksz9563-nand-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0
-rw-r--r-- 2 128K Jul 27 17:47 u-boot-initial-env-evb-ksz9563-nand-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 86 Jul 27 17:47 u-boot-initial-env-evb-ksz9563-nand-sdcard -> u-boot-initial-env-evb-ksz9563-nand-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0
lrwxrwxrwx 2 90 Jul 27 17:47 u-boot-initial-env-evb-ksz9563-nand-sdcard.bin -> u-boot-initial-env-evb-ksz9563-nand-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
-rw-r--r-- 2 192 Jul 27 17:47 u-boot-initial-env-evb-ksz9563-nand-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0
-rw-r--r-- 2 128K Jul 27 17:47 u-boot-initial-env-evb-ksz9563-nand-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 84 Jul 27 17:47 u-boot-initial-env-nand -> u-boot-initial-env-evb-ksz9563-nand-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0
lrwxrwxrwx 2 88 Jul 27 17:47 u-boot-initial-env-nand.bin -> u-boot-initial-env-evb-ksz9563-nand-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
lrwxrwxrwx 2 86 Jul 27 17:47 u-boot-initial-env-sdcard -> u-boot-initial-env-evb-ksz9563-nand-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0
lrwxrwxrwx 2 90 Jul 27 17:47 u-boot-initial-env-sdcard.bin -> u-boot-initial-env-evb-ksz9563-nand-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
-rw-r--r-- 2 727K Jul 27 17:47 u-boot-nand-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
-rw-r--r-- 2 719K Jul 27 17:47 u-boot-sdcard-v2020.01-at91+gitAUTOINC+af59b26c22-tano0.0.bin
4.6 Writing Images
4.6.1 Writing Image to SD Card
No special information about writing images to SD card for EVB-KSZ9563 on SAMA5D3 EDS board. See common instructions in Writing Images to SD Card or USB Flash Drive section.
Examples
Writing factory installation image for the evb-ksz9563-nand.yml
target to the SD
card /dev/mmcblk1
:
$ dd if=tanowrt-image-full-swu-factory-evb-ksz9563-nand.sdcard.img of=/dev/mmcblk1
Writing bootable card image for the evb-ksz9563-sd.yml
target to the SD
card /dev/mmcblk1
:
$ dd if=tanowrt-image-full-evb-ksz9563-sd.sdcard.img of=/dev/mmcblk1
4.6.2 Writing Image to NAND Flash
For the initial flashing of the internal NAND memory it is recommended to use
the special image of the initial factory installation. If you choose a build target
(see Build Targets for details) that assumes using the
factory installation image for the initial flashing of the
device, a factory installation image (<rootfs-image>-swu-factory-<MACHINE>.sdcard.img
)
will be automatically generated during the build process
(see Build).
To write the factory installation image to a SD card, follow the instructions
from Writing Images to SD Card or USB Flash Drive section.
When you boot device from the prepaired SD card with factory installation image the installation of TanoWrt to the internal NAND flash memory will be done automatically. The detailed installation log is available on the debug UART. After the installation is complete, the board will power off automatically. You need to remove SD card with the installation image and power on the board. When the board boots up, the installed system will be booted from the internal NAND flash memory.
Caution
Be aware that during the installation all existing data on the internal NAND flash memory will be permanently lost.
4.7 Booting and Running
4.7.1 Configuring Boot Mode
The SAMA5D3 Ethernet Development System board does not have any switches or jumpers for selecting the boot source. By default, booting is performed from the SD card. If booting from an SD card fails, NAND flash memory is used for booting.
4.7.2 Hardware Configuration
Ensure that the J20 (NAND Enable) jumper on SAMA5D3 EDS board is shorted (this is needed for installing and running the TanoWrt from the internal NAND flash memory).
4.7.3 Booting from SD Card
Insert the SD card into the slot on the SAMA5D3 EDS board (power is off).
Power on board.
TanoWrt will be booting from SD card.
Log in to system using default credentials.
4.8 Serial Console
Serial console on SAMA5D3 EDS board are available through 6-pin serial communication header J10. Connect the USB to TTL serial cable as described below. Don’t connect the VCC wire of the USB to TTL converted, connect only TX, RX and GND wires.
SAMA5D3 EDS J10 6-pin Header |
Signal |
---|---|
Pin 1 |
Not used |
Pin 2 |
TX |
Pin 3 |
RX |
Pin 4 |
Not connected |
Pin 5 |
Not used |
Pin 6 |
GND |
See Fig. 4.1 for example connection USB to TTL converter with SAMA5D3 EDS board.
The default serial console settings for SAMA5D3 EDS for U-Boot and kernel are described in the table below.
Parameter |
Value |
---|---|
Baudrate |
115200 |
Data bits |
8 |
Stop bits |
1 |
Parity |
none |
Flow control |
none |
4.9 Default Network Configuration
By default, network ports 1 and 2 are joined into a bridge (br-lan
interface)
with the RSTP protocol enabled. Bridge br-lan
is in the LAN firewall zone.
By default, the br-lan
bridge is configured with static IP address
192.168.0.1/24 with enabled DHCP server.
Also you can connect to the board using USB RNDIS connection (usb0
interface).
RNDIS interface configured with static IP address 172.16.0.1/24 with
enabled DHCP server.
Default network configuration for the EVB-KSZ9563 has no WAN interface.
Ethernet ports 1 and 2 have enabled LLDP for Rx and Tx state by default.
4.10 Web User Interface
The WebUI can be accessed via any Ethernet port bridged to LAN network (1 or 2) or via USB RNDIS connection through HTTP(s) protocol. You must see something like this in browser:
4.11 Firmware Upgrade
No special information about firmware upgrade.
Use produced .swu
artifact for upgrading running system.
See also
See common instructions in Firmware Upgrade section.