arm: mach-k3: introduce basic support for the AM62L
Subsystems (2)
v4 cover arm: mach-k3: introduce basic support for the AM62L
Hello Everyone,
This series adds the initial support TI's AM62L SoC family along with the AM62L-EVM reference board.
The AM62L is a lite, low power and performance optimized family of application processors that are built for Linux application development. AM62L is well suited for a wide range of general-purpose applications with scalable ARM Cortex-A53 core performance and embedded features such
as: Multimedia DSI/DPI support, integrated ADC on chip, advanced lower power management modes, and extensive security options for IP protection with the built-in security features.
Additionally, the AM62Lx devices includes an extensive set of peripherals that make it a well-suited for a broad range of industrial applications while offering intelligent features and optimized power architecture as well. In addition, the extensive set of peripherals included in AM62Lx enables system-level connectivity, such as: USB, MMC/SD, OSPI, CAN-FD and an ADC.
AM62L is a general purpose processor, however some of the applications well suited for it include: Human Machine Interfaces (HMI), Medical patient monitoring , Building automation, Smart secure gateways, Smart Thermostats, EV charging stations, Smart Metering, Solar energy and more.
Some highlights of AM62L SoC are:
- Single to Dual 64-bit Arm® Cortex®-A53 microprocessor subsystem up to 1.25GHz Integrated Giga-bit Ethernet switch supporting up to a total of two external
- 16-bit DDR Subsystem that supports LPDDR4, DDR4 memory types.
- Display support: 1x display support over MIPI DSI (4 lanes DPHY) or DPI (24-bit RGB LVCMOS)
- Multiple low power modes support, ex: Deep sleep and Standby
- Support for secure boot, Trusted Execution Environment (TEE) & Cryptographic Acceleration
For more information check out our Technical Reference Manual (TRM) which is located here:
https://www.ti.com/lit/ug/sprujb4/sprujb4.pdf
Happy Hacking
~Bryan
---
Changes in v4:
- s/necissary/necessary/ in tcl script update
- Dropped CONFIG_SYS_BOOTM_LEN in defconfig
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Added TI Copyright
- Used CROSS_COMPILE=$CC64 to align with other board docs
- Extended documentation and testing for ti-secure-rom etype
- Kept warning about which versions of OpenOCD have the tcl scripts
- Corrected TFA reserved memory size
- Removed 'emulated' from the board configuration file
- Capitalized 'Include' in commit message
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Coalesced boot parameter table Kconfig address
- Removed signed u-boot fit image to align with older K3 devices
- Removed &smci{} bootph override in the u-boot.dtsi overlay
- Link to v1: https://lore.kernel.org/r/[email protected]
Cc: Peng Fan <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Anshul Dalal <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Alper Nebi Yasak <[email protected]>
Cc: Bryan Brattlof <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Aristo Chen <[email protected]>
Cc: Udit Kumar <[email protected]>
Cc: Andrew Davis <[email protected]>
Cc: Daniel Golle <[email protected]>
Cc: Johan Jonker <[email protected]>
Cc: Vignesh Raghavendra <[email protected]>
Cc: Paresh Bhagat <[email protected]>
Cc: Swamil Jain <[email protected]>
Cc: Neha Malcom Francis <[email protected]>
Cc: Shiva Tripathi <[email protected]>
Cc: Apurva Nandan <[email protected]>
Cc: Chintan Vankar <[email protected]>
Cc: Francesco Dolcini <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Siddharth Vadapalli <[email protected]>
Cc: Hrushikesh Salunke <[email protected]>
Cc: Manorit Chawdhry <[email protected]>
To: [email protected]
---
Anshul Dalal (1):
firmware: scmi: switch to dev_ofnode during bind
Bryan Brattlof (9):
tools: binman: extend ti_secure_rom to handle op-tee
soc: add data to identify the am62lx
boot/Kconfig: disable fit post processing for AM62L
arm: mach-k3: Add initial am62lx SoC support
board: ti: am62lx: add initial board files
configs: am62lx_evm: add initial defconfig
doc: ti: k3: fix pygments warning parsing device-tree
doc: board: ti: correct path to tcl scripts
doc: board: ti: am62lx_evm: add initial docs for the AM62L-EVM
Vignesh Raghavendra (1):
arm: dts: k3-am62lx: Add binman support
arch/arm/dts/k3-am62l3-evm-binman.dtsi | 218 +++++++++ arch/arm/dts/k3-am62l3-evm-u-boot.dtsi | 12 + arch/arm/mach-k3/Kconfig | 38 +- arch/arm/mach-k3/Makefile | 2 + arch/arm/mach-k3/am62lx/Kconfig | 23 + arch/arm/mach-k3/am62lx/Makefile | 7 + arch/arm/mach-k3/am62lx/am62l3_fdt.c | 12 + arch/arm/mach-k3/am62lx/am62l3_init.c | 58 +++ arch/arm/mach-k3/am62lx/boot.c | 83 ++++ arch/arm/mach-k3/am62lx/schema.yaml | 427 +++++++++++++++++ arch/arm/mach-k3/include/mach/am62l_hardware.h | 48 ++ arch/arm/mach-k3/include/mach/am62l_spl.h | 41 ++ arch/arm/mach-k3/include/mach/hardware.h | 6 + arch/arm/mach-k3/include/mach/spl.h | 4 + board/ti/am62lx/Kconfig | 19 + board/ti/am62lx/MAINTAINERS | 8 + board/ti/am62lx/Makefile | 7 + board/ti/am62lx/am62lx.env | 8 + board/ti/am62lx/board-cfg.yaml | 32 ++ board/ti/am62lx/evm.c | 19 + board/ti/am62lx/sec-cfg.yaml | 380 +++++++++++++++ boot/Kconfig | 2 +- configs/am62lx_evm_defconfig | 138 ++++++ doc/board/ti/am6254atl_sk.rst | 2 +- doc/board/ti/am62ax_sk.rst | 2 +- doc/board/ti/am62dx_evm.rst | 11 +- doc/board/ti/am62lx_evm.rst | 222 +++++++++ doc/board/ti/am62px_sk.rst | 12 +- doc/board/ti/am62x_sk.rst | 2 +- doc/board/ti/am64x_evm.rst | 24 + doc/board/ti/am65x_evm.rst | 2 +- doc/board/ti/img/am62lx_boot_diagram_phase1.svg | 450 ++++++++++++++++++ doc/board/ti/img/am62lx_boot_diagram_phase2.svg | 525 +++++++++++++++++++++ doc/board/ti/img/am62lx_tiboot3.bin.svg | 170 +++++++ doc/board/ti/img/am62lx_tispl.bin.svg | 222 +++++++++ doc/board/ti/img/am62lx_u-boot.img.svg | 143 ++++++ doc/board/ti/j7200_evm.rst | 2 +- doc/board/ti/j721e_evm.rst | 2 +- doc/board/ti/j722s_evm.rst | 2 +- doc/board/ti/j784s4_evm.rst | 2 +- doc/board/ti/k3.rst | 39 +- drivers/firmware/scmi/scmi_agent-uclass.c | 2 +- drivers/soc/soc_ti_k3.c | 11 + include/configs/am62l3_evm.h | 14 + tools/binman/btool/openssl.py | 11 +- tools/binman/etype/ti_secure_rom.py | 34 +- tools/binman/etype/x509_cert.py | 4 + .../binman/test/vendor/ti_secure_rom_combined.dts | 1 + 48 files changed, 3455 insertions(+), 48 deletions(-)
---
base-commit: baa64b2f892890f00a377eac4a3e685472bb56b5
change-id: 20241025-am62lx-78cce63f43f6
Best regards,
Signature · 1 line
Bryan Brattlof <[email protected]>
PATCH v4 1/11 firmware: scmi: switch to dev_ofnode during bind
From: Anshul Dalal <[email protected]>
When using ofnode_null() the node offset passed to the FDT API will be -1 which is invalid and breaks probe. Switch to dev_ofnode()
--- drivers/firmware/scmi/scmi_agent-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/firmware/scmi/scmi_agent-uclass.c +1 -1
@@ -437,7 +437,7 @@ static int scmi_bind_protocols(struct udevice *dev)/* initialize the device from device tree */ drv =DM_DRIVER_GET (scmi_base_drv); name ="scmi-base.0" ; - ret =device_bind (dev, drv, name,NULL ,ofnode_null (), &proto); + ret =device_bind (dev, drv, name,NULL ,dev_ofnode (dev), &proto);if (ret) {dev_err (dev,"failed to bind base protocol\n" );return ret;
Signature · 1 line
2.54.0
Re: [PATCH v4 01/11] firmware: scmi: switch to dev_ofnode during bind
Hi Anshul,
Quoted 5 lines · Bryan Brattlof
firmware: scmi: switch to
dev_ofnodeduring bindWhen using
ofnode_null()the node offset passed to the FDT API will be -1 which is invalid and breaks probe. Switch todev_ofnode()
Please flesh this out a bit. Which transport is this seen on, which FDT API call trips, and what does the failure look like (return code / dev_err message)? A Fixes: tag pointing at 7eb4eb541c1 ('firmware:
scmi: install base protocol to SCMI agent') would also help - that is where the ofnode_null() was introduced.
Quoted 13 lines
When using
ofnode_null()the node offset passed to the FDT API will be -1 which is invalid and breaks probe. Switch todev_ofnode()Tested-by Anshul Dalal <[email protected]>Signed-off-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>
drivers/firmware/scmi/scmi_agent-uclass.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
drivers/firmware/scmi/scmi_agent-uclass.c static int scmi_bind_protocols(struct udevice *dev) · line 440
Quoted 5 lines
drivers/firmware/scmi/scmi_agent-uclass.c +1
-1@@ -437,7 +437,7 @@ static int scmi_bind_protocols(struct udevice *dev)/* initialize the device from device tree */ drv =DM_DRIVER_GET (scmi_base_drv); name ="scmi-base.0" ; - ret =device_bind (dev, drv, name,NULL ,ofnode_null (), &proto); + ret =device_bind (dev, drv, name,NULL ,dev_ofnode (dev), &proto);
I'm worried about the side effect here. Previously the base protocol device had no ofnode, so in the transports (mailbox_agent.c, optee_agent.c, smccc_agent.c, sandbox-scmi_agent.c) the '!dev_has_ofnode(protocol)' or dev_read_u32(protocol, ...) check would fail and the code would correctly fall back to the agent's base channel. With dev_ofnode(dev), the base protocol now shares the parent SCMI node, and any transport-specific properties on the SCMI node itself (e.g. 'arm,smc-id', 'linaro,optee-channel-id', 'shmem') would be picked up on the base protocol device and cause it to try to set up a dedicated channel rather than reuse the agent's. Have you tested this against SMCCC or OP-TEE transports? It might be safer to keep the base device ofnode-less and teach the failing call site to tolerate ofnode_null(), or use a specific getter that does the right thing.
Regards,
Simon
PATCH v4 2/11 tools: binman: extend ti_secure_rom to handle op-tee
In reply to Bryan BrattlofAdd an optional 'tee' entry to the x509 certificate template to include optee during the second (tispl) boot phase for the AM62L.
---
Changes in v3:
- Extended documentation and testing for ti-secure-rom etype
- Link to v2: https://lore.kernel.org/r/[email protected]
--- tools/binman/btool/openssl.py | 11 ++++--- tools/binman/etype/ti_secure_rom.py | 34 +++++++++++++++++++++- tools/binman/etype/x509_cert.py | 4 +++ .../binman/test/vendor/ti_secure_rom_combined.dts | 1 + 4 files changed, 45 insertions(+), 5 deletions(-)
tools/binman/btool/openssl.py +7 -4
@@ -239,10 +239,10 @@ emailAddress = {req_dist_name_dict['emailAddress']} def x509_cert_rom_combined(self, cert_fname, input_fname, key_fname, sw_rev, config_fname, req_dist_name_dict, load_addr, sha, total_size, num_comps, sysfw_inner_cert_ext_boot_sequence_string, dm_data_ext_boot_sequence_string, - imagesize_sbl, hashval_sbl, load_addr_sysfw, imagesize_sysfw, - hashval_sysfw, load_addr_sysfw_data, imagesize_sysfw_data, - hashval_sysfw_data, sysfw_inner_cert_ext_boot_block, - dm_data_ext_boot_block, bootcore_opts, debug): + tee_ext_boot_sequence_string, imagesize_sbl, hashval_sbl, load_addr_sysfw, + imagesize_sysfw, hashval_sysfw, load_addr_sysfw_data, imagesize_sysfw_data, + hashval_sysfw_data, sysfw_inner_cert_ext_boot_block, dm_data_ext_boot_block, + tee_ext_boot_block, bootcore_opts, debug): """Create a certificate Args:
@@ -299,6 +299,7 @@ sbl=SEQUENCE:sbl sysfw=SEQUENCE:sysfw sysfw_data=SEQUENCE:sysfw_data {sysfw_inner_cert_ext_boot_sequence_string} +{tee_ext_boot_sequence_string} {dm_data_ext_boot_sequence_string} [sbl]
@@ -340,6 +341,8 @@ coreDbgSecEn = INTEGER:0 {sysfw_inner_cert_ext_boot_block} +{tee_ext_boot_block} + {dm_data_ext_boot_block} ''', file=outf) args = ['req', '-new', '-x509', '-key', key_fname, '-nodes',
tools/binman/etype/ti_secure_rom.py +33 -1
@@ -42,10 +42,12 @@ class Entry_ti_secure_rom(Entry_x509_cert): - content-sysfw-data: phandle of sysfw-data or tifs-data binary - content-sysfw-inner-cert (optional): phandle of sysfw inner certificate binary - content-dm-data (optional): phandle of dm-data binary + - content-tee (optional): phandle of the tee binary - load-sysfw: load address of sysfw binary - load-sysfw-data: load address of sysfw-data or tifs-data binary - load-sysfw-inner-cert (optional): load address of sysfw inner certificate binary - load-dm-data (optional): load address of dm-data binary + - load-tee (optional): load address of the tee binary Output files: - input.<unique_name> - input file passed to openssl
@@ -80,6 +82,11 @@ class Entry_ti_secure_rom(Entry_x509_cert): self.dm_data = fdt_util.GetBool(self._node, 'dm-data', False) if self.dm_data: self.load_addr_dm_data = fdt_util.GetInt(self._node, 'load-dm-data', 0x00000000) + + self.tee = fdt_util.GetBool(self._node, 'content-tee', False) + if self.tee: + self.load_addr_tee = fdt_util.GetInt(self._node, 'load-tee', 0x00000000) + self.req_dist_name = {'C': 'US', 'ST': 'TX', 'L': 'Dallas',
@@ -219,7 +226,32 @@ compSize = INTEGER:{imagesize_dm_data} shaType = OID:{self.sha_type} shaValue = FORMAT:HEX,OCT:{hashval_dm_data}""" - self.total_size = self.imagesize_sbl + self.imagesize_sysfw + self.imagesize_sysfw_data + imagesize_sysfw_inner_cert + imagesize_dm_data + # tee + self.tee_ext_boot_sequence_string = "" + self.tee_ext_boot_block = "" + imagesize_tee = 0 + if self.tee: + self.content = fdt_util.GetPhandleList(self._node, 'content-tee') + input_data_tee = self.GetContents(required) + + input_fname_tee = tools.get_output_filename('input.%s' % uniq) + tools.write_file(input_fname_tee, input_data_tee) + + indata_tee = tools.read_file(input_fname_tee) + hashval_tee = hashlib.sha512(indata_tee).hexdigest() + imagesize_tee = len(indata_tee) + self.num_comps += 1 + self.tee_ext_boot_sequence_string = "tee=SEQUENCE:tee" + self.tee_ext_boot_block = f"""[tee] +compType = INTEGER:17 +bootCore = INTEGER:16 +compOpts = INTEGER:0 +destAddr = FORMAT:HEX,OCT:{self.load_addr_tee:08x} +compSize = INTEGER:{imagesize_tee} +shaType = OID:{self.sha_type} +shaValue = FORMAT:HEX,OCT:{hashval_tee}""" + + self.total_size = self.imagesize_sbl + self.imagesize_sysfw + self.imagesize_sysfw_data + imagesize_sysfw_inner_cert + imagesize_dm_data + imagesize_tee return super().GetCertificate(required=required, type='rom-combined') def GetCertificate(self, required):
tools/binman/etype/x509_cert.py +4 -0
@@ -41,6 +41,7 @@ class Entry_x509_cert(Entry_collection): self.num_comps = None self.sysfw_inner_cert_ext_boot_sequence_string = None self.dm_data_ext_boot_sequence_string = None + self.tee_ext_boot_sequence_string = None self.imagesize_sbl = None self.hashval_sbl = None self.load_addr_sysfw = None
@@ -51,6 +52,7 @@ class Entry_x509_cert(Entry_collection): self.hashval_sysfw_data = None self.sysfw_inner_cert_ext_boot_block = None self.dm_data_ext_boot_block = None + self.tee_ext_boot_block = None self.firewall_cert_data = None self.debug = False
@@ -132,6 +134,7 @@ class Entry_x509_cert(Entry_collection): num_comps=self.num_comps, sysfw_inner_cert_ext_boot_sequence_string=self.sysfw_inner_cert_ext_boot_sequence_string, dm_data_ext_boot_sequence_string=self.dm_data_ext_boot_sequence_string, + tee_ext_boot_sequence_string=self.tee_ext_boot_sequence_string, imagesize_sbl=self.imagesize_sbl, hashval_sbl=self.hashval_sbl, load_addr_sysfw=self.load_addr_sysfw,
@@ -142,6 +145,7 @@ class Entry_x509_cert(Entry_collection): hashval_sysfw_data=self.hashval_sysfw_data, sysfw_inner_cert_ext_boot_block=self.sysfw_inner_cert_ext_boot_block, dm_data_ext_boot_block=self.dm_data_ext_boot_block, + tee_ext_boot_block=self.tee_ext_boot_block, bootcore_opts=self.bootcore_opts, debug=self.debug )
tools/binman/test/vendor/ti_secure_rom_combined.dts +1 -0
@@ -14,6 +14,7 @@ content-sysfw-data = <&unsecure_binary>; content-sysfw-inner-cert = <&unsecure_binary>; content-dm-data = <&unsecure_binary>; + content-tee = <&unsecure_binary>; combined; sysfw-inner-cert; dm-data;
Signature · 1 line
2.54.0
Re: [PATCH v4 02/11] tools: binman: extend ti_secure_rom to handle op-tee
Hi Bryan,
Quoted 5 lines · Bryan Brattlof
tools: binman: extend
ti_secure_romto handle op-teeAdd an optional 'tee' entry to the x509 certificate template to include optee during the second (tispl) boot phase for the AM62L.
The commit message is terse for a change that adds a new component slot to the ROM cert format. Please expand it to explain why the existing dm-data slot cannot be reused, which SoCs need this, and the meaning of the compType/bootCore values chosen.
Quoted 15 lines
Add an optional 'tee' entry to the x509 certificate template to include optee during the second (tispl) boot phase for the AM62L.
Tested-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>
tools/binman/btool/openssl.py| 11 ++++---tools/binman/etype/ti_secure_rom.py | 34 +++++++++++++++++++++- tools/binman/etype/x509_cert.py | 4 +++ .../binman/test/vendor/ti_secure_rom_combined.dts | 1 + 4 files changed, 45 insertions(+), 5 deletions(-)
tools/binman/etype/ti_secure_rom.py class Entry_ti_secure_rom(Entry_x509_cert): · line 89
Quoted 8 lines
tools/binman/etype/ti_secure_rom.py +5
-0@@ -80,6 +82,11 @@ class Entry_ti_secure_rom(Entry_x509_cert): self.dm_data = fdt_util.GetBool(self._node, 'dm-data', False) if self.dm_data: self.load_addr_dm_data = fdt_util.GetInt(self._node, 'load-dm-data', 0x00000000) + + self.tee = fdt_util.GetBool(self._node, 'content-tee', False) + if self.tee: + self.load_addr_tee = fdt_util.GetInt(self._node, 'load-tee', 0x00000000) +
This block sits outside the 'if self.combined:' guard even though tee is only consumed by CombinedGetCertificate() - please move it inside for consistency with sysfw_inner_cert and dm_data.
Second, the enable-trigger is inconsistent: sysfw-inner-cert and dm-data each have a dedicated boolean property in the DT (see the test dts), whereas here you overload the presence of 'content-tee' via GetBool(). Please add a matching 'tee;' boolean so the DT schema follows the same pattern, and drop the 'content-tee' bool test.
tools/binman/etype/ti_secure_rom.py compSize = INTEGER:{imagesize_dm_data} · line 233
Quoted 10 lines
tools/binman/etype/ti_secure_rom.py +8
-0@@ -219,7 +226,32 @@ compSize = INTEGER:{imagesize_dm_data} + self.tee_ext_boot_block = f"""[tee] +compType = INTEGER:17 +bootCore = INTEGER:16 +compOpts = INTEGER:0 +destAddr = FORMAT:HEX,OCT:{self.load_addr_tee:08x} +compSize = INTEGER:{imagesize_tee} +shaType = OID:{self.sha_type} +shaValue = FORMAT:HEX,OCT:{hashval_tee}"""
Just to check - compType 17 and bootCore 16 are the same values used for dm-data - is that really correct for OP-TEE, which typically runs on the secure A53 rather than a DM core? A brief note in the commit message (or a pointer to the TI ROM spec) would help future readers.
tools/binman/test/vendor/ti_secure_rom_combined.dts line 20
Quoted 9 lines
tools/binman/test/vendor/ti_secure_rom_combined.dts +1
-0@@ -14,6 +14,7 @@ content-sysfw-data = <&unsecure_binary>; content-sysfw-inner-cert = <&unsecure_binary>; content-dm-data = <&unsecure_binary>; + content-tee = <&unsecure_binary>; combined; sysfw-inner-cert; dm-data;
If you add a dedicated 'tee;' boolean per the comment above, please also add it here so the new branch is exercised by testPackTiSecureROMCombined. Worth adding an explicit 'load-tee' property too, to cover the non-default load-address path.
Regards,
Simon
PATCH v4 3/11 soc: add data to identify the am62lx
In reply to Bryan BrattlofInclude the part number for TI's am62lx family of SoCs so we can properly identify it during boot.
---
Changes in v3:
- Capitalized 'Include' in commit message
- Link to v2: https://lore.kernel.org/r/[email protected]
--- arch/arm/mach-k3/include/mach/hardware.h | 2 ++ drivers/soc/soc_ti_k3.c | 11 +++++++++++ 2 files changed, 13 insertions(+)
arch/arm/mach-k3/include/mach/hardware.h +2 -0
@@ -56,6 +56,7 @@#define JTAG_ID_PARTNO_SHIFT 12#define JTAG_ID_PARTNO_MASK (0xffff << 12)#define JTAG_ID_PARTNO_AM62AX 0xbb8d +#define JTAG_ID_PARTNO_AM62LX 0xbba7#define JTAG_ID_PARTNO_AM62PX 0xbb9d#define JTAG_ID_PARTNO_AM62X 0xbb7e#define JTAG_ID_PARTNO_AM64X 0xbb38
@@ -81,6 +82,7 @@ static inline bool soc_is_##id(void) \ } K3_SOC_ID(am62x, AM62X) K3_SOC_ID(am62ax, AM62AX) +K3_SOC_ID(am62lx, AM62LX) K3_SOC_ID(am62px, AM62PX) K3_SOC_ID(am64x, AM64X)K3_SOC_ID (am65x,AM65X )
drivers/soc/soc_ti_k3.c +11 -0
@@ -36,6 +36,9 @@ static const char *get_family_string(u32 idreg)case JTAG_ID_PARTNO_AM62PX : family ="AM62PX" ;break ; +case JTAG_ID_PARTNO_AM62LX : + family ="AM62LX" ; +break ;case JTAG_ID_PARTNO_AM64X : family ="AM64X" ;break ;
@@ -72,6 +75,10 @@ static const char *get_family_string(u32 idreg)return family; } +static char *am62lx_rev_string_map[] = { +"1.0" ,"1.1" , +}; +static char *j721e_rev_string_map[] = {"1.0" ,"1.1" ,"2.0" , };
@@ -89,6 +96,10 @@ static const char *get_rev_string(u32 idreg) soc = (idreg &JTAG_ID_PARTNO_MASK ) >>JTAG_ID_PARTNO_SHIFT ;switch (soc) { +case JTAG_ID_PARTNO_AM62LX : +if (rev >=ARRAY_SIZE (am62lx_rev_string_map)) + goto bail; +return am62lx_rev_string_map[rev];case JTAG_ID_PARTNO_J721E :if (rev >=ARRAY_SIZE (j721e_rev_string_map)) goto bail;
Signature · 1 line
2.54.0
Re: [PATCH v4 03/11] soc: add data to identify the am62lx
Quoted 5 lines · Bryan Brattlof
soc: add data to identify the am62lx
Include the part number for TI's am62lx family of SoCs so we can properly identify it during boot.
Quoted 8 lines
Tested-by Anshul Dalal <[email protected]>Acked-by Andrew Davis <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>
arch/arm/mach-k3/include/mach/hardware.h| 2 ++drivers/soc/soc_ti_k3.c | 11 +++++++++++ 2 files changed, 13 insertions(+)
PATCH v4 4/11 boot/Kconfig: disable fit post processing for AM62L
In reply to Bryan BrattlofThe AM62L family of SoCs utilize a 2 stage ROM boot which uses x509 certificates for booting securely. There is no need for processing of a fitImage. Disable it for the AM62L SoC family.
--- boot/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
boot/Kconfig +1 -1
@@ -335,7 +335,7 @@ config SPL_LOAD_FIT_FULL config SPL_FIT_IMAGE_POST_PROCESS bool "Enable post-processing of FIT artifacts after loading by the SPL" depends on SPL_LOAD_FIT - default y if TI_SECURE_DEVICE + default y if (TI_SECURE_DEVICE && !SOC_K3_AM62L3) help Allows doing any sort of manipulation to blobs after they got extracted from the U-Boot FIT image like stripping off headers or modifying the
Signature · 1 line
2.54.0
Re: [PATCH v4 04/11] boot/Kconfig: disable fit post processing for AM62L
Hi Bryan,
Quoted 5 lines · Bryan Brattlof
boot/Kconfig: disable fit post processing for AM62L
The AM62L family of SoCs utilize a 2 stage ROM boot which uses x509 certificates for booting securely. There is no need for processing of a fitImage. Disable it for the AM62L SoC family.
Just to check - the AM62L defconfig added later in this series does not enable TI_SECURE_DEVICE, so this change has no effect on the boards being added here. Presumably it is aimed at a future HS variant. Please say that in the commit message so it is clear why the change is needed now.
Quoted 10 lines
Tested-by Anshul Dalal <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>boot/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
boot/Kconfig config SPL_LOAD_FIT_FULL · line 336
Quoted 5 lines
boot/Kconfig +1
-1@@ -333,7 +333,7 @@ config SPL_LOAD_FIT_FULL config SPL_FIT_IMAGE_POST_PROCESS bool "Enable post-processing of FIT artifacts after loading by the SPL" depends on SPL_LOAD_FIT - default y if TI_SECURE_DEVICE + default y if (TI_SECURE_DEVICE && !SOC_K3_AM62L3)
Adding an SoC-specific negation to a generic boot/Kconfig option does not scale - the next K3 SoC with the same boot flow will need another '&& !SOC_K3_xxx' term. I think this would be better decided in the SoC layer, e.g. by adding a 'default n if SOC_K3_AM62L3' override in arch/arm/mach-k3/Kconfig alongside the other K3-specific defaults, or by having the AM62L Kconfig not select whatever pulls TI_SECURE_DEVICE in. That keeps boot/Kconfig free of per-SoC knowledge.
Regards,
Simon
PATCH v4 5/11 arm: mach-k3: Add initial am62lx SoC support
In reply to Bryan BrattlofAdd initial mach-k3 files needed to support boards based on the AM62L family of SoCs
---
Changes in v3:
- Added TI Copyright
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Coalesced boot parameter table Kconfig address
- Link to v1: https://lore.kernel.org/r/[email protected]
--- arch/arm/mach-k3/Kconfig | 17 +- arch/arm/mach-k3/Makefile | 2 + arch/arm/mach-k3/am62lx/Kconfig | 23 ++ arch/arm/mach-k3/am62lx/Makefile | 7 + arch/arm/mach-k3/am62lx/am62l3_fdt.c | 12 + arch/arm/mach-k3/am62lx/am62l3_init.c | 58 ++++ arch/arm/mach-k3/am62lx/boot.c | 83 +++++ arch/arm/mach-k3/am62lx/schema.yaml | 427 +++++++++++++++++++++++++ arch/arm/mach-k3/include/mach/am62l_hardware.h | 48 +++ arch/arm/mach-k3/include/mach/am62l_spl.h | 41 +++ arch/arm/mach-k3/include/mach/hardware.h | 4 + arch/arm/mach-k3/include/mach/spl.h | 4 + include/configs/am62l3_evm.h | 14 + 13 files changed, 736 insertions(+), 4 deletions(-)
arch/arm/mach-k3/Kconfig +13 -4
@@ -10,6 +10,15 @@ config SOC_K3_AM625 config SOC_K3_AM62A7 bool "TI's K3 based AM62A7 SoC Family Support" +config SOC_K3_AM62L3 + bool "TI's K3 based AM62L3 SoC Family Support" + select CLK_SCMI + select SPL_CLK_SCMI + select SCMI_FIRMWARE + select SCMI_POWER_DOMAIN + select SPL_SCMI_POWER_DOMAIN + select SYSRESET_PSCI + config SOC_K3_AM62P5 bool "TI's K3 based AM62P5 SoC Family Support"
@@ -81,11 +90,9 @@ config SYS_K3_BOOT_PARAM_TABLE_INDEX default 0x41cffbfc if SOC_K3_J721E || SOC_K3_J7200 default 0x41cfdbfc if SOC_K3_J721S2 || SOC_K3_J784S4 default 0x701bebfc if SOC_K3_AM642 - default 0x43c3f290 if SOC_K3_AM625 + default 0x43c3f290 if SOC_K3_AM625 || SOC_K3_AM62L3 || SOC_K3_AM62P5 || SOC_K3_J722S default 0x43c3f290 if SOC_K3_AM62A7 && CPU_V7R default 0x7000f290 if SOC_K3_AM62A7 && ARM64 - default 0x43c4f290 if SOC_K3_AM62P5 - default 0x43c7f290 if SOC_K3_J722S help Address at which ROM stores the value which determines if SPL is booted up by primary boot media or secondary boot media.
@@ -124,7 +131,7 @@ config K3_EARLY_CONS_IDX config K3_ATF_LOAD_ADDR hex "Load address of ATF image" - default 0x80000000 if (SOC_K3_AM625 || SOC_K3_AM62A7 || SOC_K3_AM62P5 || SOC_K3_J722S) + default 0x80000000 if (SOC_K3_AM625 || SOC_K3_AM62A7 || SOC_K3_AM62P5 || SOC_K3_J722S || SOC_K3_AM62L3) default 0x70000000 help The load address for the ATF image. This value is used to build the
@@ -133,6 +140,7 @@ config K3_ATF_LOAD_ADDR config K3_ATF_RESERVED_SIZE hex "Reserved memory size for ATF" default 0x80000 if (SOC_K3_AM625 || SOC_K3_AM62A7 || SOC_K3_AM62P5 || SOC_K3_J722S) + default 0x200000 if SOC_K3_AM62L3 default 0x20000 help The runtime memory size reserved for ATF. This value is used to fixup the
@@ -206,6 +214,7 @@ source "arch/arm/mach-k3/am65x/Kconfig" source "arch/arm/mach-k3/am64x/Kconfig" source "arch/arm/mach-k3/am62x/Kconfig" source "arch/arm/mach-k3/am62ax/Kconfig" +source "arch/arm/mach-k3/am62lx/Kconfig" source "arch/arm/mach-k3/am62px/Kconfig" source "arch/arm/mach-k3/j721e/Kconfig" source "arch/arm/mach-k3/j7200/Kconfig"
arch/arm/mach-k3/Makefile +2 -0
@@ -6,9 +6,11 @@ obj-$(CONFIG_ARM64) += arm64/ obj-$(CONFIG_CPU_V7R) += r5/ obj-$(CONFIG_OF_LIBFDT) += common_fdt.o + obj-y += common.o security.o k3-ddr.o obj-$(CONFIG_SOC_K3_AM62A7) += am62ax/ obj-$(CONFIG_SOC_K3_AM62P5) += am62px/ +obj-$(CONFIG_SOC_K3_AM62L3) += am62lx/ obj-$(CONFIG_SOC_K3_AM625) += am62x/ obj-$(CONFIG_SOC_K3_AM642) += am64x/ obj-$(CONFIG_SOC_K3_AM654) += am65x/
arch/arm/mach-k3/am62lx/Kconfig new file +23 -0
@@ -0,0 +1,23 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/ +# + +if SOC_K3_AM62L3 + +choice + prompt "TI K3 AM62Lx based boards" + optional + +config TARGET_AM62L3_EVM + bool "TI K3 based AM62L5 EVM" + select ARM64 + select BINMAN + select OF_UPSTREAM + select OF_SYSTEM_SETUP + +endchoice + +source "board/ti/am62lx/Kconfig" + +endif
arch/arm/mach-k3/am62lx/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/ +# +obj-$(CONFIG_OF_SYSTEM_SETUP) += am62l3_fdt.o +obj-$(CONFIG_SPL_BUILD) += am62l3_init.o +obj-y += boot.o
arch/arm/mach-k3/am62lx/am62l3_fdt.c new file +12 -0
@@ -0,0 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* +* Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/ +*/ + +#include <asm/arch/k3-common-fdt.h> +#include <fdt_support.h> + +int ft_system_setup (void *blob,struct bd_info *bd) +{ +return fdt_fixup_reserved (blob); +}
arch/arm/mach-k3/am62lx/am62l3_init.c new file +58 -0
58 lines not on this page · raw message
arch/arm/mach-k3/am62lx/boot.c new file +83 -0
83 lines not on this page · raw message
arch/arm/mach-k3/am62lx/schema.yaml new file +427 -0
427 lines not on this page · raw message
arch/arm/mach-k3/include/mach/am62l_hardware.h new file +48 -0
48 lines not on this page · raw message
arch/arm/mach-k3/include/mach/am62l_spl.h new file +41 -0
41 lines not on this page · raw message
arch/arm/mach-k3/include/mach/hardware.h +4 -0
@@ -16,6 +16,10 @@#include "am62a_hardware.h" #endif +#ifdef CONFIG_SOC_K3_AM62L3 +#include "am62l_hardware.h" +#endif +#ifdef CONFIG_SOC_K3_AM62P5 #include "am62p_hardware.h" #endif
arch/arm/mach-k3/include/mach/spl.h +4 -0
@@ -46,4 +46,8 @@#include "j722s_spl.h" #endif +#ifdef CONFIG_SOC_K3_AM62L3 +#include "am62l_spl.h" +#endif +#endif /* _ASM_ARCH_SPL_H_ */
include/configs/am62l3_evm.h new file +14 -0
@@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Configuration header file for K3 AM62L SoC family +* +* Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/ +* +*/ + +#ifndef __CONFIG_AM62L3_EVM_H +#define __CONFIG_AM62L3_EVM_H + +#include <configs/ti_armv7_common.h> + +#endif /* __CONFIG_AM62L3_EVM_H */
Signature · 1 line
2.54.0
Re: [PATCH v4 05/11] arm: mach-k3: Add initial am62lx SoC support
Hi Bryan,
Quoted 4 lines · Bryan Brattlof
arm: mach-k3: Add initial am62lx SoC support
Add initial mach-k3 files needed to support boards based on the AM62L family of SoCs
The commit message is very thin for a patch that adds a new SoC family. Please expand it to describe what the AM62L is (ARM64 Cortex-A53), the boot flow being wired up (SCMI/PSCI selects, SPL entry, boot-device decoding, ATF reserved region sizing), and why this SoC gets its own subdirectory rather than reusing am62x. That gives future readers the context to make sense of the sizeable Kconfig re-shuffle in the same patch.
Quoted 22 lines
Tested-by Anshul Dalal <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>
arch/arm/mach-k3/Kconfig| 17 +-arch/arm/mach-k3/Makefile | 2 + arch/arm/mach-k3/am62lx/Kconfig | 23 ++ arch/arm/mach-k3/am62lx/Makefile | 7 + arch/arm/mach-k3/am62lx/am62l3_fdt.c | 12 + arch/arm/mach-k3/am62lx/am62l3_init.c | 58 ++++ arch/arm/mach-k3/am62lx/boot.c | 83 +++++ arch/arm/mach-k3/am62lx/schema.yaml | 427 +++++++++++++++++++++++++ arch/arm/mach-k3/include/mach/am62l_hardware.h | 48 +++ arch/arm/mach-k3/include/mach/am62l_spl.h | 41 +++ arch/arm/mach-k3/include/mach/hardware.h | 4 + arch/arm/mach-k3/include/mach/spl.h | 4 + include/configs/am62l3_evm.h | 14 + 13 files changed, 736 insertions(+), 4 deletions(-)
arch/arm/mach-k3/am62lx/Kconfig line 2
Quoted 2 lines
arch/arm/mach-k3/am62lx/Kconfig +2
-0@@ -0,0 +1,23 @@ +config TARGET_AM62L3_EVM + bool "TI K3 based AM62L5 EVM"
Typo - AM62L5 should be AM62L3 to match the symbol name and the rest of the series.
arch/arm/mach-k3/am62lx/am62l3_init.c line 8
Quoted 10 lines
arch/arm/mach-k3/am62lx/am62l3_init.c +8
-0@@ -0,0 +1,58 @@ +case BOOT_DEVICE_MMC : +if (bootmode_cfg &MAIN_DEVSTAT_PRIMARY_MMC_FS_RAW_MASK ) +return MMCSD_MODE_RAW ; +default : +return MMCSD_MODE_FS ; + } +} +
I would expect the fall-through from BOOT_DEVICE_MMC into default to warn - can you add an explicit fallthrough; ?
Also please drop the trailing blank line at end-of-file.
arch/arm/mach-k3/am62lx/Makefile line 3
Quoted 5 lines
arch/arm/mach-k3/am62lx/Makefile +3
-0@@ -0,0 +1,7 @@ +obj-$(CONFIG_OF_SYSTEM_SETUP) += am62l3_fdt.o +obj-$(CONFIG_SPL_BUILD) += am62l3_init.o +obj-y += boot.o
boot.c only exports get_boot_device(), which is called from spl_boot_device() in am62l3_init.c - i.e. SPL only. Shouldn't this be gated on CONFIG_SPL_BUILD as well, rather than obj-y?
arch/arm/mach-k3/include/mach/am62l_spl.h line 2
Quoted 4 lines
arch/arm/mach-k3/include/mach/am62l_spl.h +2
-0@@ -0,0 +1,41 @@ +#define BOOT_DEVICE_USB 0x0A +#define BOOT_DEVICE_DFU 0x0A
Lower-case hex. But just to check - on am62p and am62a these are distinct values (USB=0x2a, DFU=0x0a). Is the collapse to a single value correct for the AM62L ROM, or a copy-paste from the aliasing block below? If it really is one value on this SoC, please add a short comment saying so, otherwise nothing stops someone adding a 'case BOOT_DEVICE_USB:' later and hitting a duplicate-case-label build error.
arch/arm/mach-k3/include/mach/am62l_spl.h line 30
Quoted 3 lines
arch/arm/mach-k3/include/mach/am62l_spl.h +3
-0+/* Invalid Choices for the AM62Lx */ +#define BOOT_DEVICE_MMC2_2 0x1F +#define BOOT_DEVICE_ETHERNET 0x1F
Same concern for these two - please note explicitly that they exist only to satisfy references in common code and are not real boot modes on AM62L.
arch/arm/mach-k3/Kconfig config SYS_K3_BOOT_PARAM_TABLE_INDEX · line 85
Quoted 8 lines
arch/arm/mach-k3/Kconfig +1
-3@@ -81,11 +90,9 @@ config SYS_K3_BOOT_PARAM_TABLE_INDEX - default 0x43c3f290 if SOC_K3_AM625 + default 0x43c3f290 if SOC_K3_AM625 || SOC_K3_AM62L3 || SOC_K3_AM62P5 || SOC_K3_J722S default 0x43c3f290 if SOC_K3_AM62A7 && CPU_V7R default 0x7000f290 if SOC_K3_AM62A7 && ARM64 - default 0x43c4f290 if SOC_K3_AM62P5 - default 0x43c7f290 if SOC_K3_J722S
This coalescing changes the boot-param table index for AM62P5 (was 0x43c4f290) and J722S (was 0x43c7f290) to 0x43c3f290. That is a behavioural change for those SoCs, not just an AM62L addition, and it ideally belongs in a separate, clearly-justified patch - the commit message should at minimum explain why the old per-SoC addresses were wrong.
Regards,
Simon
PATCH v4 6/11 board: ti: am62lx: add initial board files
In reply to Bryan BrattlofAdd the initial board files to support the AM62L3-SK reference boards for basic boot via SD and MMC
---
Changes in v3:
- Removed 'emulated' from the board configuration file
- Link to v2: https://lore.kernel.org/r/[email protected]
--- board/ti/am62lx/Kconfig | 19 +++ board/ti/am62lx/MAINTAINERS | 8 + board/ti/am62lx/Makefile | 7 + board/ti/am62lx/am62lx.env | 8 + board/ti/am62lx/board-cfg.yaml | 32 ++++ board/ti/am62lx/evm.c | 19 +++ board/ti/am62lx/sec-cfg.yaml | 380 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 473 insertions(+)
board/ti/am62lx/Kconfig new file +19 -0
@@ -0,0 +1,19 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/ +# + +if TARGET_AM62L3_EVM + +config SYS_BOARD + default "am62lx" + +config SYS_VENDOR + default "ti" + +config SYS_CONFIG_NAME + default "am62l3_evm" + +source "board/ti/common/Kconfig" + +endif
board/ti/am62lx/MAINTAINERS new file +8 -0
@@ -0,0 +1,8 @@ +AM62Lx BOARD +M: Vignesh Raghavendra <[email protected]> +M: Bryan Brattlof <[email protected]> +M: Tom Rini <[email protected]> +S: Maintained +F: board/ti/am62lx/ +F: include/configs/am62l3_evm.h +F: configs/am62lx_evm_defconfig
board/ti/am62lx/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# +# Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/ +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-y += evm.o
board/ti/am62lx/am62lx.env new file +8 -0
@@ -0,0 +1,8 @@ +kernel_addr_r=0x82000000 +fdt_addr_r=0x88000000 +fdtoverlay_addr_r=0x89000000 +ramdisk_addr_r=0x88080000 +pxefile_addr_r=0x80100000 + +dfu_alt_info_ram= + u-boot.img ram 0x83000000 0x400000
board/ti/am62lx/board-cfg.yaml new file +32 -0
@@ -0,0 +1,32 @@ +# SPDX-License-Identifier: GPL-2.0+ +# Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/ +# +# Board configuration for the AM62L-EVM +# +--- +board-cfg: + rev: + boardcfg_abi_maj: 0x0 + boardcfg_abi_min: 0x1 + + control: + subhdr: + magic: 0xC1D3 + size: 7 + main_isolation_enable: 0x5A + main_isolation_hostid: 0x2 + + bm_writer_cfg: + subhdr: + magic: 0x7D8A + size: 5 + allowed_host: 10 + + reserved: [0, 0, 0, 0, 0, 0, 0] + + debug_cfg: + subhdr: + magic: 0x020C + size: 8 + trace_dst_enables: 0x00 + trace_src_enables: 0x00
board/ti/am62lx/evm.c new file +19 -0
@@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* +* Board specific initialization for AM62Lx platforms +* +* Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/ +* +*/ + +#include <asm/arch/hardware.h> +#include <asm/io.h> +#include <dm/uclass.h> +#include <env.h> +#include <fdt_support.h> +#include <spl.h> + +int board_init (void ) +{ +return 0 ; +}
board/ti/am62lx/sec-cfg.yaml new file +380 -0
380 lines not on this page · raw message
Signature · 1 line
2.54.0
Re: [PATCH v4 06/11] board: ti: am62lx: add initial board files
Hi Bryan,
Quoted 4 lines · Bryan Brattlof
board: ti: am62lx: add initial board files
Add the initial board files to support the AM62L3-SK reference boards for basic boot via SD and MMC
The other patches in this series (defconfig target AM62L3_EVM, MAINTAINERS entry 'AM62Lx BOARD', docs am62lx_evm.rst, yaml files describing AM62L-EVM) all refer to the EVM, not an SK. Please fix the commit message so the board name matches - and also add a full stop and drop the mention of 'SD and MMC' (or spell out 'SD and eMMC' if that is what you mean).
Quoted 29 lines
Tested-by Anshul Dalal <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>board/ti/am62lx/Kconfig | 19 +++
board/ti/am62lx/MAINTAINERS | 8 + board/ti/am62lx/Makefile | 7 + board/ti/am62lx/am62lx.env | 8 + board/ti/am62lx/board-cfg.yaml | 32 ++++ board/ti/am62lx/evm.c | 19 +++ board/ti/am62lx/sec-cfg.yaml | 380 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 473 insertions(+)board/ti/am62lx/evm.c new file +9
-0@@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* +* Board specific initialization for AM62Lx platforms +* +* Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/ +* +*/ + +#include <asm/arch/hardware.h>
board/ti/am62lx/evm.c line 19
Quoted 10 lines
board/ti/am62lx/evm.c new file +10
-0+#include <asm/io.h> +#include <dm/uclass.h> +#include <env.h> +#include <fdt_support.h> +#include <spl.h> + +int board_init (void ) +{ +return 0 ; +}
None of these includes are used by an empty board_init(). Please drop them and only add each one when the code that needs it lands. Also, none of the other K3 boards (am62x, am62px, am62ax, am64x, j721e, ...) provide a board_init() stub at all, so I suspect the whole function can go away - leaving evm.c effectively empty. If that is the case, you might as well not add evm.c and the Makefile entry until there is something real to put in it.
Quoted 6 lines
board/ti/am62lx/am62lx.env new file +0
-0
board/ti/am62lx/am62lx.env line 8
Quoted 8 lines
board/ti/am62lx/am62lx.env new file +8
-0@@ -0,0 +1,8 @@ +kernel_addr_r=0x82000000 +fdt_addr_r=0x88000000 +fdtoverlay_addr_r=0x89000000 +ramdisk_addr_r=0x88080000 +pxefile_addr_r=0x80100000 + +dfu_alt_info_ram= + u-boot.img ram 0x83000000 0x400000
Just to check - the other am62* boards pull in env/ti/ti_common.env, env/ti/mmc.env, env/ti/k3_dfu.env and set console/boot_targets/mmcdev/etc. but it looks like this board is relying on standard boot defaults? That's fine if so.
board/ti/am62lx/board-cfg.yaml line 7
Quoted 13 lines
board/ti/am62lx/board-cfg.yaml new file +7
-0@@ -0,0 +1,32 @@ + bm_writer_cfg: + subhdr: + magic: 0x7D8A + size: 5 + allowed_host: 10 + + reserved: [0, 0, 0, 0, 0, 0, 0]
A one-line comment pointing at where bm_writer_cfg and the reserved block are documented in the TRM (or the tifs firmware header) would help here. Same for the magic values in sec-cfg.yaml
Regards,
Simon
Re: [PATCH v4 06/11] board: ti: am62lx: add initial board files
On August 6, 2026 thus sayeth Simon Glass:
Quoted 8 lines
Hi Bryan,
Quoted 4 lines · Bryan Brattlof
board: ti: am62lx: add initial board files
Add the initial board files to support the AM62L3-SK reference boards for basic boot via SD and MMC
Quoted 6 lines
The other patches in this series (defconfig target
AM62L3_EVM,MAINTAINERSentry 'AM62Lx BOARD', docsam62lx_evm.rst, yaml files describing AM62L-EVM) all refer to the EVM, not an SK. Please fix the commit message so the board name matches - and also add a full stop and drop the mention of 'SD and MMC' (or spell out 'SD and eMMC' if that is what you mean).
Sure.
Quoted 41 lines
Quoted 30 lines
Tested-by Anshul Dalal <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>board/ti/am62lx/Kconfig | 19 +++
board/ti/am62lx/MAINTAINERS | 8 + board/ti/am62lx/Makefile | 7 + board/ti/am62lx/am62lx.env | 8 + board/ti/am62lx/board-cfg.yaml | 32 ++++ board/ti/am62lx/evm.c | 19 +++ board/ti/am62lx/sec-cfg.yaml | 380 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 473 insertions(+)board/ti/am62lx/evm.c new file +9
-0@@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* +* Board specific initialization for AM62Lx platforms +* +* Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/ +* +*/ + +#include <asm/arch/hardware.h> board/ti/am62lx/evm.c line 19
Quoted 10 lines
board/ti/am62lx/evm.c new file +10
-0+#include <asm/io.h> +#include <dm/uclass.h> +#include <env.h> +#include <fdt_support.h> +#include <spl.h> + +int board_init (void ) +{ +return 0 ; +}
Quoted 8 lines
None of these includes are used by an empty
board_init(). Please drop them and only add each one when the code that needs it lands. Also, none of the other K3 boards (am62x, am62px, am62ax, am64x, j721e, ...) provide aboard_init()stub at all, so I suspect the whole function can go away - leavingevm.ceffectively empty. If that is the case, you might as well not addevm.cand theMakefileentry until there is something real to put in it.
Sure.
Quoted 11 lines
Quoted 11 lines
board/ti/am62lx/am62lx.env new file +5
-0@@ -0,0 +1,8 @@ +kernel_addr_r=0x82000000 +fdt_addr_r=0x88000000 +fdtoverlay_addr_r=0x89000000 +ramdisk_addr_r=0x88080000 +pxefile_addr_r=0x80100000
Quoted 8 lines
board/ti/am62lx/am62lx.env line 8
Quoted 3 lines
board/ti/am62lx/am62lx.env new file +3
-0+ +dfu_alt_info_ram= + u-boot.img ram 0x83000000 0x400000Just to check - the other am62* boards pull in env/ti/ti_common.env, env/ti/mmc.env, env/ti/k3_dfu.env and set console/boot_targets/mmcdev/etc. but it looks like this board is relying on standard boot defaults? That's fine if so.
Much of what is in the environment for older K3 SoCs will not work or would need to be overridden for AM62L based boards. Relying on standard boot defaults and letting downstream forks modify the environment however they wish seems appropriate here.
Quoted 10 lines
Quoted 10 lines
board/ti/am62lx/board-cfg.yaml new file +3
-0@@ -0,0 +1,32 @@ + bm_writer_cfg: + subhdr: + magic: 0x7D8A
Quoted 8 lines
board/ti/am62lx/board-cfg.yaml line 25
Quoted 4 lines
board/ti/am62lx/board-cfg.yaml new file +4
-0+ size: 5 + allowed_host: 10 + + reserved: [0, 0, 0, 0, 0, 0, 0]A one-line comment pointing at where
bm_writer_cfgand the reserved block are documented in the TRM (or the tifs firmware header) would help here. Same for the magic values insec-cfg.yaml
I don't know the specific version this was introduced but these structures are all documented in the TISCI specification along with everything else K3 uses.
https://software-dl.ti.com/tisci/esd/latest/3_boardcfg/BOARDCFG.html
https://software-dl.ti.com/tisci/esd/latest/3_boardcfg/BOARDCFG_SEC.html
Are you suggesting I add these notes to the syntax.yaml or do you want them in these auto generated files?
~Bryan
Re: [PATCH v4 06/11] board: ti: am62lx: add initial board files
Hi Bryan,
Quoted 119 lines · Bryan Brattlof
On August 6, 2026 thus sayeth Simon Glass:
Quoted 8 lines
Hi Bryan,
Quoted 4 lines · Bryan Brattlof
board: ti: am62lx: add initial board files
Add the initial board files to support the AM62L3-SK reference boards for basic boot via SD and MMC
Quoted 6 lines
The other patches in this series (defconfig target
AM62L3_EVM,MAINTAINERSentry 'AM62Lx BOARD', docsam62lx_evm.rst, yaml files describing AM62L-EVM) all refer to the EVM, not an SK. Please fix the commit message so the board name matches - and also add a full stop and drop the mention of 'SD and MMC' (or spell out 'SD and eMMC' if that is what you mean).Sure.
Quoted 41 lines
Quoted 30 lines
Tested-by Anshul Dalal <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>board/ti/am62lx/Kconfig | 19 +++
board/ti/am62lx/MAINTAINERS | 8 + board/ti/am62lx/Makefile | 7 + board/ti/am62lx/am62lx.env | 8 + board/ti/am62lx/board-cfg.yaml | 32 ++++ board/ti/am62lx/evm.c | 19 +++ board/ti/am62lx/sec-cfg.yaml | 380 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 473 insertions(+)board/ti/am62lx/evm.c new file +9
-0@@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* +* Board specific initialization for AM62Lx platforms +* +* Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/ +* +*/ + +#include <asm/arch/hardware.h> board/ti/am62lx/evm.c line 19
Quoted 10 lines
board/ti/am62lx/evm.c new file +10
-0+#include <asm/io.h> +#include <dm/uclass.h> +#include <env.h> +#include <fdt_support.h> +#include <spl.h> + +int board_init (void ) +{ +return 0 ; +}Quoted 8 lines
None of these includes are used by an empty
board_init(). Please drop them and only add each one when the code that needs it lands. Also, none of the other K3 boards (am62x, am62px, am62ax, am64x, j721e, ...) provide aboard_init()stub at all, so I suspect the whole function can go away - leavingevm.ceffectively empty. If that is the case, you might as well not addevm.cand theMakefileentry until there is something real to put in it.Sure.
Quoted 11 lines
Quoted 11 lines
board/ti/am62lx/am62lx.env new file +5
-0@@ -0,0 +1,8 @@ +kernel_addr_r=0x82000000 +fdt_addr_r=0x88000000 +fdtoverlay_addr_r=0x89000000 +ramdisk_addr_r=0x88080000 +pxefile_addr_r=0x80100000Quoted 8 lines
board/ti/am62lx/am62lx.env line 8
Quoted 3 lines
board/ti/am62lx/am62lx.env new file +3
-0+ +dfu_alt_info_ram= + u-boot.img ram 0x83000000 0x400000Just to check - the other am62* boards pull in env/ti/ti_common.env, env/ti/mmc.env, env/ti/k3_dfu.env and set console/boot_targets/mmcdev/etc. but it looks like this board is relying on standard boot defaults? That's fine if so.
Much of what is in the environment for older K3 SoCs will not work or would need to be overridden for AM62L based boards. Relying on standard boot defaults and letting downstream forks modify the environment however they wish seems appropriate here.
Quoted 10 lines
Quoted 10 lines
board/ti/am62lx/board-cfg.yaml new file +3
-0@@ -0,0 +1,32 @@ + bm_writer_cfg: + subhdr: + magic: 0x7D8AQuoted 8 lines
board/ti/am62lx/board-cfg.yaml line 25
Quoted 4 lines
board/ti/am62lx/board-cfg.yaml new file +4
-0+ size: 5 + allowed_host: 10 + + reserved: [0, 0, 0, 0, 0, 0, 0]A one-line comment pointing at where
bm_writer_cfgand the reserved block are documented in the TRM (or the tifs firmware header) would help here. Same for the magic values insec-cfg.yamlI don't know the specific version this was introduced but these structures are all documented in the TISCI specification along with everything else K3 uses.
Quoted 5 lines
https://software-dl.ti.com/tisci/esd/latest/3_boardcfg/BOARDCFG.html
https://software-dl.ti.com/tisci/esd/latest/3_boardcfg/BOARDCFG_SEC.htmlAre you suggesting I add these notes to the
syntax.yamlor do you want them in these auto generated files?
How about a link to the docs somewhere in U-Boot doc/? Or do you already have it?
Regards,
Simon
PATCH v4 7/11 arm: dts: k3-am62lx: Add binman support
In reply to Bryan BrattlofFrom: Vignesh Raghavendra <[email protected]>
Add the initial configuration to build the boot binaries for the AM62L family of devices
---
Changes in v2:
- Removed bootph from scmi{} node
- Removed signatures from u-boot fit image
- Link to v1: https://lore.kernel.org/r/[email protected]
--- arch/arm/dts/k3-am62l3-evm-binman.dtsi | 218 +++++++++++++++++++++++++++++++++ arch/arm/dts/k3-am62l3-evm-u-boot.dtsi | 12 ++ arch/arm/mach-k3/Kconfig | 21 ++++ 3 files changed, 251 insertions(+)
arch/arm/dts/k3-am62l3-evm-binman.dtsi new file +218 -0
@@ -0,0 +1,218 @@ +// SPDX-License-Identifier: GPL-2.0-only or MIT +/* + * Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/ + */ + +/ { + binman: binman { + multiple-images; + }; +}; + +&binman { + custMpk { + filename = "custMpk.pem"; + + custmpk_pem: blob-ext { + filename = "arch/arm/mach-k3/keys/custMpk.pem"; + }; + }; + + custMpk-crt { + filename = "custMpk.crt"; + + custmpk_crt: blob-ext { + filename = "arch/arm/mach-k3/keys/custMpk.crt"; + }; + }; + + custMpk-key { + filename = "custMpk.key"; + + custmpk_key: blob-ext { + filename = "arch/arm/mach-k3/keys/custMpk.key"; + }; + }; + + board-cfg { + filename = "board-cfg.bin"; + + bcfg_yaml: ti-board-config { + config = "board-cfg.yaml"; + schema = "arch/arm/mach-k3/am62lx/schema.yaml"; + }; + }; + + sec-cfg { + filename = "sec-cfg.bin"; + + sec_yaml: ti-board-config { + config = "sec-cfg.yaml"; + schema = "arch/arm/mach-k3/am62lx/schema.yaml"; + }; + }; + + combined-tifs-cfg { + filename = "combined-tifs-cfg.bin"; + + ti-board-config { + bcfg_yaml_tifs: board-cfg { + config = "board-cfg.yaml"; + schema = "arch/arm/mach-k3/am62lx/schema.yaml"; + }; + + sec_yaml_tifs: sec-cfg { + config = "sec-cfg.yaml"; + schema = "arch/arm/mach-k3/am62lx/schema.yaml"; + }; + }; + }; + + tiboot3.bin { + filename = "tiboot3.bin"; + + ti-secure-rom { + content = <&bl1>, <&tifs_enc>, <&tifs_data>, <&tifs_cert>; + combined; + sysfw-inner-cert; + keyfile = "custMpk.pem"; + sw-rev = <1>; + content-sbl = <&bl1>; + content-sysfw = <&tifs_enc>; + content-sysfw-data = <&tifs_data>; + content-sysfw-inner-cert = <&tifs_cert>; + load = <0x70800000>; + load-sysfw = <CONFIG_K3_TIFS_LOAD_ADDR>; + load-sysfw-data = <CONFIG_K3_TIFS_DATA_LOAD_ADDR>; + core-opts = <160>; + }; + + bl1: atf-bl1 { + }; + + tifs_enc: tifs-enc.bin { + filename = "ti-sysfw/ti-fs-firmware-am62lx-hs-enc.bin"; + type = "blob-ext"; + }; + + tifs_data: sysfw-data.bin { + filename = "combined-tifs-cfg.bin"; + type = "blob-ext"; + }; + + tifs_cert: tifs-cert.bin { + filename = "ti-sysfw/ti-fs-firmware-am62lx-hs-cert.bin"; + type = "blob-ext"; + }; + }; + + tispl.bin { + filename = "tispl.bin"; + + ti-secure-rom { + content = <&atf>, <&tifs_enc2>, <&tifs_data2>, + <&tifs_cert2>, <&tee>, <&spl>; + combined; + sysfw-inner-cert; + dm-data; + keyfile = "custMpk.pem"; + sw-rev = <1>; + content-sbl = <&atf>; + content-tee = <&tee>; + content-sysfw = <&tifs_enc2>; + content-sysfw-data = <&tifs_data2>; + content-sysfw-inner-cert = <&tifs_cert2>; + content-dm-data = <&spl>; + load = <CONFIG_K3_ATF_LOAD_ADDR>; + load-sysfw = <CONFIG_K3_TIFS_LOAD_ADDR>; + load-sysfw-data = <CONFIG_K3_TIFS_DATA_LOAD_ADDR>; + load-dm-data = <CONFIG_SPL_TEXT_BASE>; + load-tee = <CONFIG_K3_OPTEE_LOAD_ADDR>; + }; + + atf: atf-bl31 { + }; + + tifs_enc2: tifs-enc2.bin { + filename = "ti-sysfw/ti-fs-firmware-am62lx-hs-enc.bin"; + type = "blob-ext"; + }; + + tifs_data2: sysfw-data2.bin { + filename = "combined-tifs-cfg.bin"; + type = "blob-ext"; + }; + + tifs_cert2: tifs-cert2.bin { + filename = "ti-sysfw/ti-fs-firmware-am62lx-hs-cert.bin"; + type = "blob-ext"; + }; + + tee: tee-os { + }; + + spl: section { + u-boot-spl-nodtb { + }; + + u-boot-spl-pubkey-dtb { + algo = "sha512,rsa4096"; + required = "conf"; + key-name-hint = "custMpk"; + }; + }; + }; + + u-boot.img { + filename = "u-boot.img"; + pad-byte = <0xff>; + + fit { + description = "U-Boot fitImage for AM62Lx SK"; + + images { + uboot { + description = "U-Boot for AM62Lx SK"; + type = "firmware"; + os = "u-boot"; + arch = "arm"; + compression = "none"; + load = <CONFIG_TEXT_BASE>; + + blob { + filename = "u-boot-nodtb.bin"; + }; + + hash { + algo = "sha512"; + }; + }; + + fdt-0 { + description = "k3-am62lx-evm"; + type = "flat_dt"; + arch = "arm"; + compression = "none"; + + u-boot-dtb { + }; + + hash { + algo = "sha512"; + }; + }; + }; + + configurations { + default = "conf-0"; + + conf-0 { + description = "k3-am62lx-evm"; + firmware = "uboot"; + loadables = "uboot"; + fdt = "fdt-0"; + }; + }; + }; + }; +};
arch/arm/dts/k3-am62l3-evm-u-boot.dtsi new file +12 -0
@@ -0,0 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/ + */ + +#include "k3-am62l3-evm-binman.dtsi" + +/ { + aliases { + mmc1 = &sdhci1; + }; +};
arch/arm/mach-k3/Kconfig +21 -0
@@ -129,6 +129,26 @@ config K3_EARLY_CONS_IDX Use this option to set the index of the serial device to be used for the early console during SPL execution. +config K3_TIFS_LOAD_ADDR + hex "Load address of TI's Foundational Security (TIFS) firmware" + default 0x40000 + help + The load address for TI's Foundation Security firmware. This value is + used to build the x509 certificate to tell boot ROM where to place the + TIFS firmware in memory. + + Unless you know what you're doing. Do not change this value. + +config K3_TIFS_DATA_LOAD_ADDR + hex "Load address of TIFS configuration data" + default 0x6c000 + help + The load address for TI's Foundation Security configuration data. This + value is used to build the x509 certificate to tell ROM where to place + the TIFS firmware. + + Unless you know what you're doing. Do not change this value. + config K3_ATF_LOAD_ADDR hex "Load address of ATF image" default 0x80000000 if (SOC_K3_AM625 || SOC_K3_AM62A7 || SOC_K3_AM62P5 || SOC_K3_J722S || SOC_K3_AM62L3)
@@ -149,6 +169,7 @@ config K3_ATF_RESERVED_SIZE config K3_OPTEE_LOAD_ADDR hex "Load address of OPTEE image" + default 0x80200000 if SOC_K3_AM62L3 default 0x9e800000 help The load address for the OPTEE image. This value defaults to 0x9e800000
Signature · 1 line
2.54.0
Re: [PATCH v4 07/11] arm: dts: k3-am62lx: Add binman support
Hi Vignesh,
Quoted 11 lines · Bryan Brattlof
arm: dts: k3-am62lx: Add binman support
Add the initial configuration to build the boot binaries for the AM62L family of devices
Tested-by Anshul Dalal <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Signed-off-by Vignesh Raghavendra <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>
arch/arm/dts/k3-am62l3-evm-binman.dtsi| 218 +++++++++++++++++++++++++++++++++
Quoted 8 lines
arch/arm/dts/k3-am62l3-evm-u-boot.dtsi | 12 ++ arch/arm/mach-k3/Kconfig | 21 ++++ 3 files changed, 251 insertions(+)arm: dts: k3-am62lx: Add binman support
Add the initial configuration to build the boot binaries for the AM62L family of devices
The body needs more context - how this differs from the existing k3-binman.dtsi (why AM62L cannot reuse it), and why the new Kconfig options are being introduced now.
arch/arm/dts/k3-am62l3-evm-binman.dtsi line 1
Quoted 3 lines
arch/arm/dts/k3-am62l3-evm-binman.dtsi +1
-0@@ -0,0 +1,218 @@ +// SPDX-License-Identifier: GPL-2.0-only or MIT
Per the SPDX spec the operator is upper-case OR, i.e. GPL-2.0-only OR MIT. Every other K3 binman dtsi in the tree uses plain GPL-2.0 - is there a reason to dual-license this one?
arch/arm/dts/k3-am62l3-evm-binman.dtsi line 6
Quoted 8 lines
arch/arm/dts/k3-am62l3-evm-binman.dtsi +6
-0@@ -0,0 +1,218 @@ + fit { + description = "U-Boot fitImage for AM62Lx SK"; + + images { + uboot { + description = "U-Boot for AM62Lx SK";
This board is the AM62L-EVM, not an SK, isn't it? Please update both description strings (the two k3-am62lx-evm ones look correct already).
arch/arm/mach-k3/Kconfig config K3_EARLY_CONS_IDX · line 137
Quoted 11 lines
arch/arm/mach-k3/Kconfig +9
-0@@ -129,6 +129,26 @@ config K3_EARLY_CONS_IDX +config K3_TIFS_LOAD_ADDR + hex "Load address of TI's Foundational Security (TIFS) firmware" + default 0x40000 + help + The load address for TI's Foundation Security firmware. This value is + used to build the x509 certificate to tell boot ROM where to place the + TIFS firmware in memory. + + Unless you know what you're doing. Do not change this value.
The last line reads as two sentence fragments - how about 'Do not change this value unless you know what you are doing'.
Second, these options are unconditional so they appear for every K3 SoC, but only AM62L3 consumes them - every other K3 binman dtsi still hard-codes 0x40000/0x67000. Either gate the prompt on SOC_K3_AM62L3 (with per-SoC defaults) or convert the other dtsi files to use these too. Introducing a global knob that only one SoC honours is confusing.
arch/arm/mach-k3/Kconfig config K3_EARLY_CONS_IDX · line 135
Quoted 9 lines
arch/arm/mach-k3/Kconfig +7
-0@@ -129,6 +129,26 @@ config K3_EARLY_CONS_IDX +config K3_TIFS_DATA_LOAD_ADDR + hex "Load address of TIFS configuration data" + default 0x6c000 + help + The load address for TI's Foundation Security configuration data. This + value is used to build the x509 certificate to tell ROM where to place + the TIFS firmware.
The help text says 'place the TIFS firmware' but this option is the load address of the TIFS *data*, not the firmware itself.
Regards,
Simon
Re: [PATCH v4 07/11] arm: dts: k3-am62lx: Add binman support
On August 6, 2026 thus sayeth Simon Glass:
Quoted 19 lines
Hi Vignesh,
Quoted 15 lines · Bryan Brattlof
arm: dts: k3-am62lx: Add binman support
Add the initial configuration to build the boot binaries for the AM62L
family of devicesTested-by Anshul Dalal <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Signed-off-by Vignesh Raghavendra <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>
arch/arm/dts/k3-am62l3-evm-binman.dtsi| 218 +++++++++++++++++++++++++++++++++arch/arm/dts/k3-am62l3-evm-u-boot.dtsi | 12 ++ arch/arm/mach-k3/Kconfig | 21 ++++ 3 files changed, 251 insertions(+)
Quoted 8 lines
Quoted 4 lines
arm: dts: k3-am62lx: Add binman support
Add the initial configuration to build the boot binaries for the AM62L family of devices
The body needs more context - how this differs from the existing
k3-binman.dtsi(why AM62L cannot reuse it), and why the newKconfigoptions are being introduced now.
Sure. I thought this is what documentation was for but I can copy and paste it here in the commit body as well.
Quoted 9 lines
arch/arm/dts/k3-am62l3-evm-binman.dtsi line 1
Quoted 4 lines
arch/arm/dts/k3-am62l3-evm-binman.dtsi +1
-0@@ -0,0 +1,218 @@ +// SPDX-License-Identifier: GPL-2.0-only or MITPer the SPDX spec the operator is upper-case OR, i.e. GPL-2.0-only OR MIT. Every other K3 binman dtsi in the tree uses plain GPL-2.0 - is there a reason to dual-license this one?
Sure I'll uppercase the operator. Thanks.
As for the dual license, it's to align the license with what we have on the Linux side.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/ti/k3-am62l3-evm.dts
Quoted 11 lines
arch/arm/dts/k3-am62l3-evm-binman.dtsi line 6
Quoted 8 lines
arch/arm/dts/k3-am62l3-evm-binman.dtsi +6
-0@@ -0,0 +1,218 @@ + fit { + description = "U-Boot fitImage for AM62Lx SK"; + + images { + uboot { + description = "U-Boot for AM62Lx SK";This board is the AM62L-EVM, not an SK, isn't it? Please update both description strings (the two k3-am62lx-evm ones look correct already).
Ah yeah the board name was changed half way through. I guess I forgot some places when updating things.
Quoted 15 lines
arch/arm/mach-k3/Kconfig config K3_EARLY_CONS_IDX · line 137
Quoted 12 lines
arch/arm/mach-k3/Kconfig +9
-0@@ -129,6 +129,26 @@ config K3_EARLY_CONS_IDX +config K3_TIFS_LOAD_ADDR + hex "Load address of TI's Foundational Security (TIFS) firmware" + default 0x40000 + help + The load address for TI's Foundation Security firmware. This value is + used to build the x509 certificate to tell boot ROM where to place the + TIFS firmware in memory. + + Unless you know what you're doing. Do not change this value.The last line reads as two sentence fragments - how about 'Do not change this value unless you know what you are doing'.
Sure
Quoted 7 lines
Second, these options are unconditional so they appear for every K3 SoC, but only AM62L3 consumes them - every other K3 binman dtsi still hard-codes 0x40000/0x67000. Either gate the prompt on
SOC_K3_AM62L3(with per-SoC defaults) or convert the other dtsi files to use these too. Introducing a global knob that only one SoC honours is confusing.
Quoted 12 lines
arch/arm/mach-k3/Kconfig config K3_EARLY_CONS_IDX · line 135
Quoted 9 lines
arch/arm/mach-k3/Kconfig +7
-0@@ -129,6 +129,26 @@ config K3_EARLY_CONS_IDX +config K3_TIFS_DATA_LOAD_ADDR + hex "Load address of TIFS configuration data" + default 0x6c000 + help + The load address for TI's Foundation Security configuration data. This + value is used to build the x509 certificate to tell ROM where to place + the TIFS firmware.The help text says 'place the TIFS firmware' but this option is the load address of the TIFS *data*, not the firmware itself.
Sure I can reword this
~Bryan
PATCH v4 8/11 configs: am62lx_evm: add initial defconfig
In reply to Bryan BrattlofAdd the initial minimum configuration needed to boot the AM62L3-SK reference boards.
---
Changes in v4:
- Dropped CONFIG_SYS_BOOTM_LEN in defconfig
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v2:
- removed options used for fit image signing
- Link to v1: https://lore.kernel.org/r/[email protected]
--- configs/am62lx_evm_defconfig | 138 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+)
configs/am62lx_evm_defconfig new file +138 -0
@@ -0,0 +1,138 @@ +CONFIG_ARM=y +CONFIG_ARCH_K3=y +CONFIG_TEXT_BASE=0x84000000 +CONFIG_SYS_MALLOC_F_LEN=0x8000 +CONFIG_TI_COMMON_CMD_OPTIONS=y +CONFIG_SPL_GPIO=y +CONFIG_SPL_LIBCOMMON_SUPPORT=y +CONFIG_SOC_K3_AM62L3=y +CONFIG_TARGET_AM62L3_EVM=y +CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y +CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x82b80000 +CONFIG_SF_DEFAULT_SPEED=25000000 +CONFIG_DM_GPIO=y +CONFIG_DEFAULT_DEVICE_TREE="ti/k3-am62l3-evm" +CONFIG_OF_LIBFDT_OVERLAY=y +CONFIG_DM_RESET=y +CONFIG_SPL_MMC=y +CONFIG_SPL_SERIAL=y +CONFIG_SPL_STACK_R_ADDR=0x85000000 +CONFIG_SPL_TEXT_BASE=0x82000000 +CONFIG_SPL_HAS_BSS_LINKER_SECTION=y +CONFIG_SPL_BSS_START_ADDR=0x82c80000 +CONFIG_SPL_BSS_MAX_SIZE=0x80000 +CONFIG_SPL_STACK_R=y +CONFIG_SYS_LOAD_ADDR=0x84000000 +CONFIG_SPL_SIZE_LIMIT=0x50000 +CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK=0x800 +CONFIG_SPL_FS_FAT=y +CONFIG_SPL_LIBDISK_SUPPORT=y +# CONFIG_PSCI_RESET is not set +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_EFI_SET_TIME=y +CONFIG_SPL_LOAD_FIT_ADDRESS=0x83000000 +CONFIG_BOOTSTD_FULL=y +# CONFIG_BOARD_INIT is not set +CONFIG_SPL_MAX_SIZE=0x58000 +CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y +# CONFIG_SPL_BINMAN_SYMBOLS is not set +CONFIG_SPL_SYS_MALLOC_SIMPLE=y +CONFIG_SPL_SYS_MMCSD_RAW_MODE=y +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400 +CONFIG_SPL_DMA=y +CONFIG_SPL_ENV_SUPPORT=y +CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" +CONFIG_SPL_I2C=y +CONFIG_SPL_DM_MAILBOX=y +CONFIG_SPL_POWER_DOMAIN=y +CONFIG_SPL_RAM_DEVICE=y +CONFIG_SPL_YMODEM_SUPPORT=y +CONFIG_CMD_BOOTEFI_SELFTEST=y +CONFIG_CMD_NVEDIT_EFI=y +CONFIG_CMD_USB_MASS_STORAGE=y +CONFIG_CMD_EFIDEBUG=y +CONFIG_OF_CONTROL=y +CONFIG_SPL_OF_CONTROL=y +CONFIG_NET_RANDOM_ETHADDR=y +CONFIG_SPL_DM=y +CONFIG_SPL_DM_DEVICE_REMOVE=y +CONFIG_SPL_DM_SEQ_ALIAS=y +CONFIG_SPL_OF_TRANSLATE=y +CONFIG_CLK=y +CONFIG_SPL_CLK=y +CONFIG_DFU_MMC=y +CONFIG_DFU_RAM=y +CONFIG_SYS_DFU_DATA_BUF_SIZE=0x40000 +CONFIG_SYS_DFU_MAX_FILE_SIZE=0x800000 +CONFIG_DMA_CHANNELS=y +CONFIG_TI_K3_NAVSS_UDMA=y +# CONFIG_SCMI_AGENT_OPTEE is not set +CONFIG_SPL_DM_GPIO_LOOKUP_LABEL=y +CONFIG_DA8XX_GPIO=y +CONFIG_DM_PCA953X=y +CONFIG_SPL_DM_PCA953X=y +CONFIG_DM_I2C=y +CONFIG_SYS_I2C_OMAP24XX=y +CONFIG_DM_MAILBOX=y +CONFIG_K3_SEC_PROXY=y +CONFIG_SUPPORT_EMMC_BOOT=y +CONFIG_MMC_IO_VOLTAGE=y +CONFIG_SPL_MMC_IO_VOLTAGE=y +CONFIG_MMC_UHS_SUPPORT=y +CONFIG_SPL_MMC_UHS_SUPPORT=y +CONFIG_MMC_HS200_SUPPORT=y +CONFIG_SPL_MMC_HS200_SUPPORT=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_ADMA=y +CONFIG_SPL_MMC_SDHCI_ADMA=y +CONFIG_MMC_SDHCI_AM654=y +CONFIG_MTD=y +CONFIG_DM_SPI_FLASH=y +CONFIG_SPI_FLASH_SFDP_SUPPORT=y +CONFIG_SPI_FLASH_SOFT_RESET=y +CONFIG_SPI_FLASH_SOFT_RESET_ON_BOOT=y +CONFIG_SPI_FLASH_SPANSION=y +CONFIG_SPI_FLASH_S28HX_T=y +CONFIG_SPI_FLASH_STMICRO=y +CONFIG_SPI_FLASH_MT35XU=y +CONFIG_TI_AM65_CPSW_NUSS=y +CONFIG_PHY_TI_DP83867=y +CONFIG_PHY_FIXED=y +CONFIG_PHY=y +CONFIG_PINCTRL=y +CONFIG_SPL_PINCTRL=y +CONFIG_PINCTRL_SINGLE=y +CONFIG_POWER_DOMAIN=y +CONFIG_DM_REGULATOR=y +CONFIG_SPL_DM_REGULATOR=y +CONFIG_DM_REGULATOR_FIXED=y +CONFIG_SPL_DM_REGULATOR_FIXED=y +CONFIG_DM_RTC=y +CONFIG_RTC_EMULATION=y +CONFIG_DM_SERIAL=y +CONFIG_SOC_DEVICE=y +CONFIG_SOC_DEVICE_TI_K3=y +CONFIG_SOC_TI=y +CONFIG_SPI=y +CONFIG_DM_SPI=y +CONFIG_CADENCE_QSPI=y +CONFIG_SYSRESET=y +CONFIG_SPL_SYSRESET=y +CONFIG_USB=y +CONFIG_DM_USB_GADGET=y +CONFIG_SPL_DM_USB_GADGET=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC3_GENERIC=y +CONFIG_SPL_USB_DWC3_GENERIC=y +CONFIG_SPL_USB_DWC3_AM62=y +CONFIG_USB_DWC3_AM62=y +CONFIG_USB_GADGET=y +CONFIG_SPL_USB_GADGET=y +CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments" +CONFIG_USB_GADGET_VENDOR_NUM=0x0451 +CONFIG_USB_GADGET_PRODUCT_NUM=0x6165 +CONFIG_USB_GADGET_DOWNLOAD=y +CONFIG_SPL_DFU=y +CONFIG_FS_FAT_MAX_CLUSTSIZE=16384 +# CONFIG_TOOLS_MKEFICAPSULE is not set
Signature · 1 line
2.54.0
Re: [PATCH v4 08/11] configs: am62lx_evm: add initial defconfig
Hi Bryan,
Quoted 4 lines · Bryan Brattlof
configs:
am62lx_evm: add initial defconfigAdd the initial minimum configuration needed to boot the AM62L3-SK reference boards.
The commit message refers to AM62L3-SK but the defconfig is named am62lx_evm_defconfig and selects CONFIG_TARGET_AM62L3_EVM. Please make the naming consistent - either the board is an SK or an EVM, not both.
configs/am62lx_evm_defconfig line 3
Quoted 12 lines
Tested-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>configs/am62lx_evm_defconfig | 138 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 138 insertions(+)configs/am62lx_evm_defconfig +3
-0@@ -0,0 +1,138 @@ +CONFIG_SPL_LOAD_FIT_ADDRESS=0x83000000 +CONFIG_BOOTSTD_FULL=y +# CONFIG_BOARD_INIT is not set
Unlike the other AM62x A53 defconfigs there is no CONFIG_BOOTCOMMAND and no CONFIG_BOARD_LATE_INIT here, and the .env file added in patch 6 also has no bootcmd. Just to check - is this intentional (relying entirely on the default bootstd behaviour), or an omission?
Regards,
Simon
Re: [PATCH v4 08/11] configs: am62lx_evm: add initial defconfig
On August 6, 2026 thus sayeth Simon Glass:
Quoted 11 lines
Hi Bryan,
Quoted 4 lines · Bryan Brattlof
configs:
am62lx_evm: add initial defconfigAdd the initial minimum configuration needed to boot the AM62L3-SK reference boards.
The commit message refers to AM62L3-SK but the defconfig is named
am62lx_evm_defconfigand selectsCONFIG_TARGET_AM62L3_EVM. Please make the naming consistent - either the board is an SK or an EVM, not both.
I'll fix the commit message.
Quoted 8 lines
Quoted 7 lines
Tested-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>configs/am62lx_evm_defconfig | 138 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 138 insertions(+)
Quoted 10 lines
configs/am62lx_evm_defconfig line 3
Quoted 5 lines
configs/am62lx_evm_defconfig +3
-0@@ -0,0 +1,138 @@ +CONFIG_SPL_LOAD_FIT_ADDRESS=0x83000000 +CONFIG_BOOTSTD_FULL=y +# CONFIG_BOARD_INIT is not setUnlike the other AM62x A53 defconfigs there is no
CONFIG_BOOTCOMMANDand noCONFIG_BOARD_LATE_INIThere, and the .env file added in patch 6 also has no bootcmd. Just to check - is this intentional (relying entirely on the default bootstd behaviour), or an omission?
The downstream teams modify this for their needs[0]. The goal here is to support as many boot methods as possible and let meta-ti do whatever they want for the downstream fork.
~Bryan
Re: [PATCH v4 08/11] configs: am62lx_evm: add initial defconfig
Hi Bryan,
Quoted 35 lines · Bryan Brattlof
On August 6, 2026 thus sayeth Simon Glass:
Quoted 11 lines
Hi Bryan,
Quoted 4 lines · Bryan Brattlof
configs:
am62lx_evm: add initial defconfigAdd the initial minimum configuration needed to boot the AM62L3-SK reference boards.
The commit message refers to AM62L3-SK but the defconfig is named
am62lx_evm_defconfigand selectsCONFIG_TARGET_AM62L3_EVM. Please make the naming consistent - either the board is an SK or an EVM, not both.I'll fix the commit message.
Quoted 8 lines
Quoted 7 lines
Tested-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>configs/am62lx_evm_defconfig | 138 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 138 insertions(+)Quoted 10 lines
configs/am62lx_evm_defconfig line 3
Quoted 5 lines
configs/am62lx_evm_defconfig +3
-0@@ -0,0 +1,138 @@ +CONFIG_SPL_LOAD_FIT_ADDRESS=0x83000000 +CONFIG_BOOTSTD_FULL=y +# CONFIG_BOARD_INIT is not setUnlike the other AM62x A53 defconfigs there is no
CONFIG_BOOTCOMMANDand noCONFIG_BOARD_LATE_INIThere, and the .env file added in patch 6 also has no bootcmd. Just to check - is this intentional (relying entirely on the default bootstd behaviour), or an omission?
Quoted 6 lines
The downstream teams modify this for their needs[0]. The goal here is to support as many boot methods as possible and let meta-ti do whatever they want for the downstream fork.
OK sounds good.
Regards,
SImon
Quoted 1 line
~Bryan
PATCH v4 9/11 doc: ti: k3: fix pygments warning parsing device-tree
In reply to Bryan BrattlofA warning is emitted when generating the FIT image examples because of white-space and invalid node names. Fix them
--- doc/board/ti/k3.rst | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-)
doc/board/ti/k3.rst +21 -17
@@ -466,25 +466,29 @@ choose any configuration at runtime to boot from. .. code-block:: dts - /dts-v1/; + / { + description = "FIT Image description"; + #address-cells = <1>; - / { - description = "FIT Image description"; - #address-cells = <1>; + images { + image-1 {}; + image-2 {}; + fdt-1 {}; + fdt-2 {}; + }; - images { - [image-1] - [image-2] - [fdt-1] - [fdt-2] - } - - configurations { - default = <conf-1> - [conf-1: image-1,fdt-1] - [conf-2: image-2,fdt-1] - } - } + configurations { + default = <conf-1> + conf-1 { + image = "image-1"; + fdt = "fdt-1"; + }; + conf-2 { + image = "image-2"; + fdt = "fdt-1"; + }; + }; + }; * Sample Images
Signature · 1 line
2.54.0
Re: [PATCH v4 09/11] doc: ti: k3: fix pygments warning parsing device-tree
Hi Bryan,
Quoted 4 lines · Bryan Brattlof
doc: ti: k3: fix pygments warning parsing device-tree
A warning is emitted when generating the FIT image examples because of white-space and invalid node names. Fix them
Please mention what the fix actually is (converting the placeholder brackets into valid DTS node syntax).
doc/board/ti/k3.rst choose any configuration at runtime to boot from. · line 468
Quoted 13 lines
Tested-by Anshul Dalal <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>
doc/board/ti/k3.rst| 42 +++++++++++++++++++++++-------------------1 file changed, 23 insertions(+), 19 deletions(-)doc/board/ti/k3.rst +3
-0@@ -466,25 +466,29 @@ choose any configuration at runtime to boot from. + configurations { + default = <conf-1> + conf-1 {
This line is still not valid DTS - it is missing the trailing semicolon, and for FIT the 'default' property is a string, so it should be:
default = 'conf-1';
doc/board/ti/k3.rst choose any configuration at runtime to boot from. · line 469
Quoted 6 lines
doc/board/ti/k3.rst +4
-0@@ -466,25 +466,29 @@ choose any configuration at runtime to boot from. + conf-2 { + image = "image-2"; + fdt = "fdt-1"; + };
The two properties inside conf-2 are indented one extra space compared with those in conf-1 above. Please make them consistent.
doc/board/ti/k3.rst choose any configuration at runtime to boot from. · line 468
Quoted 5 lines
doc/board/ti/k3.rst +0
-3@@ -466,25 +466,29 @@ choose any configuration at runtime to boot from. - /dts-v1/; - - / {
Any reason to drop the /dts-v1/; header? The block is tagged '.. code-block:: dts' so keeping it makes the snippet a complete, valid DTS fragment. While you are here, the surrounding examples use 4-space indentation; changing this one to 3 spaces is a bit jarring.
Regards,
Simon
Re: [PATCH v4 09/11] doc: ti: k3: fix pygments warning parsing device-tree
On August 6, 2026 thus sayeth Simon Glass:
Quoted 10 lines
Hi Bryan,
Quoted 4 lines · Bryan Brattlof
doc: ti: k3: fix pygments warning parsing device-tree
A warning is emitted when generating the FIT image examples because of white-space and invalid node names. Fix them
Please mention what the fix actually is (converting the placeholder brackets into valid DTS node syntax).
Sure
Quoted 19 lines
Quoted 11 lines
Tested-by Anshul Dalal <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>
doc/board/ti/k3.rst| 42 +++++++++++++++++++++++-------------------1 file changed, 23 insertions(+), 19 deletions(-)doc/board/ti/k3.rst choose any configuration at runtime to boot from. · line 468
Quoted 3 lines
doc/board/ti/k3.rst +3
-0@@ -466,25 +466,29 @@ choose any configuration at runtime to boot from. + configurations { + default = <conf-1> + conf-1 {This line is still not valid DTS - it is missing the trailing semicolon, and for FIT the 'default' property is a string, so it should be:
Quoted 1 line
default = 'conf-1';
Sure. My aim was to suppress the warnings emitted by the lexer. I don't think this snippet, even if completely syntactically correct, would produce anything meaningful other than being an illustration.
Quoted 10 lines
doc/board/ti/k3.rst choose any configuration at runtime to boot from. · line 469
Quoted 7 lines
doc/board/ti/k3.rst +4
-0@@ -466,25 +466,29 @@ choose any configuration at runtime to boot from. + conf-2 { + image = "image-2"; + fdt = "fdt-1"; + };The two properties inside conf-2 are indented one extra space compared with those in conf-1 above. Please make them consistent.
Sure
Quoted 12 lines
doc/board/ti/k3.rst choose any configuration at runtime to boot from. · line 468
Quoted 6 lines
doc/board/ti/k3.rst +0
-3@@ -466,25 +466,29 @@ choose any configuration at runtime to boot from. - /dts-v1/; - - / {Any reason to drop the /dts-v1/; header? The block is tagged '.. code-block:: dts' so keeping it makes the snippet a complete, valid DTS fragment. While you are here, the surrounding examples use 4-space indentation; changing this one to 3 spaces is a bit jarring.
The best I can tell the DT lexer in pygments doesn't support /dts-v1/;
https://github.com/pygments/pygments/blob/master/pygments/lexers/devicetree.py
~Bryan
Re: [PATCH v4 09/11] doc: ti: k3: fix pygments warning parsing device-tree
Hi Bryan,
Quoted 66 lines · Bryan Brattlof
On August 6, 2026 thus sayeth Simon Glass:
Quoted 10 lines
Hi Bryan,
Quoted 4 lines · Bryan Brattlof
doc: ti: k3: fix pygments warning parsing device-tree
A warning is emitted when generating the FIT image examples because of white-space and invalid node names. Fix them
Please mention what the fix actually is (converting the placeholder brackets into valid DTS node syntax).
Sure
Quoted 19 lines
Quoted 11 lines
Tested-by Anshul Dalal <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>
doc/board/ti/k3.rst| 42 +++++++++++++++++++++++-------------------1 file changed, 23 insertions(+), 19 deletions(-)doc/board/ti/k3.rst choose any configuration at runtime to boot from. · line 468
Quoted 3 lines
doc/board/ti/k3.rst +3
-0@@ -466,25 +466,29 @@ choose any configuration at runtime to boot from. + configurations { + default = <conf-1> + conf-1 {This line is still not valid DTS - it is missing the trailing semicolon, and for FIT the 'default' property is a string, so it should be:
Quoted 1 line
default = 'conf-1';Sure. My aim was to suppress the warnings emitted by the lexer. I don't think this snippet, even if completely syntactically correct, would produce anything meaningful other than being an illustration.
Quoted 10 lines
doc/board/ti/k3.rst choose any configuration at runtime to boot from. · line 469
Quoted 7 lines
doc/board/ti/k3.rst +4
-0@@ -466,25 +466,29 @@ choose any configuration at runtime to boot from. + conf-2 { + image = "image-2"; + fdt = "fdt-1"; + };The two properties inside conf-2 are indented one extra space compared with those in conf-1 above. Please make them consistent.
Sure
Quoted 12 lines
doc/board/ti/k3.rst choose any configuration at runtime to boot from. · line 468
Quoted 6 lines
doc/board/ti/k3.rst +0
-3@@ -466,25 +466,29 @@ choose any configuration at runtime to boot from. - /dts-v1/; - - / {Any reason to drop the /dts-v1/; header? The block is tagged '.. code-block:: dts' so keeping it makes the snippet a complete, valid DTS fragment. While you are here, the surrounding examples use 4-space indentation; changing this one to 3 spaces is a bit jarring.
Quoted 3 lines
The best I can tell the DT lexer in pygments doesn't support /dts-v1/;
https://github.com/pygments/pygments/blob/master/pygments/lexers/devicetree.py
Ah OK, that explains it, thanks.
Regards,
Simon
Quoted 1 line
~Bryan
PATCH v4 10/11 doc: board: ti: correct path to tcl scripts
In reply to Bryan BrattlofOpenOCD has moved where it has placed the tcl scripts for TI's reference boards. Update their paths to the new locations.
---
Changes in v4:
- s/necissary/necessary/ in tcl script update
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Kept warning about which versions of OpenOCD have the tcl scripts
- Link to v2: https://lore.kernel.org/r/[email protected]
--- doc/board/ti/am6254atl_sk.rst | 2 +- doc/board/ti/am62ax_sk.rst | 2 +- doc/board/ti/am62dx_evm.rst | 11 ++++++----- doc/board/ti/am62px_sk.rst | 12 +++++------- doc/board/ti/am62x_sk.rst | 2 +- doc/board/ti/am64x_evm.rst | 24 ++++++++++++++++++++++++ doc/board/ti/am65x_evm.rst | 2 +- doc/board/ti/j7200_evm.rst | 2 +- doc/board/ti/j721e_evm.rst | 2 +- doc/board/ti/j722s_evm.rst | 2 +- doc/board/ti/j784s4_evm.rst | 2 +- 11 files changed, 43 insertions(+), 20 deletions(-)
doc/board/ti/am6254atl_sk.rst +1 -1
@@ -305,4 +305,4 @@ To start OpenOCD and connect to the board .. prompt:: bash $ - openocd -f board/ti_am625evm.cfg + openocd -f board/ti/am625evm.cfg
doc/board/ti/am62ax_sk.rst +1 -1
@@ -435,4 +435,4 @@ To start OpenOCD and connect to the board .. prompt:: bash - openocd -f board/ti_am62a7evm.cfg + openocd -f board/ti/am62a7evm.cfg
doc/board/ti/am62dx_evm.rst +6 -5
@@ -237,10 +237,6 @@ detailed setup information. .. warning:: - **AM62A**: OpenOCD support since August 2023 (git master) - - **AM62D**: Uses AM62A configuration (compatible due to same core architecture) - Until the next stable release of OpenOCD is available in your development environment's distribution, it might be necessary to build OpenOCD `from the source <https://github.com/openocd-org/openocd>`_.
@@ -253,4 +249,9 @@ To start OpenOCD and connect to the board .. prompt:: bash - openocd -f board/ti/am62a7evm.cfg + openocd -f board/ti/am62a7evm.cfg + +.. note:: + + The AM62D-EVM uses the same tcl configuration as the AM62A-SK due to + same core architecture.
doc/board/ti/am62px_sk.rst +5 -7
@@ -331,13 +331,11 @@ detailed setup information. .. warning:: - **OpenOCD support after**: v0.12.0 + **OpenOCD support after**: v0.12.0 - While support for the entire K3 generation including the am62xxx - extended family was added before v0.12.0, the tcl scripts for the - am62px have been accepted and will be available in the next release of - OpenOCD. It may be necessary to build OpenOCD from source depending on - the version your distribution has packaged. + Until the next stable release of OpenOCD is available in your development + environment's distribution, it might be necessary to build OpenOCD `from the + source <https://github.com/openocd-org/open ocd>`_. .. include:: k3.rst :start-after: .. k3_rst_include_start_openocd_connect_XDS110
@@ -347,4 +345,4 @@ To start OpenOCD and connect to the board .. prompt:: bash - openocd -f board/ti_am62pevm.cfg + openocd -f board/ti/am62pevm.cfg
doc/board/ti/am62x_sk.rst +1 -1
@@ -867,4 +867,4 @@ To start OpenOCD and connect to the board .. prompt:: bash $ - openocd -f board/ti_am625evm.cfg + openocd -f board/ti/am625evm.cfg
doc/board/ti/am64x_evm.rst +24 -0
@@ -227,3 +227,27 @@ https://www.ti.com/lit/pdf/spruim2 under the `Boot Mode Pins` section. For SW2 and SW3, the switch state in the "ON" position = 1. Boot bits on SK is reversed bits to the bootmode signals + +Debugging U-Boot +---------------- + +See :ref:`Common Debugging environment - OpenOCD<k3_rst_refer_openocd>`: for +detailed setup information. + +.. warning:: + + **OpenOCD support after**: v0.12.0 + + Until the next stable release of OpenOCD is available in your development + environment's distribution, it might be necissary to build OpenOCD `from the + source <https://github.com/openocd-org/open ocd>`_. + +.. include:: k3.rst + :start-after: .. k3_rst_include_start_openocd_connect_XDS110 + :end-before: .. k3_rst_include_end_openocd_connect_XDS110 + +To start OpenOCD and connect to the board + +.. prompt:: bash + + openocd -f board/ti/am642evm.cfg
doc/board/ti/am65x_evm.rst +1 -1
@@ -321,4 +321,4 @@ To start OpenOCD and connect to the board .. prompt:: bash $ - openocd -f board/ti_am654evm.cfg + openocd -f board/ti/am654evm.cfg
doc/board/ti/j7200_evm.rst +1 -1
@@ -232,4 +232,4 @@ To start OpenOCD and connect to the board .. prompt:: bash $ - openocd -f board/ti_j7200evm.cfg + openocd -f board/ti/j7200evm.cfg
doc/board/ti/j721e_evm.rst +1 -1
@@ -261,4 +261,4 @@ To start OpenOCD and connect to the board .. prompt:: bash $ - openocd -f board/ti_j721eevm.cfg + openocd -f board/ti/j721evm.cfg
doc/board/ti/j722s_evm.rst +1 -1
@@ -255,4 +255,4 @@ To start OpenOCD and connect to the board .. prompt:: bash - openocd -f board/ti_j722sevm.cfg + openocd -f board/ti/j722sevm.cfg
doc/board/ti/j784s4_evm.rst +1 -1
@@ -663,4 +663,4 @@ following. .. prompt:: bash - openocd -f board/ti_j784s4evm.cfg + openocd -f board/ti/j784s4evm.cfg
Signature · 1 line
2.54.0
Re: [PATCH v4 10/11] doc: board: ti: correct path to tcl scripts
Hi Bryan,
Quoted 4 lines · Bryan Brattlof
doc: board: ti: correct path to tcl scripts
OpenOCD has moved where it has placed the tcl scripts for TI's reference boards. Update their paths to the new locations.
Minor: 'has moved where it has placed' reads awkwardly. Something like 'OpenOCD has reorganised the tcl scripts for TI's reference boards into a ti/ subdirectory' would be clearer, and it would be worth naming the OpenOCD release/commit that made the move so readers know which version they need.
Quoted 21 lines
Acked-by Andrew Davis <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Tested-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>
doc/board/ti/am6254atl_sk.rst| 2 +-doc/board/ti/am62ax_sk.rst | 2 +- doc/board/ti/am62dx_evm.rst | 11 ++++++----- doc/board/ti/am62px_sk.rst | 12 +++++------- doc/board/ti/am62x_sk.rst | 2 +- doc/board/ti/am64x_evm.rst | 24 ++++++++++++++++++++++++ doc/board/ti/am65x_evm.rst | 2 +- doc/board/ti/j7200_evm.rst | 2 +- doc/board/ti/j721e_evm.rst | 2 +- doc/board/ti/j722s_evm.rst | 2 +- doc/board/ti/j784s4_evm.rst | 2 +- 11 files changed, 43 insertions(+), 20 deletions(-)
doc/board/ti/am62px_sk.rst detailed setup information. · line 333
Quoted 3 lines
doc/board/ti/am62px_sk.rst +3
-0@@ -331,13 +331,11 @@ detailed setup information. + Until the next stable release of OpenOCD is available in your development + environment's distribution, it might be necessary to build OpenOCD `from the + source <https://github.com/openocd-org/open ocd>`_.
The URL has a stray space - 'openocd-org/open ocd' should be 'openocd-org/openocd'. This will render as a broken link.
doc/board/ti/am64x_evm.rst https://www.ti.com/lit/pdf/spruim2 under the `Boot Mode Pins` section. · line 229
Quoted 5 lines
doc/board/ti/am64x_evm.rst +3
-0@@ -227,3 +227,27 @@ https://www.ti.com/lit/pdf/spruim2 under the `Boot Mode Pins` section. + Until the next stable release of OpenOCD is available in your development + environment's distribution, it might be necissary to build OpenOCD `from the + source <https://github.com/openocd-org/open ocd>`_.
Two issues on these lines: 'necissary' should be 'necessary' (the v4 changelog claims this was fixed, but it is still here), and the URL again has a stray space.
doc/board/ti/am64x_evm.rst https://www.ti.com/lit/pdf/spruim2 under the `Boot Mode Pins` section. · line 228
Quoted 4 lines
doc/board/ti/am64x_evm.rst +2
-0@@ -227,3 +227,27 @@ https://www.ti.com/lit/pdf/spruim2 under the `Boot Mode Pins` section. +Debugging U-Boot +----------------
This whole new section is adding OpenOCD debugging documentation for AM64x, not correcting a tcl path. Please split it into a separate patch so the subject matches the change.
doc/board/ti/j721e_evm.rst To start OpenOCD and connect to the board · line 261
Quoted 4 lines
doc/board/ti/j721e_evm.rst +1
-1@@ -261,4 +261,4 @@ To start OpenOCD and connect to the board - openocd -f board/ti_j721eevm.cfg + openocd -f board/ti/j721evm.cfg
Just to check - every other file in this patch keeps the trailing name identical (e.g. ti_am625evm.cfg -> ti/am625evm.cfg), but here the second 'e' is dropped (j721eevm -> j721evm). Is that really what OpenOCD ships, or is this a typo?
Regards,
Simon
Re: [PATCH v4 10/11] doc: board: ti: correct path to tcl scripts
On August 6, 2026 thus sayeth Simon Glass:
Quoted 5 lines
Hi Bryan,
Quoted 2 lines · Bryan Brattlof
doc: board: ti: correct path to tcl scripts
Quoted 8 lines
Quoted 2 lines
OpenOCD has moved where it has placed the tcl scripts for TI's reference boards. Update their paths to the new locations.
Minor: 'has moved where it has placed' reads awkwardly. Something like 'OpenOCD has reorganised the tcl scripts for TI's reference boards into a ti/ subdirectory' would be clearer, and it would be worth naming the OpenOCD release/commit that made the move so readers know which version they need.
Sure.
Quoted 20 lines
Quoted 19 lines
Acked-by Andrew Davis <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Tested-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>
doc/board/ti/am6254atl_sk.rst| 2 +-doc/board/ti/am62ax_sk.rst | 2 +- doc/board/ti/am62dx_evm.rst | 11 ++++++----- doc/board/ti/am62px_sk.rst | 12 +++++------- doc/board/ti/am62x_sk.rst | 2 +- doc/board/ti/am64x_evm.rst | 24 ++++++++++++++++++++++++ doc/board/ti/am65x_evm.rst | 2 +- doc/board/ti/j7200_evm.rst | 2 +- doc/board/ti/j721e_evm.rst | 2 +- doc/board/ti/j722s_evm.rst | 2 +- doc/board/ti/j784s4_evm.rst | 2 +- 11 files changed, 43 insertions(+), 20 deletions(-)
Quoted 8 lines
doc/board/ti/am62px_sk.rst detailed setup information. · line 333
Quoted 5 lines
doc/board/ti/am62px_sk.rst +3
-0@@ -331,13 +331,11 @@ detailed setup information. + Until the next stable release of OpenOCD is available in your development + environment's distribution, it might be necessary to build OpenOCD `from the + source <https://github.com/openocd-org/open ocd>`_.The URL has a stray space - 'openocd-org/open ocd' should be 'openocd-org/openocd'. This will render as a broken link.
Thanks.
Quoted 10 lines
doc/board/ti/am64x_evm.rst https://www.ti.com/lit/pdf/spruim2 under the `Boot Mode Pins` section. · line 229
Quoted 6 lines
doc/board/ti/am64x_evm.rst +3
-0@@ -227,3 +227,27 @@ https://www.ti.com/lit/pdf/spruim2 under the `Boot Mode Pins` section. + Until the next stable release of OpenOCD is available in your development + environment's distribution, it might be necissary to build OpenOCD `from the + source <https://github.com/openocd-org/open ocd>`_.Two issues on these lines: 'necissary' should be 'necessary' (the v4 changelog claims this was fixed, but it is still here), and the URL again has a stray space.
Apparently I misspelled it multiple times.
Quoted 9 lines
doc/board/ti/am64x_evm.rst https://www.ti.com/lit/pdf/spruim2 under the `Boot Mode Pins` section. · line 228
Quoted 5 lines
doc/board/ti/am64x_evm.rst +2
-0@@ -227,3 +227,27 @@ https://www.ti.com/lit/pdf/spruim2 under the `Boot Mode Pins` section. +Debugging U-Boot +----------------This whole new section is adding OpenOCD debugging documentation for AM64x, not correcting a tcl path. Please split it into a separate patch so the subject matches the change.
Sure
Quoted 10 lines
doc/board/ti/j721e_evm.rst To start OpenOCD and connect to the board · line 261
Quoted 5 lines
doc/board/ti/j721e_evm.rst +1
-1@@ -261,4 +261,4 @@ To start OpenOCD and connect to the board - openocd -f board/ti_j721eevm.cfg + openocd -f board/ti/j721evm.cfgJust to check - every other file in this patch keeps the trailing name identical (e.g. ti_am625evm.cfg -> ti/am625evm.cfg), but here the second 'e' is dropped (j721eevm -> j721evm). Is that really what OpenOCD ships, or is this a typo?
Yes this has been a bug no one has noticed for a while.
https://github.com/openocd-org/openocd/blob/master/tcl/board/ti/j721evm.cfg
Previously named:
https://github.com/openocd-org/openocd/blob/v0.12.0/tcl/board/ti_j721evm.cfg
~Bryan
PATCH v4 11/11 doc: board: ti: am62lx_evm: add initial docs for the AM62L-EVM
In reply to Bryan BrattlofAdd the initial documentation on the bootflow, build, and deubgging procedures along with the relevant links to more information about the AM62Lx processor and the reference board.
---
Changes in v3:
- Used CROSS_COMPILE=$CC64 to align with other board docs
- Link to v2: https://lore.kernel.org/r/[email protected]
--- doc/board/ti/am62lx_evm.rst | 222 ++++++++++ doc/board/ti/img/am62lx_boot_diagram_phase1.svg | 450 ++++++++++++++++++++ doc/board/ti/img/am62lx_boot_diagram_phase2.svg | 525 ++++++++++++++++++++++++ doc/board/ti/img/am62lx_tiboot3.bin.svg | 170 ++++++++ doc/board/ti/img/am62lx_tispl.bin.svg | 222 ++++++++++ doc/board/ti/img/am62lx_u-boot.img.svg | 143 +++++++ doc/board/ti/k3.rst | 1 + 7 files changed, 1733 insertions(+)
doc/board/ti/am62lx_evm.rst new file +222 -0
@@ -0,0 +1,222 @@ +.. SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause +.. sectionauthor:: Bryan Brattlof <[email protected]> + +AM62Lx Platforms +================ + +The AM62L is a lite, low power and performance optimized family +of application processors that are built for Linux application +development. The AM62L is well suited for a wide range of +general-purpose applications with scalable ARM Cortex-A53 core +performance and embedded features such as: Multimedia DSI/DPI support, +integrated ADC on chip, advanced lower power management modes, and +extensive security options for IP protection with the built-in security +features. + +The AM62L is a general purpose processor, however some of the +applications well suited for it include: Human Machine Interfaces (HMI), +Medical patient monitoring , Building automation, Smart secure gateways, +Smart Thermostats, EV charging stations, Smart Metering, Solar energy +and more. + +Some highlights of AM62L SoC are: + +- Single to Dual 64-bit Arm® Cortex®-A53 microprocessor subsystem up to + 1.25GHz Integrated Giga-bit Ethernet switch supporting up to a total + of two external ports + +- 16-bit DDR Subsystem that supports LPDDR4, DDR4 memory types. + +- Display support: 1x display support over MIPI DSI (4 lanes DPHY) or + DPI (24-bit RGB LVCMOS) + +- Multiple low power modes support, ex: Deep sleep and Standby + +- Support for secure boot, Trusted Execution Environment (TEE) & + Cryptographic Acceleration + +For more information check out our `Technical Reference Manual (TRM)`_. + +.. _Technical Reference Manual (TRM): https://www.ti.com/lit/ug/sprujb4/sprujb4.pdf + + +Boot Flow: +---------- + +The AM62Lx SoCs deviate significantly from the typical boot-flow of the +other Sitara or Jacinto class of SoCs. + +The first CPU released on power on will be the Security Management +Subsystem (SMS) MCU to first secure the device like all other K3 SoCs. +However because the lack of any MCU cores the boot ROM is located on one +of the A53 cores which is responsible for loading TI's root-of-trust +firmware (TIFS) along with a BL1 image generated from the +ARM-Trusted-Firmware repository. The BL1 image is responsible for +initializing the debug console, the DDR controller, and speeding up the +A53 to it's maximum allowable. + +Once the BL1 is done, it will send a message back to the SMS core to +reset and begin the second boot phase. + +.. image:: img/am62lx_boot_diagram_phase1.svg + :alt: First phase of the AM62L boot flow + +For the second boot phase, with DDR active ROM can now load the larger +images contained in the tispl.bin (or whatever filename or offset was +configured during the BL1 boot phase) which contains TI's root-of-trust +firmware (TIFS) along with OP-TEE, TF-A's BL31 and U-Boot SPL images to +initialize the root-of-trust, and the TrustZone and normal world for the +A53s. + +From there the U-Boot SPL will load and authenticate U-Boot proper. + +.. image:: img/am62lx_boot_diagram_phase2.svg + :alt: Second phase of the AM62L boot flow + +Sources: +-------- + +.. include:: ../ti/k3.rst + :start-after: .. k3_rst_include_start_boot_sources + :end-before: .. k3_rst_include_end_boot_sources + +Build procedure: +---------------- + +0. Setup the environment variables: + + .. include:: ../ti/k3.rst + :start-after: .. k3_rst_include_start_common_env_vars_desc + :end-before: .. k3_rst_include_end_common_env_vars_desc + + .. include:: ../ti/k3.rst + :start-after: .. k3_rst_include_start_board_env_vars_desc + :end-before: .. k3_rst_include_end_board_env_vars_desc + + Set the variables corresponding to this platform: + + .. include:: ../ti/k3.rst + :start-after: .. k3_rst_include_start_common_env_vars_defn + :end-before: .. k3_rst_include_end_common_env_vars_defn + + .. prompt:: bash $ + + export UBOOT_CFG_CORTEXA=am62lx_evm_defconfig + export TFA_BOARD=am62lx-evm + export OPTEE_PLATFORM=k3-am62lx + +1. Build Trusted Firmware-A: + + More detailed porting and build guide can be found in the `TF-A + documentation`_ for all AM62L based platforms. For the AM62L-EVM the + build command will be: + + .. prompt:: bash $ + + make CROSS_COMPILE=$CC64 \ + ARCH=aarch64 \ + PLAT=k3low \ + TARGET_BOARD=$TFA_BOARD + +.. _TF-A documentation: https://trustedfirmware-a.readthedocs.io/en/latest/plat/ti-k3low-am62lx.html + +#. Build OP-TEE: + + Depending on the application more build arguments may be needed. The + `OP-TEE documentation`_ has more information on this. The basic build + commands for the AM62L-EVM are: + + .. prompt:: bash $ + + make CROSS_COMPILE=$CC32 \ + CROSS_COMPILE64=$CC64 \ + CFG_ARM64_core=y \ + $OPTEE_EXTRA_ARGS \ + PLATFORM=$OPTEE_PLATFORM + +.. _OP-TEE documentation: https://optee.readthedocs.io/en/latest/ + +#. Build U-Boot: + + .. prompt:: bash $ + + make $UBOOT_CFG_CORTEXA + make CROSS_COMPILE=$CC64 \ + BINMAN_INDIRS="$LNX_FW_PATH" \ + TEE="$OPTEE_PATH/out/arm-plat-k3/core/tee-raw.bin" \ + BL1="$TFA_PATH/build/k3low/$TFA_BOARD/release/bl1.bin" \ + BL31="$TFA_PATH/build/k3low/$TFA_BOARD/release/bl31.bin" + +Image formats: +-------------- + +The final images generated and needed for booting the AM62L are: + +- tiboot3.bin + +.. image:: img/am62lx_tiboot3.bin.svg + :alt: tiboot3.bin image format + +- tispl.bin + +.. image:: img/am62lx_tispl.bin.svg + :alt: tispl.bin image format + +- u-boot.img + +.. image:: img/am62lx_u-boot.img.svg + :alt: u-boot.img image format + +Switch Setting for Boot Mode +---------------------------- + +Boot Mode pins provide means to select the boot mode and options before the +device is powered up. After every POR, they are the main source to populate +the Boot Parameter Tables. + +The following table shows some common boot modes used on AM62L-EVM + +.. list-table:: + :widths: 16 16 8 8 + :header-rows: 1 + + * - Switch Label + - SW4: 12345678 + - SW2: 1234 + - SW3: 1234 + + * - EMMC + - 11010010 + - 0000 + - 0000 + + * - SD + - 11000010 + - 0100 + - 0000 + + * - UART + - 11011100 + - 0000 + - 0000 + + * - USB DFU + - 11001010 + - 0000 + - 0000 + +Debugging U-Boot +---------------- + +See :ref:`Common Debugging environment - OpenOCD<k3_rst_refer_openocd>`: for +detailed setup information. + +.. include:: k3.rst + :start-after: .. k3_rst_include_start_openocd_connect_XDS110 + :end-before: .. k3_rst_include_end_openocd_connect_XDS110 + +To start OpenOCD and connect to the board + +.. prompt:: bash + + openocd -f board/ti/am62levm.cfg
doc/board/ti/img/am62lx_boot_diagram_phase1.svg new file +450 -0
450 lines not on this page · raw message
doc/board/ti/img/am62lx_boot_diagram_phase2.svg new file +525 -0
525 lines not on this page · raw message
doc/board/ti/img/am62lx_tiboot3.bin.svg new file +170 -0
170 lines not on this page · raw message
doc/board/ti/img/am62lx_tispl.bin.svg new file +222 -0
222 lines not on this page · raw message
doc/board/ti/img/am62lx_u-boot.img.svg new file +143 -0
143 lines not on this page · raw message
doc/board/ti/k3.rst +1 -0
@@ -33,6 +33,7 @@ K3 Based SoCs am62ax_sk am62dx_evm am62x_sk + am62lx_evm am62px_sk am6254atl_sk am64x_evm
Signature · 1 line
2.54.0
Re: [PATCH v4 11/11] doc: board: ti: am62lx_evm: add initial docs for the AM62L-EVM
Hi Bryan,
Quoted 21 lines · Bryan Brattlof
doc: board: ti:
am62lx_evm: add initial docs for the AM62L-EVMAdd the initial documentation on the bootflow, build, and deubgging procedures along with the relevant links to more information about the AM62Lx processor and the reference board.
Tested-by Anshul Dalal <[email protected]>Reviewed-by Anshul Dalal <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>
doc/board/ti/am62lx_evm.rst| 222 ++++++++++doc/board/ti/img/am62lx_boot_diagram_phase1.svg | 450 ++++++++++++++++++++ doc/board/ti/img/am62lx_boot_diagram_phase2.svg | 525 ++++++++++++++++++++++++ doc/board/ti/img/am62lx_tiboot3.bin.svg | 170 ++++++++ doc/board/ti/img/am62lx_tispl.bin.svg | 222 ++++++++++ doc/board/ti/img/am62lx_u-boot.img.svg | 143 +++++++ doc/board/ti/k3.rst | 1 + 7 files changed, 1733 insertions(+)
doc/board/ti/am62lx_evm.rst line 3
Quoted 3 lines
doc/board/ti/am62lx_evm.rst +3
-0@@ -0,0 +1,222 @@ +The AM62L is a general purpose processor, however some of the +applications well suited for it include: Human Machine Interfaces (HMI), +Medical patient monitoring , Building automation, Smart secure gateways,
Stray space before the comma after 'monitoring'.
doc/board/ti/am62lx_evm.rst line 6
Quoted 8 lines
doc/board/ti/am62lx_evm.rst +6
-0@@ -0,0 +1,222 @@ +However because the lack of any MCU cores the boot ROM is located on one +of the A53 cores which is responsible for loading TI's root-of-trust +firmware (TIFS) along with a BL1 image generated from the +ARM-Trusted-Firmware repository. The BL1 image is responsible for +initializing the debug console, the DDR controller, and speeding up the +A53 to it's maximum allowable.
'However because the lack of' should be 'However, because of the lack of'. And 'it's' should be 'its' - plus 'maximum allowable' is missing a noun (frequency?).
doc/board/ti/am62lx_evm.rst line 1
Quoted 3 lines
doc/board/ti/am62lx_evm.rst +1
-0@@ -0,0 +1,222 @@ +For the second boot phase, with DDR active ROM can now load the larger
Please add a comma after 'active' - as written it reads as 'DDR active ROM'.
Regards,
Simon
Quoted 42 lines · Bryan Brattlof
Hello Everyone,
This series adds the initial support TI's AM62L SoC family along with the AM62L-EVM reference board.
The AM62L is a lite, low power and performance optimized family of application processors that are built for Linux application development. AM62L is well suited for a wide range of general-purpose applications with scalable ARM Cortex-A53 core performance and embedded features such
as: Multimedia DSI/DPI support, integrated ADC on chip, advanced lower power management modes, and extensive security options for IP protection with the built-in security features.Additionally, the AM62Lx devices includes an extensive set of peripherals that make it a well-suited for a broad range of industrial applications while offering intelligent features and optimized power architecture as well. In addition, the extensive set of peripherals included in AM62Lx enables system-level connectivity, such as: USB, MMC/SD, OSPI, CAN-FD and an ADC.
AM62L is a general purpose processor, however some of the applications well suited for it include: Human Machine Interfaces (HMI), Medical patient monitoring , Building automation, Smart secure gateways, Smart Thermostats, EV charging stations, Smart Metering, Solar energy and more.
Some highlights of AM62L SoC are:
- Single to Dual 64-bit Arm® Cortex®-A53 microprocessor subsystem up to 1.25GHz Integrated Giga-bit Ethernet switch supporting up to a total of two external
- 16-bit DDR Subsystem that supports LPDDR4, DDR4 memory types.
- Display support: 1x display support over MIPI DSI (4 lanes DPHY) or DPI (24-bit RGB LVCMOS)
- Multiple low power modes support, ex: Deep sleep and Standby
- Support for secure boot, Trusted Execution Environment (TEE) & Cryptographic Acceleration
Quoted 7 lines
For more information check out our Technical Reference Manual (TRM) which is located here:
https://www.ti.com/lit/ug/sprujb4/sprujb4.pdfHappy Hacking
~Bryan
OSM-S AM62L
Hi Bryan,
Quoted 42 lines · Bryan Brattlof
Hello Everyone,
This series adds the initial support TI's AM62L SoC family along with the AM62L-EVM reference board.
The AM62L is a lite, low power and performance optimized family of application processors that are built for Linux application development. AM62L is well suited for a wide range of general-purpose applications with scalable ARM Cortex-A53 core performance and embedded features such
as: Multimedia DSI/DPI support, integrated ADC on chip, advanced lower power management modes, and extensive security options for IP protection with the built-in security features.Additionally, the AM62Lx devices includes an extensive set of peripherals that make it a well-suited for a broad range of industrial applications while offering intelligent features and optimized power architecture as well. In addition, the extensive set of peripherals included in AM62Lx enables system-level connectivity, such as: USB, MMC/SD, OSPI, CAN-FD and an ADC.
AM62L is a general purpose processor, however some of the applications well suited for it include: Human Machine Interfaces (HMI), Medical patient monitoring , Building automation, Smart secure gateways, Smart Thermostats, EV charging stations, Smart Metering, Solar energy and more.
Some highlights of AM62L SoC are:
- Single to Dual 64-bit Arm® Cortex®-A53 microprocessor subsystem up to 1.25GHz Integrated Giga-bit Ethernet switch supporting up to a total of two external
- 16-bit DDR Subsystem that supports LPDDR4, DDR4 memory types.
- Display support: 1x display support over MIPI DSI (4 lanes DPHY) or DPI (24-bit RGB LVCMOS)
- Multiple low power modes support, ex: Deep sleep and Standby
- Support for secure boot, Trusted Execution Environment (TEE) & Cryptographic Acceleration
Quoted 7 lines
For more information check out our Technical Reference Manual (TRM) which is located here:
https://www.ti.com/lit/ug/sprujb4/sprujb4.pdfHappy Hacking
~Bryan
What is the current status of this series? I would really like to see this find its way into the main branch.
Thanks for your work!
Frieder