使用的
ti-sdk-am335x-evm-07.00.00.00-Linux-x86-Install.bin这个版本,在目录下使用make linux后,编译自己的驱动,KERNELDIR=/mnt/sdb-device/ti-sdk/board-support/linux-3.12.10-ti2013.12.01/,编译时出现了以下错误提示
/mnt/sdb-device/ti-sdk/board-support/linux-3.12.10-ti2013.12.01/arch/x86/include/asm/atomic64_64.h:19:1: 错误: 未知的类型名‘atomic64_t’
/mnt/sdb-device/ti-sdk/board-support/linux-3.12.10-ti2013.12.01/arch/x86/include/asm/atomic64_64.h: 在函数‘atomic64_read’中:
/mnt/sdb-device/ti-sdk/board-support/linux-3.12.10-ti2013.12.01/arch/x86/include/asm/atomic64_64.h:21:32: 错误: 在非结构或联合中请求成员‘counter’
/mnt/sdb-device/ti-sdk/board-support/linux-3.12.10-ti2013.12.01/arch/x86/include/asm/atomic64_64.h: 在文件作用域:
/mnt/sdb-device/ti-sdk/board-support/linux-3.12.10-ti2013.12.01/arch/x86/include/asm/atomic64_64.h:31:33: 错误: 未知的类型名‘atomic64_t’
/mnt/sdb-device/ti-sdk/board-support/linux-3.12.10-ti2013.12.01/arch/x86/include/asm/atomic64_64.h:43:41: 错误: 未知的类型名‘atomic64_t’
如果我直接在/mnt/sdb-device/ti-sdk/board-support/linux-3.12.10-ti2013.12.01/的目录下使用make bzImage命令后,再编译生成的.ko不是
ARM平台的 file 命令查看为ELF 32-bit LSB relocatable, Intel 80386,那我想请教下,这个SDK包是还有其他的什么设置吗?