Buildroot引导加载程序

来自百问网嵌入式Linux wiki
跳转至: 导航搜索


编译bootloader

Bootloaders --->

 [ ] afboot-stm32
 [ ] Barebox
 [ ] mxs-bootlets
 [ ] s500-bootloader
 [ ] ts4800-mbrboot
 [*] U-Boot
 [ ]   CRC image for Altera SoC FPGA (mkpimage)
 [ ]   Environment image  ----
 [ ]   Generate a U-Boot boot script
 ()    Device Tree Source file paths
 [ ] X-loader

u-boot编译

 [*] U-Boot
       Build system (Kconfig)  --->
       U-Boot Version (Custom Git repository)  --->
 (https://git.coding.net/codebug8/mini437x_uboot.git) URL of custom repository
 (master) Custom repository version
 ()    Custom U-Boot patches
       U-Boot configuration (Using an in-tree board defconfig file)  --->
 (mini437x) Board defconfig
 ()    Additional configuration fragment files
 [*]   U-Boot needs dtc
 [ ]   U-Boot needs pylibfdt
 [ ]   U-Boot needs OpenSSL
       U-Boot binary format  --->
 [ ]   produce a .ift signed image (OMAP)
 [*]   Install U-Boot SPL binary image
 (MLO)   U-Boot SPL/TPL binary image name(s)

参考注释

Bootloaders:硬件启动程序,选择为 U-boot

 Build system:u-boot系统选择为Kconfig
     legacy:若是选择2015.04之前的u-boot 选择此项
     Kconfig:2015.04之后的 u-boot 选择此项,勾选此项  
 U-boot Version:U-boot版本,默认为 2017.01,选择为Custom version
 U-Boot version:填写为2017.11
 Custom U-boot patches:U-boot补丁,不添加
 U-Boot configuration:U-boot配置,暂时还没有U-BOOT,所以选择为:Using an in-tree board defconfig file
 Board defconfig:板子的配置,选择与架构一样的板子的默认文件,mini2440。后期再修改
 U-boot needs dtc:是否需要设备树,默认,后期调试
 U-boot needs OpenSSL:是否需要 OpenSSL,默认,后期调试修改
 U-boot binary format:二进制文件,选择 .bin文件
 produce a .ift signed image:默认
 Install U-boot SPL binary image:默认
 Environment image:默认