Note: Downloading the entire repository is time consuming, so download only the branch you need.
shell$ wget https://github.com/ikwzm/ZynqMP-FPGA-Ubuntu22.04-Desktop/archive/refs/tags/v3.0.0.tar.gz
shell$ tar xfz v3.0.0.tar.gz
shell$ cd ZynqMP-FPGA-Ubuntu22.04-Desktop-3.0.0
- target/Kv260/
- boot/
- boot.scr : Stage Script file
- uEnv.txt : U-Boot environment variables for linux boot
- devicetree-6.1.70-zynqmp-fpga-trial-kv260-revB.dtb : Linux Device Tree Blob
- devicetree-6.1.70-zynqmp-fpga-trial-kv260-revB.dts : Linux Device Tree Source
- boot/
- files/
- vmlinuz-6.1.70-zynqmp-fpga-trial-2 : Linux Kernel Image
- ubuntu22.04-desktop-rootfs.tgz.files/ : Ubuntu 22.04 Desktop Root File System
- x00 .. x16 : (splited files)
- debian/
- linux-image-6.1.70-zynqmp-fpga-trial_6.1.70-zynqmp-fpga-trial-2_arm64.deb : Linux Image Package
- linux-headers-6.1.70-zynqmp-fpga-trial_6.1.70-zynqmp-fpga-trial-2_arm64.deb : Linux Headers Package
- libgl1-mesa-xlnx-dri_23.0.4-0ubuntu1~22.04.1_arm64.deb : Mesa Dri Xlnx Driver Package
- xserver-xorg-video-armsoc-xilinx_1.5-trial-13_arm64.deb : X.org Graphics Driver Package
- fclkcfg-6.1.70-zynqmp-fpga-trial_1.7.3-1_arm64.deb : fclkcfg(1.7.3) Device Driver and Services Package
- u-dma-buf-6.1.70-zynqmp-fpga-trial_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/Kv260/boot/* /mnt/usb1
shell# gzip -d -c files/vmlinuz-6.1.70-zynqmp-fpga-trial-2 > /mnt/usb1/image-6.1.70-zynqmp-fpga-trial
shell# (cat ubuntu22.04-desktop-rootfs.tgz.files/*) | tar xfz - -C /mnt/usb2
shell# cp debian/* /mnt/usb2/home/fpga/debian
shell# mkdir /mnt/usb2/mnt/boot
shell# cat <<EOT >> /mnt/usb2/etc/fstab
/dev/mmcblk1p1 /mnt/boot auto defaults 0 0
EOT
If you want to change the system console, change the "linux_boot_args_console" variable in "/mnt/usb1/uEnv.txt".
linux_boot_args_console=console=ttyPS1,115200
linux_boot_args_console=console=tty1
shell# umount /mnt/usb1
shell# umount /mnt/usb2