mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 23:50:26 +09:00
imx8mm/p: remove boot.cmd
These files should not be in U-Boot repo Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
198cff805b
commit
7bdc71c175
@ -1,35 +0,0 @@
|
||||
setenv bootargs console=${console} root=${mmcroot};
|
||||
|
||||
for boot_target in ${boot_targets};
|
||||
do
|
||||
if test "${boot_target}" = "mmc1" ; then
|
||||
if fatload mmc 1:${mmcpart} ${kernel_addr_r} ${image}; then
|
||||
if fatload mmc 1:${mmcpart} ${fdt_addr} ${fdt_file}; then
|
||||
echo Load image and .dtb from SD card(mmc1);
|
||||
booti ${kernel_addr_r} - ${fdt_addr};
|
||||
exit;
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "${boot_target}" = "mmc2" ; then
|
||||
if fatload mmc 2:${mmcpart} ${kernel_addr_r} ${image}; then
|
||||
if fatload mmc 2:${mmcpart} ${fdt_addr} ${fdt_file}; then
|
||||
echo Load image and .dtb from eMMC(mmc2);
|
||||
booti ${kernel_addr_r} - ${fdt_addr};
|
||||
exit;
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "${boot_target}" = "dhcp" ; then
|
||||
if dhcp ${kernel_addr_r} ${serverip}:${image}; then
|
||||
if dhcp ${fdt_addr} ${serverip}:${fdt_file}; then
|
||||
echo Load image and .dtb from net(dhcp);
|
||||
booti ${kernel_addr_r} - ${fdt_addr};
|
||||
exit;
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
done
|
@ -1,25 +0,0 @@
|
||||
setenv bootargs console=${console} root=${mmcroot};
|
||||
|
||||
for boot_target in ${boot_targets};
|
||||
do
|
||||
if test "${boot_target}" = "mmc1" ; then
|
||||
if fatload mmc 1:${mmcpart} ${kernel_addr_r} ${image}; then
|
||||
if fatload mmc 1:${mmcpart} ${fdt_addr} ${fdt_file}; then
|
||||
echo Load image and .dtb from SD card(mmc1);
|
||||
booti ${kernel_addr_r} - ${fdt_addr};
|
||||
exit;
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "${boot_target}" = "mmc2" ; then
|
||||
if fatload mmc 2:${mmcpart} ${kernel_addr_r} ${image}; then
|
||||
if fatload mmc 2:${mmcpart} ${fdt_addr} ${fdt_file}; then
|
||||
echo Load image and .dtb from eMMC(mmc2);
|
||||
booti ${kernel_addr_r} - ${fdt_addr};
|
||||
exit;
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
done
|
Loading…
Reference in New Issue
Block a user