Skip to content

Commit 2c9cd9f

Browse files
vishalmtiStaticRocket
authored andcommitted
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 <[email protected]>
1 parent 3e8ecbf commit 2c9cd9f

File tree

3 files changed

+54
-22
lines changed

3 files changed

+54
-22
lines changed

source/android/Overview_Flashing.rst

Lines changed: 50 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,33 @@ Once the build is complete, follow the steps below to flash the images to eMMC.
5858

5959
1. Change the boot mode DIP switches to DFU mode:
6060

61-
.. list-table::
62-
:widths: 16 16 16
63-
:header-rows: 1
61+
.. ifconfig:: CONFIG_part_variant in ('AM62X')
6462

65-
* - Switch Label
66-
- SW2: 12345678
67-
- SW3: 12345678
63+
.. list-table::
64+
:widths: 16 16 16
65+
:header-rows: 1
6866

69-
* - USB DFU
70-
- 00000000
71-
- 11001010
67+
* - Switch Label
68+
- SW2: 12345678
69+
- SW3: 12345678
70+
71+
* - USB DFU
72+
- 00000000
73+
- 11001010
74+
75+
.. ifconfig:: CONFIG_part_variant in ('AM62PX')
76+
77+
.. list-table::
78+
:widths: 16 16 16
79+
:header-rows: 1
80+
81+
* - Switch Label
82+
- SW5: 12345678
83+
- SW4: 12345678
84+
85+
* - USB DFU
86+
- 00000000
87+
- 11001010
7288

7389
2. Ensure the device is plugged in with USB host and debug UART/serial debug
7490

@@ -320,17 +336,33 @@ Once the build is complete, follow the steps below to flash the images to eMMC.
320336

321337
6. Change boot mode DIP switches to boot from eMMC user partitions and power cycle the board:
322338

323-
.. list-table::
324-
:widths: 16 16 16
325-
:header-rows: 1
339+
.. ifconfig:: CONFIG_part_variant in ('AM62X')
340+
341+
.. list-table::
342+
:widths: 16 16 16
343+
:header-rows: 1
344+
345+
* - Switch Label
346+
- SW2: 12345678
347+
- SW3: 12345678
348+
349+
* - EMMC (with UDA)
350+
- 00000000
351+
- 11000010
352+
353+
.. ifconfig:: CONFIG_part_variant in ('AM62PX')
354+
355+
.. list-table::
356+
:widths: 16 16 16
357+
:header-rows: 1
326358

327-
* - Switch Label
328-
- SW2: 12345678
329-
- SW3: 12345678
359+
* - Switch Label
360+
- SW5: 12345678
361+
- SW4: 12345678
330362

331-
* - EMMC (with UDA)
332-
- 00000000
333-
- 11000010
363+
* - EMMC (with UDA)
364+
- 00000000
365+
- 11000010
334366

335367

336368
7. Board should boot the Android images now.

source/devices/AM62PX/android/Application_Notes_Android_Bootloader_SD_Card.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ the images are built from source.
7070
:header-rows: 1
7171

7272
* - Switch Label
73-
- SW2: 12345678
74-
- SW3: 12345678
73+
- SW5: 12345678
74+
- SW4: 12345678
7575

7676
* - SD
7777
- 01000000

source/devices/AM62PX/android/Application_Notes_Android_SD_CARD.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ Flashing SD Card
8181
:header-rows: 1
8282

8383
* - Switch Label
84-
- SW2: 12345678
85-
- SW3: 12345678
84+
- SW5: 12345678
85+
- SW4: 12345678
8686

8787
* - SD
8888
- 01000000

0 commit comments

Comments
 (0)