Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. Download the imx-mkimage tool and apply Embedian's patch to accept Embedian's device tree blob.

Info
iconfalse

$ git clone https://source.codeaurora.org/external/imx/imx-mkimage -b imx_4.14.98_2.0.0_ga

$ cd imx-mkimage

$ wget -c ftp://ftp.embedian.com/public/smarcimx8m/0003-change-uboot-device-tree-name.patch

$ patch -p1 <0003-change-uboot-device-tree-name.patch

$ cd ../

2. Get and Build the ARM Trusted firmware and copy bl31.bin to imx-mkimage/iMX8M directory.

Info
iconfalse

$ git clone https://source.codeaurora.org/external/imx/imx-atf -b imx_4.14.98_2.0.0_ga

$ cd imx-atf

$ make CROSS_COMPILE=${CC} PLAT=imx8mq bl31

$ cp build/imx8mq/release/bl31.bin ../imx-mkimage/iMX8M/

$ cd ../

...

Info
iconfalse

$ git clone git@git.embedian.com:developer/smarc-t335x-uboot.git u-boot_v2018.03 -b smarc_8m-imx_v2018.03_4.14.98_2.0.0_ga

$ cd u-boot_v2018.03

...