From 9bbb36427206a149763e96ab658ef4d34f39a617 Mon Sep 17 00:00:00 2001 From: Vishal Mahaveer Date: Tue, 27 May 2025 11:46:39 -0500 Subject: [PATCH] fix(android): AM62PX: Fix the BOOTMODE switch labels The BOOTMODE DIP switch lables are different for AM62 and AM62P EVMs. Fix the android instructions to use the correct labels for AM62P EVM. Signed-off-by: Vishal Mahaveer --- source/android/Overview_Flashing.rst | 68 ++++++++++++++----- ...ation_Notes_Android_Bootloader_SD_Card.rst | 4 +- .../Application_Notes_Android_SD_CARD.rst | 4 +- 3 files changed, 54 insertions(+), 22 deletions(-) diff --git a/source/android/Overview_Flashing.rst b/source/android/Overview_Flashing.rst index 4f69ea87f..460d5d870 100644 --- a/source/android/Overview_Flashing.rst +++ b/source/android/Overview_Flashing.rst @@ -58,17 +58,33 @@ Once the build is complete, follow the steps below to flash the images to eMMC. 1. Change the boot mode DIP switches to DFU mode: - .. list-table:: - :widths: 16 16 16 - :header-rows: 1 + .. ifconfig:: CONFIG_part_variant in ('AM62X') - * - Switch Label - - SW2: 12345678 - - SW3: 12345678 + .. list-table:: + :widths: 16 16 16 + :header-rows: 1 - * - USB DFU - - 00000000 - - 11001010 + * - Switch Label + - SW2: 12345678 + - SW3: 12345678 + + * - USB DFU + - 00000000 + - 11001010 + + .. ifconfig:: CONFIG_part_variant in ('AM62PX') + + .. list-table:: + :widths: 16 16 16 + :header-rows: 1 + + * - Switch Label + - SW5: 12345678 + - SW4: 12345678 + + * - USB DFU + - 00000000 + - 11001010 2. Ensure the device is plugged in with USB host and debug UART/serial debug @@ -320,17 +336,33 @@ Once the build is complete, follow the steps below to flash the images to eMMC. 6. Change boot mode DIP switches to boot from eMMC user partitions and power cycle the board: - .. list-table:: - :widths: 16 16 16 - :header-rows: 1 + .. ifconfig:: CONFIG_part_variant in ('AM62X') + + .. list-table:: + :widths: 16 16 16 + :header-rows: 1 + + * - Switch Label + - SW2: 12345678 + - SW3: 12345678 + + * - EMMC (with UDA) + - 00000000 + - 11000010 + + .. ifconfig:: CONFIG_part_variant in ('AM62PX') + + .. list-table:: + :widths: 16 16 16 + :header-rows: 1 - * - Switch Label - - SW2: 12345678 - - SW3: 12345678 + * - Switch Label + - SW5: 12345678 + - SW4: 12345678 - * - EMMC (with UDA) - - 00000000 - - 11000010 + * - EMMC (with UDA) + - 00000000 + - 11000010 7. Board should boot the Android images now. diff --git a/source/devices/AM62PX/android/Application_Notes_Android_Bootloader_SD_Card.rst b/source/devices/AM62PX/android/Application_Notes_Android_Bootloader_SD_Card.rst index 072d28c22..c8351cedc 100644 --- a/source/devices/AM62PX/android/Application_Notes_Android_Bootloader_SD_Card.rst +++ b/source/devices/AM62PX/android/Application_Notes_Android_Bootloader_SD_Card.rst @@ -70,8 +70,8 @@ the images are built from source. :header-rows: 1 * - Switch Label - - SW2: 12345678 - - SW3: 12345678 + - SW5: 12345678 + - SW4: 12345678 * - SD - 01000000 diff --git a/source/devices/AM62PX/android/Application_Notes_Android_SD_CARD.rst b/source/devices/AM62PX/android/Application_Notes_Android_SD_CARD.rst index 863eead3a..fa82c7ed8 100644 --- a/source/devices/AM62PX/android/Application_Notes_Android_SD_CARD.rst +++ b/source/devices/AM62PX/android/Application_Notes_Android_SD_CARD.rst @@ -81,8 +81,8 @@ Flashing SD Card :header-rows: 1 * - Switch Label - - SW2: 12345678 - - SW3: 12345678 + - SW5: 12345678 + - SW4: 12345678 * - SD - 01000000