• uboot menuconfig详解


    目录

    架构:Archittecture select (ARM architecture)--->

    ARM子架构:ARM architecture --->

    通用设置:General setup --->

    boot 镜像:Boot images -->

    开机时序:Boot timing --->

    命令行接口:Command line interface --->

    SPL / TPL  --->

    设备树控制:Device Tree Control --->

    网络支持:Networking support  --->

    Device Drivers --->

    文件系统:File systems --->

    库:Library routines --->

    单元测试:Unit tests --->


    1.配置文件夹位置

    configs/ **_defconfig   注意:defconfig 是必须的后缀

    2.可以拷贝自己的一个配置文件,将板子自带的配置文件拷贝一份改名

    3.编译步骤

    有的需要指定编译器CROSS_COMPILE 和 架构 ARCH

    ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean

    make 配置文件 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

    make menuconfig ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

    make savedefconfig 将生成的.config精简,方便拷贝替代原有的配置文件保存

    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

    架构:Archittecture select (ARM architecture)--->

    里边有各种架构,大部分嵌入式单片机都是ARM

    ARM architecture

    ARM子架构:ARM architecture --->

    支持半主控,用于调试

    support boot from semihosting

    L2cache off

    选择芯片型号

    Target select (Freescale MX6) --->

    板级配置选择

    MX6 board select (Supportr mx6ull_14x14_evk) --->

    资源域控制器驱动程序

    i.MX Resource domain controller driver

    用汇编优化执行

    Use an assembly optimized implementation of memcpy    memcpy

    支持启动辅助核心

    Support boot auxiliary core

    调试

    ARM debug --->

    通用设置:General setup --->

    版本号

    local version - append to U-Boot release

    自动向版本字符串追加版本信息

    Automatically append version information to the version string

    选择何时的启动

    Select defaults suitable for booting general purpose Linux di│   

    优化大小

    Optimize for size

    在引导之前使能negmalloc池

    Enable malloc() pool before relocation

    Size of malloc(0 pool before relocation

    配置标准的uboot特性

    Configure standard U-Boot features (expert users) -->

    64位物理地址支持

    64bit physical address support    

    boot 镜像:Boot images -->

    使能安卓引导

    Enable support for Android Boot Images   

    支持扁平设备树

    Support Flattened Image Tree

    支持FIT镜像校验和

    Support SHA256 checksum of FIT image contents    

    FIT uimage签名验证

    Enable signature verification of FIT uImages   

    打印信息当FIT镜像失败

    Show verbose messages when FIT images fail 

     选择最好的匹配到设备树

    Select the best match for the kernel device tree   

    开机时序:Boot timing --->

    开机报告

    Boot timing and reporting

    引导ID给 user

    Number of boot ID numbers available for user use

    引导记录数

    Number of boot stage records to store   

    开机时序记录存储地址

    Address to stash boot timing information

    存储区大小

    Size of boot timing stash region

    命令行接口:Command line interface --->

    Support U-Boot commands 

    Autoboot options  ---> 自动引导选项

    Fastboot support  ---> fastboot支持,fastboot是一种比recovery更底层的刷机模式

    Info commands  --->

    Boot commands  ---> 启动命令

    Environment commands  --->    环境命令

    Memory commands  --->    内存命令

    Compression commands  ---> 压缩命令

    Device access commands  ---> 设备控制命令

    Shell scripting commands  ---> 脚本命令

    Network commands  --->    网络命令

    Misc commands  --->    函数命令

    Power commands  ----    电源控制命令

    Security commands  --->    安全命令

    Firmware commands  ----      固件命令

    Filesystem commands  --->     文件系统命令

    Debug commands  --->       调试命令

    Enable UBI - Unsorted block images commands    是一种用于Raw Flash的

    SPL / TPL  --->

    SPL是uboot第一阶段执行的代码. 主要负责搬移uboot第二阶段

    的代码到内存中运行. SPL是由固化在芯片内部的ROM引导的. 我们知道很多芯片厂商固化的

    ROM支持从nandflash, SDCARD等外部介质启动

    设备树控制:Device Tree Control --->

    通过设备树进行运行时配置

    Run-time configuration via Device Tree

    默认设备树控制

    Default Device Tree for DT control

    网络支持:Networking support  --->

    如果没有设置mac,随机生成mac

    Random ethaddr if unset

    网络控制台

    NetConsole support

    通过环境控制tftp超时和计数

    Control TFTP timeout and count through environment

    Device Drivers --->

    设备驱动:所有可配置的驱动都在里边

    文件系统:File systems --->

    库:Library routines --->

    单元测试:Unit tests --->

  • 相关阅读:
    基础线段树
    linux驱动之调试技巧--- 应用程序远程gdb+vscode调试应用程序, 串口kgdboc调试.ko驱动程序
    Unity编辑扩展:功能篇之Json数据编辑器
    C#语言:散修笔记
    Python办公自动化Excel
    手把手教你开发律师法律咨询小程序
    Java实现人脸识别和指纹认证
    Ocelot的限流、熔断和负载均衡
    【C/C++笔试练习】初始化列表、构造函数、析构函数、两种排序方法、求最小公倍数
    rust学习-string
  • 原文地址:https://blog.csdn.net/qq_20017379/article/details/126911898