From: Sjoerd Simons
THe TI AM654 timer is compatible with the omap-timer implementation, so
add it to the id list
Signed-off-by: Sjoerd Simons
Reviewed-by: Tom Rini
Tested-by: Ravi Gunasekaran
Tested-by: Mattijs Korpershoek
Cc: Francesco Dolcini
Cc: Wadim Egorov
Signed-off-by: Nishanth
es in r5-sk, no need for
either the definitions from main.dtsi OR duplication from u-boot.dtsi
Cc: Francesco Dolcini
Cc: Sjoerd Simons
Cc: Wadim Egorov
Signed-off-by: Nishanth Menon
---
Changes Since V1:
* Dependency on:
https://lore.kernel.org/r/20230724-ti-mdio-pinmux-v4-1-1854
onfigurations (popcorn as they might be), and we
need to figure out a better option to introduce this kind of variation
cleanly. For now, I will try dropping this patch.
[1]
https://git.beagleboard.org/beagleboard/linux/-/blob/v6.1.33-ti-rt-arm64-r6/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts#L
Add link to the actual platform for folks to find details about the
board in addition to the SoC's TRM.
Signed-off-by: Nishanth Menon
---
doc/board/ti/am62x_sk.rst | 4
doc/board/ti/am65x_evm.rst | 4
doc/board/ti/j7200_evm.rst | 4
doc/board/ti/j721e_evm.rst | 5 +
4
Convert the image format into svg that can be reused across platforms as
needed.
Signed-off-by: Nishanth Menon
---
doc/board/ti/am62x_sk.rst | 52 +---
doc/board/ti/img/multi_cert_tiboot3.bin.svg | 287
2 files changed, 291 insertions(+), 48 deletions
Use list tables to map up the UART Boot responsibility table.
Signed-off-by: Nishanth Menon
---
doc/board/ti/am65x_evm.rst | 38 --
1 file changed, 28 insertions(+), 10 deletions(-)
diff --git a/doc/board/ti/am65x_evm.rst b/doc/board/ti/am65x_evm.rst
index
Convert the image format into svg that can be reused across platforms as
needed.
Signed-off-by: Nishanth Menon
---
doc/board/ti/am65x_evm.rst | 65 +--
doc/board/ti/img/nodm_tispl.bin.svg | 277
2 files changed, 281 insertions(+), 61 deletions
are looking for board information
incontext of the documentation itself. (ever wondered what board is
this documentation talking about?)
Nishanth Menon (16):
doc: board: ti: Optimize sources references
doc: board: ti: am62x/j7200: Update with common boot flow diagram
doc: board: ti: am65x
Use list tables to map up the dip switch settings
Signed-off-by: Nishanth Menon
---
doc/board/ti/am62x_sk.rst | 38 +++---
1 file changed, 27 insertions(+), 11 deletions(-)
diff --git a/doc/board/ti/am62x_sk.rst b/doc/board/ti/am62x_sk.rst
index 334dda176fc9
Use list tables to map up the dip switch settings
Signed-off-by: Nishanth Menon
---
doc/board/ti/j7200_evm.rst | 37 ++---
1 file changed, 26 insertions(+), 11 deletions(-)
diff --git a/doc/board/ti/j7200_evm.rst b/doc/board/ti/j7200_evm.rst
index 4786dc19d0d8
We have duplication of sources which makes it hard to sustain across the
board, but at the same time, we'd like to ensure readers get specific
information without having to cross refer to different documentation to
get piecemeal information that they need to put together.
Signed-off-by: Nis
Convert the emmc memory layout to svg
Signed-off-by: Nishanth Menon
---
doc/board/ti/am65x_evm.rst| 17 +-
doc/board/ti/img/emmc_am65x_evm_boot0.svg | 748 ++
2 files changed, 749 insertions(+), 16 deletions(-)
create mode 100644 doc/board/ti/img
Convert the image format into svg that can be reused across platforms as
needed.
Signed-off-by: Nishanth Menon
---
doc/board/ti/img/dm_tispl.bin.svg | 317
doc/board/ti/img/j7200_tiboot3.bin.svg | 487 +
doc/board/ti/j7200_evm.rst | 63
Convert the image format into svg that can be reused across platforms as
needed.
Signed-off-by: Nishanth Menon
---
.../ti/img/no_multi_cert_tiboot3.bin.svg | 238 +
doc/board/ti/img/sysfw.itb.svg| 317 ++
doc/board/ti/j721e_evm.rst
Update the bootflow svg diagram instead of the ascii version
Signed-off-by: Nishanth Menon
---
doc/board/ti/am65x_evm.rst | 71 +-
doc/board/ti/img/boot_diagram_am65.svg | 1835
2 files changed, 1836 insertions(+), 70 deletions(-)
create mode 100644 doc
Introduce common variables to define a generic build instruction that is
then used in specific board specific description.
Labels are introduced in the evm.rst files to be then reused in variant
board documentation as well.
Signed-off-by: Nishanth Menon
---
doc/board/ti/am62x_sk.rst | 61
Convert the memory map for OSPI as a common memory map
Signed-off-by: Nishanth Menon
---
doc/board/ti/am65x_evm.rst | 27 +-
doc/board/ti/img/ospi_sysfw.svg | 721
doc/board/ti/j721e_evm.rst | 27 +-
3 files changed, 723 insertions(+), 52 deletions
Update the bootflow svg diagram and reuse across the platforms as they
are common.
Signed-off-by: Nishanth Menon
---
doc/board/ti/am62x_sk.rst| 68 +-
doc/board/ti/img/boot_diagram_k3_current.svg | 1987 ++
doc/board/ti/j7200_evm.rst
Convert the emmc memory layout to svg
Signed-off-by: Nishanth Menon
---
doc/board/ti/img/emmc_j7200_evm_boot01.svg | 662 +
doc/board/ti/img/emmc_j7200_evm_udafs.svg | 505
doc/board/ti/j7200_evm.rst | 32 +-
3 files changed, 1169
Update the bootflow svg diagram instead of the ascii version
Signed-off-by: Nishanth Menon
---
doc/board/ti/img/boot_diagram_j721e.svg | 2088 +++
doc/board/ti/j721e_evm.rst | 91 +-
2 files changed, 2089 insertions(+), 90 deletions(-)
create mode 100644 doc
e driver a bit to create a dummy MDIO driver that we will
> then get during our initialization to force the core to select the right
> muxing.
>
> Signed-off-by: Maxime Ripard
> ---
Acked-by: Nishanth Menon
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
On 22:31-20230722, Roger Quadros wrote:
> The approved DT property for MAC efuse (ROM) address is
> "ti,syscon-efuse".
>
> Use that and drop custom property "mac_efuse".
>
> Signed-off-by: Roger Quadros
Acked-by: Nishanth Menon
--
Regards,
Roger Quadros
> ---
Acked-by: Nishanth Menon
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
/
Changes since RFC:
* dependencies are all merged on master now.
* No new dependencies in this series, though the issue with uboot dtb
not working for kernel is not a regression, it should probably be
handled as a fixup part of RC Cycle.
RFC: https://lore.kernel.org/u-boot/20230713072019.3153871-1...@ti.
: Francesco Dolcini
Cc: Wadim Egorov
Signed-off-by: Nishanth Menon
---
Changes since V2:
- Added Roger's reviewed-by
V2: https://lore.kernel.org/all/20230726151027.2517151-3...@ti.com/
V1: https://lore.kernel.org/all/20230725125856.1807742-3...@ti.com/
Original patch:
https://lore.kernel.
: Wadim Egorov
Signed-off-by: Nishanth Menon
---
Changes since V2:
- Fixup typos in commit message noticed by Andrew (Thanks)
- Added Roger's reviewed-by
V2: https://lore.kernel.org/all/20230726151027.2517151-2...@ti.com/
V1: https://lore.kernel.org/all/20230725125856.1807742-2...@ti.com/
Ori
es in r5-sk, no need for
either the definitions from main.dtsi OR duplication from u-boot.dtsi
Reviewed-by: Roger Quadros
Cc: Francesco Dolcini
Cc: Sjoerd Simons
Cc: Wadim Egorov
Signed-off-by: Nishanth Menon
---
Changes since V2:
- Fixup typos in commit message (it was 6.5-rc1 rather than th
On 15:22-20230727, Neha Malcom Francis wrote:
> On 27/07/23 13:30, Nishanth Menon wrote:
> > Convert the image format into svg that can be reused across platforms as
> > needed.
> >
> > Signed-off-by: Nishanth Menon
> > ---
> > doc/b
On 15:34-20230727, Neha Malcom Francis wrote:
> On 27/07/23 15:32, Neha Malcom Francis wrote:
> > Hi Nishanth
> >
> > On 27/07/23 15:10, Neha Malcom Francis wrote:
> > > These look nice!
> > >
> > > On 27/07/23 13:30, Nishanth Menon wrote:
> >
On 03:00-20230727, Nishanth Menon wrote:
> Hi,
>
> As requested in the thread[1] and irc[2], this series cleansup board/ti
> documentation a bit.
I missed providing the references here.
[1] https://lore.kernel.org/all/20230726164942.GW3630934@bill-the-ca
Add labels around the A53 SPL DDR memory layout to be able to reuse the
memory map.
Signed-off-by: Nishanth Menon
---
New patch to help keep things easy for new am62x platforms to reuse
memory map
doc/board/ti/am62x_sk.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/board/ti
Use list tables to map up the dip switch settings
Signed-off-by: Nishanth Menon
---
Changes since V1
* No Change
V1: https://lore.kernel.org/all/20230727080027.2817701-11...@ti.com/
doc/board/ti/am62x_sk.rst | 38 +++---
1 file changed, 27 insertions(+), 11
Use list tables to map up the UART Boot responsibility table.
Signed-off-by: Nishanth Menon
---
Changes since V1
* No Change
V1: https://lore.kernel.org/all/20230727080027.2817701-13...@ti.com/
doc/board/ti/am65x_evm.rst | 38 --
1 file changed, 28
practice has been discouraged for some time and can potentially create
problems with Kconfig rules related to aarch64. It's best to avoid
this approach.
Signed-off-by: Nishanth Menon
---
Changes since V1
* Updates to fix up typos, ARCH=arm space before \ and misc.
V1: https://lore.kernel.or
Convert the image format into svg that can be reused across platforms as
needed.
Signed-off-by: Nishanth Menon
---
Changes since V1
* Doc updates
V1: https://lore.kernel.org/all/20230727080027.2817701-7...@ti.com/
doc/board/ti/img/dm_tispl.bin.svg | 317 ++
doc/board/ti
Update the bootflow svg diagram instead of the ascii version
Reviewed-by: Neha Malcom Francis
Signed-off-by: Nishanth Menon
---
Changes since V1
* Picked up Reviewed-by, Dia updates
V1: https://lore.kernel.org/all/20230727080027.2817701-4...@ti.com/
doc/board/ti/am65x_evm.rst
Add link to the actual platform for folks to find details about the
board in addition to the SoC's TRM.
Signed-off-by: Nishanth Menon
---
Changes since V1
* No Change
V1: https://lore.kernel.org/all/20230727080027.2817701-17...@ti.com/
doc/board/ti/am62x_sk.rst | 4
doc/boa
Use list tables to map up the dip switch settings
Signed-off-by: Nishanth Menon
---
Changes since V1
* No Change
V1: https://lore.kernel.org/all/20230727080027.2817701-12...@ti.com/
doc/board/ti/j7200_evm.rst | 37 ++---
1 file changed, 26 insertions(+), 11
labels to
reuse-memory maps)
* Few reviewed by pickups from Neha and Tom
* 3 new patches (bootflow cleanup, sorting boards in alpha order and
labels to reuse memory map)
V1: https://lore.kernel.org/all/20230727080027.2817701-1...@ti.com/
Nishanth Menon (19):
doc: board: ti: Optimize sources
alcom Francis
Reviewed-by: Tom Rini
Signed-off-by: Nishanth Menon
---
Changes since V1
* just picked reviewed-by
V1: https://lore.kernel.org/all/20230727080027.2817701-2...@ti.com/
doc/board/ti/am62x_sk.rst | 17 +++--
doc/board/ti/am65x_evm.rst | 17 +++--
doc/boa
Convert the image format into svg that can be reused across platforms as
needed.
Signed-off-by: Nishanth Menon
---
Changes since V1
* Dia updates
V1: https://lore.kernel.org/all/20230727080027.2817701-8...@ti.com/
.../ti/img/no_multi_cert_tiboot3.bin.svg | 238 +
doc/board/ti
Replace the ascii flow diagram with svg.
Signed-off-by: Nishanth Menon
---
New Patch from review comments
doc/board/ti/img/boot_flow_01.svg | 220 +++
doc/board/ti/img/boot_flow_02.svg | 459 +++
doc/board/ti/img/boot_flow_03.svg | 583
Convert the image format into svg that can be reused across platforms as
needed.
Signed-off-by: Nishanth Menon
---
Changes since V1
* Dia updates
V1: https://lore.kernel.org/all/20230727080027.2817701-9...@ti.com/
doc/board/ti/am65x_evm.rst | 65 +--
doc/board/ti/img
Convert the emmc memory layout to svg
Signed-off-by: Nishanth Menon
---
Changes since V1
* No change
V1: https://lore.kernel.org/all/20230727080027.2817701-16...@ti.com/
doc/board/ti/img/emmc_j7200_evm_boot01.svg | 662 +
doc/board/ti/img/emmc_j7200_evm_udafs.svg | 505
Update the bootflow svg diagram instead of the ascii version
Reviewed-by: Neha Malcom Francis
Signed-off-by: Nishanth Menon
---
Changes since V1
* Picked up reviewed by, boot dia updates
V1: https://lore.kernel.org/all/20230727080027.2817701-5...@ti.com/
doc/board/ti/img
Keep the boards sorted in alphabetical order.
Signed-off-by: Nishanth Menon
---
New patch
doc/board/ti/k3.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst
index 7933c955e07e..eb1896b06cd5 100644
--- a/doc/board/ti/k3.rst
Convert the image format into svg that can be reused across platforms as
needed.
Signed-off-by: Nishanth Menon
---
Changes since V1
* Dia updates
V1: https://lore.kernel.org/all/20230727080027.2817701-10...@ti.com/
doc/board/ti/am62x_sk.rst | 52 +---
doc/board/ti/img
Convert the emmc memory layout to svg
Signed-off-by: Nishanth Menon
---
Changes since V1
* No Change
V1: https://lore.kernel.org/all/20230727080027.2817701-15...@ti.com/
doc/board/ti/am65x_evm.rst| 17 +-
doc/board/ti/img/emmc_am65x_evm_boot0.svg | 748
Update the bootflow svg diagram and reuse across the platforms as they
are common.
Reviewed-by: Neha Malcom Francis
Signed-off-by: Nishanth Menon
---
Changes since V1
* Picked up reviewed-by
V1: https://lore.kernel.org/all/20230727080027.2817701-3...@ti.com/
doc/board/ti/am62x_sk.rst
Convert the memory map for OSPI as a common memory map
Signed-off-by: Nishanth Menon
---
Changes since V1
* No Change
V1: https://lore.kernel.org/all/20230727080027.2817701-14...@ti.com/
doc/board/ti/am65x_evm.rst | 27 +-
doc/board/ti/img/ospi_sysfw.svg | 721
Add defconfigs for am625 based beagleplay
Signed-off-by: Nishanth Menon
---
Changes since V1:
- None
V1: https://lore.kernel.org/all/20230725185253.2123433-6...@ti.com/
configs/am62x_beagleplay_a53_defconfig | 90
configs/am62x_beagleplay_r5_defconfig | 110
Add labels for unsigned binary to permit over-ride.
Cc: Simon Glass
Signed-off-by: Nishanth Menon
---
I think we might also want to review Neha's approach in RFC stage if
this is not acceptable, but I suspect other boards will have similar
challenges:
https://lore.kernel.or
a bit
* Dropped the controversial voltage and 32k settings patch for now while
we figure out how to get it in properly
* Added config fragments as an add-on patch - I'd rather see us migrate
there at some near term point.
V1: https://lore.kernel.org/all/20230725185253.2123433-1...@ti.com/
Add base documentation for BeaglePlay
Signed-off-by: Nishanth Menon
---
Changes Since V1:
- Dependency added on top of doc cleanup
https://lore.kernel.org/all/20230727185902.3310543-1...@ti.com/
- Mostly rewrite.. hopefully for the better
V1: https://lore.kernel.org/all/20230725185253.2123433
Removes the largely duplicated A53 and R5 defconfigs and reuses the
am62x_evm_*_defconfig with minor platform specific changes.
Cc: Simon Glass
Signed-off-by: Nishanth Menon
---
New Patch
This depends on the RFC (and hence "TMP") and debated upon patch (to
introduce config fragme
-..020078|]
https://beagleplay.org/
https://git.beagleboard.org/beagleplay/beagleplay
baseline of base device tree is v6.5-rc1.
Reviewed-by: Tom Rini
Signed-off-by: Robert Nelson
Co-developed-by: Nishanth Menon
Signed-off-by: Nishanth Menon
---
Changes since V1:
- None
V1: https://lore.kernel.org
On 09:31-20230728, Heinrich Schuchardt wrote:
>
>
> On 7/27/23 11:40, Neha Malcom Francis wrote:
> > These look nice!
> >
> > On 27/07/23 13:30, Nishanth Menon wrote:
> > > Update the bootflow svg diagram and reuse across the platforms as they
> > >
operation. If debugging the SPL
> > + before the SYSFW is loaded, the watchdog timer will not get serviced
> > + automatically and the debug session will reset after 3 minutes. It
> > + is recommended to start debugging SPL code only after the startup of
> > + SYSFW to avoid running into the watchdog timer reset.
> > +
> > diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst
> > index b49a60caf1..b22ff82615 100644
> > --- a/doc/board/ti/k3.rst
> > +++ b/doc/board/ti/k3.rst
> > @@ -209,7 +209,7 @@ domain of your K3 SoC.
> > | `u-boot/build/wkup/tiboot3.bin`
> > | `k3-image-gen/sysfw-{SOC}-evm.bin`
> >
> > -.. note ::
> > +.. note::
> >
> > It's important to rename the generated `tiboot3.bin` and `sysfw.itb`
> > to match exactly `tiboot3.bin` and `sysfw.itb` as ROM and the wakeup
> > @@ -259,16 +259,30 @@ Sitara (`am6*`) devices use the `lite` option.
> >
> > If your device uses a split firmware, you will also need to supply the
> > path to the Device Management (DM) Firmware to be included in the final
> > -`tispl.bin` binary
> > +`tispl.bin` binary.
> >
> > .. code-block:: bash
> >
> >
> > DM=
> >
> > At this point you should have every binary needed initialize both the
> > -wakeup and main domain and to boot to the U-Boot prompt
> > +wakeup and main domain and to boot to the U-Boot prompt.
> >
> > **Main Domain Bootloader**
> >
> > | `u-boot/build/main/tispl.bin`
> > | `u-boot/build/main/u-boot.img`
> > +
> > +.. note::
> > +
> > + When generating the Main Domain binaries for secure devices, use
> > + `tispl.bin_HS` and `u-boot.img_HS` and rename these files to match
> > + exactly `tispl.bin` and `u-boot.img` to boot the device.
> > +
> > +Troubleshooting
> > +---
> > +
> > +.. toctree::
> > + :maxdepth: 1
> > +
> > + am62x_openocd
>
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
Add Licensing to svg images to clarify the terms.
Signed-off-by: Nishanth Menon
---
doc/board/ti/img/boot_diagram_am65.svg | 4
doc/board/ti/img/boot_diagram_j721e.svg| 4
doc/board/ti/img/boot_diagram_k3_current.svg | 4
doc/board/ti/img/boot_flow_01.svg
gdb compatible interface for developers to work with.
Debugging U-boot and bootloaders on K3 platform does have a bit of
tribal knowledge that is better documented in our common platform
documentation.
Signed-off-by: Jason Kacines
Signed-off-by: Nishanth Menon
---
Changes since V1:
* Merged into
mes = "default";
> + pinctrl-0 = <&main_i2c0_pins_default>;
> + clock-frequency = <40>;
> + /delete-property/ power-domains;
> +};
> +
> &main_uart0 {
> /delete-property/ power-domains;
> /delete-property/ clocks;
> /delete-property/ clock-names;
> pinctrl-names = "default";
> pinctrl-0 = <&main_uart0_pins_default>;
> + current-speed = <115200>;
> status = "okay";
> };
>
> @@ -264,4 +286,11 @@
> };
> };
>
> +&main_timer0 {
> + /delete-property/ clocks;
> + /delete-property/ assigned-clocks;
> + /delete-property/ assigned-clock-parents;
> + /delete-property/ power-domains;
> +};
> +
> #include "k3-am642-sk-u-boot.dtsi"
Move the u-boot.dtsi include to the very top after board.dts is
included. - Same with the evm dts.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
/dts/k3-am642.dtsi| 1 +
> board/ti/am64x/evm.c | 3 +-
> 12 files changed, 589 insertions(+), 175 deletions(-)
> create mode 100644 arch/arm/dts/k3-am64-thermal.dtsi
>
> --
> 2.34.1
>
Could you also add documentation for u-boot (doc/board/ti/)
partition@74 {
> + label = "ospi.env.backup";
> + reg = <0x74 0x4>;
> + };
> +
> + partition@80 {
> + label = "ospi.rootfs";
> + reg = <0x80 0x37c>;
> + };
> +
> + partition@3fc {
> + label = "ospi.phypattern";
> + reg = <0x3fc 0x4>;
> + };
> + };
> };
> };
>
> &mailbox0_cluster2 {
> + status = "okay";
> +
> mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
> ti,mbox-rx = <0 0 2>;
> ti,mbox-tx = <1 0 2>;
> @@ -486,11 +591,9 @@
> };
> };
>
> -&mailbox0_cluster3 {
> - status = "disabled";
> -};
> -
> &mailbox0_cluster4 {
> + status = "okay";
> +
> mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 {
> ti,mbox-rx = <0 0 2>;
> ti,mbox-tx = <1 0 2>;
> @@ -502,41 +605,35 @@
> };
> };
>
> -&mailbox0_cluster5 {
> - status = "disabled";
> -};
> -
> &mailbox0_cluster6 {
> + status = "okay";
> +
> mbox_m4_0: mbox-m4-0 {
> ti,mbox-rx = <0 0 2>;
> ti,mbox-tx = <1 0 2>;
> };
> };
>
> -&mailbox0_cluster7 {
> - status = "disabled";
> -};
> -
> &main_r5fss0_core0 {
> - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core0>;
> + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core0>;
> memory-region = <&main_r5fss0_core0_dma_memory_region>,
> <&main_r5fss0_core0_memory_region>;
> };
>
> &main_r5fss0_core1 {
> - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core1>;
> + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core1>;
> memory-region = <&main_r5fss0_core1_dma_memory_region>,
> <&main_r5fss0_core1_memory_region>;
> };
>
> &main_r5fss1_core0 {
> - mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core0>;
> + mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core0>;
> memory-region = <&main_r5fss1_core0_dma_memory_region>,
> <&main_r5fss1_core0_memory_region>;
> };
>
> &main_r5fss1_core1 {
> - mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core1>;
> + mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core1>;
> memory-region = <&main_r5fss1_core1_dma_memory_region>,
> <&main_r5fss1_core1_memory_region>;
> };
> diff --git a/arch/arm/dts/k3-am642-r5-evm.dts
> b/arch/arm/dts/k3-am642-r5-evm.dts
> index b49064181a..fd9e9a6489 100644
> --- a/arch/arm/dts/k3-am642-r5-evm.dts
> +++ b/arch/arm/dts/k3-am642-r5-evm.dts
> @@ -13,12 +13,17 @@
> / {
> chosen {
> stdout-path = "serial2:115200n8";
> - tick-timer = &timer1;
> };
>
> aliases {
> remoteproc0 = &sysctrler;
> remoteproc1 = &a53_0;
> + serial1 = &main_uart1;
> + serial2 = &main_uart0;
> + i2c0 = &main_i2c0;
> + mmc0 = &sdhci0;
> + mmc1 = &sdhci1;
> + ethernet0 = &cpsw_port1;
> };
>
> memory@8000 {
> @@ -210,6 +215,13 @@
> AM64X_IOPAD(0x0144, PIN_OUTPUT, 4) /* (Y11)
> PRG1_PRU1_GPO15.RGMII2_TX_CTL */
> >;
> };
> +
> + main_i2c0_pins_default: main-i2c0-default-pins {
> + pinctrl-single,pins = <
> + AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18)
> I2C0_SCL */
> + AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18)
> I2C0_SDA */
> + >;
> + };
> };
>
> &dmsc {
> @@ -227,6 +239,7 @@
> /delete-property/ clock-names;
> pinctrl-names = "default";
> pinctrl-0 = <&main_uart0_pins_default>;
> + current-speed = <115200>;
> status = "okay";
> };
>
> @@ -267,6 +280,10 @@
>
> /* EEPROM might be read before SYSFW is available */
> &main_i2c0 {
> + status = "okay";
> + pinctrl-names = "default";
> + pinctrl-0 = <&main_i2c0_pins_default>;
> + clock-frequency = <40>;
> /delete-property/ power-domains;
> };
>
> @@ -282,4 +299,11 @@
> pinctrl-0 = <&main_usb0_pins_default>;
> };
>
> +&main_timer0 {
> + /delete-property/ clocks;
> + /delete-property/ assigned-clocks;
> + /delete-property/ assigned-clock-parents;
> + /delete-property/ power-domains;
> +};
> +
> #include "k3-am642-evm-u-boot.dtsi"
> diff --git a/arch/arm/dts/k3-am642-r5-sk.dts b/arch/arm/dts/k3-am642-r5-sk.dts
> index 32d4c31728..5487973e6e 100644
> --- a/arch/arm/dts/k3-am642-r5-sk.dts
> +++ b/arch/arm/dts/k3-am642-r5-sk.dts
k3-am642-r5-sk.dts should include as follows will avoid tons of
duplication:
#include "k3-am642-sk.dts"
#include "k3-am64-sk-ddr4-1600MTs.dtsi"
#include "k3-am64-ddr.dtsi"
#include "k3-am642-sk-u-boot.dtsi"
Then we can drop entire memory and ton of pinmux, esm and what not..
even secure_proxy is defined in main.
Please refer to the cleanup done in am625 as reference.
Also i noticed ti,tps65219 support -> this is not correct.
There are two boards:
https://www.ti.com/tool/SK-AM64 - This uses descrete power supply
https://www.ti.com/tool/SK-AM64B - this uses ti,tps65219
the board dts supports https://www.ti.com/tool/SK-AM64 as should be in the
documentation of the dts (looks missed). - SKB needs to be added in
upstream prior to being backported to the platform.
I'd rather we figure this out in upstream kernel than in u-boot.
Suggestion:
revert 28a4c3113445d4400639f357fae0def007a41093 and introduce it back
once resolved in upstream kernel.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
gdb compatible interface for developers to work with.
Debugging U-boot and bootloaders on K3 platform does have a bit of
tribal knowledge that is better documented in our common platform
documentation.
Signed-off-by: Jason Kacines
Signed-off-by: Nishanth Menon
---
Changes since V2:
* Review
On 20:18-20230802, Roger Quadros wrote:
> Add boot flow diagram for AM64 SoC.
>
> Suggested-by: Nishanth Menon
> Signed-off-by: Roger Quadros
> ---
> doc/board/ti/img/boot_diagram_am64.svg | 496 +
> 1 file changed, 496 insertions(+)
> create
ine board_is_am64x_skevm() (board_ti_k3_is("AM64-SKEVM") || \
> board_ti_k3_is("AM64B-SKEVM"))
> --
> 2.34.1
>
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
3c63ec44185ab61576
Tested-by: Nishanth Menon
>
> cheers,
> -roger
>
> Changelog:
>
> v2:
> - Sync with v6.5-rc1
> - Rebase on latest uboot/master
> - CPSW node cleanup
> - Timer node cleanup
>
> Roger Quadros (2):
> board: ti: am64x: Recognize A
On 20:18-20230802, Roger Quadros wrote:
> Sync all am642-evm/am642-sk related DT files
> with Linux v6.5-rc1.
>
> - drop timer1 in favor of main_timer0 in am64-main.dtsi.
> Need to delete clock & power domain properties of
> main_timer1 in -r5.dts else won't boot. This is because
> timer_init is d
On 22:06-20230802, Roger Quadros wrote:
>
>
> On 02/08/2023 20:55, Nishanth Menon wrote:
> > On 20:18-20230802, Roger Quadros wrote:
> >> Add boot flow diagram for AM64 SoC.
> >>
> >> Suggested-by: Nishanth Menon
> >> Signed-off
#if 0
/* Verdin USB_1 */
&usbss0 {
ti,vbus-divider;
@@ -1395,7 +1392,6 @@
dr_mode = "host";
status = "disabled";
};
-#endif
/* Verdin UART_2 */
&wkup_uart0 {
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
BOARD=lite
+ $ # we dont use any extra TFA parameters
+ $ unset TFA_EXTRA_ARGS
+ $ export OPTEE_PLATFORM=k3-am62x
+ $ export OPTEE_EXTRA_ARGS="CFG_WITH_SOFTWARE_PRNG=y"
+
+.. include:: ../ti/am62x_sk.rst
+ :start-after: .. am62x_evm_rst_include_start_build_steps
+:end-before: .. am6
GDB compatible interface for developers to work with.
Debugging U-Boot and bootloaders on K3 platform does have a bit of
tribal knowledge that is better documented in our common platform
documentation.
Signed-off-by: Jason Kacines
Signed-off-by: Nishanth Menon
---
Changes from V3:
* Thank you
; A53 SPL (part of tispl.bin) ---> U-boot proper (u-boot.img)
>
> Signed-off-by: Marcel Ziswiler
>
it looks like this patch is stuck in the mail-size quarantine.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
kevm() (board_ti_k3_is("AM64-SKEVM") || \
> board_ti_k3_is("AM64B-SKEVM"))
> --
> 2.34.1
>
Reviewed-by: Nishanth Menon
Tested-by: Nishanth Menon #SK-AM64B
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
le.
>
> Signed-off-by: Roger Quadros
Reviewed-by: Nishanth Menon
Tested-by: Nishanth Menon #SK-AM64B
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
$subject: Add documentation for am64-evm
On 19:06-20230803, Roger Quadros wrote:
> Add boot flow diagram for AM64 SoC.
and documentation for AM64-evm
>
> Suggested-by: Nishanth Menon
> Signed-off-by: Roger Quadros
Other than that:
Reviewed-by: Nishanth Menon
--
Regards,
Ni
- 1110
> - 0100
>
> - * - OSPI
> + * - xSPI/SFDP (OSPI)
This should have been squashed to the documentation patch.
> - 11001110
> - 0100
>
> --
> 2.34.1
>
Other than that,
Reviewed-by: Nishanth Menon
Tested-by: Nishanth
2MB WB IT
> 0073: Verdin AM62 Dual 1GB ET
> 0074: Verdin AM62 Dual 1GB IT
> 0075: Verdin AM62 Dual 1GB WB IT
> 0076: Verdin AM62 Quad 2GB WB IT
>
> Signed-off-by: Marcel Ziswiler
> Signed-off-by: Emanuele Ghidoli
>
> ---
Briefly reviewed for sanity:
Reviewed-
.ti.com/tisci/esd/latest/5_soc_doc/am62x/clocks.html#clocks-for-board0-device
>
> Signed-off-by: Marcel Ziswiler
> Reviewed-by: Bryan Brattlof
Reviewed-by: Nishanth Menon
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
_pem, bcfg_yaml_sysfw, scfg_yaml_sysfw, pcfg_yaml_sysfw and
> rcfg_yaml_sysfw.
>
> Signed-off-by: Marcel Ziswiler
Reviewed-by: Nishanth Menon
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
t; +Net:
> +Warning: ethernet@800port@1 MAC addresses don't match:
> +Address in ROM is1c:63:49:22:5f:f9
> +Address in environment is 00:14:2d:e5:73:c4
> +eth0: ethernet@800port@1 [PRIME], eth1: ethernet@800port@2
> +Hit any key to stop autoboot: 0
> +Verdin AM62 #
I think you missed adding white space here.
It renders as this: https://usercontent.irccloud-cdn.com/file/625Dsdcq/image.png
With that fixed, please feel free to add:
Reviewed-by: Nishanth Menon
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
einrich
> will take and pass along before v2023.10 is out.
yup, I am good with that (Marcel, I assume you will send a follow on
fix up patch). Thanks.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
gt; DT node cpsw-phy-sel as driver picks these from standard
> property/node.
> - include board dts file in -r5 dts file to avoid duplication
> of nodes. Include -u-boot.dtsi on top.
> - drop duplicate nodes in -r5 dts and -u-boot.dtsi
>
> Signed-off-by: Roger Quadros
Tested-by: Nish
+-
> 3 files changed, 127 insertions(+), 115 deletions(-)
>
[..]
Reviewed-by: Nishanth Menon #verdin-am62
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
panic("Probe of msmc failed: %d\n", ret);
> --
> 2.25.1
>
Reviewed-by: Nishanth Menon
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
Add defconfig fragments for am625 based beagleplay
Signed-off-by: Nishanth Menon
---
Changes since V2:
* Switch entirely to config fragments.
V2: https://lore.kernel.org/u-boot/20230727234446.3651836-4...@ti.com/
V1: https://lore.kernel.org/all/20230725185253.2123433-6...@ti.com/
board/ti
fragments by default.
* Updated MAINTAINER file as well
V2: https://lore.kernel.org/u-boot/20230727234446.3651836-1...@ti.com/
V1: https://lore.kernel.org/all/20230725185253.2123433-1...@ti.com/
Nishanth Menon (3):
arm: dts: k3-am625-sk-binman: Add labels for unsigned binary
board: ti:
Add labels for unsigned binary to permit over-ride.
Cc: Simon Glass
Signed-off-by: Nishanth Menon
---
NOTE: We can refactor this once the template solution comes online later on
Changes since V2: None
V2: https://lore.kernel.org/u-boot/20230727234446.3651836-2...@ti.com/
V1: https
Add base documentation for BeaglePlay
Signed-off-by: Nishanth Menon
---
Changes since V2:
* Update build instructions for config fragments
* Minor link look and feel fixups.
V2: https://lore.kernel.org/u-boot/20230727234446.3651836-5...@ti.com/
V1: https://lore.kernel.org/all
-..020078|]
https://beagleplay.org/
https://git.beagleboard.org/beagleplay/beagleplay
baseline of base device tree is v6.5-rc1.
Reviewed-by: Tom Rini
Signed-off-by: Robert Nelson
Co-developed-by: Nishanth Menon
Signed-off-by: Nishanth Menon
---
Changes since V2:
* Add to MAINTAINERS file
V2
rty of power-domains, assigned-clocks
etc? you should be able to rely on clock and power domain data in R5
SPL.
> - pinctrl-0 = <&main_mmc1_pins_default>;
> - pinctrl-names = "default";
> clock-names = "clk_xin";
> clocks = <&clk_200mhz>;
> - ti,driver-strength-ohm = <50>;
Is this even correct?
> };
>
> &mcu_ringacc {
I see that you are overriding &mcu_udmap -> But I have not seen kernel
patches to clean that up to introduce reg-names "rchan" "tchan" and "rflow".
Why not? looks like 6.6-rc1 wont have things cleaned up either.
[...]
Move the #include "k3-j721s2-common-proc-board-u-boot.dtsi"
to the top.
The order should be:
#include "board.dts"
#include "ddr-timing.dtsi"
#include "ddr.dtsi"
#include "board-uboot.dtsi"
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
16
> + :header-rows: 1
> +
> + * - Switch Label
> + - SW9: 12345678
> + - SW8: 12345678
> +
> + * - SD
> + -
> + - 1010
> +
> + * - EMMC
> + - 0100
> + - 1000
> +
> + * - OSPI
> + - 0100
> + - 0110
> +
> + * - UART
> + - 0111
> + -
> +
> + * - USB DFU
> + - 0010
> + - 1000
> +
> +For SW8 and SW9, the switch state in the "ON" position = 1.
We need to add the section on openOCD, but I think next does'nt have
the commit for the same - so we might need to do that as a separate
patch.
> diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst
> index d2f86b0a11a7..b0be048edb12 100644
> --- a/doc/board/ti/k3.rst
> +++ b/doc/board/ti/k3.rst
> @@ -35,6 +35,7 @@ K3 Based SoCs
> am65x_evm
> j7200_evm
> j721e_evm
> + j721s2_evm
>
> Boot Flow Overview
> --
>
> --
> 2.41.0
>
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
sure that the subsystem patches are reviewed and tested .
> > >
> > >
> >
> > I'd like to propose myself as a UFS maintainer along with Bhupesh, can help
> > with
> > reviewing and testing starting with these patches. If all seems okay, I can
> > sen
On 09:45-20230817, Kumar, Udit wrote:
>
> On 8/16/2023 5:14 PM, Nishanth Menon wrote:
> > On 14:53-20230816, Manorit Chawdhry wrote:
> > > The following commit syncs the device tree from Linux tag
> > > next-20230815 to U-boot and fixes the following to be compatib
h is handling adding those nodes in Linux.
>
> [0]: https://lore.kernel.org/all/20230810174356.3322583-4-vigne...@ti.com/
Thanks. Good to know this is being worked on.
> >
> > Move the #include "k3-j721s2-common-proc-board-u-boot.dtsi"
> > to the top.
> >
can take the ownership for J721S2.
Please propose as a patch if you are able to volunteer.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
ing myself as well to support in reviewing and testing patches.
>
> Signed-off-by: Neha Malcom Francis
> Cc: Bhupesh Sharma
> Cc: Vignesh R
> Cc: Nishnath Menon
Thanks for mixing my name up, but other than that, for what ever it is
worth..
Reviewed-by: Nishanth Menon
eps
> --
> 2.34.1
>
NAK. RNG is needed to seed standard distros.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
G Flag for OPTEE
>
> doc/board/beagle/am62x_beagleplay.rst | 1 -
> doc/board/ti/am62x_sk.rst | 1 -
> 2 files changed, 2 deletions(-)
>
NAK to the series. RNG seed is needed for KASLR. either enable h/w RNG
or at least enable S/W RNG in OPTEE.
--
Regards,
Nishanth Menon
On 08:46-20231205, Andrew Davis wrote:
> On 12/4/23 1:29 PM, Nishanth Menon wrote:
> > On 15:59-20231201, Dhruva Gole wrote:
> > > Delete the flag CFG_WITH_SOFTWARE_PRNG as it's not necessary/ boot
> > > requirement for this SoC
> > >
> > > Signe
401 - 500 of 1467 matches
Mail list logo