enable_image_metadata_check() {
case "$(board_name)" in
- toradex,apalis_imx6q-eval |\
- toradex,apalis_imx6q-ixora |\
- toradex,apalis_imx6q-ixora-v1.1 )
- REQUIRE_IMAGE_METADATA=1
- ;;
+ toradex,apalis_imx6q-eval|\
+ toradex,apalis_imx6q-ixora|\
+ toradex,apalis_imx6q-ixora-v1.1)
+ REQUIRE_IMAGE_METADATA=1
+ ;;
esac
}
enable_image_metadata_check
local board=$(board_name)
case "$board" in
- gw,imx6dl-gw51xx |\
- gw,imx6dl-gw52xx |\
- gw,imx6dl-gw53xx |\
- gw,imx6dl-gw54xx |\
- gw,imx6dl-gw551x |\
- gw,imx6dl-gw552x |\
- gw,imx6dl-gw553x |\
- gw,imx6dl-gw5904 |\
- gw,imx6dl-gw5907 |\
- gw,imx6dl-gw5910 |\
- gw,imx6dl-gw5912 |\
- gw,imx6dl-gw5913 |\
- gw,imx6q-gw51xx |\
- gw,imx6q-gw52xx |\
- gw,imx6q-gw53xx |\
- gw,imx6q-gw5400-a |\
- gw,imx6q-gw54xx |\
- gw,imx6q-gw551x |\
- gw,imx6q-gw552x |\
- gw,imx6q-gw553x |\
- gw,imx6q-gw5904 |\
- gw,imx6q-gw5907 |\
- gw,imx6q-gw5910 |\
- gw,imx6q-gw5912 |\
- gw,imx6q-gw5913 )
+ gw,imx6dl-gw51xx|\
+ gw,imx6dl-gw52xx|\
+ gw,imx6dl-gw53xx|\
+ gw,imx6dl-gw54xx|\
+ gw,imx6dl-gw551x|\
+ gw,imx6dl-gw552x|\
+ gw,imx6dl-gw553x|\
+ gw,imx6dl-gw5904|\
+ gw,imx6dl-gw5907|\
+ gw,imx6dl-gw5910|\
+ gw,imx6dl-gw5912|\
+ gw,imx6dl-gw5913|\
+ gw,imx6q-gw51xx|\
+ gw,imx6q-gw52xx|\
+ gw,imx6q-gw53xx|\
+ gw,imx6q-gw5400-a|\
+ gw,imx6q-gw54xx|\
+ gw,imx6q-gw551x|\
+ gw,imx6q-gw552x|\
+ gw,imx6q-gw553x|\
+ gw,imx6q-gw5904|\
+ gw,imx6q-gw5907|\
+ gw,imx6q-gw5910|\
+ gw,imx6q-gw5912|\
+ gw,imx6q-gw5913)
nand_do_platform_check $board $1
return $?;
;;
- toradex,apalis_imx6q-eval |\
- toradex,apalis_imx6q-ixora |\
- toradex,apalis_imx6q-ixora-v1.1 )
+ toradex,apalis_imx6q-eval|\
+ toradex,apalis_imx6q-ixora|\
+ toradex,apalis_imx6q-ixora-v1.1)
return 0
;;
esac
local board=$(board_name)
case "$board" in
- gw,imx6dl-gw51xx |\
- gw,imx6dl-gw52xx |\
- gw,imx6dl-gw53xx |\
- gw,imx6dl-gw54xx |\
- gw,imx6dl-gw551x |\
- gw,imx6dl-gw552x |\
- gw,imx6dl-gw553x |\
- gw,imx6dl-gw5904 |\
- gw,imx6dl-gw5907 |\
- gw,imx6dl-gw5910 |\
- gw,imx6dl-gw5912 |\
- gw,imx6dl-gw5913 |\
- gw,imx6q-gw51xx |\
- gw,imx6q-gw52xx |\
- gw,imx6q-gw53xx |\
- gw,imx6q-gw5400-a |\
- gw,imx6q-gw54xx |\
- gw,imx6q-gw551x |\
- gw,imx6q-gw552x |\
- gw,imx6q-gw553x |\
- gw,imx6q-gw5904 |\
- gw,imx6q-gw5907 |\
- gw,imx6q-gw5910 |\
- gw,imx6q-gw5912 |\
- gw,imx6q-gw5913 )
+ gw,imx6dl-gw51xx|\
+ gw,imx6dl-gw52xx|\
+ gw,imx6dl-gw53xx|\
+ gw,imx6dl-gw54xx|\
+ gw,imx6dl-gw551x|\
+ gw,imx6dl-gw552x|\
+ gw,imx6dl-gw553x|\
+ gw,imx6dl-gw5904|\
+ gw,imx6dl-gw5907|\
+ gw,imx6dl-gw5910|\
+ gw,imx6dl-gw5912|\
+ gw,imx6dl-gw5913|\
+ gw,imx6q-gw51xx|\
+ gw,imx6q-gw52xx|\
+ gw,imx6q-gw53xx|\
+ gw,imx6q-gw5400-a|\
+ gw,imx6q-gw54xx|\
+ gw,imx6q-gw551x|\
+ gw,imx6q-gw552x|\
+ gw,imx6q-gw553x|\
+ gw,imx6q-gw5904|\
+ gw,imx6q-gw5907|\
+ gw,imx6q-gw5910|\
+ gw,imx6q-gw5912|\
+ gw,imx6q-gw5913)
nand_do_upgrade "$1"
;;
- toradex,apalis_imx6q-eval |\
- toradex,apalis_imx6q-ixora |\
- toradex,apalis_imx6q-ixora-v1.1 )
+ toradex,apalis_imx6q-eval|\
+ toradex,apalis_imx6q-ixora|\
+ toradex,apalis_imx6q-ixora-v1.1)
apalis_do_upgrade "$1"
;;
esac
local board=$(board_name)
case "$board" in
- toradex,apalis_imx6q-eval |\
- toradex,apalis_imx6q-ixora |\
- toradex,apalis_imx6q-ixora-v1.1 )
+ toradex,apalis_imx6q-eval|\
+ toradex,apalis_imx6q-ixora|\
+ toradex,apalis_imx6q-ixora-v1.1)
apalis_copy_config
;;
esac
local board=$(board_name)
case "$board" in
- toradex,apalis_imx6q-eval |\
- toradex,apalis_imx6q-ixora |\
- toradex,apalis_imx6q-ixora-v1.1 )
+ toradex,apalis_imx6q-eval|\
+ toradex,apalis_imx6q-ixora|\
+ toradex,apalis_imx6q-ixora-v1.1)
[ -z "$UPGRADE_BACKUP" ] && {
jffs2reset -y
umount /overlay