$ git clone https://github.com/TechNexion/u-boot-edm
$ git clone https://github.com/boundarydevices/imx_usb_loader
setup your toolchain here e.g. set PATH to where your toolchain is and e.g. CROSS_COMPILE=arm-linux-gnueabihf-
$ cd u-boot-edm
$ export ARCH=arm
$ make pico-imx6_spl_defconfig
$ make menuconfig
- select
ARM architecture
-Support i.MX HAB features
- select
Boot images
-Extra Options
- paste:
IMX_CONFIG=board/technexion/pico-imx6/pico-imx6dl.cfg,MX6DL
- save and exit
$ make u-boot.imx V=1
Optinally take note of HAB Blocks (and DCD Blocks?) if you plan to sign the image
$ cd imx_usb_loader
$ make
$ sudo ../imx_usb_loader/imx_usb -v ./u-boot.imx
the serial console will come alive after a few seconds.