zoukankan      html  css  js  c++  java
  • I.MX6 make menuconfig进入x86模式

    /************************************************************************
     *                 I.MX6 make menuconfig进入x86模式
     * 说明:
     *     make menuconfig不会自动进入arm内核配置模式,总是进入x86内核模式。
     * 左栋帮忙解决。
     *
     *                                      2017-4-6 深圳 南山平山村 曾剑锋
     ***********************************************************************/
    
    一、现象:
        1. make menuconfig
          .config - Linux/x86 3.14.52 Kernel Configuration
         ──────────────────────────────────────────────────────────────────────────────
          ┌──────────────── Linux/x86 3.14.52 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  [ ]         │  
          │ ┌─────────────────────────────────────────────────────────────────────┐ │  
          │ │    [*] 64-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 >         │  
          └─────────────────────────────────────────────────────────────────────────┘  
            
        2. make menuconfig ARCH=arm CROSS_COMPILE=`pwd`/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
         .config - Linux/arm 3.14.52 Kernel Configuration
         ──────────────────────────────────────────────────────────────────────────────
          ┌──────────────── Linux/arm 3.14.52 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-
        
  • 相关阅读:
    面向对象SOLID原则-设计模式-第2篇
    python 设计模式 开篇 第1篇
    区块链 第1篇 什么是区块链 区块链与比特币的关系 区块链的发展历史 应用领域
    HTTP协议六种请求:GET,HEAD,PUT,DELETE,POST
    python垃圾回收机制
    类的MRO属性 C3算法
    Vue第六篇 element-ui 项目管理工具npm webpack 启Vue项目vue-cli
    《EffctiveJava》泛型
    Kafka总结
    Windows 关闭端口号
  • 原文地址:https://www.cnblogs.com/zengjfgit/p/6672256.html
Copyright © 2011-2022 走看看