From 6b697905d80e38608c92ba0f6e062b008b69d297 Mon Sep 17 00:00:00 2001 From: ikwzm Date: Tue, 3 Jul 2018 00:44:22 +0900 Subject: [PATCH] [update] documents for v0.8.1 --- Readme.md | 2 +- doc/install/de0-nano-soc.md | 2 +- doc/install/de10-nano.md | 2 +- doc/install/upgrade-v0.8.1.md | 139 ++++++++++++++++++++++++++++++++++ doc/install/zynq-pynqz1.md | 2 +- doc/install/zynq-zybo-z7.md | 2 +- doc/install/zynq-zybo.md | 2 +- 7 files changed, 145 insertions(+), 6 deletions(-) create mode 100644 doc/install/upgrade-v0.8.1.md diff --git a/Readme.md b/Readme.md index 0a37302..32c6184 100644 --- a/Readme.md +++ b/Readme.md @@ -54,7 +54,7 @@ Install + [Dual Boot(ZYBO and DE0-Nano-SoC)](doc/install/zynq-zybo-de0-nano-soc.md) * [Install Device Drivers and Services](doc/install/device-drivers.md) * [Upgrade to v0.5.4 from v0.5.3](doc/install/upgrade-v0.5.4.md) -* [Upgrade to v0.8.0 from previous version](doc/install/upgrade-v0.8.0.md) +* [Upgrade to v0.8.1 from previous version](doc/install/upgrade-v0.8.1.md) Tutorial ------------------------------------------------------------------------------------ diff --git a/doc/install/de0-nano-soc.md b/doc/install/de0-nano-soc.md index 0712f6e..e913037 100644 --- a/doc/install/de0-nano-soc.md +++ b/doc/install/de0-nano-soc.md @@ -3,7 +3,7 @@ #### Downlowd from github ```console -shell$ git clone --depth=1 --branch v0.8.0 git://github.com/ikwzm/FPGA-SoC-Linux +shell$ git clone --depth=1 --branch v0.8.1 git://github.com/ikwzm/FPGA-SoC-Linux shell$ cd FPGA-SoC-Linux shell$ git lfs pull ``` diff --git a/doc/install/de10-nano.md b/doc/install/de10-nano.md index d31a8cc..0064dca 100644 --- a/doc/install/de10-nano.md +++ b/doc/install/de10-nano.md @@ -3,7 +3,7 @@ #### Downlowd from github ```console -shell$ git clone --depth=1 --branch v0.8.0 git://github.com/ikwzm/FPGA-SoC-Linux +shell$ git clone --depth=1 --branch v0.8.1 git://github.com/ikwzm/FPGA-SoC-Linux shell$ cd FPGA-SoC-Linux shell$ git lfs pull ``` diff --git a/doc/install/upgrade-v0.8.1.md b/doc/install/upgrade-v0.8.1.md new file mode 100644 index 0000000..7213439 --- /dev/null +++ b/doc/install/upgrade-v0.8.1.md @@ -0,0 +1,139 @@ +Upgrade to v0.8.1 from previous version +------------------------------------------------------------------------------------ + +### Boot and login root user + +root'password is "admin" + +```console +debian-fpga login: root +Password: +root@debian-fpga:~# +``` + +### Move Boot Partition mount point from /boot to /mnt/boot + +#### Move Boot Partition mount point + +```console +root@debian-fpga:~# sudo unmount /boot +root@debian-fpga:~# sudo mkdir /mnt/boot +root@debian-fpga:~# sudo mount /dev/mmcblk0p1 /mnt/boot +``` + +#### Copy Boot Partition files to /boot + +```console +root@debian-fpga:~# sudo cp /mnt/boot/* /boot +``` + +#### Change Boot Partition mount point of /etc/fstab + +```text:/etc/fstab +/dev/mmcblk0p1 /mnt/boot auto defaults 0 0 +none /config configfs defaults 0 0 +``` + +### Remove Old Services Package + +```console +root@debian-fpga:~# dpkg --remove fpga-soc-linux-services +(Reading database ... 42754 files and directories currently installed.) +Removing fpga-soc-linux-services (0.0.7-1) ... +Removed /etc/systemd/system/multi-user.target.wants/zptty.service. +[ 53.753171] systemd[1]: apt-daily-upgrade.timer: Adding 11min 43.270095s random time. +[ 53.765507] systemd[1]: apt-daily.timer: Adding 36min 25.436252s random time. +Removed /etc/systemd/system/multi-user.target.wants/udmabuf.service. +[ 54.235643] systemd[1]: apt-daily-upgrade.timer: Adding 55.242551s random time. +[ 54.247159] systemd[1]: apt-daily.timer: Adding 9h 13min 49.218879s random time. +Removed /etc/systemd/system/multi-user.target.wants/device-tree-overlay.service. +[ 54.676455] systemd[1]: apt-daily-upgrade.timer: Adding 52min 48.054844s random time. +[ 54.688334] systemd[1]: apt-daily.timer: Adding 6h 36min 45.912649s random time. +``` + +### Remove Old Device Drivers + +#### Remove Old Device Drivers from Release 0.7.x + +```console +root@debian-fpga:~# dpkg --remove fpga-soc-linux-drivers-4.14.21-armv7-fpga +``` + +#### Remove Old Device Drivers from Release 0.6.x + +```console +root@debian-fpga:~# dpkg --remove fpga-soc-linux-drivers-4.14.13-armv7-fpga +``` + +#### Remove Old Device Drivers from Release 0.5.x + +```console +root@debian-fpga:~# dpkg --remove fpga-soc-linux-drivers-4.12.14-armv7-fpga +``` + +#### Remove Old Device Drivers from Release 0.4.x + +```console +root@debian-fpga:~# dpkg --remove fpga-soc-linux-drivers-4.12.13-armv7-fpga +``` + +#### Remove Old Device Drivers from Release 0.3.x + +```console +root@debian-fpga:~# dpkg --remove fpga-soc-linux-drivers-4.8.17-armv7-fpga +``` + +### Download FPGA-SoC-Linux v0.8.1 + +```console +root@debian-fpga:~# git clone --depth=1 --branch v0.8.1 git://github.com/ikwzm/FPGA-SoC-Linux +root@debian-fpga:~# cd FPGA-SoC-Linux +root@debian-fpga:~/FPGA-SoC-Linux# git lfs pull +``` + +### Copy Debian Packages to /home/fpga/debian + +```console +root@debian-fpga:~/FPGA-SoC-Linux# cp *.deb /home/fpga/debian +``` + +### Install files for Booting + +#### ZYBO + +```console +root@debian-fpga:~/FPGA-SoC-Linux# cp target/zynq-zybo/boot/* /mnt/boot +``` + +#### PYNQ + +```console +root@debian-fpga:~/FPGA-SoC-Linux# cp target/zynq-pynqzq/boot/* /mnt/boot +``` + +#### ZYBO-Z7 + +```console +root@debian-fpga:~/FPGA-SoC-Linux# cp target/zynq-zybo-z7/boot/* /mnt/boot +``` + +#### DE0-Nano-SoC + +```console +root@debian-fpga:~/FPGA-SoC-Linux# cp target/de0-nano-soc/boot/* /mnt/boot +root@debian-fpga:~/FPGA-SoC-Linux# dd if=target/de0-nano-soc/u-boot/u-boot-spl.sfp of=/dev/mmcblk0p3 bs=64k seek=0 +root@debian-fpga:~/FPGA-SoC-Linux# dd if=target/de0-nano-soc/u-boot/u-boot.img of=/dev/mmcblk0p3 bs=64k seek=4 +``` + +#### DE10-Nano + +```console +root@debian-fpga:~/FPGA-SoC-Linux# cp target/de10-nano/boot/* /mnt/boot +root@debian-fpga:~/FPGA-SoC-Linux# dd if=target/de10-nano/u-boot/u-boot-spl.sfp of=/dev/mmcblk0p3 bs=64k seek=0 +root@debian-fpga:~/FPGA-SoC-Linux# dd if=target/de10-nano/u-boot/u-boot.img of=/dev/mmcblk0p3 bs=64k seek=4 +``` + +### Install Kernel Image and Device Drivers + +[doc/install/device-drivers.md](device-drivers.md) + diff --git a/doc/install/zynq-pynqz1.md b/doc/install/zynq-pynqz1.md index 8873fec..cbac108 100644 --- a/doc/install/zynq-pynqz1.md +++ b/doc/install/zynq-pynqz1.md @@ -3,7 +3,7 @@ #### Downlowd from github ```console -shell$ git clone --depth=1 --branch v0.8.0 git://github.com/ikwzm/FPGA-SoC-Linux +shell$ git clone --depth=1 --branch v0.8.1 git://github.com/ikwzm/FPGA-SoC-Linux shell$ cd FPGA-SoC-Linux shell$ git lfs pull ``` diff --git a/doc/install/zynq-zybo-z7.md b/doc/install/zynq-zybo-z7.md index bdf5a6f..2221a9c 100644 --- a/doc/install/zynq-zybo-z7.md +++ b/doc/install/zynq-zybo-z7.md @@ -3,7 +3,7 @@ #### Downlowd from github ```console -shell$ git clone --depth=1 --branch v0.8.0 git://github.com/ikwzm/FPGA-SoC-Linux +shell$ git clone --depth=1 --branch v0.8.1 git://github.com/ikwzm/FPGA-SoC-Linux shell$ cd FPGA-SoC-Linux shell$ git lfs pull ``` diff --git a/doc/install/zynq-zybo.md b/doc/install/zynq-zybo.md index 08e699d..b7c576a 100644 --- a/doc/install/zynq-zybo.md +++ b/doc/install/zynq-zybo.md @@ -3,7 +3,7 @@ #### Downlowd from github ```console -shell$ git clone --depth=1 --branch v0.8.0 git://github.com/ikwzm/FPGA-SoC-Linux +shell$ git clone --depth=1 --branch v0.8.1 git://github.com/ikwzm/FPGA-SoC-Linux shell$ cd FPGA-SoC-Linux shell$ git lfs pull ```