mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-23 11:33:32 +00:00
d12618b927
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>
8 lines
394 B
Bash
8 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}
|