[<<][buildroot][>>][..]
Fri May 18 09:43:08 EDT 2018

BBB u-boot config

Can't figure out how this is configured.  uEnv.txt is only part of the story.

config/bbb.buildroot has:

BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.01"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am335x_evm"
BR2_TARGET_UBOOT_NEEDS_DTC=y
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
BR2_TARGET_UBOOT_FORMAT_IMG=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="MLO"

tom@buildroot:~/gw_buildroot/target/bbb/build/uboot-2018.01$ cat configs/am335x_evm_defconfig



I just don't understand where the config is generated eventually.

Ok, look into the build directory for

tom@zoe:~/gw_buildroot/target/bbb/build/uboot-2018.01$ ls -al .*.cmd
-rw-r--r-- 1 tom tom  122 May 17 17:31 .MLO.byteswap.cmd
-rw-r--r-- 1 tom tom   92 May 17 17:31 .MLO.cmd
-rw-r--r-- 1 tom tom   47 May 17 17:31 .u-boot.bin.cmd
-rw-r--r-- 1 tom tom 1527 May 17 17:31 .u-boot.cmd
-rw-r--r-- 1 tom tom   71 May 17 17:31 .u-boot-dtb.bin.cmd
-rw-r--r-- 1 tom tom  394 May 17 17:31 .u-boot-dtb.img.cmd
-rw-r--r-- 1 tom tom  386 May 17 17:31 .u-boot.img.cmd
-rw-r--r-- 1 tom tom  936 May 17 17:31 .u-boot.lds.cmd
-rw-r--r-- 1 tom tom  356 May 17 17:31 .u-boot-nodtb.bin.cmd
-rw-r--r-- 1 tom tom  343 May 17 17:31 .u-boot.srec.cmd
-rw-r--r-- 1 tom tom  126 May 17 17:31 .u-boot.sym.cmd

