Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion source/linux/Foundational_Components/U-Boot/BG-Build-K3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ All of these binaries are available in the SDK at :file:`<path to tisdk>/board-s
.. csv-table::
:header: "Board","SD / UART / OSPI / USB DFU","USB MSC"

"AM62LX EVM", ``am62lx_evm_defconfig``, ``am62lx_evm_defconfig``
"AM62LX EVM", ``am62lx_evm_defconfig``, ``am62lx_evm_defconfig`` ``am62x_a53_usbmsc.config``
"BeagleBadge", ``am62lx_badge_defconfig``, ""

.. note::
Expand Down Expand Up @@ -476,6 +476,15 @@ All of these binaries are available in the SDK at :file:`<path to tisdk>/board-s
BINMAN_INDIRS=$TI_LINUX_FW_DIR \
TEE=$OPTEE_DIR/out/arm-plat-k3/core/tee-pager_v2.bin

.. note::

The :file:`am62x_a53_usbmsc.config` config fragment can be used to enable
USB MSC boot support.

.. code-block:: console

$ make CROSS_COMPILE="$CROSS_COMPILE_64" am62lx_evm_defconfig am62x_a53_usbmsc.config

.. note::

The :file:`am62lx_falcon.config` config fragment can be used to enable
Expand Down
20 changes: 19 additions & 1 deletion source/linux/Foundational_Components/U-Boot/UG-Memory-K3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@
Flash and boot SPL from USB storage
===================================

.. ifconfig:: CONFIG_part_variant not in ('J7200', 'J721E', 'AM64X', 'AM65X', 'J722S')
.. ifconfig:: CONFIG_part_variant not in ('J7200', 'J721E', 'AM64X', 'AM65X', 'J722S', 'AM62LX')

Boot SPL from USB storage documentation is pending for |__PART_FAMILY_DEVICE_NAMES__|
reach out to: `Help e2e <https://e2e.ti.com//>`__ for additional information.
Expand All @@ -423,6 +423,24 @@
The SoC does not support booting from USB mass storage, but USB can still be
accessed as storage device at U-Boot prompt.

.. ifconfig:: CONFIG_part_variant in ('AM62LX')

Booting to U-Boot prompt from USB storage is supported. The following are the
steps to be followed:

- Build the boot loader images using the default ``am62lx_evm_defconfig`` with the
config fragment ``am62x_a53_usbmsc.config``. The configs required for USB MSC boot
are enabled by this fragment. For instructions to build the boot loader images,
refer to :ref:`Build-U-Boot-label`.
- Create a FAT32 partition with boot flag enabled on the USB storage device.
- Copy the boot loader images (:file:`tiboot3.bin`, :file:`tispl.bin`,
:file:`u-boot.img`) into the above created partition.
- Set the boot mode switches to USB host boot mode (Refer to the
**Initialization/Boot Mode Pins** chapter of TRM for boot switch details).

Check warning on line 439 in source/linux/Foundational_Components/U-Boot/UG-Memory-K3.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Slash] Use either 'or' or 'and' in 'Initialization/Boot' Raw Output: {"message":"[RedHat.Slash] Use either 'or' or 'and' in 'Initialization/Boot'","location":{"path":"source/linux/Foundational_Components/U-Boot/UG-Memory-K3.rst","range":{"start":{"line":439,"column":8},"end":{"line":439,"column":27}}},"severity":"WARNING","code":{"value":"RedHat.Slash","url":"https://redhat-documentation.github.io/vale-at-red-hat/reference-guide.html#slash"}}
- Connect the USB Mass storage device with the boot loader images and boot up
the board.
- The board should now boot to u-boot prompt.

.. ifconfig:: CONFIG_part_variant in ('AM64X', 'AM65X', 'J722S')

.. ifconfig:: CONFIG_part_variant in ('AM64X')
Expand Down