Skip to content

Commit bb213df

Browse files
committed
Merge branch 'build-v2020.2'
2 parents acbccf5 + 4ec499d commit bb213df

File tree

46 files changed

+2115
-564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2115
-564
lines changed

Readme.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,16 @@ This Repository provides a Linux Boot Image(U-boot, Kernel, Root-fs) for Zynq MP
2020
+ BL31(ARM Trusted Firmware Boot Loader stage 3-1)
2121
+ U-Boot xilinx-v2019.2 (customized)
2222
* Linux Kernel Version v5.4.0
23-
+ [linux-xlnx](https://github.com/Xilinx/linux-xlnx) tag=xilinx-v2020.1
23+
+ [linux-xlnx](https://github.com/Xilinx/linux-xlnx) tag=xilinx-v2020.2
2424
+ Enable Device Tree Overlay with Configuration File System
2525
+ Enable FPGA Manager
2626
+ Enable FPGA Bridge
2727
+ Enable FPGA Reagion
2828
+ Enable ATWILC3000 Linux Driver for Ultra96-V2
29+
+ Enable CIFS (Common Internet File System)
2930
+ Enable Xilinx APF Accelerator driver
3031
+ Enable Xilinx APF DMA engines support
31-
* Debian10(buster) Root File System
32+
* Debian10.9(buster) Root File System
3233
+ Installed build-essential
3334
+ Installed device-tree-compiler
3435
+ Installed ruby ruby-msgpack ruby-serialport
@@ -53,7 +54,7 @@ Build
5354
* [Build Boot Loader for UltraZed-EG-IOCC](target/UltraZed-EG-IOCC/build-v2019.2/Readme.md)
5455
* [Build Boot Loader for Ultra96](target/Ultra96/build-v2019.2/Readme.md)
5556
* [Build Boot Loader for Ultra96-V2](target/Ultra96-V2/build-v2019.2/Readme.md)
56-
* [Build Linux Kernel](doc/build/linux-xlnx-v2020.1-zynqmp-fpga.md)
57+
* [Build Linux Kernel](doc/build/linux-xlnx-v2020.2-zynqmp-fpga.md)
5758
* [Build Debian10 RootFS](doc/build/debian10-rootfs.md)
5859
* [Build Device Drivers](doc/build/device-drivers.md)
5960

@@ -73,6 +74,8 @@ Examples
7374

7475
* https://github.com/ikwzm/ZynqMP-FPGA-XRT-Example-1-Ultra96
7576
+ Example for ZynqMP-FPGA-XRT
77+
* https://github.com/ikwzm/ArgSort-Ultra96
78+
+ ArgSort for Ultra96
7679
* https://github.com/ikwzm/ZynqMP-FPGA-Linux-Example-2-Ultra96
7780
+ ZynqMP-FPGA-Linux Example (2) binary and test code for Ultra96
7881
* https://github.com/ikwzm/ZynqMP-FPGA-Linux-Example-0-UltraZed

debian10-rootfs-vanilla.tgz

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:968eb6b4631c6fe2a8ad044aa835dab96b0dcb9217f332880bba3c2e19e43fae
3-
size 366538029
2+
oid sha256:03b603ccd1d82049157d7a4a2bf69b8d6e59c404889cce06349e73ea9dd00913
3+
size 368115736

doc/build/debian10-rootfs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ shell$ sudo debootstrap --arch=arm64 --foreign $distro $targetdir
1717
shell$ sudo cp /usr/bin/qemu-aarch64-static $targetdir/usr/bin
1818
shell$ sudo cp /etc/resolv.conf $targetdir/etc
1919
shell$ sudo cp scripts/build-debian10-rootfs-with-qemu.sh $targetdir
20-
shell$ sudo cp linux-image-4.19.0-xlnx-v2019.2-zynqmp-fpga_4.19.0-xlnx-v2019.2-zynqmp-fpga-2_arm64.deb $targetdir
20+
shell$ sudo cp linux-image-5.4.0-xlnx-v2020.2-zynqmp-fpga_5.4.0-xlnx-v2020.2-zynqmp-fpga-3_arm64.deb $targetdir
2121
````
2222

2323
## Build debian10-rootfs with QEMU
@@ -212,7 +212,7 @@ debian10-rootfs# apt-get install -y haveged
212212
### Install Linux Modules
213213

214214
```console
215-
debian10-rootfs# dpkg -i linux-image-4.19.0-xlnx-v2019.2-zynqmp-fpga_4.19.0-xlnx-v2019.2-zynqmp-fpga-2_arm64.deb
215+
debian10-rootfs# dpkg -i linux-image-5.4.0-xlnx-v2020.2-zynqmp-fpga_5.4.0-xlnx-v2020.2-zynqmp-fpga-3_arm64.deb
216216
```
217217

218218
### Clean Cache
@@ -233,7 +233,7 @@ debian10-rootfs# dpkg -l > dpkg-list.txt
233233
debian10-rootfs# exit
234234
shell$ sudo rm -f $targetdir/usr/bin/qemu-aarch64-static
235235
shell$ sudo rm -f $targetdir/build-debian10-rootfs-with-qemu.sh
236-
shell$ sudo rm -f $targetdir/linux-image-4.19.0-xlnx-v2019.2-zynqmp-fpga_4.19.0-xlnx-v2019.2-zynqmp-fpga-2_arm64.deb
236+
shell$ sudo rm -f $targetdir/linux-image-5.4.0-xlnx-v2020.2-zynqmp-fpga_5.4.0-xlnx-v2020.2-zynqmp-fpga-3_arm64.deb
237237
shell$ sudo mv $targetdir/dpkg-list.txt files/debian10-dpkg-list.txt
238238
```
239239

doc/build/device-drivers.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
11
Build Device Drivers and Services Package
22
====================================================================================
33

4-
u-dma-buf-5.4.0-xlnx-v2020.1-zynqmp-fpga_3.0.1-0_arm64.deb
4+
u-dma-buf-5.4.0-xlnx-v2020.2-zynqmp-fpga_3.2.4-0_arm64.deb
55
------------------------------------------------------------------------------------
66

77
### Download repository
88

99
```console
10-
shell$ git clone --recursive --depth=1 -b v3.0.1 git://github.com/ikwzm/u-dma-buf-kmod-dpkg
10+
shell$ git clone --recursive --depth=1 -b v3.2.4 git://github.com/ikwzm/u-dma-buf-kmod-dpkg
1111
shell$ cd u-dma-buf-kmod-dpkg
1212
```
1313

1414
### Cross Compile for linux-xlnx-v2020.1-zynqmp-fpga
1515

1616
```console
17-
shell$ sudo debian/rules arch=arm64 deb_arch=arm64 kernel_release=5.4.0-xlnx-v2020.1-zynqmp-fpga kernel_src_dir=../../linux-xlnx-v2020.1-zynqmp-fpga binary
17+
shell$ sudo debian/rules arch=arm64 deb_arch=arm64 kernel_release=5.4.0-xlnx-v2020.2-zynqmp-fpga kernel_src_dir=../../linux-xlnx-v2020.2-zynqmp-fpga binary
1818
:
1919
:
2020
:
21-
shell$ file ../u-dma-buf-5.4.0-xlnx-v2020.1-zynqmp-fpga_3.0.0-1_arm64.deb
22-
../u-dma-buf-5.4.0-xlnx-v2020.1-zynqmp-fpga_3.0.1-0_arm64.deb: Debian binary package (format 2.0)
21+
shell$ file ../u-dma-buf-5.4.0-xlnx-v2020.2-zynqmp-fpga_3.2.4-0_arm64.deb
22+
../u-dma-buf-5.4.0-xlnx-v2020.2-zynqmp-fpga_3.2.4-0_arm64.deb: Debian binary package (format 2.0)
2323
```
2424

25-
fclkcfg-5.4.0-xlnx-v2020.1-zynqmp-fpga_1.3.0-1_arm64.deb
25+
fclkcfg-5.4.0-xlnx-v2020.2-zynqmp-fpga_1.7.2-1_arm64.deb
2626
------------------------------------------------------------------------------------
2727

2828
### Download repository
2929

3030
```console
31-
shell$ git clone --recursive --depth=1 -b v1.3.0 git://github.com/ikwzm/fclkcfg-kmod-dpkg
31+
shell$ git clone --recursive --depth=1 -b v1.7.2 git://github.com/ikwzm/fclkcfg-kmod-dpkg
3232
shell$ cd fclkcfg-kmod-dpkg
3333
```
3434

3535
### Cross Compile for linux-xlnx-v2020.1-zynqmp-fpga
3636

3737
```console
38-
shell$ sudo debian/rules arch=arm64 deb_arch=arm64 kernel_release=5.4.0-xlnx-v2020.1-zynqmp-fpga kernel_src_dir=../../linux-xlnx-v2020.1-zynqmp-fpga binary
38+
shell$ sudo debian/rules arch=arm64 deb_arch=arm64 kernel_release=5.4.0-xlnx-v2020.2-zynqmp-fpga kernel_src_dir=../../linux-xlnx-v2020.2-zynqmp-fpga binary
3939
:
4040
:
4141
:
42-
shell$ file ../fclkcfg-5.4.0-xlnx-v2020.1-zynqmp-fpga_1.3.0-1_arm64.deb
43-
../fclkcfg-5.4.0-xlnx-v2020.1-zynqmp-fpga_1.3.0-1_arm64.deb: Debian binary package (format 2.0)
42+
shell$ file ../fclkcfg-5.4.0-xlnx-v2020.2-zynqmp-fpga_1.7.2-1_arm64.deb
43+
../fclkcfg-5.4.0-xlnx-v2020.2-zynqmp-fpga_1.7.2-1_arm64.deb: Debian binary package (format 2.0)
4444
```
4545

4646

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
# Build Linux Kernel
2+
3+
There are two ways
4+
5+
1. run scripts/build-linux-xlnx-v2020.2-zynqmp-fpga.sh (easy)
6+
2. run this chapter step-by-step (annoying)
7+
8+
## Download ATWILC3000 Linux Driver for Ultra96-V2
9+
10+
```console
11+
shell$ git clone https://github.com/Avnet/u96v2-wilc-driver.git
12+
```
13+
## Download Linux Kernel Source
14+
15+
### Clone from linux-xlnx.git
16+
17+
```console
18+
shell$ git clone --depth 1 -b xilinx-v2020.2 https://github.com/Xilinx/linux-xlnx.git linux-xlnx-v2020.2-zynqmp-fpga
19+
```
20+
21+
### Make Branch linux-xlnx-v2020.2-zynqmp-fpga
22+
23+
```console
24+
shell$ cd linux-xlnx-v2020.2-zynqmp-fpga
25+
shell$ git checkout -b linux-xlnx-v2020.2-zynqmp-fpga refs/tags/xilinx-v2020.2
26+
```
27+
28+
## Patch for linux-xlnx-v2020.2-zynqmp-fpga
29+
30+
```console
31+
shell$ patch -p1 < ../files/linux-xlnx-v2020.2-zynqmp-fpga.diff
32+
shell$ git add --update
33+
shell$ git add arch/arm64/boot/dts/xilinx/zynqmp-uz3eg-iocc.dts
34+
shell$ git commit -m "[patch] for linux-xlnx-v2020.2-zynqmp-fpga."
35+
```
36+
37+
## Patch for linux-xlnx-v2020.2-builddeb
38+
39+
```console
40+
shell$ patch -p1 < ../files/linux-xlnx-v2020.2-builddeb.diff
41+
shell$ git add --update
42+
shell$ git commit -m "[update] scripts/package/builddeb to add tools/include and postinst script to header package."
43+
```
44+
45+
## Add ATWILC3000 Linux Driver for Ultra96-V2
46+
47+
```console
48+
shell$ cp -r ../u96v2-wilc-driver/wilc drivers/staging/wilc3000/
49+
shell$ patch -p1 < ../files/linux-xlnx-v2020.2-zynqmp-fpga-wilc3000.diff
50+
shell$ git add --update
51+
shell$ git add drivers/staging/wilc3000
52+
shell$ git commit -m "[add] drivers/staging/wilc3000"
53+
```
54+
55+
## Patch for Ultra96-V2
56+
57+
```console
58+
shell$ patch -p1 < ../files/linux-xlnx-v2020.2-zynqmp-fpga-ultra96v2.diff
59+
shell$ git add --update
60+
shell$ git add arch/arm64/boot/dts/xilinx/avnet-ultra96v2-rev1.dts
61+
shell$ git commit -m "[add] devicetree for Ultra96-V2."
62+
```
63+
64+
## Patch for SMB3 and CIFS
65+
66+
```console
67+
shell$ patch -p1 < ../files/linux-xlnx-v2020.2-zynqmp-fpga-cifs.diff
68+
shell$ git add --update
69+
shell$ git commit -m "[add] SMB3 and CIFS."
70+
```
71+
72+
## Patch for Xilinx APF Driver
73+
74+
```console
75+
shell$ patch -p1 < ../files/linux-xlnx-v2020.2-zynqmp-fpga-apf.diff
76+
shell$ git add --update
77+
shell$ git commit -m "[add] Xilinx APF driver."
78+
```
79+
80+
## Create tag and .version
81+
82+
```console
83+
shell$ git tag -a xilinx-v2020.2-zynqmp-fpga-3 -m "release xilinx-v2020.2-zynqmp-fpga-3"
84+
shell$ echo 3 > .version
85+
```
86+
87+
## Setup for Build
88+
89+
```console
90+
shell$ cd linux-xlnx-v2020.2-zynqmp-fpga
91+
shell$ export ARCH=arm64
92+
shell$ export CROSS_COMPILE=aarch64-linux-gnu-
93+
shell$ make xilinx_zynqmp_defconfig
94+
```
95+
96+
## Build Linux Kernel and device tree
97+
98+
```console
99+
shell$ export DTC_FLAGS=--symbols
100+
shell$ make deb-pkg
101+
```
102+
103+
## Build kernel image and devicetree to target/UltraZed-EG-IOCC/boot/
104+
105+
```console
106+
shell$ cp arch/arm64/boot/Image ../target/UltraZed-EG-IOCC/boot/image-5.4.0-xlnx-v2020.2-zynqmp-fpga
107+
shell$ cp arch/arm64/boot/dts/xilinx/zynqmp-uz3eg-iocc.dtb ../target/UltraZed-EG-IOCC/boot/devicetree-5.4.0-xlnx-v2020.2-zynqmp-fpga-uz3eg-iocc.dtb
108+
shell$ ./scripts/dtc/dtc -I dtb -O dts --symbols -o ../target/UltraZed-EG-IOCC/boot/devicetree-5.4.0-xlnx-v2020.2-zynqmp-fpga-uz3eg-iocc.dts ../target/UltraZed-EG-IOCC/boot/devicetree-5.4.0-xlnx-v2020.2-zynqmp-fpga-uz3eg-iocc.dtb
109+
```
110+
111+
## Build kernel image and devicetree to target/Ultra96/boot/
112+
113+
```console
114+
shell$ cp arch/arm64/boot/Image ../target/Ultra96/boot/image-5.4.0-xlnx-v2020.2-zynqmp-fpga
115+
shell$ cp arch/arm64/boot/dts/xilinx/avnet-ultra96-rev1.dtb ../target/Ultra96/boot/devicetree-5.4.0-xlnx-v2020.2-zynqmp-fpga-ultra96.dtb
116+
shell$ ./scripts/dtc/dtc -I dtb -O dts --symbols -o ../target/Ultra96/boot/devicetree-5.4.0-xlnx-v2020.2-zynqmp-fpga-ultra96.dts ../target/Ultra96/boot/devicetree-5.4.0-xlnx-v2020.2-zynqmp-fpga-ultra96.dtb
117+
```
118+
119+
## Build kernel image and devicetree to target/Ultra96-V2/boot/
120+
121+
```console
122+
shell$ cp arch/arm64/boot/Image ../target/Ultra96-V2/boot/image-5.4.0-xlnx-v2020.2-zynqmp-fpga
123+
shell$ cp arch/arm64/boot/dts/xilinx/avnet-ultra96v2-rev1.dtb ../target/Ultra96-V2/boot/devicetree-5.4.0-xlnx-v2020.2-zynqmp-fpga-ultra96v2.dtb
124+
shell$ ./scripts/dtc/dtc -I dtb -O dts --symbols -o ../target/Ultra96-V2/boot/devicetree-5.4.0-xlnx-v2020.2-zynqmp-fpga-ultra96v2.dts ../target/Ultra96-V2/boot/devicetree-5.4.0-xlnx-v2020.2-zynqmp-fpga-ultra96v2.dtb
125+
```
126+

doc/install/ultra96.md

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
**Note: Downloading the entire repository is time consuming, so download only the branch you need.**
66

77
```console
8-
shell$ git clone --depth=1 --branch v2020.1.1 git://github.com/ikwzm/ZynqMP-FPGA-Linux
8+
shell$ git clone --depth=1 --branch v2020.2.1 git://github.com/ikwzm/ZynqMP-FPGA-Linux
99
shell$ cd ZynqMP-FPGA-Linux
1010
shell$ git lfs pull
1111
```
@@ -16,14 +16,14 @@ shell$ git lfs pull
1616
+ boot/
1717
- boot.bin : Stage 1 Boot Loader
1818
- uEnv.txt : U-Boot environment variables for linux boot
19-
- image-5.4.0-xlnx-v2020.1-zynqmp-fpga : Linux Kernel Image (use Git LFS)
20-
- devicetree-5.4.0-xlnx-v2020.1-zynqmp-fpga-ultra96.dtb : Linux Device Tree Blob
21-
- devicetree-5.4.0-xlnx-v2020.1-zynqmp-fpga-ultra96.dts : Linux Device Tree Source
19+
- image-5.4.0-xlnx-v2020.2-zynqmp-fpga : Linux Kernel Image (use Git LFS)
20+
- devicetree-5.4.0-xlnx-v2020.2-zynqmp-fpga-ultra96.dtb : Linux Device Tree Blob
21+
- devicetree-5.4.0-xlnx-v2020.2-zynqmp-fpga-ultra96.dts : Linux Device Tree Source
2222
* debian10-rootfs-vanilla.tgz : Debian10 Root File System (use Git LFS)
23-
* linux-image-5.4.0-xlnx-v2020.1-zynqmp-fpga_5.4.0-xlnx-v2020.1-zynqmp-fpga-1_arm64.deb : Linux Image Package (use Git LFS)
24-
* linux-headers-5.4.0-xlnx-v2020.1-zynqmp-fpga_5.4.0-xlnx-v2020.1-zynqmp-fpga-1_arm64.deb : Linux Headers Package (use Git LFS)
25-
* fclkcfg-5.4.0-xlnx-v2020.1-zynqmp-fpga_1.3.0-1_arm64.deb : fclkcfg(1.3.0) Device Driver and Services Package
26-
* u-dma-buf-5.4.0-xlnx-v2020.1-zynqmp-fpga_3.0.1-0_arm64.deb : u-dma-buf(3.0.1) Device Driver and Services Package
23+
* linux-image-5.4.0-xlnx-v2020.2-zynqmp-fpga_5.4.0-xlnx-v2020.2-zynqmp-fpga-3_arm64.deb : Linux Image Package (use Git LFS)
24+
* linux-headers-5.4.0-xlnx-v2020.2-zynqmp-fpga_5.4.0-xlnx-v2020.2-zynqmp-fpga-3_arm64.deb : Linux Headers Package (use Git LFS)
25+
* fclkcfg-5.4.0-xlnx-v2020.2-zynqmp-fpga_1.7.2-1_arm64.deb : fclkcfg(1.7.2) Device Driver and Services Package
26+
* u-dma-buf-5.4.0-xlnx-v2020.2-zynqmp-fpga_3.2.4-0_arm64.deb : u-dma-buf(3.2.4) Device Driver and Services Package
2727

2828
### Format SD-Card
2929

@@ -48,10 +48,10 @@ shell# cp target/Ultra96/boot/* /mnt/u
4848
```console
4949
shell# tar xfz debian10-rootfs-vanilla.tgz -C /mnt/usb2
5050
shell# mkdir /mnt/usb2/home/fpga/debian
51-
shell# cp linux-image-5.4.0-xlnx-v2020.1-zynqmp-fpga_5.4.0-xlnx-v2020.1-zynqmp-fpga-1_arm64.deb /mnt/usb2/home/fpga/debian
52-
shell# cp linux-headers-5.4.0-xlnx-v2020.1-zynqmp-fpga_5.4.0-xlnx-v2020.1-zynqmp-fpga-1_arm64.deb /mnt/usb2/home/fpga/debian
53-
shell# cp fclkcfg-5.4.0-xlnx-v2020.1-zynqmp-fpga_1.3.0-1_arm64.deb /mnt/usb2/home/fpga/debian
54-
shell# cp u-dma-buf-5.4.0-xlnx-v2020.1-zynqmp-fpga_3.0.1-0_arm64.deb /mnt/usb2/home/fpga/debian
51+
shell# cp linux-image-5.4.0-xlnx-v2020.2-zynqmp-fpga_5.4.0-xlnx-v2020.2-zynqmp-fpga-3_arm64.deb /mnt/usb2/home/fpga/debian
52+
shell# cp linux-headers-5.4.0-xlnx-v2020.2-zynqmp-fpga_5.4.0-xlnx-v2020.2-zynqmp-fpga-3_arm64.deb /mnt/usb2/home/fpga/debian
53+
shell# cp fclkcfg-5.4.0-xlnx-v2020.2-zynqmp-fpga_1.7.2-1_arm64.deb /mnt/usb2/home/fpga/debian
54+
shell# cp u-dma-buf-5.4.0-xlnx-v2020.2-zynqmp-fpga_3.2.4-0_arm64.deb /mnt/usb2/home/fpga/debian
5555
```
5656

5757
#### Add boot partition mount position to /etc/fstab
@@ -119,25 +119,25 @@ root@debian-fpga:~#
119119

120120
```console
121121
root@debian-fpga:~# cd /home/fpga/debian
122-
root@debian-fpga:/home/fpga/debian# dpkg -i linux-image-5.4.0-xlnx-v2020.1-zynqmp-fpga_5.4.0-xlnx-v2020.1-zynqmp-fpga-1_arm64.deb
123-
Selecting previously unselected package linux-image-5.4.0-xlnx-v2020.1-zynqmp-fpga.
124-
(Reading database ... 64989 files and directories currently installed.)
125-
Preparing to unpack linux-image-5.4.0-xlnx-v2020.1-zynqmp-fpga_5.4.0-xlnx-v2020.1-zynqmp-fpga-1_arm64.deb ...
126-
Unpacking linux-image-5.4.0-xlnx-v2020.1-zynqmp-fpga (5.4.0-xlnx-v2020.1-zynqmp-fpga-1) ...
127-
Setting up linux-image-5.4.0-xlnx-v2020.1-zynqmp-fpga (5.4.0-xlnx-v2020.1-zynqmp-fpga-1) ...
122+
root@debian-fpga:/home/fpga/debian# dpkg -i linux-image-5.4.0-xlnx-v2020.2-zynqmp-fpga_5.4.0-xlnx-v2020.2-zynqmp-fpga-3_arm64.deb
123+
Selecting previously unselected package linux-image-5.4.0-xlnx-v2020.2-zynqmp-fpga.
124+
(Reading database ... 181094 files and directories currently installed.)
125+
Preparing to unpack linux-image-5.4.0-xlnx-v2020.2-zynqmp-fpga_5.4.0-xlnx-v2020.2-zynqmp-fpga-3_arm64.deb ...
126+
Unpacking linux-image-5.4.0-xlnx-v2020.2-zynqmp-fpga (5.4.0-xlnx-v2020.2-zynqmp-fpga-3) ...
127+
Setting up linux-image-5.4.0-xlnx-v2020.2-zynqmp-fpga (5.4.0-xlnx-v2020.2-zynqmp-fpga-3) ...
128128
```
129129

130130
#### Install Linux Headers Package
131131

132132
```console
133133
root@debian-fpga:~# cd /home/fpga/debian
134-
root@debian-fpga:/home/fpga/debian# dpkg -i linux-headers-5.4.0-xlnx-v2020.1-zynqmp-fpga_5.4.0-xlnx-v2020.1-zynqmp-fpga-1_arm64.deb
135-
Selecting previously unselected package linux-headers-5.4.0-xlnx-v2020.1-zynqmp-fpga.
136-
(Reading database ... 45342 files and directories currently installed.)
137-
Preparing to unpack linux-headers-5.4.0-xlnx-v2020.1-zynqmp-fpga_5.4.0-xlnx-v2020.1-zynqmp-fpga-1_arm64.deb ...
138-
Unpacking linux-headers-5.4.0-xlnx-v2020.1-zynqmp-fpga (5.4.0-xlnx-v2020.1-zynqmp-fpga-1) ...
139-
Setting up linux-headers-5.4.0-xlnx-v2020.1-zynqmp-fpga (5.4.0-xlnx-v2020.1-zynqmp-fpga-1) ...
140-
make: Entering directory '/usr/src/linux-headers-5.4.0-xlnx-v2020.1-zynqmp-fpga'
134+
root@debian-fpga:/home/fpga/debian# dpkg -i linux-headers-5.4.0-xlnx-v2020.2-zynqmp-fpga_5.4.0-xlnx-v2020.2-zynqmp-fpga-3_arm64.deb
135+
Selecting previously unselected package linux-headers-5.4.0-xlnx-v2020.2-zynqmp-fpga.
136+
(Reading database ... 181094 files and directories currently installed.)
137+
Preparing to unpack linux-headers-5.4.0-xlnx-v2020.2-zynqmp-fpga_5.4.0-xlnx-v2020.2-zynqmp-fpga-3_arm64.deb ...
138+
Unpacking linux-headers-5.4.0-xlnx-v2020.2-zynqmp-fpga (5.4.0-xlnx-v2020.2-zynqmp-fpga-3) ...
139+
Setting up linux-headers-5.4.0-xlnx-v2020.2-zynqmp-fpga (5.4.0-xlnx-v2020.2-zynqmp-fpga-3) ...
140+
make: Entering directory '/usr/src/linux-headers-5.4.0-xlnx-v2020.2-zynqmp-fpga'
141141
HOSTCC scripts/basic/fixdep
142142
HOSTCC scripts/kconfig/conf.o
143143
HOSTCC scripts/kconfig/confdata.o
@@ -175,30 +175,30 @@ scripts/kconfig/conf --syncconfig Kconfig
175175
HOSTCC scripts/mod/file2alias.o
176176
HOSTCC scripts/mod/sumversion.o
177177
HOSTLD scripts/mod/modpost
178-
make: Leaving directory '/usr/src/linux-headers-5.4.0-xlnx-v2020.1-zynqmp-fpga'
178+
make: Leaving directory '/usr/src/linux-headers-5.4.0-xlnx-v2020.2-zynqmp-fpga'
179179
```
180180

181181
#### Install fclkcfg Device Driver and Services Package
182182

183183
```console
184184
root@debian-fpga:~# cd /home/fpga/debian
185-
root@debian-fpga:/home/fpga/debian# dpkg -i fclkcfg-5.4.0-xlnx-v2020.1-zynqmp-fpga_1.3.0-1_arm64.deb
186-
Selecting previously unselected package fclkcfg-5.4.0-xlnx-v2020.1-zynqmp-fpga.
187-
(Reading database ... 65097 files and directories currently installed.)
188-
Preparing to unpack fclkcfg-5.4.0-xlnx-v2020.1-zynqmp-fpga_1.3.0-1_arm64.deb ...
189-
Unpacking fclkcfg-5.4.0-xlnx-v2020.1-zynqmp-fpga (1.3.0-1) ...
190-
Setting up fclkcfg-5.4.0-xlnx-v2020.1-zynqmp-fpga (1.3.0-1) ...
185+
root@debian-fpga:/home/fpga/debian# dpkg -i fclkcfg-5.4.0-xlnx-v2020.2-zynqmp-fpga_1.7.2-1_arm64.deb
186+
Selecting previously unselected package fclkcfg-5.4.0-xlnx-v2020.2-zynqmp-fpga.
187+
(Reading database ... 181893 files and directories currently installed.)
188+
Preparing to unpack fclkcfg-5.4.0-xlnx-v2020.2-zynqmp-fpga_1.7.2-1_arm64.deb ...
189+
Unpacking fclkcfg-5.4.0-xlnx-v2020.2-zynqmp-fpga (1.7.2-1) ...
190+
Setting up fclkcfg-5.4.0-xlnx-v2020.2-zynqmp-fpga (1.7.2-1) ...
191191
```
192192

193193
#### Install u-dma-buf Device Driver and Services Package
194194

195195
```console
196196
root@debian-fpga:~# cd /home/fpga/debian
197-
root@debian-fpga:/home/fpga/debian# dpkg -i u-dma-buf-5.4.0-xlnx-v2020.1-zynqmp-fpga_3.0.1-0_arm64.deb
198-
Selecting previously unselected package u-dma-buf-5.4.0-xlnx-v2020.1-zynqmp-fpga.
199-
(Reading database ... 65103 files and directories currently installed.)
200-
Preparing to unpack u-dma-buf-5.4.0-xlnx-v2020.1-zynqmp-fpga_3.0.1-0_arm64.deb ...
201-
Unpacking u-dma-buf-5.4.0-xlnx-v2020.1-zynqmp-fpga (3.0.1-0) ...
202-
Setting up u-dma-buf-5.4.0-xlnx-v2020.1-zynqmp-fpga (3.0.1-0) ...
197+
root@debian-fpga:/home/fpga/debian# dpkg -i u-dma-buf-5.4.0-xlnx-v2020.2-zynqmp-fpga_3.2.4-0_arm64.deb
198+
Selecting previously unselected package u-dma-buf-5.4.0-xlnx-v2020.2-zynqmp-fpga.
199+
(Reading database ... 181899 files and directories currently installed.)
200+
Preparing to unpack u-dma-buf-5.4.0-xlnx-v2020.2-zynqmp-fpga_3.2.4-0_arm64.deb ...
201+
Unpacking u-dma-buf-5.4.0-xlnx-v2020.2-zynqmp-fpga (3.2.4-0) ...
202+
Setting up u-dma-buf-5.4.0-xlnx-v2020.2-zynqmp-fpga (3.2.4-0) ...
203203
```
204204

0 commit comments

Comments
 (0)