1
Cosmo Communicator - Linux / Re: On-device kernel compilation
« on: May 28, 2021, 01:08:45 pm »
hello i am tryingto compile it on cosmo comunictaor linux V4 fresh install all thesteps followed n errors the final make file for the final output getting 2 errors
1 helio-dvfsrx.h no such file
2. error 2 drivers/devfreq
/drvgen/drvgen.mk:61: target 'arch/arm64/boot/dts/mediatek/k71v1_64_bsp.dtb' given more than once in the same rule
scripts/drvgen/drvgen.mk:61: target 'arch/arm64/boot/dts/mediatek/k71v1_64_bsp.dtb' given more than once in the same rule
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
make[1]: 'include/generated/vdso-offsets.h' is up to date.
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/compile.h
CHK kernel/config_data.h
CC drivers/devfreq/helio-dvfsrc.o
drivers/devfreq/helio-dvfsrc.c:27:10: fatal error: helio-dvfsrc.h: No such file or directory
#include <helio-dvfsrc.h>
^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:278: drivers/devfreq/helio-dvfsrc.o] Error 1
make[1]: *** [scripts/Makefile.build:484: drivers/devfreq] Error 2
make: *** [Makefile:1008: drivers] Error 2
1 helio-dvfsrx.h no such file
2. error 2 drivers/devfreq
/drvgen/drvgen.mk:61: target 'arch/arm64/boot/dts/mediatek/k71v1_64_bsp.dtb' given more than once in the same rule
scripts/drvgen/drvgen.mk:61: target 'arch/arm64/boot/dts/mediatek/k71v1_64_bsp.dtb' given more than once in the same rule
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
make[1]: 'include/generated/vdso-offsets.h' is up to date.
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/compile.h
CHK kernel/config_data.h
CC drivers/devfreq/helio-dvfsrc.o
drivers/devfreq/helio-dvfsrc.c:27:10: fatal error: helio-dvfsrc.h: No such file or directory
#include <helio-dvfsrc.h>
^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:278: drivers/devfreq/helio-dvfsrc.o] Error 1
make[1]: *** [scripts/Makefile.build:484: drivers/devfreq] Error 2
make: *** [Makefile:1008: drivers] Error 2