Skip to content

Commit

Permalink
[update] Readme.md and add doc/install/upgrade-v2.1.0.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ikwzm committed Apr 3, 2022
1 parent cc612b0 commit d9dc4fa
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
------------------------------------------------------------------------------------
Expand All @@ -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)

80 changes: 80 additions & 0 deletions doc/install/upgrade-v2.1.0.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit d9dc4fa

Please sign in to comment.