arm-2014.05 编译三星内核错误 “not support ARM mode ‘smc 0’ ”
生活随笔
收集整理的這篇文章主要介紹了
arm-2014.05 编译三星内核错误 “not support ARM mode ‘smc 0’ ”
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
(1)arch/arm/mach-exynos/include/mach/smc.h文件:
在第54行和第69下面添加:
__asm__ volatile (".arch_extension sec\n""smc 0\n": "+r"(reg0), "+r"(reg1), "+r"(reg2), "+r"(reg3));(2)arch/arm/mach-exynos/sleep-exynos4.S文件:
在第43行上面添加:
#ifdef CONFIG_ARM_TRUSTZONE .arch_extension sec#endif(3)arch/arm/mach-exynos/idle-exynos4.S文件:
在第47行上面添加
#ifdef CONFIG_ARM_TRUSTZONE .arch_extension sec#endif(4) drivers/video/samsung/s3cfb.h
在第217行上面
extern inline struct s3cfb_global *get_fimd_global(int id); 修改為
extern struct s3cfb_global *get_fimd_global(int id);
總結
以上是生活随笔為你收集整理的arm-2014.05 编译三星内核错误 “not support ARM mode ‘smc 0’ ”的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python对接60码平台
- 下一篇: Tsai分享:资源分享(1)——视觉SL