嵌入式开发者社区

标题: am5728 linux-rt extra模块部分安装失败 [打印本页]

作者: sanye1780    时间: 2019-9-25 09:21
标题: am5728 linux-rt extra模块部分安装失败
我用的linux-rt最新版linux-rt-4.9.65-gcaf89f0-v1.2,按照内核编译PDF说明遇到了新问题
按照extra模块的重新编译和安装,其中编译正常。但是
1.sudo make cmem-mod_install
2.sudo make ti-sgx-ddk-km_install
这两个指令会出现错误
1.jailhouse:ti-processor-sdk-linux-rt-am57xx-evm-04.03.00.05$ sudo make cmem-mod_install
[sudo] password for jailhouse:
================================
Installing CMEM Module
================================
make[1]: Entering directory '/home/jailhouse/trlong/linux-rt-4.9.65-gcaf89f0-v1.2'
Makefile:628: arch/armv7a/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/armv7a/Makefile'.  Stop.
make[1]: Leaving directory '/home/jailhouse/trlong/linux-rt-4.9.65-gcaf89f0-v1.2'
Makefile:524: recipe for target 'cmem-mod_install' failed
make: *** [cmem-mod_install] Error 2

2.jailhouse:ti-processor-sdk-linux-rt-am57xx-evm-04.03.00.05$ sudo make ti-sgx-ddk-km_install
================================
Installing ti-sgx-ddk-km
================================
make[1]: Entering directory '/home/jailhouse/trlong/linux-rt-4.9.65-gcaf89f0-v1.2'
Makefile:628: arch/armv7a/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/armv7a/Makefile'.  Stop.
make[1]: Leaving directory '/home/jailhouse/trlong/linux-rt-4.9.65-gcaf89f0-v1.2'
Makefile:496: recipe for target 'ti-sgx-ddk-km_install' failed
make: *** [ti-sgx-ddk-km_install] Error 2
希望给解决一下


作者: 梁淑怡-Tronlong    时间: 2019-9-25 14:43
您好,
  请您确认一下以下目录是不是正常的,编译安装驱动前,需要先编译内核。
[attach]5746[/attach]
作者: sanye1780    时间: 2019-9-25 14:47
extra其他编译都没有问题,安装也没有问题,只有这两个有问题
目录是没有问题的,内核以及模块都重新编译过
作者: 梁淑怡-Tronlong    时间: 2019-9-26 16:58
您好,
  这个目录不对,您这边是否已经删除了Linux字符。
[attach]5750[/attach]
[attach]5749[/attach]
[attach]5751[/attach]




欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) Powered by Discuz! X3.4