Modified u-boot image not reflected on SD card.

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

Modified u-boot image not reflected on SD card.

548 Views
AkiyoshiOhira
Contributor II

I tried the following, but the fix is not reflected.
[Part 1]
1. Modify u-boot file (/<project>/build/tmp/work/imx8mmevk-poky-linux/u-boot-imx/2022.04-r0/git/)
2. bitbake u-boot-imx -c compile -f
3. bitbake imx-image-multimedia
4. Write "imx-image-multimedia-imx8mmevk.wic.bz2" to SD card using "balenaEtcher" tool

[Part 2]
1. git clone https://github.com/nxp-imx/uboot-imx -b lf_v2022.04
2. cd uboot-imx
3. source /opt/fsl-imx-xwayland/5.15-kirkstone/environment-setup-armv8a-poky-linux
4. make distclean
5. make imx8mm_evk_defconfig
6. Fix uboot-imx file
7. make
8. dd if=u-boot.img of=/dev/sdb1 bs=1k seek=33 conv=fsync
*For the SD card, use the SD card created in Part 1 as it is.

How should I reflect the u-boot image to the SD card?

Best, Regars,
AKiyoshi Ohira

Labels (1)
0 Kudos
3 Replies

538 Views
joanxie
NXP TechSupport
NXP TechSupport

for part 1, before bitbake imx-image-multimedia, you need " bitbake -f u-boot-imx"  to build it before you build multimedia image

0 Kudos

526 Views
AkiyoshiOhira
Contributor II

I tried ”bitbake -f u-boot-imx” before "before bitbake imx-image-multimedia", but the result was the same and the u-boot fix was not incorporated.

Best, Regars,
AKiyoshi Ohira

0 Kudos

516 Views
joanxie
NXP TechSupport
NXP TechSupport

I've updated with DFAE, pls follow them

0 Kudos