Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 18-Mar-2022 | - | ||||
Kconfig | A D | 18-Mar-2022 | 156 | 13 | 8 | |
MAINTAINERS | A D | 18-Mar-2022 | 188 | 8 | 7 | |
Makefile | A D | 18-Mar-2022 | 204 | 13 | 5 | |
README | A D | 18-Mar-2022 | 992 | 35 | 29 | |
gsc.c | A D | 18-Mar-2022 | 16.3 KiB | 688 | 541 | |
gsc.h | A D | 18-Mar-2022 | 1 KiB | 40 | 29 | |
imx8mm_venice.c | A D | 18-Mar-2022 | 2.2 KiB | 134 | 100 | |
lpddr4_timing.c | A D | 18-Mar-2022 | 51.3 KiB | 2,506 | 2,456 | |
lpddr4_timing.h | A D | 18-Mar-2022 | 275 | 13 | 5 | |
spl.c | A D | 18-Mar-2022 | 4.3 KiB | 206 | 139 |
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