Skip to content

Commit 70dbe30

Browse files
chintanv133StaticRocket
authored andcommitted
feat(u-boot): Add documentation of Ethernet boot for AM62px SoC
Ethernet boot support has been added to AM62px SoC, add documentation for the same. Signed-off-by: Chintan Vankar <[email protected]>
1 parent 7b38bca commit 70dbe30

File tree

4 files changed

+23
-8
lines changed

4 files changed

+23
-8
lines changed

configs/AM62PX/AM62PX_linux_config.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Replacement Variables
3131
'__FEATURINGMATRIX__' : \
3232
'__SYSFW_CORE_NAME__' : 'TIFS'
3333
'__IMAGE_TYPE__' : 'default'
34+
'__SPL_VCI_STRING_LEN__' : '20'
35+
'__SPL_VCI_STRING__' : 'AM62PX U-Boot R5 SPL'
36+
'__UBOOT_VCI_STRING_LEN__' : '21'
37+
'__UBOOT_VCI_STRING__' : 'AM62PX U-Boot A53 SPL'
3438

3539
Configuration Values
3640
--------------------

configs/AM62PX/AM62PX_linux_toc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ linux/Foundational_Components/U-Boot/UG-SPI
3434
linux/Foundational_Components/U-Boot/UG-QSPI
3535
linux/Foundational_Components/U-Boot/UG-UART
3636
linux/Foundational_Components/U-Boot/UG-DDRSS
37-
#linux/Foundational_Components/U-Boot/UG-Network-K3
37+
linux/Foundational_Components/U-Boot/UG-Network-K3
3838
linux/Foundational_Components/U-Boot/UG-Splash-Screen
3939
linux/Foundational_Components/U-Boot/UG-RemoteProc
4040
linux/Foundational_Components/U-Boot/UG-Falcon-Mode

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -601,12 +601,12 @@ Build U-Boot
601601
602602
.. ifconfig:: CONFIG_part_variant in ('AM62PX')
603603

604-
+-------------+----------------------------------+----------------------------------------------------------+--------------------------------------------------------+
605-
| Board | SD Boot | USB DFU | USB MSC |
606-
+=============+==================================+==========================================================+========================================================+
607-
| AM62PX SK | | ``am62px_evm_r5_defconfig`` | | ``am62px_evm_r5_defconfig am62x_r5_usbdfu.config`` | | ``am62px_evm_r5_defconfig am62x_r5_usbmsc.config`` |
608-
| | | ``am62px_evm_a53_defconfig`` | | ``am62px_evm_a53_defconfig`` | | ``am62px_evm_a53_defconfig`` |
609-
+-------------+----------------------------------+----------------------------------------------------------+--------------------------------------------------------+
604+
+-------------+----------------------------------+----------------------------------------------------------+--------------------------------------------------------+-----------------------------------------+
605+
| Board | SD Boot | USB DFU | USB MSC | Ethernet Boot |
606+
+=============+==================================+==========================================================+========================================================+=========================================+
607+
| AM62PX SK | | ``am62px_evm_r5_defconfig`` | | ``am62px_evm_r5_defconfig am62x_r5_usbdfu.config`` | | ``am62px_evm_r5_defconfig am62x_r5_usbmsc.config`` | | ``am62px_evm_r5_ethboot_defconfig`` |
608+
| | | ``am62px_evm_a53_defconfig`` | | ``am62px_evm_a53_defconfig`` | | ``am62px_evm_a53_defconfig`` | | ``am62px_evm_a53_ethboot_defconfig`` |
609+
+-------------+----------------------------------+----------------------------------------------------------+--------------------------------------------------------+-----------------------------------------+
610610

611611
.. note::
612612

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,18 @@ binaries files to be sent over TFTP are listed in the table below.
5151
- 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.
5252
- Disable link info Bootmode pin so that ROM can identify the PHY and establishes link with the supported speed and duplex mode.
5353

54-
.. ifconfig:: CONFIG_part_variant in ('AM64X','AM62X','J722S')
54+
.. ifconfig:: CONFIG_part_variant in ('AM62PX')
55+
56+
Build tiboot3.bin using ``am62px_evm_r5_ethboot_defconfig``. Build tispl.bin and u-boot.img using ``am62px_evm_a53_ethboot_defconfig``.
57+
58+
.. important::
59+
60+
- Ethernet RGMII boot is supported over RGMII on AM62px SoC.
61+
- CPSW PHYs should be strapped as per ROM's expectation described in part's TRM.
62+
- 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.
63+
- Disable link info Bootmode pin so that ROM can identify the PHY and establishes link with the supported speed and duplex mode.
64+
65+
.. ifconfig:: CONFIG_part_variant in ('AM64X','AM62X','J722S','AM62PX')
5566

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

0 commit comments

Comments
 (0)