File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33TODAY=$( 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)
716make bindeb-pkg LOCALVERSION=-r0b0-$TODAY -j $( nproc)
817
918echo cd ..
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ Feel free to request changes to the configuration in the [issues tab](https://gi
88
99Discussion 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
1315Original readme from https://github.com/starfive-tech/linux :
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments