Tool/software: Linux
Hi,
I would like to change configuration for u-boot using Yocto build system on Beaglebone Black. I use "am335x-evm" machine to build the image.
I was successful on applying source code change. Also, I was able modify the configuration using menuconfig and save it to a new defconfig file. However, I had trouble applying the configuration fragment using Yocto build system. The following is what I did:
1. Generate a diff between am335x_evm_defconfg and the new defconfig: git diff am335x_evm_defconfg > u-boot-config-changes.cfg.
2. Add the snippet in the .bbappend file for u-boot-ti-staging:
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://u-boot-config-changes.cfg \
file://u-boot-source-code-change-1.diff \
file://u-boot-source-code-change-2.diff"
3. bitbake virtual/bootloader
This works well for source code change. However, for the u-boot configuration, the am335x_evm_defconfg in working directory and resulting .config are not changed. Does am335x_evm_defconfg get overwritten after "patch"? What is the correct to do this?
Thank you for the help!