You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(linux): u-boot: Add USB DFU documentation for AM62LX
The AM62LX SoC supports USB DFU boot via USB0 instance of USB. The
AM62L3-EVM's Type-C DRP port can be used for booting via USB DFU boot.
Document this.
Signed-off-by: Siddharth Vadapalli <[email protected]>
Copy file name to clipboardExpand all lines: source/linux/Foundational_Components/U-Boot/UG-DFU.rst
+48-4Lines changed: 48 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,6 +155,17 @@ platform that support USB Peripheral boot mode.
155
155
binary images from the Host PC (using dfu-utils tool) to the eMMC, QSPI
156
156
or OSPI to fresh/factory boards.
157
157
158
+
.. ifconfig:: CONFIG_part_family in ('AM62LX_family')
159
+
160
+
#. Build :program:`tiboot3.bin`, :program:`tispl.bin` and :program:`u-boot.img`
161
+
using :file:`am62lx_evm_defconfig`. For instructions to build the bootloader
162
+
images please refer to :ref:`Build-U-Boot-label`.
163
+
#. Load the bootloader images :program:`tiboot3.bin`, :program:`tispl.bin`
164
+
and :program:`u-boot.img` using the dfu-util tool on the Host PC.
165
+
#. Once U-Boot is up, use the DFU command at U-Boot prompt to flash the
166
+
binary images from the Host PC (using dfu-utils tool) to the eMMC, QSPI
167
+
or OSPI to fresh/factory boards.
168
+
158
169
159
170
.. ifconfig:: CONFIG_part_family in ('AM62PX_family')
160
171
@@ -233,14 +244,19 @@ platform that support USB Peripheral boot mode.
233
244
- Connect USB Type C DRD Port (J15) on SK board to PC through USB cable
234
245
- Power on the board
235
246
247
+
.. ifconfig:: CONFIG_part_family in ('AM62LX_family')
248
+
249
+
- Set SYSBOOT switches to USB DFU boot mode (Refer to **Initialization** chapter of AM62L TRM for boot switch details)
250
+
- Connect USB Type C DRD Port (J19) on EVM board to PC through USB cable
251
+
- Power on the board
236
252
237
253
.. ifconfig:: CONFIG_part_family in ('AM62PX_family')
238
254
239
255
- Set SYSBOOT switches to USB DFU boot mode (Refer to **Initialization** chapter of AM62P TRM for boot switch details)
240
256
- Connect USB Type C DRD Port (J19) on SK board to PC through USB cable
241
257
- Power on the board
242
258
243
-
.. ifconfig:: CONFIG_part_family in ('AM64X_family', 'J7_family', 'AM62X_family', 'AM62AX_family', 'AM62PX_family')
259
+
.. ifconfig:: CONFIG_part_family in ('AM64X_family', 'J7_family', 'AM62X_family', 'AM62AX_family', 'AM62PX_family', 'AM62LX_family')
244
260
245
261
.. rubric:: On Linux host
246
262
@@ -304,7 +320,7 @@ platform that support USB Peripheral boot mode.
304
320
305
321
Send boot images in this order: tiboot3.bin -> tispl.bin -> u-boot.img
306
322
307
-
.. ifconfig:: CONFIG_part_family in ('AM64X_family', 'AM62X_family', 'AM62AX_family', 'AM62PX_family')
323
+
.. ifconfig:: CONFIG_part_family in ('AM64X_family', 'AM62X_family', 'AM62AX_family', 'AM62PX_family', 'AM62LX_family')
308
324
309
325
.. code-block:: text
310
326
@@ -315,7 +331,7 @@ platform that support USB Peripheral boot mode.
315
331
316
332
.. note:: On Windows, if you face any issues while listing the available DFU Interfaces, try installing/updating the Generic USB DFU Drivers using `Zadig <https://zadig.akeo.ie/>`_.
317
333
318
-
.. ifconfig:: CONFIG_part_family in ('AM64X_family', 'J7_family', 'AM62X_family', 'AM62AX_family', 'AM62PX_family')
334
+
.. ifconfig:: CONFIG_part_family in ('AM64X_family', 'J7_family', 'AM62X_family', 'AM62AX_family', 'AM62PX_family', 'AM62LX_family')
319
335
320
336
Move to directory containing the images and give the following commands
321
337
@@ -414,7 +430,35 @@ platform that support USB Peripheral boot mode.
414
430
415
431
.. note:: On Windows host, if `name` of the DFU Interface doesn't work, use `alt` number instead.
416
432
417
-
.. ifconfig:: CONFIG_part_family in ('AM64X_family', 'J7_family', 'AM62X_family', 'AM62AX_family', 'AM62PX_family')
433
+
.. ifconfig:: CONFIG_part_family in ('AM62LX_family')
434
+
435
+
.. rubric:: On Linux host
436
+
437
+
.. code-block:: text
438
+
439
+
host$ sudo dfu-util -R -a bootloader -D tiboot3.bin
0 commit comments