u-boot/board/cloos/imx8mm_phg/imx8mm_phg.env
Fabio Estevam d12618b927 imx8mm-phg: Add board support
Add the board support for the i.MX8MM Cloos PHG board.

This board uses a imx8mm-tqma8mqml SoM from TQ-Group.

imx8mm-phg.dts and imx8mm-tqma8mqml.dtsi are taken
directly from Linux 6.2-rc3.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
2023-01-30 23:23:02 +01:00

9 lines
394 B
Bash

fdt_addr_r=0x43000000
mmcdev=0
fdtfile=imx8mm-phg.dtb
mmcargs=setenv bootargs console=ttymxc1,115200 root=/dev/mmcblk${mmcdev}p${mmcpart} rw rootwait quiet
bootcmd=env exists mmcpart || setenv mmcpart 1; run mmcargs; \
mmc dev ${mmcdev}; load mmc ${mmcdev}:${mmcpart} ${loadaddr} boot/Image; \
load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} boot/${fdtfile}; \
booti ${loadaddr} - ${fdt_addr_r}