• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..18-Mar-2022-

Kconfig A D18-Mar-2022156 138

MAINTAINERS A D18-Mar-2022188 87

Makefile A D18-Mar-2022204 135

README A D18-Mar-2022992 3529

gsc.c A D18-Mar-202216.3 KiB688541

gsc.h A D18-Mar-20221 KiB4029

imx8mm_venice.c A D18-Mar-20222.2 KiB134100

lpddr4_timing.c A D18-Mar-202251.3 KiB2,5062,456

lpddr4_timing.h A D18-Mar-2022275 135

spl.c A D18-Mar-20224.3 KiB206139

README

1U-Boot for the Gateworks i.MX8M Mini Venice Development Kit boards
2
3Quick Start
4===========
5- Build the ARM Trusted firmware binary
6- Get ddr firmware
7- Build U-Boot
8- Flash to eMMC
9- Boot
10
11Get and Build the ARM Trusted firmware
12======================================
13$ git clone https://source.codeaurora.org/external/imx/imx-atf
14$ git checkout imx_5.4.47_2.2.0
15$ make PLAT=imx8mm CROSS_COMPILE=aarch64-linux-gnu- bl31
16$ cp build/imx8mm/release/bl31.bin .
17
18Get the DDR Firmware
19====================
20$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.9.bin
21$ chmod +x firmware-imx-8.9.bin
22$ ./firmware-imx-8.9.bin
23$ cp firmware-imx-8.9/firmware/ddr/synopsys/lpddr4*.bin .
24
25Build U-Boot
26============
27$ make imx8mm_venice_defconfig
28$ make flash.bin CROSS_COMPILE=aarch64-linux-gnu- ATF_LOAD_ADDR=0x920000
29
30Update eMMC
31===========
32=> tftpboot $loadaddr flash.bin
33=> setexpr blkcnt $filesize + 0x1ff && setexpr blkcnt $blkcnt / 0x200
34=> mmc dev 2 && mmc write $loadaddr 0x42 $blkcnt
35