Hi,
Platform Specification: -
Hardware Platform:- Renesas R-Car h3
Operating System: - Linux VM-ECOCKPIT 5.10.0-20-arm64 #1 SMP Debian 5.10.158-2 (2022-12-13) aarch64 GNU/Linux
I want to build GFX package for the Debian Linux operating system. But it failed with an error.
Error:-
grep: /usr/src//Makefile: No such file or directorygrep: /usr/src//Makefile: No such file or directorygrep: /usr/src//Makefile: No such file or directorygrep: /usr/src//Makefile: No such file or directorygrep: /usr/src//include/linux/*: No such file or directory../config/preconfig.mk:256: CROSS_COMPILE is not set. Target components will be built with the host compiler******* Multiarch build: no******* Primary arch: target_aarch64******* Secondary arch: none******* PVR arch: rogue******* HWDefs: /home/ecockpit/Desktop/drivers/driver/RCH3G001L5101ZDO_4_2_1/RCH3G001L5101ZDO/Software/rogue_km/hwdefs/rogue******* HWDefs (all): /home/ecockpit/Desktop/drivers/driver/RCH3G001L5101ZDO_4_2_1/RCH3G001L5101ZDO/Software/rogue_km/hwdefs/rogue /home/ecockpit/Desktop/drivers/driver/RCH3G001L5101ZDO_4_2_1/RCH3G001L5101ZDO/Software/rogue_km/hwdefs/rogue/4.V.6.62 /home/ecockpit/Desktop/drivers/driver/RCH3G001L5101ZDO_4_2_1/RCH3G001L5101ZDO/Software/rogue_km/hwdefs/rogue/4.V.6.62/isa /home/ecockpit/Desktop/drivers/driver/RCH3G001L5101ZDO_4_2_1/RCH3G001L5101ZDO/Software/rogue_km/hwdefs/rogue/km******* Host OS: linux******* Target OS: linux../config/core.mk:451: autoconf.h not found in $(KERNELDIR)/include/linux or $(KERNELDIR)/include/generated. Check your $(KERNELDIR) variable and kernel configuration.
GEN binary_r8a7795_linux_nullws_drm_release/target_aarch64/install_km.sh GEN binary_r8a7795_linux_nullws_drm_release/install.shmake[2]: *** No targets specified and no makefile found. Stop.make[1]: *** [build/linux/kbuild/kbuild.mk:64: kbuild] Error 2make: *** [../config/core.mk:2116: build] Error 2
Can you give installation steps to build the GFX package for Debian Linux?
Hi H.Kurokawa,
Do you have any updates?
Basically, we recomend using Yocto to build for kernel driver, because kernel driiver module depends kernel source and configuration as well as CROSS_COMPILE.Second, if you don't want yocto, the recipe file may help to you (but we don't recomend the build)https://github.com/renesas-rcar/meta-renesas/blob/dunfell/meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bbDo you store kernel src file in debian system?
Hello Sumit,
Please contact your local Renesas FAE or sales person.