I.MX6 make menuconfig进入x86模式
2024-08-29 14:19:58
/************************************************************************
* I.MX6 make menuconfig进入x86模式
* 说明:
* make menuconfig不会自动进入arm内核配置模式,总是进入x86内核模式。
* 左栋帮忙解决。
*
* 2017-4-6 深圳 南山平山村 曾剑锋
***********************************************************************/ 一、现象:
. make menuconfig
.config - Linux/x86 3.14. Kernel Configuration
──────────────────────────────────────────────────────────────────────────────
┌──────────────── Linux/x86 3.14. Kernel Configuration ─────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus ---> (or empty │
│ submenus ----). Highlighted letters are hotkeys. Pressing <Y> │
│ includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to │
│ exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ [*] -bit kernel (NEW) │ │
│ │ General setup ---> │ │
│ │ [*] Enable loadable module support ---> │ │
│ │ [*] Enable the block layer ---> │ │
│ │ Processor type and features ---> │ │
│ │ Power management and ACPI options ---> │ │
│ │ Bus options (PCI etc.) ---> │ │
│ │ Executable file formats / Emulations ---> │ │
│ │ < > Intel System On Chip IOSF Sideband support (NEW) │ │
│ │ [*] Networking support ---> │ │
│ └────┴(+)─────────────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────────────────────┤
│ <Select> < Exit > < Help > < Save > < Load > │
└─────────────────────────────────────────────────────────────────────────┘ . make menuconfig ARCH=arm CROSS_COMPILE=`pwd`/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
.config - Linux/arm 3.14. Kernel Configuration
──────────────────────────────────────────────────────────────────────────────
┌──────────────── Linux/arm 3.14. Kernel Configuration ─────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus ---> (or empty │
│ submenus ----). Highlighted letters are hotkeys. Pressing <Y> │
│ includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to │
│ exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ -*- Patch physical to virtual translations at runtime │ │
│ │ General setup ---> │ │
│ │ [*] Enable loadable module support ---> │ │
│ │ [*] Enable the block layer ---> │ │
│ │ System Type ---> │ │
│ │ [ ] FIQ Mode Serial Debugger (NEW) │ │
│ │ Bus support ---> │ │
│ │ Kernel Features ---> │ │
│ │ Boot options ---> │ │
│ │ CPU Power Management ---> │ │
│ └────┴(+)─────────────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────────────────────┤
│ <Select> < Exit > < Help > < Save > < Load > │
└─────────────────────────────────────────────────────────────────────────┘ 二、解决办法:
cat ~/.bashrc
...
export ARCH=arm
export CROSS_COMPILE=/home/zengjf/myandroid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
最新文章
- (转)CentOS下开机启动查看管理命令:chkconfig用法
- JQuery,拼接字符串问题(求助)
- BOM (Browser Object Model) 浏览器对象模型
- BZOJ-1927 星际竞速 最小费用最大流+拆点+不坑建图
- eclipse不正常编译导致错误:Access denied for user &#39;root&#39;@&#39;localhost&#39; (using password: YES)
- C++11多线程教学(二)
- 云计算之路-阿里云上:docker swarm 集群再次出现故障
- 坚定关于考研或者工作的决定:work
- 【python小工具】我在bilibili个人资料里控制家里的电脑
- JAVA中Integer的==和equals注意
- Nvme固体硬盘Intel750,SM961分别使用一段时间以后对比
- vue--移动端兼容问题
- TCP加速锐速SS(ServerSpeeder)破解版一键安装
- SqlServer中的数据库分类
- python 游戏(猜单词Hangman)
- 使用Newtonsoft进行JSON序列化时将枚举序列化为字符串的方法
- delphi image控件上画矩形的问题
- 为什么程序员老在改 Bug,就不能一次改好吗?
- E470 外放没声音问题解决
- Nginx.PHP配置Smarty