flexbuild for imx8mpevk: Modifying u-boot and kernel sources

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

flexbuild for imx8mpevk: Modifying u-boot and kernel sources

669 Views
wonkan123
Contributor I

Hello,

I'm struggling to understand the correct workflow for modifying u-boot/kernel using your flexbuild project.


Bord: based on imx8mpevk

flexbuild version: LSDK-25.06_Debian-12_LF-6.6.52

I can build a bootable image by running $bld -m imx8mpevk and the creating the .wic file using flex-installer that is located in the build/images/ directory.

But when I modify u-boot my changes are not included and i can see on the timestamps that it is not re-built properly.

I followed the instructions on:
https://docs.nxp.com/bundle/UG10155/page/topics/how_to_modify_and_recompile_source_code.html

cd components_lsd2506/bsp/uboot
make imx8mp_evk_defconfig
make menuconfig <-- add some change 
make savedefconfig
cp defconfig configs/imx8mp_evk_defconfig
cd -
bld atf -m imx8mpevk -b sd
bld uboot -m imx8mpevk
bld boot -m imx8mpevk

everything compiles without any issues but the u-boot shipped will be the one that i built initially, not the modified version.

 

I also tried running bld clean-bsp before attempting to rebuild uboot but that did not seem to help.

Thankful for any tips/insights!

Best Regards,
Willie

 

 

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

623 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following procedure to rebuild u-boot.

cd components_lsd2506/bsp/uboot
make imx8mp_evk_defconfig
make menuconfig <-- add some change 
make savedefconfig
cp defconfig configs/imx8mp_evk_defconfig

make distclean
cd –

bld uboot -m imx8mpevk
bld atf -m imx8mpevk -b sd
bld  bsp -m mx8mpevk

0 Kudos
Reply