Fabio Estevam | 2ef69ef | 2023-01-10 17:18:08 -0300 | [diff] [blame] | 1 | fdt_addr_r=0x43000000 |
2 | mmcdev=0 | ||||
3 | fdtfile=imx8mm-phg.dtb | ||||
4 | mmcargs=setenv bootargs console=ttymxc1,115200 root=/dev/mmcblk${mmcdev}p${mmcpart} rw rootwait quiet | ||||
5 | bootcmd=env exists mmcpart || setenv mmcpart 1; run mmcargs; \ | ||||
6 | mmc dev ${mmcdev}; load mmc ${mmcdev}:${mmcpart} ${loadaddr} boot/Image; \ | ||||
7 | load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} boot/${fdtfile}; \ | ||||
8 | booti ${loadaddr} - ${fdt_addr_r} |