Adam Ford | a855481 | 2023-03-23 22:06:16 -0500 | [diff] [blame] | 1 | boot_fdt=try |
| 2 | boot_fit=no |
| 3 | console=ttymxc1,115200 |
| 4 | fdt_addr=0x43000000 |
| 5 | fdt_addr_r=0x43000000 |
| 6 | fdt_file=imx8mp-beacon-kit.dtb |
| 7 | finduuid=part uuid mmc ${mmcdev}:2 uuid |
| 8 | image=Image |
| 9 | kernel_addr_r=0x40480000 |
| 10 | loadfdt=echo ${fdt_file}; fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdt_file} |
| 11 | loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image} |
| 12 | mmcargs=setenv bootargs console=${console} root=PARTUUID=${uuid} rootwait rw ${mtdparts} ${optargs} |
| 13 | mmcboot=echo Booting from mmc ...; run finduuid; run mmcargs; if test ${boot_fit} = yes || test ${boot_fit} = try; then bootm ${loadaddr}; else if run loadfdt; then booti ${loadaddr} - ${fdt_addr_r}; else echo WARN: Cannot load the DT; fi; fi; |
| 14 | mmcdev=1 |
| 15 | mmcpart=1 |
| 16 | netargs=setenv bootargs ${jh_clk} console=${console} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp |
| 17 | netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${loadaddr} ${image}; if test ${boot_fit} = yes || test ${boot_fit} = try; then bootm ${loadaddr}; else if ${get_cmd} ${fdt_addr_r} ${fdt_file}; then booti ${loadaddr} - ${fdt_addr_r}; else echo WARN: Cannot load the DT; fi; fi; |
| 18 | optargs=audit=0 video=LVDS-1:d video=LVDS-2:d |
| 19 | scriptaddr=0x40480000 |