uboot: install scripts: fix u-boot image for variants 0x09 and 0x0a
Signed-off-by: Javier Viguera <javier.viguera@digi.com> (cherry picked from commit 16eded4f0edcc603de83be7155f7c09718ba5ddd) Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
8fbb4d576a
commit
33f881806a
|
|
@ -9,11 +9,11 @@ BASEFILENAME=0
|
||||||
|
|
||||||
# Determine U-Boot file to program basing on module variant
|
# Determine U-Boot file to program basing on module variant
|
||||||
if test -n "${module_variant}"; then
|
if test -n "${module_variant}"; then
|
||||||
if test "${module_variant}" = "0x02" || test "${module_variant}" = "0x03" || test "${module_variant}" = "0x06" || test "${module_variant}" = "0x0a"; then
|
if test "${module_variant}" = "0x02" || test "${module_variant}" = "0x03" || test "${module_variant}" = "0x06" || test "${module_variant}" = "0x09"; then
|
||||||
setenv INSTALL_UBOOT_FILENAME u-boot-##MACHINE##.imx;
|
setenv INSTALL_UBOOT_FILENAME u-boot-##MACHINE##.imx;
|
||||||
elif test "${module_variant}" = "0x04" || test "${module_variant}" = "0x05" || test "${module_variant}" = "0x07"; then
|
elif test "${module_variant}" = "0x04" || test "${module_variant}" = "0x05" || test "${module_variant}" = "0x07"; then
|
||||||
setenv INSTALL_UBOOT_FILENAME u-boot-##MACHINE##1GB.imx;
|
setenv INSTALL_UBOOT_FILENAME u-boot-##MACHINE##1GB.imx;
|
||||||
elif test "${module_variant}" = "0x08" || test "${module_variant}" = "0x09"; then
|
elif test "${module_variant}" = "0x08" || test "${module_variant}" = "0x0a"; then
|
||||||
setenv INSTALL_UBOOT_FILENAME u-boot-##MACHINE##512MB.imx
|
setenv INSTALL_UBOOT_FILENAME u-boot-##MACHINE##512MB.imx
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -9,11 +9,11 @@ BASEFILENAME=0
|
||||||
|
|
||||||
# Determine U-Boot file to program basing on module variant
|
# Determine U-Boot file to program basing on module variant
|
||||||
if test -n "${module_variant}"; then
|
if test -n "${module_variant}"; then
|
||||||
if test "${module_variant}" = "0x02" || test "${module_variant}" = "0x03" || test "${module_variant}" = "0x06" || test "${module_variant}" = "0x0a"; then
|
if test "${module_variant}" = "0x02" || test "${module_variant}" = "0x03" || test "${module_variant}" = "0x06" || test "${module_variant}" = "0x09"; then
|
||||||
setenv INSTALL_UBOOT_FILENAME u-boot-##MACHINE##.imx;
|
setenv INSTALL_UBOOT_FILENAME u-boot-##MACHINE##.imx;
|
||||||
elif test "${module_variant}" = "0x04" || test "${module_variant}" = "0x05" || test "${module_variant}" = "0x07"; then
|
elif test "${module_variant}" = "0x04" || test "${module_variant}" = "0x05" || test "${module_variant}" = "0x07"; then
|
||||||
setenv INSTALL_UBOOT_FILENAME u-boot-##MACHINE##1GB.imx;
|
setenv INSTALL_UBOOT_FILENAME u-boot-##MACHINE##1GB.imx;
|
||||||
elif test "${module_variant}" = "0x08" || test "${module_variant}" = "0x09"; then
|
elif test "${module_variant}" = "0x08" || test "${module_variant}" = "0x0a"; then
|
||||||
setenv INSTALL_UBOOT_FILENAME u-boot-##MACHINE##512MB.imx
|
setenv INSTALL_UBOOT_FILENAME u-boot-##MACHINE##512MB.imx
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ if [ -z "${INSTALL_UBOOT_FILENAME}" ]; then
|
||||||
# Determine U-Boot file to program basing on SOM's variant
|
# Determine U-Boot file to program basing on SOM's variant
|
||||||
if [ -n "$module_variant" ] || [ "$module_variant" = "0x00" ]; then
|
if [ -n "$module_variant" ] || [ "$module_variant" = "0x00" ]; then
|
||||||
if [ "$module_variant" = "0x08" ] || \
|
if [ "$module_variant" = "0x08" ] || \
|
||||||
[ "$module_variant" = "0x09" ]; then
|
[ "$module_variant" = "0x0a" ]; then
|
||||||
INSTALL_UBOOT_FILENAME="u-boot-##MACHINE##512MB.imx"
|
INSTALL_UBOOT_FILENAME="u-boot-##MACHINE##512MB.imx"
|
||||||
elif [ "$module_variant" = "0x04" ] || \
|
elif [ "$module_variant" = "0x04" ] || \
|
||||||
[ "$module_variant" = "0x05" ] || \
|
[ "$module_variant" = "0x05" ] || \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue