installer: media: drop extra usb reset between partitions
Avoid EHCI timeout errors seen on some USB sticks by removing the redundant `usb reset` between partitions. Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
ed9beccdcd
commit
89c42a5b0f
|
|
@ -179,7 +179,6 @@ fi
|
||||||
# - Erase the 'update' partition
|
# - Erase the 'update' partition
|
||||||
# - Configure recovery to wipe 'update' partition
|
# - Configure recovery to wipe 'update' partition
|
||||||
# - Run 'recovery' and let the system boot after
|
# - Run 'recovery' and let the system boot after
|
||||||
# NOTE: insert some 'usb reset' commands to avoid EHCI timeouts
|
|
||||||
setenv bootcmd "
|
setenv bootcmd "
|
||||||
env default -a;
|
env default -a;
|
||||||
setenv dualboot ${dualboot};
|
setenv dualboot ${dualboot};
|
||||||
|
|
@ -228,9 +227,6 @@ setenv bootcmd "
|
||||||
exit;
|
exit;
|
||||||
fi;
|
fi;
|
||||||
fi;
|
fi;
|
||||||
if test "${INSTALL_MEDIA}" = "usb"; then
|
|
||||||
usb reset;
|
|
||||||
fi;
|
|
||||||
echo \"\";
|
echo \"\";
|
||||||
echo \"\";
|
echo \"\";
|
||||||
echo \">> Installing file ${INSTALL_ROOTFS_FILENAME} on rootfs_a\";
|
echo \">> Installing file ${INSTALL_ROOTFS_FILENAME} on rootfs_a\";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue