Some operations, such as modifying kernel parameters or adding device-tree overlays, can be done without
recompiling U-Boot by updating the
/boot/uEnv.txt file.Updating Configuration with Menuconfig
If you want to enable/disable various features (such as enabling the TFTP command) instead of modifying the source code, you can access menuconfig using the following commands.In this example, the T3-GEM-O1 board will be used for explanation. If you are applying these steps for a
different machine, change the machine name accordingly.
Opening the Menuconfig screen
Opening the Menuconfig screen
Making changes permanent
Making changes permanent
At this stage, you can recompile U-Boot, but your changes will only remain on your local machine and will be
lost if you clean the build directory. To prevent this, follow the steps below.Rename the
fragment.config file in the meta-gemstone/dynamic-layers/meta-ti/recipes-bsp/u-boot-t3-gem-o1/files
directory to a name that describes your changes without altering the .config extension. Then, add this name to
the SRC_URI variable in the
meta-gemstone/dynamic-layers/meta-ti/recipes-bsp/u-boot-t3-gem-o1/u-boot-t3-gem-o1_2025.04.bb file. For example,
let’s assume we renamed the file to fragment-enable-tftp.config.Recompiling U-Boot
Recompiling U-Boot
u-boot.img and u-boot-spl.bin files will be
generated in the <sdk-directory>/build/t3-gem-o1/deploy-ti/images directory.Modifying Source Code
Open the<sdk-directory>/build/tmp-musl/work/t3_gem_o1-gemstone-linux-musl/u-boot-t3-gem-o1/2025.04+git/git
folder in your text editor. After making the desired changes, compile U-Boot using the following commands.
To avoid losing your changes, you can create your own fork of the
T3 Gemstone U-Boot repository and push your changes there.
<sdk-directory>/build/t3-gem-o1/deploy-ti/images directory to the /boot directory on the SD card. If you
have fixed an issue or added a new feature, you can create a pull request to the
T3 Gemstone U-Boot repository so the community can benefit from it.