tom@zoe:~/gw_buildroot/target/bbb/build/uboot-2018.01$ for f in .*.cmd; do echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CMD: $f"; cat $f; done

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CMD: .MLO.byteswap.cmd
cmd_MLO.byteswap := ./tools/mkimage -T omapimage -n byteswap -a 0x402F0400 -d spl/u-boot-spl.bin MLO.byteswap  >/dev/null

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CMD: .MLO.cmd
cmd_MLO := ./tools/mkimage -T omapimage -a 0x402F0400 -d spl/u-boot-spl.bin MLO  >/dev/null

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CMD: .u-boot.bin.cmd
cmd_u-boot.bin := cp u-boot-dtb.bin u-boot.bin

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CMD: .u-boot.cmd
cmd_u-boot := /brcache/tom/gw_buildroot/target/bbb/host/bin/arm-buildroot-linux-musleabihf-ld.bfd   -pie  --gc-sections -Bstatic  --no-dynamic-linker -Ttext 0x80800000 -o u-boot -T u-boot.lds arch/arm/cpu/armv7/start.o --start-group  arch/arm/cpu/built-in.o  arch/arm/cpu/armv7/built-in.o  arch/arm/lib/built-in.o  arch/arm/mach-omap2/built-in.o  board/ti/am335x/built-in.o  board/ti/common/built-in.o  cmd/built-in.o  common/built-in.o  disk/built-in.o  drivers/built-in.o  drivers/dma/built-in.o  drivers/gpio/built-in.o  drivers/i2c/built-in.o  drivers/mtd/built-in.o  drivers/mtd/nand/built-in.o  drivers/mtd/onenand/built-in.o  drivers/mtd/spi/built-in.o  drivers/net/built-in.o  drivers/net/phy/built-in.o  drivers/pci/built-in.o  drivers/power/built-in.o  drivers/power/battery/built-in.o  drivers/power/domain/built-in.o  drivers/power/fuel_gauge/built-in.o  drivers/power/mfd/built-in.o  drivers/power/pmic/built-in.o  drivers/power/regulator/built-in.o  drivers/serial/built-in.o  drivers/spi/built-in.o  drivers/usb/common/built-in.o  drivers/usb/dwc3/built-in.o  drivers/usb/emul/built-in.o  drivers/usb/eth/built-in.o  drivers/usb/gadget/built-in.o  drivers/usb/gadget/udc/built-in.o  drivers/usb/host/built-in.o  drivers/usb/musb-new/built-in.o  drivers/usb/musb/built-in.o  drivers/usb/phy/built-in.o  drivers/usb/ulpi/built-in.o  env/built-in.o  fs/built-in.o  lib/built-in.o  net/built-in.o  test/built-in.o  test/dm/built-in.o --end-group arch/arm/lib/eabi_compat.o  arch/arm/lib/lib.a -Map u-boot.map;  true

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CMD: .u-boot-dtb.bin.cmd
cmd_u-boot-dtb.bin := cat u-boot-nodtb.bin dts/dt.dtb > u-boot-dtb.bin

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CMD: .u-boot-dtb.img.cmd
cmd_u-boot-dtb.img := ./tools/mkimage -f auto -A arm -T firmware -C none -O u-boot -a 0x80800000 -e 0 -n "U-Boot 2018.01"" for am335x board" -E -b arch/arm/dts/am335x-evm.dtb -b arch/arm/dts/am335x-bone.dtb -b arch/arm/dts/am335x-boneblack.dtb -b arch/arm/dts/am335x-evmsk.dtb -b arch/arm/dts/am335x-bonegreen.dtb -b arch/arm/dts/am335x-icev2.dtb -d u-boot-nodtb.bin u-boot-dtb.img  >/dev/null

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CMD: .u-boot.img.cmd
cmd_u-boot.img := ./tools/mkimage -f auto -A arm -T firmware -C none -O u-boot -a 0x80800000 -e 0 -n "U-Boot 2018.01"" for am335x board" -E -b arch/arm/dts/am335x-evm.dtb -b arch/arm/dts/am335x-bone.dtb -b arch/arm/dts/am335x-boneblack.dtb -b arch/arm/dts/am335x-evmsk.dtb -b arch/arm/dts/am335x-bonegreen.dtb -b arch/arm/dts/am335x-icev2.dtb -d u-boot-nodtb.bin u-boot.img  >/dev/null

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CMD: .u-boot.lds.cmd
cmd_u-boot.lds := /brcache/tom/gw_buildroot/target/bbb/host/bin/arm-buildroot-linux-musleabihf-gcc -E -Wp,-MD,./.u-boot.lds.d -D__KERNEL__ -D__UBOOT__   -D__ARM__ -Wa,-mimplicit-it=always  -mthumb -mthumb-interwork  -mabi=aapcs-linux  -mword-relocations  -fno-pic  -mno-unaligned-access  -ffunction-sections -fdata-sections -fno-common -ffixed-r9  -msoft-float   -pipe  -march=armv7-a -D__LINUX_ARM_ARCH__=7  -I./arch/arm/mach-omap2/include -Iinclude    -I./arch/arm/include -include ./include/linux/kconfig.h  -nostdinc -isystem /brcache/tom/gw_buildroot/target/bbb/host/lib/gcc/arm-buildroot-linux-musleabihf/6.4.0/include -ansi -include ./include/u-boot/u-boot.lds.h -DCPUDIR=arch/arm/cpu/armv7  -D__ASSEMBLY__ -x assembler-with-cpp -P -o u-boot.lds board/ti/am335x/u-boot.lds

source_u-boot.lds := board/ti/am335x/u-boot.lds

deps_u-boot.lds := \
  include/u-boot/u-boot.lds.h \

u-boot.lds: $(deps_u-boot.lds)

$(deps_u-boot.lds):

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CMD: .u-boot-nodtb.bin.cmd
cmd_u-boot-nodtb.bin := /brcache/tom/gw_buildroot/target/bbb/host/bin/arm-buildroot-linux-musleabihf-objcopy --gap-fill=0xff  -j .text -j .secure_text -j .secure_data -j .rodata -j .hash -j .data -j .got -j .got.plt -j .u_boot_list -j .rel.dyn -j .binman_sym_table -j .dtb.init.rodata -j .efi_runtime -j .efi_runtime_rel -O binary  u-boot u-boot-nodtb.bin

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CMD: .u-boot.srec.cmd
cmd_u-boot.srec := /brcache/tom/gw_buildroot/target/bbb/host/bin/arm-buildroot-linux-musleabihf-objcopy --gap-fill=0xff  -j .text -j .secure_text -j .secure_data -j .rodata -j .hash -j .data -j .got -j .got.plt -j .u_boot_list -j .rel.dyn -j .binman_sym_table -j .dtb.init.rodata -j .efi_runtime -j .efi_runtime_rel -O srec u-boot u-boot.srec

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CMD: .u-boot.sym.cmd
cmd_u-boot.sym := /brcache/tom/gw_buildroot/target/bbb/host/bin/arm-buildroot-linux-musleabihf-objdump -t u-boot > u-boot.sym




[Reply][About]
[<<][buildroot][>>][..]