U-boot中的配置文件

Configuration file in U-boot

U-boot 中是否有类似于 Linux.

中的配置文件(在 arch/arm/configs/ for ARM 中)的配置文件

我的疑问是,在构建 U-boot 时,它会将 CPUDIR(在顶部 Makefile 中)作为 "arch/arm/cpu/armv7"。我试图从哪里将配置设置为 "arm" 和 "armv7" 来理解。

我相信 include/configs 中的头文件正是您要找的。您需要确定您的电路板使用哪个文件。

来自http://www.stlinux.com/u-boot/modifying

Configuration files

The important configuration information for U-Boot is defined in the file:

    include/configs/<board>.h

For example, the Espresso board default configuration file is:

    include/configs/espresso.h

如果在目录中看到 U-Boot 树

/配置

您将拥有开发板默认配置文件。