0
我試圖從https://github.com/peyo-hd/device_brcm_rpi2建立樹莓派2 Android的內核,但我建立DTBS時面臨着以下生成錯誤:DT-綁定/時鐘/ bcm2835.h:沒有這樣的文件或目錄
$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make dtbs
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
DTC arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dtb
arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts:8:39: fatal error: dt-bindings/clock/bcm2835.h: No such file or directory
compilation terminated.
make[2]: *** [arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dtb] Error 1
make[1]: *** [arch/arm/boot/dts/overlays] Error 2
make: *** [dtbs] Error 2
要知道,我已經成功地使用內置的zImage:
$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make zImage