Chinaunix首页 | 论坛 | 博客
  • 博客访问: 473913
  • 博文数量: 51
  • 博客积分: 1056
  • 博客等级: 少尉
  • 技术积分: 676
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-10 22:53
文章存档

2018年(2)

2017年(1)

2013年(2)

2012年(9)

2011年(36)

2010年(1)

分类: 嵌入式

2018-07-22 13:35:34

ARM64 加载内核模块报  unsupported RELA relocation 错误,看起来很多人都遇到了。
搜了一下没有管用的方法。

这个问题是因为一些内核补丁导致的。检查内核配置,去掉跟当前cpu不一致的补丁。
例如使用的是Cortex A72 的处理器的话,那么就把不需要的补丁都去掉。
尤其是这个补丁,是添乱来了
config ARM64_ERRATUM_843419  
bool "Cortex-A53: 843419: A load or store might access an incorrect address"  
default y  select ARM64_MODULE_PLTS if MODULES  
help    This option links the kernel with '--fix-cortex-a53-843419' and    
enables PLT support to replace certain ADRP instructions, which can   
 cause subsequent memory accesses to use an incorrect address on   
 Cortex-A53 parts up to r0p4.


阅读(6009) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~