Skip to content

Commit b7f53b6

Browse files
author
Vinuchandran
committed
fix(linux): Corrected the fastboot steps
* Corrected the A53 Uboot variable * Corrected the defconfig for AM62x A53 * Added reference to emmc configuration * Corrected DFU bootmode for all SoCs * Added snagfactory board name for AM62A yaml config Signed-off-by: Vinuchandran A V <x1123550@ti.com>
1 parent 2d85d74 commit b7f53b6

2 files changed

Lines changed: 62 additions & 14 deletions

File tree

source/linux/Foundational_Components/Tools/Flash_via_Fastboot.rst

Lines changed: 60 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,57 +56,57 @@ in :file:`Rules.make` file present in the top level of Linux SDK Installer.
5656
5757
UBOOT_MACHINE_R5=am62x_evm_r5_defconfig am62x_r5_usbdfu.config
5858
59-
UBOOT_MACHINE_A53=am62x_evm_r5_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
59+
UBOOT_MACHINE=am62x_evm_a53_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
6060
6161
# For AM62X LP
6262
6363
UBOOT_MACHINE_R5=am62x_lpsk_r5_defconfig am62x_r5_usbdfu.config
6464
65-
UBOOT_MACHINE_A53=am62x_lpsk_a53_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
65+
UBOOT_MACHINE=am62x_lpsk_a53_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
6666
6767
# For AM62X SIP
6868
6969
UBOOT_MACHINE_R5=am62xsip_evm_r5_defconfig am62x_r5_usbdfu.config
7070
71-
UBOOT_MACHINE_A53=am62xsip_evm_a53_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
71+
UBOOT_MACHINE=am62xsip_evm_a53_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
7272
7373
.. ifconfig:: CONFIG_part_variant in ('AM64X')
7474

7575
.. code-block:: make
7676
7777
UBOOT_MACHINE_R5=am64x_evm_r5_defconfig
7878
79-
UBOOT_MACHINE_A53=am64x_evm_a53_defconfig am6x_a53_snagfactory.config
79+
UBOOT_MACHINE=am64x_evm_a53_defconfig am6x_a53_snagfactory.config
8080
8181
.. ifconfig:: CONFIG_part_variant in ('AM62AX')
8282

8383
.. code-block:: make
8484
8585
UBOOT_MACHINE_R5=am62ax_evm_r5_defconfig am62x_r5_usbdfu.config
8686
87-
UBOOT_MACHINE_A53=am62ax_evm_a53_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
87+
UBOOT_MACHINE=am62ax_evm_a53_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
8888
8989
.. ifconfig:: CONFIG_part_variant in ('AM62PX')
9090

9191
.. code-block:: make
9292
9393
UBOOT_MACHINE_R5=am62px_evm_r5_defconfig am62x_r5_usbdfu.config
9494
95-
BOOT_MACHINE_A53=am62px_evm_a53_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
95+
UBOOT_MACHINE=am62px_evm_a53_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
9696
9797
.. ifconfig:: CONFIG_part_variant in ('AM62DX')
9898

9999
.. code-block:: make
100100
101101
UBOOT_MACHINE_R5=am62dx_evm_r5_defconfig am62x_r5_usbdfu.config
102102
103-
BOOT_MACHINE_A53=am62dx_evm_a53_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
103+
UBOOT_MACHINE=am62dx_evm_a53_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
104104
105105
.. ifconfig:: CONFIG_part_variant in ('AM62LX')
106106

107107
.. code-block:: make
108108
109-
BOOT_MACHINE_A53=am62lx_evm_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
109+
UBOOT_MACHINE=am62lx_evm_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config
110110
111111
Generate the bootloader images using top-level makefile by running following
112112
commands on the terminal from the top-level of the Linux SDK installer.
@@ -136,10 +136,51 @@ Connections
136136

137137
* Power off the EVM and set up the boot mode switches to boot from USB DFU.
138138

139-
.. code-block:: text
139+
.. ifconfig:: CONFIG_part_variant in ('AM62X')
140+
141+
AM62X (SK-AM62B-P1) - USB-DFU Boot
142+
143+
.. code-block:: text
144+
145+
SW2 - BOOTMODE[8:15] = 00000000
146+
SW1 - BOOTMODE[0:7] = 11001010
147+
148+
.. ifconfig:: CONFIG_part_variant in ('AM62AX')
149+
150+
AM62A (SK-AM62A-LP) - USB-DFU Boot
151+
152+
.. code-block:: text
153+
154+
SW3 - BOOTMODE[8:15] = 00000000
155+
SW2 - BOOTMODE[0:7] = 11001010
156+
157+
.. ifconfig:: CONFIG_part_variant in ('AM62PX')
158+
159+
AM62P (SK-AM62P-LP) - USB-DFU Boot
160+
161+
.. code-block:: text
162+
163+
SW5 - BOOTMODE[8:15] = 00000000
164+
SW4 - BOOTMODE[0:7] = 11001010
165+
166+
.. ifconfig:: CONFIG_part_variant in ('AM62LX')
167+
168+
AM62L (TMDS62LEVM) - USB-DFU Boot
140169

141-
SW2-11001100
142-
SW3-00000000
170+
.. code-block:: text
171+
172+
SW2 - BOOTMODE[8:11] = 0000
173+
SW3 - BOOTMODE[12:15] = 0000
174+
SW4 - BOOTMODE[0:7] = 11001010
175+
176+
.. ifconfig:: CONFIG_part_variant in ('AM64X')
177+
178+
AM64X (TMDS64EVM) - USB-DFU Boot
179+
180+
.. code-block:: text
181+
182+
SW2 - BOOTMODE[0:7] = 11001010
183+
SW3 - BOOTMODE[8:15] = 00000000
143184
144185
* Power on the board.
145186
* Optionally you can also connect host PC to board via UART to read the console logs.
@@ -214,12 +255,15 @@ The following table outline the board names for snagfactory yaml configuration.
214255
* - am62sip-evm
215256
- am6x
216257
- am625
217-
* - am64xx-evm
218-
- am6x
219-
- am6442
220258
* - am62dxx-evm
221259
- am6x
222260
- am62d2
261+
* - am62axx-evm
262+
- am6x
263+
- am62a7
264+
* - am64xx-evm
265+
- am6x
266+
- am6442
223267

224268
The example configuration files for **emmc** and **ospi-nand** and **ospi-nor** are as follows.
225269

@@ -392,6 +436,8 @@ For reference, the :file:`emmc.yaml` file for **am62l** platform can be as foll
392436
- image: "<path_to_flash_binaries>/rootfs.ext4"
393437
part: "rootfs"
394438
439+
For eMMC boot configuration, refer :ref:`emmc_boot_config`
440+
395441
**Snagboot Command-line Configuration and Device Flashing Procedure**
396442

397443
Snagrecover uses vendor-specific ROM code mechanisms to initialize external RAM and run U-Boot, without modifying any non-volatile memories.

source/linux/How_to_Guides/Target/How_to_emmc_boot.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ Mount the new partition and flash the rootfs as shown :ref:`here <mmc-flash-emmc
209209
The Linux kernel :file:`Image` and DT file are expected to be in the /boot folder of the
210210
"root" partition in order for u-boot to find and load them.
211211

212+
.. _emmc_boot_config:
213+
212214
eMMC boot configuration
213215
=======================
214216

0 commit comments

Comments
 (0)