Skip to content

Commit 99963c2

Browse files
feat(U-Boot): J722S: Update config fragments for DFU and MSC boot
To enable USB DFU boot on J722S SoC, the bootloader "tiboot3.bin" has to be built by applying the config fragment "am62x_r5_usbdfu.config" on "j722s_evm_r5_defconfig". To enable USB MSC boot on J722S SoC, the bootloader "tiboot3.bin" has to be built by applying the config fragment "am62x_r5_usbmsc.config" on "j722s_evm_r5_defconfig". Document this. While at it, update the format in the existing table that documents the configs to be used for various boot-modes, by switching to the newer notation for representing files. Signed-off-by: Siddharth Vadapalli <[email protected]>
1 parent 84487b5 commit 99963c2

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

source/linux/Foundational_Components/U-Boot/UG-DFU.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,11 @@ platform that support USB Peripheral boot mode.
183183

184184
.. ifconfig:: CONFIG_part_variant in ('J722S')
185185

186-
#. Build the bootloader images using default "j722s_evm_r5_defconfig"
187-
and the config fragment j722s_evm_r5_usbdfu.config
188-
and "j722s_evm_a53_defconfig" config files. The configs required for
189-
DFU boot as well as DFU in U-Boot are already enabled. For instructions
190-
to build the bootloader images please refer to :ref:`Build-U-Boot-label`.
186+
#. Build :program:`tiboot3.bin` using :file:`j722s_evm_r5_defconfig` along
187+
with :file:`am62x_r5_usbdfu.config` fragment. Build :program:`tispl.bin`
188+
and :program:`u-boot.img` using :file:`j722s_evm_a53_defconfig`.
189+
For instructions to build the bootloader images please refer to
190+
:ref:`Build-U-Boot-label`.
191191
#. Load the bootloader images tiboot3.bin, tispl.bin and u-boot.img using
192192
the dfu-util from host PC.
193193
#. Once the U-Boot is up, use DFU command from u-boot to flash the

source/linux/Foundational_Components/U-Boot/UG-General-Info.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -393,12 +393,12 @@ Build U-Boot
393393

394394
.. ifconfig:: CONFIG_part_variant in ('J722S')
395395

396-
+----------------------------+---------------------------------+--------------------------------+--------------------------------+------------------------------------+------------------------------------+
397-
| Board | SD/eMMC Boot | UART boot | OSPI boot | USB DFU | USB MSC |
398-
+============================+=================================+================================+================================+====================================+====================================+
399-
| J722S EVM | j722s\_evm\_r5\_defconfig | j722s\_evm\_r5\_defconfig | j722s\_evm\_r5\_defconfig | j722s\_evm\_r5\_usbdfu.config | j722s\_evm\_r5\_usbmsc.config |
400-
| | j722s\_evm\_a53\_defconfig | j722s\_evm\_a53\_defconfig | j722s\_evm\_a53\_defconfig | j722s\_evm\_a53\_defconfig | j722s\_evm\_a53\_defconfig |
401-
+----------------------------+---------------------------------+--------------------------------+--------------------------------+------------------------------------+------------------------------------+
396+
+----------------------------+---------------------------------+--------------------------------+--------------------------------+------------------------------------------------------+-------------------------------------------------------+
397+
| Board | SD/eMMC Boot | UART boot | OSPI boot | USB DFU | USB MSC |
398+
+============================+=================================+================================+================================+======================================================+=======================================================+
399+
| J722S EVM | | ``j722s_evm_r5_defconfig`` | | ``j722s_evm_r5_defconfig`` | | ``j722s_evm_r5_defconfig`` | | ``j722s_evm_r5_defconfig am62x_r5_usbdfu.config`` | | ``j722s_evm_r5_defconfig am62x_r5_usbmsc.config`` |
400+
| | | ``j722s_evm_a53_defconfig`` | | ``j722s_evm_a53_defconfig`` | | ``j722s_evm_a53_defconfig`` | | ``j722s_evm_a53_defconfig`` | | ``j722s_evm_a53_defconfig`` |
401+
+----------------------------+---------------------------------+--------------------------------+--------------------------------+------------------------------------------------------+-------------------------------------------------------+
402402

403403
.. ifconfig:: CONFIG_part_variant in ('J721E','J7200','J721S2','J784S4','J742S2')
404404

@@ -427,8 +427,8 @@ Build U-Boot
427427
$ make ARCH=arm O=<output directory>/r5 j722s_evm_r5_defconfig
428428
429429
To build with config fragments
430-
$ make ARCH=arm O=<output directory>/r5 j722s_evm_r5_defconfig j722s_evm_r5_usbdfu.config
431-
$ make ARCH=arm O=<output directory>/r5 j722s_evm_r5_defconfig j722s_evm_r5_usbmsc.config
430+
$ make ARCH=arm O=<output directory>/r5 j722s_evm_r5_defconfig am62x_r5_usbdfu.config
431+
$ make ARCH=arm O=<output directory>/r5 j722s_evm_r5_defconfig am62x_r5_usbmsc.config
432432
433433
$ make ARCH=arm O=<output directory>/r5 CROSS_COMPILE="$CROSS_COMPILE_32" BINMAN_INDIRS=${PREBUILT_IMAGES}
434434

0 commit comments

Comments
 (0)