Skip to content

Commit e5b4ceb

Browse files
committed
1 parent 79997ef commit e5b4ceb

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

OPTIONS

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@
33
TODAY=$(date --iso-8601)
44

55
# make menuconfig
6-
echo make bindeb-pkg LOCALVERSION=-r0b0-$TODAY -j $(nproc)
6+
7+
# external modules
8+
make M=../soft_3rdpart/wave511/code/vdi/linux/driver LOCALVERSION=-r0b0-$TODAY -j $(nproc)
9+
ls ../soft_3rdpart/wave511/code/vdi/linux/driver/vdec.ko
10+
make M=../soft_3rdpart/codaj12/jdi/linux/driver LOCALVERSION=-r0b0-$TODAY -j $(nproc)
11+
ls ../soft_3rdpart/codaj12/jdi/linux/driver/jpu.ko
12+
make M=../soft_3rdpart/wave420l/code/vdi/linux/driver LOCALVERSION=-r0b0-$TODAY -j $(nproc)
13+
ls ../soft_3rdpart/wave420l/code/vdi/linux/driver/venc.ko
14+
15+
# echo make bindeb-pkg LOCALVERSION=-r0b0-$TODAY -j $(nproc)
716
make bindeb-pkg LOCALVERSION=-r0b0-$TODAY -j $(nproc)
817

918
echo cd ..

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Feel free to request changes to the configuration in the [issues tab](https://gi
88

99
Discussion thread on the rvspace forum: https://forum.rvspace.org/t/kernel-6-12-83/5974
1010

11+
To build this, you also need to clone the VisionFive 2 [soft\_3rdpart repository](https://github.com/starfive-tech/soft_3rdpart)
12+
1113
---
1214

1315
Original readme from https://github.com/starfive-tech/linux :

scripts/package/builddeb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ install_linux_image () {
3333
${MAKE} -f ${srctree}/Makefile INSTALL_DTBS_PATH="${pdir}/usr/lib/linux-image-${KERNELRELEASE}" dtbs_install
3434
fi
3535

36+
# JH7110 extra modules
37+
extradir="${pdir}/lib/modules/${KERNELRELEASE}/extra"
38+
rm -rf "${extradir}"
39+
mkdir -p "${extradir}"
40+
cp "${srctree}/../soft_3rdpart/wave511/code/vdi/linux/driver/vdec.ko" "${extradir}"
41+
cp "${srctree}/../soft_3rdpart/codaj12/jdi/linux/driver/jpu.ko" "${extradir}"
42+
cp "${srctree}/../soft_3rdpart/wave420l/code/vdi/linux/driver/venc.ko" "${extradir}"
43+
3644
${MAKE} -f ${srctree}/Makefile INSTALL_MOD_PATH="${pdir}" INSTALL_MOD_STRIP=1 modules_install
3745
rm -f "${pdir}/lib/modules/${KERNELRELEASE}/build"
3846

0 commit comments

Comments
 (0)