blob: ec9fbd33323d37f788ef4ec812429cf9cec0f6fb [file] [log] [blame]
Adam Forda8554812023-03-23 22:06:16 -05001boot_fdt=try
2boot_fit=no
3console=ttymxc1,115200
4fdt_addr=0x43000000
5fdt_addr_r=0x43000000
6fdt_file=imx8mp-beacon-kit.dtb
7finduuid=part uuid mmc ${mmcdev}:2 uuid
8image=Image
9kernel_addr_r=0x40480000
10loadfdt=echo ${fdt_file}; fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdt_file}
11loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
12mmcargs=setenv bootargs console=${console} root=PARTUUID=${uuid} rootwait rw ${mtdparts} ${optargs}
13mmcboot=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;
14mmcdev=1
15mmcpart=1
16netargs=setenv bootargs ${jh_clk} console=${console} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
17netboot=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;
18optargs=audit=0 video=LVDS-1:d video=LVDS-2:d
19scriptaddr=0x40480000