Skip to content

Commit e07e805

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 e07e805

2 files changed

Lines changed: 61 additions & 15 deletions

File tree

source/linux/Foundational_Components/Tools/Flash_via_Fastboot.rst

Lines changed: 59 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -54,59 +54,59 @@ in :file:`Rules.make` file present in the top level of Linux SDK Installer.
5454

5555
.. code-block:: make
5656
57-
UBOOT_MACHINE_R5=am62x_evm_r5_defconfig am62x_r5_usbdfu.config
57+
UBOOT_MACHINE_R5=am62x_evm_a53_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_r5_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,49 @@ 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+
.. code-block:: text
142+
143+
AM62X (SK-AM62B-P1) - USB-DFU Boot
144+
SW2 - BOOTMODE[8:15] = 00000000
145+
SW1 - BOOTMODE[0:7] = 11001010
146+
147+
.. ifconfig:: CONFIG_part_variant in ('AM62AX')
148+
149+
.. code-block:: text
150+
151+
AM62A (SK-AM62A-LP) - USB-DFU Boot
152+
SW3 - BOOTMODE[8:15] = 00000000
153+
SW2 - BOOTMODE[0:7] = 11001010
154+
155+
.. ifconfig:: CONFIG_part_variant in ('AM62PX')
156+
157+
.. code-block:: text
158+
159+
AM62P (SK-AM62P-LP) - USB-DFU Boot
160+
161+
SW5 - BOOTMODE[8:15] = 00000000
162+
SW4 - BOOTMODE[0:7] = 11001010
163+
164+
.. ifconfig:: CONFIG_part_variant in ('AM62LX')
140165

141-
SW2-11001100
142-
SW3-00000000
166+
.. code-block:: text
167+
168+
AM62L (TMDS62LEVM) - USB-DFU Boot
169+
170+
SW2 - BOOTMODE[8:11] = 0000
171+
SW3 - BOOTMODE[12:15] = 0000
172+
SW4 - BOOTMODE[0:7] = 11001010
173+
174+
.. ifconfig:: CONFIG_part_variant in ('AM64X')
175+
176+
.. code-block:: text
177+
178+
AM64X (TMDS64EVM) - USB-DFU Boot
179+
180+
SW2 - BOOTMODE[0:7] = 11001010
181+
SW3 - BOOTMODE[8:15] = 00000000
143182
144183
* Power on the board.
145184
* Optionally you can also connect host PC to board via UART to read the console logs.
@@ -214,12 +253,15 @@ The following table outline the board names for snagfactory yaml configuration.
214253
* - am62sip-evm
215254
- am6x
216255
- am625
217-
* - am64xx-evm
218-
- am6x
219-
- am6442
220256
* - am62dxx-evm
221257
- am6x
222258
- am62d2
259+
* - am62axx-evm
260+
- am6x
261+
- am62a7
262+
* - am64xx-evm
263+
- am6x
264+
- am6442
223265

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

@@ -392,6 +434,8 @@ For reference, the :file:`emmc.yaml` file for **am62l** platform can be as foll
392434
- image: "<path_to_flash_binaries>/rootfs.ext4"
393435
part: "rootfs"
394436
437+
For eMMC boot configuration, refer :ref:`emmc_boot_config`
438+
395439
**Snagboot Command-line Configuration and Device Flashing Procedure**
396440

397441
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)