fi;
fi;
console=ttymxc0,115200
-bootenv_addr=0x49100000
-fdto_addr=0x49000000
+bootenv_addr_r=0x49100000
+fdtoverlay_addr_r=0x49000000
dofastboot=0
emmc_dev=2
fastboot_raw_partition_all=0 4194304
fastboot_raw_partition_bootloader=64 8128
-fdt_addr=0x48000000
-fdt_file=CONFIG_DEFAULT_FDT_FILE
+fdt_addr_r=0x48000000
+fdtfile=CONFIG_DEFAULT_FDT_FILE
image=Image
ip_dyn=yes
-loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
+loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
mmcargs=
setenv bootargs console=${console}
echo Booting from mmc ...;
if test ${no_bootenv} = 0; then
if run mmc_load_bootenv; then
- env import -t ${bootenv_addr} ${filesize};
+ env import -t ${bootenv_addr_r} ${filesize};
fi;
fi;
run mmcargs;
if run loadfdt; then
run mmc_apply_overlays;
- booti ${loadaddr} - ${fdt_addr};
+ booti ${loadaddr} - ${fdt_addr_r};
else
echo WARN: Cannot load the DT;
fi;
fi;
if test ${no_bootenv} = 0; then
if run net_load_bootenv; then
- env import -t ${bootenv_addr} ${filesize};
+ env import -t ${bootenv_addr_r} ${filesize};
fi;
fi;
${get_cmd} ${loadaddr} ${image};
run netargs;
- if ${get_cmd} ${fdt_addr} ${fdt_file}; then
+ if ${get_cmd} ${fdt_addr_r} ${fdtfile}; then
run net_apply_overlays;
- booti ${loadaddr} - ${fdt_addr};
+ booti ${loadaddr} - ${fdt_addr_r};
else
echo WARN: Cannot load the DT;
fi;
image=Image
console=ttyLP0
-fdt_addr=0x83000000
-fdto_addr=0x830c0000
-bootenv_addr=0x83500000
-fdt_file=CONFIG_DEFAULT_FDT_FILE
+fdt_addr_r=0x83000000
+fdtoverlay_addr_r=0x830c0000
+bootenv_addr_r=0x83500000
+fdtfile=CONFIG_DEFAULT_FDT_FILE
ip_dyn=yes
mmcdev=CONFIG_SYS_MMC_ENV_DEV
mmcpart=1
mmcargs=setenv bootargs console=${console},${baudrate} earlycon
root=/dev/mmcblk${mmcdev}p${mmcroot} ${raucargs} rootwait rw
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
-loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
+loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}
mmcboot=
echo Booting from mmc ...;
if run mmc_load_bootenv; then
- env import -t ${bootenv_addr} ${filesize};
+ env import -t ${bootenv_addr_r} ${filesize};
fi;
run mmcargs;
if run loadfdt; then
run mmc_apply_overlays;
- booti ${loadaddr} - ${fdt_addr};
+ booti ${loadaddr} - ${fdt_addr_r};
else
echo WARN: Cannot load the DT;
fi;
setenv get_cmd tftp;
fi;
if run net_load_bootenv; then
- env import -t ${bootenv_addr} ${filesize};
+ env import -t ${bootenv_addr_r} ${filesize};
fi;
${get_cmd} ${loadaddr} ${image};
- if ${get_cmd} ${fdt_addr} ${fdt_file}; then
+ if ${get_cmd} ${fdt_addr_r} ${fdtfile}; then
run net_apply_overlays;
- booti ${loadaddr} - ${fdt_addr};
+ booti ${loadaddr} - ${fdt_addr_r};
else
echo WARN: Cannot load the DT;
fi;