網路城邦
上一篇 回創作列表 下一篇   字體:
Fixed error : TI am57x build .ko / driver module
2020/10/07 13:51:02瀏覽134|回應0|推薦0
#add below for build .ko
#you will get lib/modules/4.19.94-gbe5389fd85/build to build .ko

/home/gcat/tisdk/sources/meta-ti/conf/machine/am57xx-evm.conf
add below in lastest line:
TOOLCHAIN_TARGET_TASK_append = " kernel-devsrc"
IMAGE_INSTALL += "kernel-devsrc"



#Generate the SDK again

bitbake arago-base-tisdk-image -c populate_sdk
~/dk2/tisdk/build/arago-tmp-external-arm-toolchain/deploy/sdk/
arago-2019.11-toolchain-2019.11.sh




#install the sdk in new ubuntu#16.04.4




#build .ko
#Error about : ./include/uapi/asm-generic/int-ll64.h

search sysroots/ and copy the .h to
sysroots/armv7at2hf-neon-linux-gnueabi/lib/modules/4.19.94-gbe5389fd85/build/include/asm




#build .ko
#Error about : scripts/basic/fixdep

sysroots/armv7at2hf-neon-linux-gnueabi/lib/modules/4.19.94-gbe5389fd85/build$ make scripts

//---
If this doc helps you, buy a fish can for street cats :)
( 不分類不分類 )
回應 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=greatcat&aid=151306571