From d9dc4faa34c8e3ba2a92c615446ed51c05d29c3a Mon Sep 17 00:00:00 2001 From: Ichiro Kawazome Date: Mon, 4 Apr 2022 06:32:44 +0900 Subject: [PATCH] [update] Readme.md and add doc/install/upgrade-v2.1.0.md --- Readme.md | 7 +-- doc/install/upgrade-v2.1.0.md | 80 +++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+), 3 deletions(-) create mode 100644 doc/install/upgrade-v2.1.0.md diff --git a/Readme.md b/Readme.md index d475154..3402367 100644 --- a/Readme.md +++ b/Readme.md @@ -24,14 +24,14 @@ This Repository provides a Linux Boot Image(U-boot, Kernel, Root-fs) for FPGA-So + Customized boot by uEnv.txt + Customized boot by boot.scr + Enable bootmenu -* Linux Kernel Version 5.10.69 +* Linux Kernel Version 5.10.109 + Available in both Xilinx-Zynq-7000 and Altera-SoC in a single image + Enable Device Tree Overlay + Enable FPGA Manager + Enable FPGA Bridge + Enable FPGA Reagion + Patch for issue #3(USB-HOST does not work with PYNQ-Z1) -* Debian11(bullseye) Root File System +* Debian11.3(bullseye) Root File System + Installed build-essential + Installed device-tree-compiler + Installed ruby ruby-msgpack ruby-serialport @@ -56,6 +56,7 @@ Install + [DE10-Nano](doc/install/de10-nano.md) * [Install Device Drivers and Services](doc/install/device-drivers.md) * [Upgrade to v1.3.0 from v1.0.x/v1.1.x/v1.2.x](doc/install/upgrade-v1.3.0.md) +* [Upgrade to v2.1.0 from v2.0.x](doc/install/upgrade-v2.1.0.md) Tutorial ------------------------------------------------------------------------------------ @@ -75,7 +76,7 @@ Build * [Build U-boot for PYNQ-Z1](doc/build/u-boot-zynq-pynqz1.md) * [Build U-boot for DE0-Nano-SoC](doc/build/u-boot-de0-nano-soc.md) * [Build U-boot for DE10-Nano](doc/build/u-boot-de10-nano.md) -* [Build Linux Kernel](doc/build/linux-kernel-5.10.69.md) +* [Build Linux Kernel](doc/build/linux-kernel-5.10.109.md) * [Build Debian11 RootFS](doc/build/debian11-rootfs.md) * [Build Device Drivers and Services Package](doc/build/device-drivers.md) diff --git a/doc/install/upgrade-v2.1.0.md b/doc/install/upgrade-v2.1.0.md new file mode 100644 index 0000000..970f7f3 --- /dev/null +++ b/doc/install/upgrade-v2.1.0.md @@ -0,0 +1,80 @@ +Upgrade to v2.1.0 from v2.0.x +------------------------------------------------------------------------------------ + +### Boot and login root user + +root'password is "admin". + +```console +debian-fpga login: root +Password: +root@debian-fpga:~# +``` + +### Download FPGA-SoC-Linux v2.1.0 + +```console +root@debian-fpga:~# wget https://github.com/ikwzm/FPGA-SoC-Linux/archive/refs/tags/v2.1.0.tar.gz +root@debian-fpga:~# tar xfz v2.1.0.tar.gz +root@debian-fpga:~# cd FPGA-SoC-Linux-v2.1.0 +``` + +### Backup /mnt/boot/uEnv.txt + +```console +root@debian-fpga:~/FPGA-SoC-Linux-v2.1.0# cp /mnt/boot/uEnv.txt /mnt/boot/uEnv.txt.org +``` + +### Install files for Booting + +#### ZYBO + +```console +root@debian-fpga:~/FPGA-SoC-Linux-v2.1.0# cp target/zynq-zybo/boot/* /mnt/boot +``` + +#### PYNQ + +```console +root@debian-fpga:~/FPGA-SoC-Linux-v2.1.0# cp target/zynq-pynqzq/boot/* /mnt/boot +``` + +#### ZYBO-Z7 + +```console +root@debian-fpga:~/FPGA-SoC-Linux-v2.1.0# cp target/zynq-zybo-z7/boot/* /mnt/boot +``` + +#### DE0-Nano-SoC + +```console +root@debian-fpga:~/FPGA-SoC-Linux-v2.1.0# cp target/de0-nano-soc/boot/* /mnt/boot +``` + +#### DE10-Nano + +```console +root@debian-fpga:~/FPGA-SoC-Linux-v2.1.0# cp target/de10-nano/boot/* /mnt/boot +``` + +### Setup /mnt/boot/uEnv.txt + +If /mnt/boot/uEnv.txt.org has its own settings, please reflect it in the new /mnt/boot/uEnv.txt. + +### Copy Debian Packages to /home/fpga/debian + +```console +root@debian-fpga:~/FPGA-SoC-Linux-v2.1.0# cp *.deb /home/fpga/debian +``` + +### Install Kernel Image and Device Drivers + +[doc/install/device-drivers.md](device-drivers.md) + +### Upgrade to Debian 11.3 + +```console +root@debian-fpga:~# apt update -y +root@debian-fpga:~# apt upgrade -y +``` +