Note: Downloading the entire repository takes time, so download the source code from /~https://github.com/ikwzm/ZynqMP-FPGA-Debian12/releases.
shell$ wget /~https://github.com/ikwzm/ZynqMP-FPGA-Debian12/archive/refs/tags/v4.1.0.tar.gz
shell$ tar xfz v4.1.0.tar.gz
shell$ cd ZynqMP-FPGA-Debian12-4.1.0
- target/Ultra96-V2
- boot/
- boot.bin : Stage 1 Boot Loader
- uEnv.txt : U-Boot environment variables for linux boot
- devicetree-6.1.70-zynqmp-fpga-generic-ultra96v2.dtb : Linux Device Tree Blob
- devicetree-6.1.70-zynqmp-fpga-generic-ultra96v2.dts : Linux Device Tree Blob
- boot/
- files/
- vmlinuz-6.1.70-zynqmp-fpga-generic-2 : Linux Kernel Image
- debian12-rootfs-vanilla.tgz.files/ : Debian12 Root File System
- x00 .. x09 : (splited files)
- debian/
- linux-image-6.1.70-zynqmp-fpga-generic_6.1.70-zynqmp-fpga-generic-2_arm64.deb : Linux Image Package
- linux-headers-6.1.70-zynqmp-fpga-generic_6.1.70-zynqmp-fpga-generic-2_arm64.deb : Linux Headers Package
- fclkcfg-6.1.70-zynqmp-fpga-generic_1.7.3-1_arm64.deb : fclkcfg(1.7.3) Device Driver and Services Package
- u-dma-buf-6.1.70-zynqmp-fpga-generic_4.5.2-0_arm64.deb : u-dma-buf(4.5.2) Device Driver and Services Package
shell# mount /dev/sdc1 /mnt/usb1
shell# mount /dev/sdc2 /mnt/usb2
shell# cp target/Ultra96-V2/boot/* /mnt/usb1
shell# gzip -d -c files/vmlinuz-6.1.70-zynqmp-fpga-generic-2 > /mnt/usb1/image-6.1.70-zynqmp-fpga-generic
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# cat <<EOT >> /mnt/usb2/etc/fstab
/dev/mmcblk0p1 /mnt/boot auto defaults 0 0
EOT
- ssid: ssssssss
- passphrase: ppppppppp
- psk: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
shell# wpa_passphrase ssssssss ppppppppp
network={
ssid="ssssssss"
#psk="ppppppppp"
psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
}
shell# cat <<EOT > /mnt/usb2/etc/network/interfaces.d/wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid ssssssss
wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
EOT
shell# umount /mnt/usb1
shell# umount /mnt/usb2