install_linux_fw_uuu: update script to support ccimx91
Skip the SOC revision part, as for the ccimx91, only one imx-boot is generated. Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
2dd84640ac
commit
315fcbddac
|
|
@ -129,15 +129,18 @@ echo "Determining image files to use..."
|
||||||
|
|
||||||
# Determine U-Boot file to program basing on SOM's SOC revision
|
# Determine U-Boot file to program basing on SOM's SOC revision
|
||||||
if [ -z "${INSTALL_UBOOT_FILENAME}" ]; then
|
if [ -z "${INSTALL_UBOOT_FILENAME}" ]; then
|
||||||
soc_rev="$(getenv soc_rev)"
|
soc_type="$(getenv soc_type)"
|
||||||
if [ -n "${soc_rev}" ]; then
|
if [ "${soc_type}" = "imx93" ]; then
|
||||||
[ "${soc_rev}" = "0x10" ] && SOCREV="-A0"
|
soc_rev="$(getenv soc_rev)"
|
||||||
else
|
if [ -n "${soc_rev}" ]; then
|
||||||
# Fallback to hardware version if soc_rev is empty
|
[ "${soc_rev}" = "0x10" ] && SOCREV="-A0"
|
||||||
hwid_2="$(getenv hwid_2)"
|
else
|
||||||
hwid_2="0x${hwid_2#0x}"
|
# Fallback to hardware version if soc_rev is empty
|
||||||
som_hv="$(((hwid_2 & 0x78) >> 3))"
|
hwid_2="$(getenv hwid_2)"
|
||||||
[ "${som_hv}" -lt "2" ] && SOCREV="-A0"
|
hwid_2="0x${hwid_2#0x}"
|
||||||
|
som_hv="$(((hwid_2 & 0x78) >> 3))"
|
||||||
|
[ "${som_hv}" -lt "2" ] && SOCREV="-A0"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
INSTALL_UBOOT_FILENAME="imx-boot-##SIGNED##-##MACHINE##${SOCREV}.bin"
|
INSTALL_UBOOT_FILENAME="imx-boot-##SIGNED##-##MACHINE##${SOCREV}.bin"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue