u-boot-dey: install fip-b unconditionally in install scripts
Partitions 'fip-a' and 'fip-b' are redundant at the moment. They are not currently part of the dualboot system. In consequence, program both partitons unconditionally during the install process. Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
This commit is contained in:
parent
739f1b6ab0
commit
732f8cb0cf
|
|
@ -51,9 +51,7 @@ echo " --------- --------"
|
|||
echo " fsbl1 ${INSTALL_ATF_FILENAME}"
|
||||
echo " fsbl2 ${INSTALL_ATF_FILENAME}"
|
||||
echo " fip-a ${INSTALL_FIP_FILENAME}"
|
||||
if test "${install_dualboot}" = "yes"; then
|
||||
echo " fip-b ${INSTALL_FIP_FILENAME}"
|
||||
fi
|
||||
echo " fip-b ${INSTALL_FIP_FILENAME}"
|
||||
if test "${dualboot}" = "yes"; then
|
||||
echo " linux_a ${INSTALL_LINUX_FILENAME}"
|
||||
if test "${install_dualboot}" = "yes"; then
|
||||
|
|
@ -117,14 +115,12 @@ if test $? -eq 1; then
|
|||
echo "Aborted.";
|
||||
exit;
|
||||
fi
|
||||
if test "${install_dualboot}" = "yes"; then
|
||||
update fip-b mmc ${INSTALL_MMCDEV} ${INSTALL_FIP_FILENAME}
|
||||
if test $? -eq 1; then
|
||||
echo "[ERROR] Failed to update fip-b!";
|
||||
echo "";
|
||||
echo "Aborted.";
|
||||
exit;
|
||||
fi
|
||||
update fip-b mmc ${INSTALL_MMCDEV} ${INSTALL_FIP_FILENAME}
|
||||
if test $? -eq 1; then
|
||||
echo "[ERROR] Failed to update fip-b!";
|
||||
echo "";
|
||||
echo "Aborted.";
|
||||
exit;
|
||||
fi
|
||||
|
||||
# Check if uboot_config volume exists (U-Boot env)
|
||||
|
|
|
|||
|
|
@ -51,9 +51,7 @@ echo " --------- --------"
|
|||
echo " fsbl1 ${INSTALL_ATF_FILENAME}"
|
||||
echo " fsbl2 ${INSTALL_ATF_FILENAME}"
|
||||
echo " fip-a ${INSTALL_FIP_FILENAME}"
|
||||
if test "${install_dualboot}" = "yes"; then
|
||||
echo " fip-b ${INSTALL_FIP_FILENAME}"
|
||||
fi
|
||||
echo " fip-b ${INSTALL_FIP_FILENAME}"
|
||||
if test "${dualboot}" = "yes"; then
|
||||
echo " linux_a ${INSTALL_LINUX_FILENAME}"
|
||||
if test "${install_dualboot}" = "yes"; then
|
||||
|
|
@ -117,14 +115,12 @@ if test $? -eq 1; then
|
|||
echo "Aborted.";
|
||||
exit;
|
||||
fi
|
||||
if test "${install_dualboot}" = "yes"; then
|
||||
update fip-b usb ${INSTALL_USBDEV} ${INSTALL_FIP_FILENAME}
|
||||
if test $? -eq 1; then
|
||||
echo "[ERROR] Failed to update fip-b!";
|
||||
echo "";
|
||||
echo "Aborted.";
|
||||
exit;
|
||||
fi
|
||||
update fip-b usb ${INSTALL_USBDEV} ${INSTALL_FIP_FILENAME}
|
||||
if test $? -eq 1; then
|
||||
echo "[ERROR] Failed to update fip-b!";
|
||||
echo "";
|
||||
echo "Aborted.";
|
||||
exit;
|
||||
fi
|
||||
|
||||
# Check if uboot_config volume exists (U-Boot env)
|
||||
|
|
|
|||
|
|
@ -171,9 +171,7 @@ if [ "${NOWAIT}" != true ]; then
|
|||
printf " fsbl1\t${INSTALL_ATF_FILENAME}\n"
|
||||
printf " fsbl2\t${INSTALL_ATF_FILENAME}\n"
|
||||
printf " fip-a\t${INSTALL_FIP_FILENAME}\n"
|
||||
if [ "${INSTALL_DUALBOOT}" = true ]; then
|
||||
printf " fip-b\t${INSTALL_FIP_FILENAME}\n"
|
||||
fi
|
||||
printf " fip-b\t${INSTALL_FIP_FILENAME}\n"
|
||||
if [ "${DUALBOOT}" = true ]; then
|
||||
printf " ${LINUX_NAME}_a\t${INSTALL_LINUX_FILENAME}\n"
|
||||
if [ "${INSTALL_DUALBOOT}" = true ]; then
|
||||
|
|
@ -212,9 +210,7 @@ part_update "fsbl2" "${INSTALL_ATF_FILENAME}" 5000
|
|||
|
||||
# Update FIP
|
||||
part_update "fip-a" "${INSTALL_FIP_FILENAME}" 5000
|
||||
if [ "${INSTALL_DUALBOOT}" = true ]; then
|
||||
part_update "fip-b" "${INSTALL_FIP_FILENAME}" 5000
|
||||
fi
|
||||
part_update "fip-b" "${INSTALL_FIP_FILENAME}" 5000
|
||||
|
||||
# Environment volume does not exist and needs to be created
|
||||
if [ "${RUNVOLS}" = true ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue