Skip to content

Commit 68a24da

Browse files
committed
docs(u-boot) Add documentation of Ethernet boot for J722s SoC
Ethernet boot support has been added to J722s SoC, add documentation for the same. Signed-off-by: Chintan Vankar <c-vankar@ti.com>
1 parent c9e11c1 commit 68a24da

4 files changed

Lines changed: 23 additions & 7 deletions

File tree

configs/J722S/J722S_linux_config.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ Replacement Variables
3232
'__FEATURINGMATRIX__' : \
3333
'__SYSFW_CORE_NAME__' : 'TIFS'
3434
'__IMAGE_TYPE__' : 'adas'
35+
'__SPL_VCI_STRING_LEN__' : '19'
36+
'__SPL_VCI_STRING__' : 'J722S U-Boot R5 SPL'
37+
'__UBOOT_VCI_STRING_LEN__' : '20'
38+
'__UBOOT_VCI_STRING__' : 'J722S U-Boot A53 SPL'
3539

3640
Configuration Values
3741
--------------------

configs/J722S/J722S_linux_toc.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ linux/Foundational_Components/U-Boot/UG-NOR
3131
linux/Foundational_Components/U-Boot/UG-UART
3232
linux/Foundational_Components/U-Boot/UG-SATA
3333
linux/Foundational_Components/U-Boot/UG-DDRSS-J7
34+
linux/Foundational_Components/U-Boot/UG-Network-K3
3435
linux/Foundational_Components/U-Boot/UG-HyperBus
3536
linux/Foundational_Components/U-Boot/UG-RemoteProc
3637
linux/Foundational_Components/U-Boot/Applications

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

Lines changed: 6 additions & 6 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_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-
+----------------------------+---------------------------------+--------------------------------+--------------------------------+------------------------------------------------------+-------------------------------------------------------+
396+
+----------------------------+---------------------------------+--------------------------------+--------------------------------+------------------------------------------------------+-------------------------------------------------------+------------------------------------------+
397+
| Board | SD/eMMC Boot | UART boot | OSPI boot | USB DFU | USB MSC | Ethernet boot |
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`` | j722s\_evm\_r5\_ethboot\_defconfig |
400+
| | | ``j722s_evm_a53_defconfig`` | | ``j722s_evm_a53_defconfig`` | | ``j722s_evm_a53_defconfig`` | | ``j722s_evm_a53_defconfig`` | | ``j722s_evm_a53_defconfig`` | j722s\_evm\_a53\_ethboot\_defconfig |
401+
+----------------------------+---------------------------------+--------------------------------+--------------------------------+------------------------------------------------------+-------------------------------------------------------+------------------------------------------+
402402

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

source/linux/Foundational_Components/U-Boot/UG-Network-K3.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,18 @@ binaries files to be sent over TFTP are listed in the table below.
5050
- Disable link info Bootmode pin so that ROM can identify the PHY and establishes link with the supported speed and duplex mode.
5151
- Please note that due to MDIO corruption (Errata i2329), booting over Ethernet is not recommended for production purposes.
5252

53-
.. ifconfig:: CONFIG_part_variant in ('AM64X','AM62X')
53+
.. ifconfig:: CONFIG_part_variant in ('J722S')
54+
55+
Build tiboot3.bin using ``j722s_evm_r5_ethboot_defconfig``. Build tispl.bin and u-boot.img using ``j722s_evm_a53_ethboot_defconfig``. For instructions to build the bootloader images please refer to :ref:`Build-U-Boot-label`.
56+
57+
.. important::
58+
59+
- Ethernet RGMII boot is supported over RGMII on J722s SoC.
60+
- CPSW PHYs should be strapped as per ROM's expectation described in part's TRM.
61+
- When the link info Bootmode pin is enabled, this means no auto-negotiation or reading of the Ethernet PHY is needed since the ROM will assume the link is up at 1Gbps, full duplex mode.
62+
- Disable link info Bootmode pin so that ROM can identify the PHY and establishes link with the supported speed and duplex mode.
63+
64+
.. ifconfig:: CONFIG_part_variant in ('AM64X','AM62X','J722S')
5465

5566
If using ISC dhcpd an example host entry would look like this:
5667

0 commit comments

Comments
 (0)