Versions Compared

Key

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

...

Info
iconfalse

$ git clone https://source.codeaurora.org/external/imx/imx-atf -b imx_5.4.24_2.1.0

$ cd imx-atf

$ wget -c ftp://ftp.embedian.com/public/smarcimx8mm/0006-imx8mm-atf-uart4.patch

$ patch -p1 <0006-imx8mm-atf-uart4.patch

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

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

$ cd ../

Note

The default debug port is SER3, to use other debug port, users also need to change "define IMX_BOOT_UART_BASE            U(0x30890000)" in plat/imx/imx8m/imx8mm/include/platform_def.h. UART base address can be found in uEnv.txt file in the Setup SD card section.

3. Get the DDR firmware and copy to imx-mkimage/iMX8M/ directory.

...