Skip to main content

确定当前UBoot的编译配置文件及目录

1, 确定当前uboot的编译路径和配置文件

build$ cat configs/x2600e_vast_v10_nand_5.10_factory_defconfig | grep "uboot"
APP_uboot_toolchain_dir=../tools/toolchains/mips-gcc720-glibc229
APP_uboot_dir=../bootloader/uboot-x2000
APP_uboot_config=x2600e_vast_xImage_sfc_nand

可知,当前uboot编译目录为:../bootloader/uboot-x2000

所用的uboot配置文件为:x2600e_vast_xImage_sfc_nand

2, 确定当前的配置文件

bhu@bhu-PC:~/x2000/build$ cd ../bootloader/uboot-x2000
bhu@bhu-PC:~/x2000/bootloader/uboot-x2000$ cat include/config.h

29

bhu@bhu-PC:~/x2000/bootloader/uboot-x2000$ cat include/configs/x2000_base.h

30