Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.65 KB

kv260-desktop.md

File metadata and controls

62 lines (45 loc) · 1.65 KB

Install Ubuntu 20.04(Desktop) to Kv260

Downlowd from github

Note: Downloading the entire repository is time consuming, so download only the branch you need.

shell$ git clone --depth=1 --branch v2021.1-desktop-1 git://github.com/ikwzm/ZynqMP-FPGA-Ubuntu20.04
shell$ cd ZynqMP-FPGA-Ubuntu20.04
shell$ git lfs pull

File Description

  • target/Ultra96-V2
    • boot/
      • boot.scr : Stage Script file
      • uEnv.txt : U-Boot environment variables for linux boot
      • image-5.10.0-xlnx-v2021.1-zynqmp-fpga : Linux Kernel Image (use Git LFS)
      • devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-kv260-revB.dtb : Linux Device Tree Blob
      • devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-kv260-revB.dts : Linux Device Tree Source
  • ubuntu20.04-desktop-rootfs.tgz : Ubuntu 20.04 Desktop Root File System (use Git LFS)

Format SD-Card

./doc/install/format-disk.md

Write to SD-Card

Mount SD-Card

shell# mount /dev/sdc1 /mnt/usb1
shell# mount /dev/sdc2 /mnt/usb2

Make Boot Partition

shell# cp target/Kv260/boot/*                    /mnt/usb1

Make RootFS Partition

shell# tar xfz ubuntu20.04-desktop-rootfs.tgz -C /mnt/usb2

Add boot partition mount position to /etc/fstab

shell# mkdir /mnt/usb2/mnt/boot
shell# cat <<EOT >> /mnt/usb2/etc/fstab
/dev/mmcblk1p1	/mnt/boot	auto	defaults	0	0
EOT

Unmount SD-Card

shell# umount /mnt/usb1
shell# umount /mnt/usb2