Skip to content

Commit

Permalink
imx8mp-var-dart: Add Support for DART-MX8MP-PLUS v2.0
Browse files Browse the repository at this point in the history
Add DTBs for DART-MX8M-PLUS v2.0 in TARGET_BOARD_DTS_CONFIG.
Add support for imx8mp-var-dart-1.x-dt8mcustomboard.dtb in the U-Boot FIT.
Add UUU scripts for DART-MX8MP-PLUS v2.x som.
Update SOM version details V2.x & V1.x for DART-MX8M-PLUS.
Update SOM version details V2.x & V1.x for VAR-SOM-MX8M-PLUS.
Update Carrier board version details for DT8MCustomBoard V2.x and above.
Point recovery image for imx8mp-var-dart-1.x to /opt/images/Android/lwb images directory.

Note:
The imx8mp-var-dart-dt8mcustomboard will now follow the v2.x version SOM specifications.
The imx8mp-var-dart-1.x-dt8mcustomboard will continue to follow the v1.x version specifications.

Signed-off-by: Pitchaiah P <[email protected]>
  • Loading branch information
pitchaiahp committed Sep 30, 2024
1 parent ca61796 commit 2e5b7db
Show file tree
Hide file tree
Showing 10 changed files with 312 additions and 32 deletions.
5 changes: 4 additions & 1 deletion imx8m/dart_mx8mp/AndroidUboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ else
exit 1
fi

TARGET_DTBS="imx8mp-var-dart-dt8mcustomboard.dtb imx8mp-var-som-symphony.dtb"
TARGET_DTBS="imx8mp-var-dart-dt8mcustomboard.dtb imx8mp-var-dart-1.x-dt8mcustomboard.dtb imx8mp-var-som-symphony.dtb"

