Skip to content

Commit

Permalink
[update] documents for v0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ikwzm committed Jul 2, 2018
1 parent 1271452 commit 6b69790
Show file tree
Hide file tree
Showing 7 changed files with 145 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion doc/install/de0-nano-soc.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion doc/install/de10-nano.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
139 changes: 139 additions & 0 deletions doc/install/upgrade-v0.8.1.md
Original file line number Diff line number Diff line change
@@ -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)

2 changes: 1 addition & 1 deletion doc/install/zynq-pynqz1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion doc/install/zynq-zybo-z7.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion doc/install/zynq-zybo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 6b69790

Please sign in to comment.