Skip to content

debix-tech/uboot-nxp-debix

Repository files navigation

System SDK Download

Modify sources/meta-imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2021.04.bb

UBOOT_SRC ?= "git://github.com/debix-tech/uboot.git;protocol=https"
SRCREV = "1a87b972fac74699482e2dce2023b66358d8c4f5"

Build yocto

DISTRO=imx-desktop-xwayland MACHINE=imx8mpevk source imx-setup-desktop.sh -b debix-desktop
bitbake -c compile -f -v u-boot-imx
bitbake -c deploy -f -v u-boot-imx
bitbake -c compile -f -v imx-boot
bitbake -c deploy -f -v imx-boot

uboot bin file: debix-desktop/tmp/deploy/images/imx8mpevk/imx-boot-imx8mpevk-sd.bin-flash_evk

Use ubuntu dd command write to device

sudo dd if=imx-boot-imx8mpevk-sd.bin-flash_evk of=/dev/sdx bs=1k seek=32 conv=fsync