build_m4_image()
{
Expand All @@ -41,6 +41,7 @@ build_imx_uboot()
cp ${UBOOT_OUT}/spl/u-boot-spl.bin ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/
cp ${UBOOT_OUT}/tools/mkimage ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/mkimage_uboot
cp ${UBOOT_OUT}/arch/arm/dts/imx8mp-var-dart-dt8mcustomboard.dtb ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/
cp ${UBOOT_OUT}/arch/arm/dts/imx8mp-var-dart-1.x-dt8mcustomboard.dtb ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/
cp ${UBOOT_OUT}/arch/arm/dts/imx8mp-var-som-symphony.dtb ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/
cp ${FSL_PROPRIETARY_PATH}/linux-firmware-imx/firmware/ddr/synopsys/lpddr4_pmu_train* ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/

Expand Down Expand Up @@ -68,13 +69,15 @@ build_imx_uboot()
if [ `echo $2 | rev | cut -d '-' -f1 | rev` = "dual" ]; then
make -C ${IMX_MKIMAGE_PATH}/imx-mkimage/ SOC=iMX8MP dtbs="${TARGET_DTBS}" flash_evk_no_hdmi_dual_bootloader || exit 1
cp ${UBOOT_OUT}/arch/arm/dts/imx8mp-var-dart-dt8mcustomboard.dtb ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/
cp ${UBOOT_OUT}/arch/arm/dts/imx8mp-var-dart-1.x-dt8mcustomboard.dtb ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/
cp ${UBOOT_OUT}/arch/arm/dts/imx8mp-var-som-symphony.dtb ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/
make -C ${IMX_MKIMAGE_PATH}/imx-mkimage/ SOC=iMX8MP dtbs="${TARGET_DTBS}" PRINT_FIT_HAB_OFFSET=0x0 print_fit_hab || exit 1
cp ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/flash.bin ${UBOOT_COLLECTION}/spl-$2.bin
cp ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/u-boot-ivt.itb ${UBOOT_COLLECTION}/bootloader-$2.img
else
make -C ${IMX_MKIMAGE_PATH}/imx-mkimage/ SOC=iMX8MP dtbs="${TARGET_DTBS}" flash_evk || exit 1
cp ${UBOOT_OUT}/arch/arm/dts/imx8mp-var-dart-dt8mcustomboard.dtb ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/
cp ${UBOOT_OUT}/arch/arm/dts/imx8mp-var-dart-1.x-dt8mcustomboard.dtb ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/
cp ${UBOOT_OUT}/arch/arm/dts/imx8mp-var-som-symphony.dtb ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/
make -C ${IMX_MKIMAGE_PATH}/imx-mkimage/ SOC=iMX8MP dtbs="${TARGET_DTBS}" print_fit_hab || exit 1
cp ${IMX_MKIMAGE_PATH}/imx-mkimage/iMX8M/flash.bin ${UBOOT_COLLECTION}/u-boot-$2.imx
Expand Down
12 changes: 12 additions & 0 deletions imx8m/dart_mx8mp/BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,18 @@ ifeq ($(TARGET_USE_DYNAMIC_PARTITIONS),true)
imx8mp-var-dart-dt8mcustomboard-basler-isp0-m7:imx8mp-var-dart-dt8mcustomboard-basler-isp0-m7.dtb \
imx8mp-var-dart-dt8mcustomboard-basler-isi0:imx8mp-var-dart-dt8mcustomboard-basler-isi0.dtb \
imx8mp-var-dart-dt8mcustomboard-basler-isi0-m7:imx8mp-var-dart-dt8mcustomboard-basler-isi0-m7.dtb \
imx8mp-var-dart-1.x-dt8mcustomboard:imx8mp-var-dart-1.x-dt8mcustomboard.dtb \
imx8mp-var-dart-1.x-dt8mcustomboard-basler-isi0-m7:imx8mp-var-dart-1.x-dt8mcustomboard-basler-isi0-m7.dtb \
imx8mp-var-dart-1.x-dt8mcustomboard-basler-isi0:imx8mp-var-dart-1.x-dt8mcustomboard-basler-isi0.dtb \
imx8mp-var-dart-1.x-dt8mcustomboard-basler-isp0-m7:imx8mp-var-dart-1.x-dt8mcustomboard-basler-isp0-m7.dtb \
imx8mp-var-dart-1.x-dt8mcustomboard-basler-isp0:imx8mp-var-dart-1.x-dt8mcustomboard-basler-isp0.dtb \
imx8mp-var-dart-1.x-dt8mcustomboard-m7:imx8mp-var-dart-1.x-dt8mcustomboard-m7.dtb \
imx8mp-var-dart-wbe-dt8mcustomboard:imx8mp-var-dart-wbe-dt8mcustomboard.dtb \
imx8mp-var-dart-wbe-dt8mcustomboard-basler-isi0-m7:imx8mp-var-dart-wbe-dt8mcustomboard-basler-isi0-m7.dtb \
imx8mp-var-dart-wbe-dt8mcustomboard-basler-isi0:imx8mp-var-dart-wbe-dt8mcustomboard-basler-isi0.dtb \
imx8mp-var-dart-wbe-dt8mcustomboard-basler-isp0-m7:imx8mp-var-dart-wbe-dt8mcustomboard-basler-isp0-m7.dtb \
imx8mp-var-dart-wbe-dt8mcustomboard-basler-isp0:imx8mp-var-dart-wbe-dt8mcustomboard-basler-isp0.dtb \
imx8mp-var-dart-wbe-dt8mcustomboard-m7:imx8mp-var-dart-wbe-dt8mcustomboard-m7.dtb \
imx8mp-var-som-symphony:imx8mp-var-som-symphony.dtb \
imx8mp-var-som-symphony-m7:imx8mp-var-som-symphony-m7.dtb \
imx8mp-var-som-symphony-2nd-ov5640:imx8mp-var-som-symphony-2nd-ov5640.dtb \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,36 +53,48 @@ else
fi

function add_imx8mp_menu() {
img_list+=("dtbo-imx8mp-var-dart-dt8mcustomboard-basler-isp0.img (DART-MX8M-PLUS on DT8MCustomBoard 2.x and above, with LVDS and Basler VCAM-AR0821B camera support)")
img_list+=("dtbo-imx8mp-var-dart-dt8mcustomboard-basler-isp0-m7.img (DART-MX8M-PLUS on DT8MCustomBoard 2.x and above, with LVDS, Basler VCAM-AR0821B camera and M7 support)")
img_list+=("dtbo-imx8mp-var-dart-dt8mcustomboard-basler-isi0.img (DART-MX8M-PLUS on DT8MCustomBoard 2.x and above, with LVDS and Basler VCAM-AR1335B camera support)")
img_list+=("dtbo-imx8mp-var-dart-dt8mcustomboard-basler-isi0-m7.img (DART-MX8M-PLUS on DT8MCustomBoard 2.x and above, with LVDS, Basler VCAM-AR1335B camera and M7 support)")
img_list+=("dtbo-imx8mp-var-dart-dt8mcustomboard-m7.img (DART-MX8M-PLUS on DT8MCustomBoard 2.x and above, with LVDS and M7 support)")
img_list+=("dtbo-imx8mp-var-dart-dt8mcustomboard.img (DART-MX8M-PLUS on DT8MCustomBoard 2.x and above, with LVDS support)")
img_list+=("dtbo-imx8mp-var-som-symphony-2nd-ov5640-m7.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS, 2nd OV5640 and M7 support)")
img_list+=("dtbo-imx8mp-var-som-symphony-2nd-ov5640.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS and 2nd OV5640 support)")
img_list+=("dtbo-imx8mp-var-som-symphony-basler-isp0.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS and Basler VCAM-AR0821B camera support)")
img_list+=("dtbo-imx8mp-var-som-symphony-basler-isp0-m7.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS, Basler VCAM-AR0821B camera and M7 support)")
img_list+=("dtbo-imx8mp-var-som-symphony-basler-isi0.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS and Basler VCAM-AR1335B camera support)")
img_list+=("dtbo-imx8mp-var-som-symphony-basler-isi0-m7.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS, Basler VCAM-AR1335B camera and M7 support)")
img_list+=("dtbo-imx8mp-var-som-symphony-m7.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS and M7 support)")
img_list+=("dtbo-imx8mp-var-som-symphony.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS support)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-2nd-ov5640-m7.img (VAR-SOM-MX8M-PLUS V1.x on Symphony-Board, with LVDS, 2nd OV5640 and M7 support)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-2nd-ov5640.img (VAR-SOM-MX8M-PLUS V1.x on Symphony-Board, with LVDS and 2nd OV5640 support)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-basler-isp0.img (VAR-SOM-MX8M-PLUS V1.x on Symphony-Board, with LVDS and Basler VCAM-AR0821B camera support)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-basler-isp0-m7.img (VAR-SOM-MX8M-PLUS V1.x on Symphony-Board, with LVDS, Basler VCAM-AR0821B camera and M7 support)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-basler-isi0.img (VAR-SOM-MX8M-PLUS V1.x on Symphony-Board, with LVDS and Basler VCAM-AR1335B camera support)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-basler-isi0-m7.img (VAR-SOM-MX8M-PLUS V1.x on Symphony-Board, with LVDS, Basler VCAM-AR1335B camera and M7 support)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-m7.img (VAR-SOM-MX8M-PLUS V1.x on Symphony-Board, with LVDS and M7 support)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony.img (VAR-SOM-MX8M-PLUS V1.x on Symphony-Board, with LVDS support)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-2nd-ov5640-m7.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS, WBE, 2nd OV5640 and M7 support)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-2nd-ov5640.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS, WBE and 2nd OV5640 support)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-basler-isp0.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS, WBE and Basler VCAM-AR0821B camera support)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-basler-isp0-m7.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS, WBE, Basler VCAM-AR0821B camera and M7 support)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-basler-isi0.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS, WBE and Basler VCAM-AR1335B camera support)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-basler-isi0-m7.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS, WBE, Basler VCAM-AR1335B camera and M7 support)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-m7.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS, WBE and M7 support)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony.img (VAR-SOM-MX8M-PLUS on Symphony-Board, with LVDS and WBE support)")
img_list+=("dtbo-imx8mp-var-dart-dt8mcustomboard-basler-isp0.img (DART-MX8M-PLUS V2.x with LVDS and Basler VCAM-AR0821B camera support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-dt8mcustomboard-basler-isp0-m7.img (DART-MX8M-PLUS V2.x with LVDS, Basler VCAM-AR0821B camera and M7 support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-dt8mcustomboard-basler-isi0.img (DART-MX8M-PLUS V2.x with LVDS and Basler VCAM-AR1335B camera support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-dt8mcustomboard-basler-isi0-m7.img (DART-MX8M-PLUS V2.x with LVDS, Basler VCAM-AR1335B camera and M7 support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-dt8mcustomboard-m7.img (DART-MX8M-PLUS V2.x with LVDS and M7 support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-dt8mcustomboard.img (DART-MX8M-PLUS V2.x with LVDS support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-wbe-dt8mcustomboard.img (DART-MX8M-PLUS V2.x with WBE and LVDS support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-wbe-dt8mcustomboard-m7.img (DART-MX8M-PLUS V2.x with WBE, LVDS and M7 support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-wbe-dt8mcustomboard-basler-isi0.img (DART-MX8M-PLUS V2.x with WBE, LVDS and Basler VCAM-AR1335B camera support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-wbe-dt8mcustomboard-basler-isi0-m7.img (DART-MX8M-PLUS V2.x with WBE, LVDS, Basler VCAM-AR1335B camera and M7 support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-wbe-dt8mcustomboard-basler-isp0.img (DART-MX8M-PLUS V2.x with WBE, LVDS and Basler VCAM-AR0821B camera support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-wbe-dt8mcustomboard-basler-isp0-m7.img (DART-MX8M-PLUS V2.x with WBE, LVDS, Basler VCAM-AR0821B camera and M7 support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-1.x-dt8mcustomboard.img (DART-MX8M-PLUS V1.x with LVDS support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-1.x-dt8mcustomboard-m7.img (DART-MX8M-PLUS V1.x with LVDS and M7 support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-1.x-dt8mcustomboard-basler-isi0.img (DART-MX8M-PLUS V1.x with LVDS and Basler VCAM-AR1335B camera support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-1.x-dt8mcustomboard-basler-isi0-m7.img (DART-MX8M-PLUS V1.x with LVDS, Basler VCAM-AR1335B camera and M7 support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-1.x-dt8mcustomboard-basler-isp0.img (DART-MX8M-PLUS V1.x with LVDS and Basler VCAM-AR0821B camera support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-dart-1.x-dt8mcustomboard-basler-isp0-m7.img (DART-MX8M-PLUS V1.x with LVDS, Basler VCAM-AR0821B camera and M7 support on DT8MCustomBoard 2.x and above)")
img_list+=("dtbo-imx8mp-var-som-symphony-2nd-ov5640-m7.img (VAR-SOM-MX8M-PLUS V2.x with LVDS, 2nd OV5640 and M7 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-symphony-2nd-ov5640.img (VAR-SOM-MX8M-PLUS V2.x with LVDS and 2nd OV5640 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-symphony-basler-isp0.img (VAR-SOM-MX8M-PLUS V2.x with LVDS and Basler VCAM-AR0821B camera support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-symphony-basler-isp0-m7.img (VAR-SOM-MX8M-PLUS V2.x with LVDS, Basler VCAM-AR0821B camera and M7 supporton Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-symphony-basler-isi0.img (VAR-SOM-MX8M-PLUS V2.x with LVDS and Basler VCAM-AR1335B camera support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-symphony-basler-isi0-m7.img (VAR-SOM-MX8M-PLUS v2.X with LVDS, Basler VCAM-AR1335B camera and M7 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-symphony-m7.img (VAR-SOM-MX8M-PLUS V2.X with LVDS and M7 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-symphony.img (VAR-SOM-MX8M-PLUS V2.X with LVDS support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-2nd-ov5640-m7.img (VAR-SOM-MX8M-PLUS V1.x with LVDS, 2nd OV5640 and M7 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-2nd-ov5640.img (VAR-SOM-MX8M-PLUS V1.x with LVDS and 2nd OV5640 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-basler-isp0.img (VAR-SOM-MX8M-PLUS V1.x with LVDS and Basler VCAM-AR0821B camera support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-basler-isp0-m7.img (VAR-SOM-MX8M-PLUS V1.x with LVDS, Basler VCAM-AR0821B camera and M7 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-basler-isi0.img (VAR-SOM-MX8M-PLUS V1.x with LVDS and Basler VCAM-AR1335B camera support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-basler-isi0-m7.img (VAR-SOM-MX8M-PLUS V1.x with LVDS, Basler VCAM-AR1335B camera and M7 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony-m7.img (VAR-SOM-MX8M-PLUS V1.x with LVDS and M7 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-1.x-symphony.img (VAR-SOM-MX8M-PLUS V1.x with LVDS support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-2nd-ov5640-m7.img (VAR-SOM-MX8M-PLUS V2.X with WBE, LVDS, 2nd OV5640 and M7 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-2nd-ov5640.img (VAR-SOM-MX8M-PLUS V2.x with WBE, LVDS and 2nd OV5640 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-basler-isp0.img (VAR-SOM-MX8M-PLUS V2.x with WBE, LVDS and Basler VCAM-AR0821B camera support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-basler-isp0-m7.img (VAR-SOM-MX8M-PLUS V2.x with WBE, LVDS, Basler VCAM-AR0821B camera and M7 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-basler-isi0.img (VAR-SOM-MX8M-PLUS V2.x with WBE, LVDS and Basler VCAM-AR1335B camera support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-basler-isi0-m7.img (VAR-SOM-MX8M-PLUS V2.x with WBE, LVDS, Basler VCAM-AR1335B camera and M7 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony-m7.img (VAR-SOM-MX8M-PLUS V2.x with WBE, LVDS and M7 support on Symphony-Board)")
img_list+=("dtbo-imx8mp-var-som-wbe-symphony.img (VAR-SOM-MX8M-PLUS V2.x with WBE and LVDS support on Symphony-Board)")
}

function add_imx8mm_menu() {
Expand Down Expand Up @@ -248,8 +260,9 @@ if [[ $soc_name == "showoptions" ]] && [[ ${#img_list[@]} > 1 ]] ; then
soc_name=$opt
fi
if [[ "${soc_name}" == *"imx8mm-var-som"* ]] || [[ "${soc_name}" == *"imx8mm-var-dart-1.x"* ]] ||
[[ "${soc_name}" == *"imx8mp-var-dart"* ]] || [[ "${soc_name}" == *"imx8mp-var-som-1.x"* ]]; then
[[ "${soc_name}" == *"imx8mp-var-dart-1.x"* ]] || [[ "${soc_name}" == *"imx8mp-var-som-1.x"* ]]; then
imagesdir="/opt/images/Android/lwb"
blue_underlined_bold_echo "Image directory for SOM V1.x version: $imagesdir"
fi
break
fi
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
uuu_version 1.4.182
SDPS: boot -f u-boot-imx8mp-var-dart-uuu.imx
SDPU: delay 1000
SDPU: write -f u-boot-imx8mp-var-dart-uuu.imx -offset 0x57c00
SDPU: jump
SDPV: delay 1000
SDPV: write -f u-boot-imx8mp-var-dart-uuu.imx -skipspl
SDPV: jump
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 2
FB: ucmd mmc dev 2
FB: ucmd mmc dev 2 0
FB: ucmd mmc erase 0x3800 0x20
FB: ucmd mmc partconf 2 0 0 0
FB[-t 600000]: flash bootloader0 spl-imx8mp-var-dart-dual.bin
FB[-t 600000]: flash gpt partition-table-dual.img
FB[-t 600000]: flash bootloader_a bootloader-imx8mp-var-dart-dual.img
FB[-t 600000]: flash dtbo_a dtbo-imx8mp-var-dart-1.x-dt8mcustomboard.img
FB[-t 600000]: flash boot_a boot.img
FB[-t 600000]: flash vendor_boot_a vendor_boot.img
FB[-t 600000]: flash init_boot_a init_boot.img
FB[-t 600000]: flash vbmeta_a vbmeta-imx8mp-var-dart-1.x-dt8mcustomboard.img
FB[-t 600000]: flash bootloader_b bootloader-imx8mp-var-dart-dual.img
FB[-t 600000]: flash dtbo_b dtbo-imx8mp-var-dart-1.x-dt8mcustomboard.img
FB[-t 600000]: flash boot_b boot.img
FB[-t 600000]: flash vendor_boot_b vendor_boot.img
FB[-t 600000]: flash init_boot_b init_boot.img
FB[-t 600000]: flash vbmeta_b vbmeta-imx8mp-var-dart-1.x-dt8mcustomboard.img
FB[-t 600000]: flash super super.img
FB[-t 600000]: erase misc
FB[-t 600000]: erase presistdata
FB[-t 600000]: erase fbmisc
FB[-t 600000]: erase metadata
FB[-t 600000]: erase userdata
FB: set_active _a
FB: done
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
uuu_version 1.4.182
SDPS: boot -f u-boot-imx8mp-var-dart-uuu.imx
SDPU: delay 1000
SDPU: write -f u-boot-imx8mp-var-dart-uuu.imx -offset 0x57c00
SDPU: jump
SDPV: delay 1000
SDPV: write -f u-boot-imx8mp-var-dart-uuu.imx -skipspl
SDPV: jump
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 2
FB: ucmd mmc dev 2
FB: ucmd mmc dev 2 0
FB: ucmd mmc erase 0x3800 0x20
FB: ucmd mmc partconf 2 0 0 0
FB[-t 600000]: flash bootloader0 spl-imx8mp-var-dart-dual.bin
FB[-t 600000]: flash gpt partition-table-dual.img
FB[-t 600000]: flash bootloader_a bootloader-imx8mp-var-dart-dual.img
FB[-t 600000]: flash dtbo_a dtbo-imx8mp-var-dart-1.x-dt8mcustomboard-basler-isi0.img
FB[-t 600000]: flash boot_a boot.img
FB[-t 600000]: flash vendor_boot_a vendor_boot.img
FB[-t 600000]: flash init_boot_a init_boot.img
FB[-t 600000]: flash vbmeta_a vbmeta-imx8mp-var-dart-1.x-dt8mcustomboard-basler-isi0.img
FB[-t 600000]: flash bootloader_b bootloader-imx8mp-var-dart-dual.img
FB[-t 600000]: flash dtbo_b dtbo-imx8mp-var-dart-1.x-dt8mcustomboard-basler-isi0.img
FB[-t 600000]: flash boot_b boot.img
FB[-t 600000]: flash vendor_boot_b vendor_boot.img
FB[-t 600000]: flash init_boot_b init_boot.img
FB[-t 600000]: flash vbmeta_b vbmeta-imx8mp-var-dart-1.x-dt8mcustomboard-basler-isi0.img
FB[-t 600000]: flash super super.img
FB[-t 600000]: erase misc
FB[-t 600000]: erase presistdata
FB[-t 600000]: erase fbmisc
FB[-t 600000]: erase metadata
FB[-t 600000]: erase userdata
FB: set_active _a
FB: done
Loading

0 comments on commit 2e5b7db

Please sign in to comment.