Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 2.76 KB

zynq-pynqz1.md

File metadata and controls

57 lines (45 loc) · 2.76 KB

PYNQ-Z1

Downlowd from github

Note: Downloading the entire repository takes time, so download the source code from https://github.com/ikwzm/FPGA-SoC-Debian12/releases.

shell$ wget https://github.com/ikwzm/FPGA-SoC-Debian12/archive/refs/tags/v7.0.0.tar.gz
shell$ tar xfz v7.0.0.tar.gz
shell$ cd FPGA-SoC-Debian12-7.0.0

File Description

  • tareget/zynq-pynqz1/
    • boot/
      • boot.bin : Stage 1 Boot Loader(U-boot-spl)
      • u-boot.img : Stage 2 Boot Loader(U-boot)
      • uEnv.txt : U-Boot environment variables for linux boot
      • devicetree-6.1.108-armv7-fpga-zynq-pynqz1.dtb : Linux Device Tree Blob
      • devicetree-6.1.108-armv7-fpga-zynq-pynqz1.dts : Linux Device Tree Source
  • files/
    • vmlinuz-6.1.108-armv7-fpga-1 : Linux Kernel Image
  • debian12-rootfs-vanilla.tgz.files/ : Debian11 Root File System
    • x00 .. x08 : (splited files)
  • debian/
    • linux-image-6.1.108-armv7-fpga_6.1.108-armv7-fpga-1_armhf.deb : Linux Image Package
    • linux-headers-6.1.108-armv7-fpga_6.1.108-armv7-fpga-1_armhf.deb : Linux Headers Package
    • dtbocfg-ctrl_0.0.5-1_all.deb : dtbocfg Control Pakcage
    • dtbocfg-6.1.108-armv7-fpga_0.1.0-1_armhf.deb : dtbocfg Kernel Module
    • fclkcfg-6.1.108-armv7-fpga_1.7.3-1_armhf.deb : fclkcfg Kernel Module
    • u-dma-buf-6.1.108-armv7-fpga_4.6.1-0_armhf.deb : u-dma-buf Kernel Module
    • zynq-afi-6.1.108-armv7-fpga_0.0.1-0_armhf.deb : Zynq AFI Kernel Module

Format SD-Card

./doc/install/format-disk-zynq.md

Write to SD-Card

shell# export DISKDEV=/dev/sdc
shell# mount ${DISKDEV}1                                       /mnt/usb1
shell# mount ${DISKDEV}2                                       /mnt/usb2
shell# cp target/zynq-pynqz1/boot/*                            /mnt/usb1
shell# cp files/vmlinuz-6.1.108-armv7-fpga-1                   /mnt/usb1/vmlinuz-6.1.108-armv7-fpga
shell# cat debian12-rootfs-vanilla.tgz.files/* | tar xfz - -C  /mnt/usb2
shell# mkdir                                                   /mnt/usb2/home/fpga/debian
shell# cp debian/*                                             /mnt/usb2/home/fpga/debian
shell# umount                                                  /mnt/usb1
shell# umount                                                  /mnt/usb2

Install Device Drivers and Services

./doc/install/device-drivers.md