Skip to content

Commit 0c4a97a

Browse files
committed
[update] document and script files for build linux-xlnx-v2021.1-zynqmp-fpga to not use GitHub LFS
1 parent ae5c784 commit 0c4a97a

File tree

2 files changed

+24
-16
lines changed

2 files changed

+24
-16
lines changed

doc/build/linux-xlnx-v2021.1-zynqmp-fpga.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,34 +120,36 @@ shell$ export DTC_FLAGS=--symbols
120120
shell$ make deb-pkg
121121
```
122122

123-
### Build kernel image and devicetree to target/UltraZed-EG-IOCC/boot/
123+
### Copy Image to image-5.10.0-xlnx-v2021.1-zynqmp-fpga
124+
125+
```console
126+
shell$ cp arch/arm64/boot/Image ../image-5.10.0-xlnx-v2021.1-zynqmp-fpga
127+
```
128+
129+
### Copy devicetree to target/UltraZed-EG-IOCC/boot/
124130

125131
```console
126-
shell$ cp arch/arm64/boot/Image ../target/UltraZed-EG-IOCC/boot/image-5.10.0-xlnx-v2021.1-zynqmp-fpga
127132
shell$ cp arch/arm64/boot/dts/xilinx/zynqmp-uz3eg-iocc.dtb ../target/UltraZed-EG-IOCC/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-uz3eg-iocc.dtb
128133
shell$ ./scripts/dtc/dtc -I dtb -O dts --symbols -o ../target/UltraZed-EG-IOCC/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-uz3eg-iocc.dts ../target/UltraZed-EG-IOCC/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-uz3eg-iocc.dtb
129134
```
130135

131-
### Build kernel image and devicetree to target/Ultra96/boot/
136+
### Copy devicetree to target/Ultra96/boot/
132137

133138
```console
134-
shell$ cp arch/arm64/boot/Image ../target/Ultra96/boot/image-5.10.0-xlnx-v2021.1-zynqmp-fpga
135139
shell$ cp arch/arm64/boot/dts/xilinx/avnet-ultra96-rev1.dtb ../target/Ultra96/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-ultra96.dtb
136140
shell$ ./scripts/dtc/dtc -I dtb -O dts --symbols -o ../target/Ultra96/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-ultra96.dts ../target/Ultra96/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-ultra96.dtb
137141
```
138142

139-
### Build kernel image and devicetree to target/Ultra96-V2/boot/
143+
### Copy devicetree to target/Ultra96-V2/boot/
140144

141145
```console
142-
shell$ cp arch/arm64/boot/Image ../target/Ultra96-V2/boot/image-5.10.0-xlnx-v2021.1-zynqmp-fpga
143146
shell$ cp arch/arm64/boot/dts/xilinx/avnet-ultra96v2-rev1.dtb ../target/Ultra96-V2/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-ultra96v2.dtb
144147
shell$ ./scripts/dtc/dtc -I dtb -O dts --symbols -o ../target/Ultra96-V2/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-ultra96v2.dts ../target/Ultra96-V2/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-ultra96v2.dtb
145148
```
146149

147-
### Build kernel image and devicetree to target/Kv260/boot/
150+
### Copy devicetree to target/Kv260/boot/
148151

149152
```console
150-
shell$ cp arch/arm64/boot/Image ../target/Kv260/boot/image-5.10.0-xlnx-v2021.1-zynqmp-fpga
151153
shell$ cp arch/arm64/boot/dts/xilinx/zynqmp-kv260-revB.dtb ../target/Kv260/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-kv260-revB.dtb
152154
shell$ ./scripts/dtc/dtc -I dtb -O dts --symbols -o ../target/Kv260/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-kv260-revB.dts ../target/Kv260/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-kv260-revB.dtb
153155
```

scripts/build-linux-xlnx-v2021.1-zynqmp-fpga.sh

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,36 +66,42 @@ git add --update
6666
git commit -m "[add] Xilinx APF driver."
6767

6868
## Create tag and .version
69+
6970
git tag -a xilinx-v2021.1-zynqmp-fpga-4 -m "release xilinx-v2021.1-zynqmp-fpga-4"
7071
echo 4 > .version
7172

7273
## Setup for Build
74+
7375
export ARCH=arm64
7476
export export CROSS_COMPILE=aarch64-linux-gnu-
7577
make xilinx_zynqmp_defconfig
7678

7779
## Build Linux Kernel and device tree
80+
7881
export DTC_FLAGS=--symbols
7982
make deb-pkg
8083

81-
## Build kernel image and devicetree to target/UltraZed-EG-IOCC/boot/
82-
cp arch/arm64/boot/Image ../target/UltraZed-EG-IOCC/boot/image-5.10.0-xlnx-v2021.1-zynqmp-fpga
84+
## Copy Image to image-5.10.0-xlnx-v2021.1-zynqmp-fpga
85+
86+
cp arch/arm64/boot/Image ../image-5.10.0-xlnx-v2021.1-zynqmp-fpga
87+
88+
## Copy devicetree to target/UltraZed-EG-IOCC/boot/
89+
8390
cp arch/arm64/boot/dts/xilinx/zynqmp-uz3eg-iocc.dtb ../target/UltraZed-EG-IOCC/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-uz3eg-iocc.dtb
8491
./scripts/dtc/dtc -I dtb -O dts --symbols -o ../target/UltraZed-EG-IOCC/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-uz3eg-iocc.dts ../target/UltraZed-EG-IOCC/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-uz3eg-iocc.dtb
8592

86-
## Build kernel image and devicetree to target/Ultra96/boot/
87-
cp arch/arm64/boot/Image ../target/Ultra96/boot/image-5.10.0-xlnx-v2021.1-zynqmp-fpga
93+
## Copy devicetree to target/Ultra96/boot/
94+
8895
cp arch/arm64/boot/dts/xilinx/avnet-ultra96-rev1.dtb ../target/Ultra96/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-ultra96.dtb
8996
./scripts/dtc/dtc -I dtb -O dts --symbols -o ../target/Ultra96/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-ultra96.dts ../target/Ultra96/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-ultra96.dtb
9097

91-
## Build kernel image and devicetree to target/Ultra96-V2/boot/
92-
cp arch/arm64/boot/Image ../target/Ultra96-V2/boot/image-5.10.0-xlnx-v2021.1-zynqmp-fpga
98+
## Copy devicetree to target/Ultra96-V2/boot/
99+
93100
cp arch/arm64/boot/dts/xilinx/avnet-ultra96v2-rev1.dtb ../target/Ultra96-V2/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-ultra96v2.dtb
94101
./scripts/dtc/dtc -I dtb -O dts --symbols -o ../target/Ultra96-V2/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-ultra96v2.dts ../target/Ultra96-V2/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-ultra96v2.dtb
95102

96-
## Build kernel image and devicetree to target/Kv260/boot/
103+
## Copy devicetree to target/Kv260/boot/
97104

98-
cp arch/arm64/boot/Image ../target/Kv260/boot/image-5.10.0-xlnx-v2021.1-zynqmp-fpga
99105
cp arch/arm64/boot/dts/xilinx/zynqmp-kv260-revB.dtb ../target/Kv260/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-kv260-revB.dtb
100106
./scripts/dtc/dtc -I dtb -O dts --symbols -o ../target/Kv260/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-kv260-revB.dts ../target/Kv260/boot/devicetree-5.10.0-xlnx-v2021.1-zynqmp-fpga-kv260-revB.dtb
101107

0 commit comments

Comments
 (0)