Firefly-RK3288-Reload编译linux内核模块是出错。
因为是Firefly-RK3288-Reload板子,所以下面这样编译的内核make firefly-rk3288-reload_defconfig
make -j8 firefly-rk3288-reload.img
编译完内核后,按照说明编译内核模块时出错。
honglajiao@honglajiao-MS-7640:~/android51/kernel$ make modules
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make: “include/generated/mach-types.h”是最新的。
CALL scripts/checksyscalls.sh
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCCscripts/mod/file2alias.o
HOSTLDscripts/mod/modpost
Building modules, stage 2.
MODPOST 3 modules
ERROR: "mali_platform_device_register" undefined!
ERROR: "mali_platform_device_unregister" undefined!
make: *** 错误 1
make: *** 错误 2
honglajiao@honglajiao-MS-7640:~/android51/kernel$ 在menuconfig里面把下面两项去掉再编就可以了
Symbol: MALI_MIDGARD [=m]
Type: tristate
Prompt: Mali Midgard series support
Location:
-> Device Drivers
-> Graphics support
Symbol: MALI400 [=m]
Type: tristate
Prompt: Mali-300/400/450 support
Location:
-> Device Drivers
-> Graphics support
去掉可以了。 虽然能编译了,但是,生成boot.img烧进去,无法启动
页:
[1]