2
0
Fork 0
mirror of https://github.com/AsahiLinux/u-boot synced 2024-12-18 09:13:06 +00:00
u-boot/board/cloos/imx8mm_phg/imx8mm_phg.env

9 lines
394 B
Bash
Raw Normal View History

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}