Add base documentation for BeaglePlay
Reviewed-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
Cc: Heinrich Schuchardt
Changes Since V4:
- Just the verbage comment from Simon
V4: https://lore.kernel.org/r/20230822184135.2328409-9...@ti.com
V3: https://lore.kernel.org/all
documentation cleanup.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
On 17:33-20230822, Mattijs Korpershoek wrote:
> On mar., août 15, 2023 at 11:44, Nishanth Menon wrote:
>
> > Add support for BeaglePlay - rev 3
> >
> > Boot log: https://gist.github.com/nmenon/3e99b44380873263e39ba4d84788db89
> >
> > Full series(including depe
: ti: am62x: provide image alt texts
doc: board: ti: am65x: provide image alt text
Nishanth Menon (10):
doc: board: ti: k3: Fixup alt text for openocd sequence
doc: board: ti: am64x: provide image alt text
doc: board: ti: j7200: provide image alt text
doc: board: ti: j721e: provide image alt
From: Heinrich Schuchardt
Provide alternative texts for images.
Fixes: 34f76921d801 ("doc: board: ti: am62x: Convert the image format to svg")
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Nishanth Menon
---
No change.
V1:
https://lore.kernel.org/r/202308190259
Provide alternative text for image.
Fixes: 3b83dff183b5 ("doc: board: ti: j721e: Convert the image format to svg")
Reported-by: Heinrich Schuchardt
Signed-off-by: Nishanth Menon
---
new
doc/board/ti/j721e_evm.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/do
Fix up OpenOCD setup sequence
Fixes: effe50854a69 ("doc: board: ti: k3: Add a guide to debugging with
OpenOCD")
Reported-by: Heinrich Schuchardt
Signed-off-by: Nishanth Menon
---
New in the series.
doc/board/ti/k3.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/board/t
Provide alternative text for image.
Fixes: f4ade09a1e76 ("doc: board: ti: j7200: Convert the image format to svg")
Reported-by: Heinrich Schuchardt
Signed-off-by: Nishanth Menon
---
new
doc/board/ti/j7200_evm.rst | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff -
Provide alternative text for image.
Fixes: 4bf49bade124 ("doc: board: ti: am64: Add boot flow diagram")
Reported-by: Heinrich Schuchardt
Signed-off-by: Nishanth Menon
---
new
doc/board/ti/am64x_evm.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/board/ti/am64x_evm
From: Heinrich Schuchardt
Provide alternative texts for images.
Fixes: 6e8fa0611f19 ("board: ti: k3: Convert boot flow ascii flow to svg")
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Nishanth Menon
---
Changes since v1:
* Minor expansion of WKUP domain, main domain.
Fix up build step numbering.
Fixes: 4bf49bade124 ("doc: board: ti: am64: Add boot flow diagram")
Signed-off-by: Nishanth Menon
---
doc/board/ti/am64x_evm.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/board/ti/am64x_evm.rst b/doc/board/ti/am64x_evm
Fix up build step numbering.
Fixes: c727b81d6530 ("doc: board: ti: k3: Reuse build instructions")
Signed-off-by: Nishanth Menon
---
doc/board/ti/am65x_evm.rst | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/doc/board/ti/am65x_evm.rst b/doc/board/ti/am6
From: Heinrich Schuchardt
Provide alternative text for image.
Fixes: fd358121bdb8 ("doc: board: ti: am65x: Update with boot flow diagram")
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Nishanth Menon
---
Changes:
* Added missing updates of alt tag
* Fixed up a few text info
*
Fix up build step numbering.
Fixes: c727b81d6530 ("doc: board: ti: k3: Reuse build instructions")
Signed-off-by: Nishanth Menon
---
doc/board/ti/am62x_sk.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/board/ti/am62x_sk.rst b/doc/board/ti/am62x_sk
Fix up build step numbering.
Fixes: c727b81d6530 ("doc: board: ti: k3: Reuse build instructions")
Signed-off-by: Nishanth Menon
---
doc/board/ti/j7200_evm.rst | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/doc/board/ti/j7200_evm.rst b/do
Add elaboration text for the various firmware involved for system
management.
Signed-off-by: Nishanth Menon
---
doc/board/ti/k3.rst | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst
index e7c8d37dd269
Fix up build step numbering.
Fixes: c727b81d6530 ("doc: board: ti: k3: Reuse build instructions")
Signed-off-by: Nishanth Menon
---
doc/board/ti/j721e_evm.rst | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/doc/board/ti/j721e_evm.rst b/do
Enable EMMC boot support for AM62x evm base configuration.
Signed-off-by: Nishanth Menon
---
New patch
configs/am62x_evm_a53_defconfig | 1 +
configs/am62x_evm_r5_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig
Add defconfig fragments for am625 based beagleplay and corresponding
customized environment file for beagleplay.
Signed-off-by: Nishanth Menon
---
Changes:
* new env file to override boot targets, led sequence etc.
* config files updates for GPIO, I2C etc for A53.
* Speed up of A53 mmc support
features.
So use the CSD information in the case of EMMC_BOOT configuration being
enabled to pick boot partition or UDA FS mode operation to pick.
If EMMC_BOOT is disabled, then depend on filesystem configuration to
pick data from UDA.
Signed-off-by: Nishanth Menon
---
New patch
arch/arm/mach-k3
the
boot_targets need to be reversed, the preferred behavior would have been
to define it in board.env file as:
boot_targets=mmc1 mmc0
By changing the order of the inclusion, we allow for the
CONFIG_EXTRA_ENV_TEXT to have a higher priority in the definition.
Signed-off-by: Nishanth Menon
---
Cc
33 (origin/next) Merge tag 'v2023.10-rc3' into next
V3: https://lore.kernel.org/all/20230815164440.2713726-1...@ti.com/
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 (6):
env_defa
Add labels for unsigned binary to permit over-ride.
Signed-off-by: Nishanth Menon
---
Cc: Simon Glass
Changes since V3: None
V3: https://lore.kernel.org/all/20230815164440.2713726-2...@ti.com/
V2: https://lore.kernel.org/u-boot/20230727234446.3651836-2...@ti.com/
V1: https://lore.kernel.org
From: Nitin Yadav
U-Boot is fail to boot class U1 UHS SD cards (such as microcenter)
due to incorrect OTAP and ITAP delay select values. Update OTAP and
ITAP delay select values based on recommeded RIOT values to fix boot
issue.
Signed-off-by: Nitin Yadav
Signed-off-by: Nishanth Menon
Add base documentation for BeaglePlay
Signed-off-by: Nishanth Menon
---
Cc: Heinrich Schuchardt
Changes Since V3:
* Updated documentation to give a more clear overview of MMC partitions
and flashing information.
* Added OpenOCD debug documentation
* Added LED status information
-..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 V3:
* Added LEDs to u-boot.dtsi boot
From: Jonathan Humphreys
Fix minor path and config macro name updates to sync with latest
OpenOCD and U-Boot configurations.
Fixes: effe50854a69 ("doc: board: ti: k3: Add a guide to debugging with
OpenOCD")
Signed-off-by: Jonathan Humphreys
Signed-off-by: Nishanth Menon
---
Cc
;;
> -
> - exp1: gpio@20 {
> - compatible = "ti,tca6416";
> - reg = <0x20>;
> - gpio-controller;
> - #gpio-cells = <2>;
> - };
> -
> - exp2: gpio@22 {
> - compatible = "ti,tca6424";
> - reg = <0x22>;
> - gpio-controller;
> - #gpio-cells = <2>;
> - };
> -};
> -
> - {
> - pinctrl-names = "default";
> - pinctrl-0 = <_usbss0_pins_default>;
> - ti,vbus-divider;
> - ti,usb2-only;
> -};
> -
> - {
> - dr_mode = "otg";
> - maximum-speed = "high-speed";
> -};
> -
> - {
> - status = "okay";
> - pinctrl-names = "default";
> - pinctrl-0 = <_fss0_hpb0_pins_default>;
> - reg = <0x0 0x4704 0x0 0x100>,
> - <0x0 0x5000 0x0 0x800>;
> - ranges = <0x0 0x0 0x0 0x5000 0x400>, /* 64MB Flash on CS0 */
> - <0x1 0x0 0x0 0x5400 0x80>; /* 8MB flash on CS1 */
> -
> - flash@0,0 {
> - compatible = "cypress,hyperflash", "cfi-flash";
> - reg = <0x0 0x0 0x400>;
> - };
> -};
> -
> -_ringacc {
> - ti,sci = <_tifs>;
> -};
> -
> -_udmap {
> - ti,sci = <_tifs>;
> -};
> -#include "k3-j7200-common-proc-board-u-boot.dtsi"
https://gist.github.com/nmenon/662262b0256eab004485035a02ede963
is probably the set of changes I commented about above.
> diff --git a/arch/arm/mach-k3/j7200/dev-data.c
> b/arch/arm/mach-k3/j7200/dev-data.c
Split this out as a separate patch.
> index 4ddc34210e..8ce6796fd0 100644
> --- a/arch/arm/mach-k3/j7200/dev-data.c
> +++ b/arch/arm/mach-k3/j7200/dev-data.c
> @@ -46,6 +46,7 @@ static struct ti_lpsc soc_lpsc_list[] = {
>
> static struct ti_dev soc_dev_list[] = {
> PSC_DEV(30, _lpsc_list[0]),
> + PSC_DEV(35, _lpsc_list[0]),
> PSC_DEV(61, _lpsc_list[1]),
> PSC_DEV(90, _lpsc_list[2]),
> PSC_DEV(8, _lpsc_list[3]),
> --
> 2.34.1
>
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
On 17:16-20230822, Simon Glass wrote:
> Hi Nishanth,
>
> On Tue, 22 Aug 2023 at 12:41, Nishanth Menon wrote:
> >
> > CFG_EXTRA_ENV_SETTINGS is set in common board config files, This allows
> > for majority of the settings to be set in a common manner. However, the
&
On 21:01-20230823, Simon Glass wrote:
> Hi Nishanth,
>
> On Wed, 23 Aug 2023 at 18:18, Nishanth Menon wrote:
> >
> > On 17:57-20230823, Simon Glass wrote:
> > [...]
> > > > This is how we have a common bit of rST for how to build N boards,
> > > &
On 22:10-20230823, Nishanth Menon wrote:
> Add support for BeaglePlay - rev 5
Oopsie..
>
> Full series:
> https://github.com/nmenon/fix-k3-dt-u-boot/commits/beagleplay-v4.2
^^ Wrong link! That line wasn't supposed to be in this email :(
>
Instead the following s
+ * - 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
- pinctrl-0 = <_mmc1_pins_default>;
> - pinctrl-names = "default";
> clock-names = "clk_xin";
> clocks = <_200mhz>;
> - ti,driver-strength-ohm = <50>;
Is this even correct?
> };
>
> _ringacc {
I see that you are overriding _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
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
> > send
> > a M
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
dling 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.
> >
> > Th
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
> >
> > @@ -486,10 +487,11 @@ mmcdev) and set the environments.
> > If manually needs to be done then the environment can be read from the
> > filesystem and then imported
> >
> > -.. code-block::
> > +.. prompt:: bash
> > + :prompts: =>
>
> nitpick: S
ven more leds turn on, lift up on the USR button.
> >
> > At this point the serial should be loading/booting linux, and then
> > running the eMMC flasher in single user mode. Within 5 minutes or so,
> > it should shutdown with a new image in the eMMC..
>
> Thank you, that worked!
Thanks Robert, I did not know of that little trick. Once the everything
settles down in master, will patch that little secret into the
documentation as well.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
?
> +
> +Debugging U-Boot
> +
> +
> +See :ref:`Common Debugging environment - OpenOCD`: for
> +detailed setup information.
> +
> +.. warning::
> +
> + **OpenOCD support since**: v0.12.0
> +
> + If the default package version of OpenOCD in your development
> + environment's distribution needs to be updated, it might be necessary to
> + build OpenOCD from the source.
> +
> +.. 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
> +
> +.. code-block:: bash
> +
> + openocd -f board/ti_j721s2evm.cfg
> diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst
> index 5f9bd4dfcbe9..423d55526dc5 100644
> --- a/doc/board/ti/k3.rst
> +++ b/doc/board/ti/k3.rst
> @@ -36,6 +36,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
On 19:04-20230824, Simon Glass wrote:
> Hi Nishanth,
>
> On Tue, 22 Aug 2023 at 12:43, Nishanth Menon wrote:
> >
> > Add base documentation for BeaglePlay
> >
> > Signed-off-by: Nishanth Menon
> > ---
> > Cc: Heinrich Schuchardt
> >
> &
st https://etcher.balena.io/ and flash an SD card with the official
image here: https://www.beagleboard.org/distros/beagleplay-debian-11-flasher
https://files.beagle.cc/file/beagleboard-public-2021/images/am625x-emmc-flasher-debian-11.6-xfce-arm64-2023-02-04-10gb.img.xz
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
On 17:50-20230824, Heinrich Schuchardt wrote:
[...]
> .. prompt:: bash $
> will enforce $ as prompt?
>
> Cf.
> http://sbrunner.github.io/sphinx-prompt/
>
Yes, that works great.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A
Wrap the distro_boot options with CONFIG_DISTRO_DEFAULTS.
This is an intermediate step for us to switch over to
CONFIG_BOOTSTD_DEFAULTS and drop this section in follow on patches.
Reviewed-by: Tom Rini
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
No change other than
Switch to using bootstd. Note with this change, we will stop using
distro_bootcmd and instead depend entirely on bootflow method of
starting the system up.
Suggested-by: Tom Rini
Suggested-by: Simon Glass
Reviewed-by: Tom Rini
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
Add defconfig fragments for am625 based beagleplay and corresponding
customized environment file for beagleplay.
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
No major changes other than explicitly calling out script in the
crafted bootmeths
/20230725185253.2123433-1...@ti.com/
Jan Kiszka (1):
configs: am62x_evm_a53_defconfig: Disable semi-functional PSCI reset
support
Nishanth Menon (18):
include: env: ti: mmc: envboot/mmcboot: Check result of mmc dev before
proceeding
include: env: ti: mmc: envboot: Only attempt boot.scr
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
No change other than picking up reviews, tested tags along the way.
V5: https://lore.kernel.org/r/20230824031101.3460411-12...@ti.com
arch/arm/mach-k3/am625_init.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git
Drop unused macro. This was meant for a second region of DDR which we
do not need for AM62x evm configurations.
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
No change other than picking up reviews, tested tags along the way.
V5: https://lore.kernel.org/r
-off under Linux work again when booting via EFI.
[1]
https://uefi.org/specs/UEFI/2.9_A/08_Services_Runtime_Services.html?highlight=efiresetshutdown#resetsystem
Signed-off-by: Jan Kiszka
Signed-off-by: Nishanth Menon
---
New patch picked from Jan
https://lore.kernel.org/all/c93b19ed-43fe-44a2-9726
Use the default findfdt using CONFIG_DEFAULT_DEVICE_TREE
Reviewed-by: Tom Rini
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
No change that picking up Review, tested by and using new include file.
V5: https://lore.kernel.org/r/20230824031101.3460411-10...@ti.com
board/ti
Drop the #ifdeffery and use IS_ENABLED() inline check and let the compiler
do it's thing.
Reviewed-by: Tom Rini
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
No change other than picking up reviews, tested tags along the way.
V5: https
platforms will need to override default_device_tree_subarch
in the env file to point to the appropriate platform. Note: default
"omap" is used to cater to "most common" default.
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
Changes:
* Made it as default_
Enable EMMC boot support for AM62x evm base configuration.
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
No change other than picking up reviews, tested tags along the way.
V5: https://lore.kernel.org/r/20230824031101.3460411-13...@ti.com
Add labels for unsigned binary to permit over-ride.
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
No change other than picking up reviews, tested tags along the way.
V5: https://lore.kernel.org/r/20230824031101.3460411-15...@ti.com
V4: https
Now that BOOTSTD is used by default, drop un-used header file
inclusion.
Reviewed-by: Tom Rini
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
No change other than picking up reviews, tested tags along the way.
V5: https://lore.kernel.org/r/20230824031101.3460411-7...@ti.com
-..020078|]
https://beagleplay.org/
https://git.beagleboard.org/beagleplay/beagleplay
baseline of base device tree is v6.5-rc1.
Reviewed-by: Tom Rini
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Robert Nelson
Co-developed-by: Nishanth Menon
Signed-off
Add explicit boot_targets to indicate the specific boot sequence to
follow.
NOTE: The non-standard ti_mmc emulates what is done for distro_boot.
With bootstd, this will eventually need to be replaced by equivalent
class.
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
ti_armv7_common does not make any more sense as it is used by armv7
and armv8 TI based platforms.
Reported-by: Tom Rini
Reviewed-by: Mattijs Korpershoek
Reviewed-by: Tom Rini
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
No change other than picking up reviews, tested tags
'script' bootmethod that should be used with CONFIG_BOOTSTD.
Signed-off-by: Nishanth Menon
---
Since Simon educated me to realize that the published documentation can
be stale and bootmeths=script does indeed work for some time despite
what the docs say..
include/env/ti/mmc.env | 4 +++-
1
Make the section protected by CONFIG_DISTRO_DEFAULTS macro clear.
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
No change other than picking up reviews, tested tags along the way.
V5: https://lore.kernel.org/r/20230824031101.3460411-2
Add base documentation for BeaglePlay
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
Cc: Heinrich Schuchardt
Since V5:
- Updated to point at how to get serial console
- Introduce on using sd card and some tips and tricks I personally
learnt
If mmc dev reports that the device is not present, there is no point in
proceeding further to attempt to load the files.
Signed-off-by: Nishanth Menon
---
new patch - noticed a series of 'MMC: no card present' in boot log
and was wondering why, now I know - shaves off 2 seconds or so into boot
Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Nishanth Menon
---
No change other than picking up reviews, tested tags along the way.
V5: https://lore.kernel.org/r/20230824031101.3460411-14...@ti.com
V4: https://lore.kernel.org/r/20230822184135.2328409-4...@ti.com
arch/arm/mach-k3
-..020078|]
https://beagleplay.org/
https://git.beagleboard.org/beagleplay/beagleplay
baseline of base device tree is v6.5-rc1.
Reviewed-by: Tom Rini
Reviewed-by: Mattijs Korpershoek
Signed-off-by: Robert Nelson
Co-developed-by: Nishanth Menon
Signed-off-by: Nishanth Menon
---
Changes Since V4
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
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: am62x: Add
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
-..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
is up and do it at am62_evm
level rather than at just beagle level. I will pick this patch up and
roll it up into v6 of the beagleplay series - but will modify am62x_evm
config instead.
[1] https://github.com/u-boot/u-boot/blob/master/drivers/firmware/psci.c#L246
[2]
https://uefi.org/specs/UEFI/2.
On 09:59-20231110, Francesco Dolcini wrote:
> On Thu, Nov 09, 2023 at 01:51:19PM -0500, Tom Rini wrote:
> > On Thu, Nov 09, 2023 at 12:44:56PM -0600, Andrew Davis wrote:
> > > On 11/9/23 11:37 AM, Nishanth Menon wrote:
> > > > On 11:09-20231109, Joao Paulo Gon
t;
> > Thanks!
> > Maxime
There is nothing complex here - sorry for the late response, Sync DT
with v6.7-rc1 should take care of this:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm64/boot/dts/ti?id=c412c2f26eed08b1836ccf79f5547b67c1b55d5d
Vs:
https://github.com/u-boot/u-boot/blob/master/arch/arm/dts/k3-am625-sk-u-boot.dtsi#L93
(notice no sdhci0 with bootph properties)
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
static void ctrl_mmr_unlock(void)
> mmr_unlock(CTRL_MMR0_BASE, 3);
> mmr_unlock(CTRL_MMR0_BASE, 5);
> mmr_unlock(CTRL_MMR0_BASE, 6);
> +
> + /* Unlock all MCU_PADCFG_MMR1 module registers */
> + mmr_unlock(MCU_PADCFG_MMR1_BASE, 1);
> }
>
>
On 14:50-20220617, Tom Rini wrote:
> On Fri, Jun 17, 2022 at 01:26:10PM -0500, Nishanth Menon wrote:
>
> > The eeprom data area is much bigger than the data we intend to store,
> > however, with bad programming, we might end up reading bad records over
> > and over till we
ignesh Raghavendra
Gee thanks.
Reviewed-by: Nishanth Menon
> ---
> drivers/firmware/ti_sci_static_data.h | 42 +++
> 1 file changed, 4 insertions(+), 38 deletions(-)
>
> diff --git a/drivers/firmware/ti_sci_static_data.h
> b/drivers/firmware/ti_
overhead for boards with 2 byte addressing eeproms.
Signed-off-by: Nishanth Menon
---
board/ti/common/board_detect.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c
index 0806dea11ed5..ed34991377ee
the
alternate addressing size, however the valid failure prevents us
from checking at 1 byte anymore.
Rectify the same by falling through and depend on header data comparison
to ensure that we have valid data.
Signed-off-by: Nishanth Menon
---
board/ti/common/board_detect.c | 22 +++---
1
The eeprom data area is much bigger than the data we intend to store,
however, with bad programming, we might end up reading bad records over
and over till we run out of eeprom space. instead just exit when 10
consecutive records are read.
Signed-off-by: Nishanth Menon
---
board/ti/common
Hi,
These are few of the fixes picked up from U-boot tree done for
BeagleBone-AI64 and others.
Additional testing is much appreciated - my test environment is
currently limited :(
Nishanth Menon (3):
board: ti: common: Optimize boot when detecting consecutive bad
records
board: ti
ggest to add a note that this was measured as adding extra
time in startup time.
With that:
Acked-by: Nishanth Menon
>
> Cc: Nishanth Menon
> Fixes: a58147c2dbbf ("board: ti: common: board_detect: Do 1byte address
> checks first.")
> Reference:
> https://lore.k
On 08:56-20220819, Robert Nelson wrote:
> On Fri, Aug 19, 2022 at 4:30 AM Nishanth Menon wrote:
> >
> > On 11:28-20220818, Matwey V. Kornilov wrote:
[..]
> >
> > Tom, Robert, folks: what do you folks think?
>
>
> I'm okay with the delay. if we on
ild.
You can find the data (analog+digital capture) here:
https://github.com/nmenon/data-captures/tree/main/i2c-eeprom-1byte-captures
Tool used to capture (and view): https://www.saleae.com/downloads/
Tom, Robert, folks: what do you folks think?
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
rrect data.
This costs us an extra ~3 milliseconds, which is a minor penalty
compared to the consistent image support we need to have.
Reported-by: Jason Kridner
Fixes: a58147c2dbbf ("board: ti: common: board_detect: Do 1byte address checks
first.")
Signed-off-by: Nishanth Menon
---
,9 @@ CONFIG_AM335X_USB0=y
CONFIG_AM335X_USB0_PERIPHERAL=y
CONFIG_AM335X_USB1=y
CONFIG_SPL=y
+CONFIG_DEBUG_UART_BASE=0x44e09000
+CONFIG_DEBUG_UART_CLOCK=4800
+CONFIG_DEBUG_UART=y
CONFIG_DISTRO_DEFAULTS=y
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4
pinctrl-single,register-width = <32>;
> + pinctrl-single,function-mask = <0x>;
> + };
> };
> --
> 2.38.1
>
Reviewed-by: Nishanth Menon
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
ver gist.github.com or
someplace similar to indicate success of boot of k3 platforms.
[...]
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
<0x00 0x3000 0x00 0x3000 0x00 0x000bc100>, /*
> ICSSG0/1 */
> --
> 2.37.3
>
As I responded to
https://lore.kernel.org/u-boot/20221103052101.l77rsp4siutbe72n@scientist/
as well..
I think we need to sync upstream kernel dts back into u-boot -> we will end up
having more of these cherry-pick cases otherwise.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
On 13:42-20230417, Roger Quadros wrote:
>
>
> On 14/04/2023 10:57, Nishanth Menon wrote:
> > Fix the pinmux pull polarity.
> >
> > This is a pending upstream kernel updates as of v6.3-rc6.
> >
> > Signed-off-by: Nishanth Menon
> > ---
> > Se
arek Behún
Signed-off-by: Nishanth Menon
---
Changes since V2:
* picked up reviewed-by
* s/was'nt/wasn't/g in commit message, minor rewording.
V2: https://lore.kernel.org/r/20230414042433.3436425-3...@ti.com
V1: https://lore.kernel.org/r/20230413180713.2922524-3...@ti.com
include/phy.h | 11
different that it makes no sense to
provide a helper wrapper in the hope of reuse for phy drivers.
Reported-by: Tom Rini
Suggested-by: Marek Vasut
Suggested-by: Marek Behún
Link: https://lore.kernel.org/all/20230414103852.38705065@dellmb/
Signed-off-by: Nishanth Menon
---
Changes Since v2
phy driver, drop
the api
* picked reviewed by for the rgmii
V2: https://lore.kernel.org/all/20230414042433.3436425-1...@ti.com/
V1: https://lore.kernel.org/all/20230413180713.2922524-1...@ti.com/
Nishanth Menon (3):
net: phy: dp83867: Explicitly check against sgmii
net: phy: Drop phy_interfac
+
> 12 files changed, 729 insertions(+), 6 deletions(-)
> create mode 100644 drivers/dma/ti/k3-psil-am62a.c
>
>
> base-commit: a25dcda452bf6a6de72764a8d990d72e5def643d
> --
> 2.40.0
>
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
/b82ac325-4818-8e72-054b-640268dbf...@mailbox.org/
Signed-off-by: Nishanth Menon
---
Changes since v2:
* New patch.
drivers/net/phy/dp83867.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c
index b861bf7cef36..7111e36aa0d0 100644
in board.dts and mark it due to MDIO limitation?
> + bootph-pre-ram;
> +
> + cpsw-phy-sel@04044 {
> + compatible = "ti,am64-phy-gmii-sel";
> + reg = <0x00 0x00104044 0x00 0x8>;
> + bootph-pre-ram;
> + };
> +};
> --
> 2.40.0
>
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
upstream merge, things are'nt
really final and patches still have been dropped and/or modified (not
typically, but have happened)
b) the delay between a tag and final merge is just a few weeks
We should hold the master tag as baseline at least till things settle
down, prior to relaxing rules to what is reasonable.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
inux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi#n27
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi#n15
we need to fix it.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
!strncmp(fdt_get_name(blob, subnode, ), "l3cache", 7) ||
> + !strncmp(fdt_get_name(blob, subnode, ), "tifs", 4)) {
I would probably move the tifs check above the l3cache check.
> fdt_del_node(blob, subnode);
>
Describe the DDR vtt regulator on evm
This is a pending upstream kernel updates as of v6.3-rc6.
Signed-off-by: Nishanth Menon
---
Sent to kernel.org
https://lore.kernel.org/linux-devicetree/20230414073328.381336-1...@ti.com/
I skipped doing the regulator renaming etc, it is just churn
un
Reorder the pinmux to place it above the interface for easier tracking.
Signed-off-by: Nishanth Menon
---
arch/arm/dts/k3-am642-evm-u-boot.dtsi | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi
b/arch/arm/dts/k3-am642-evm
901 - 1000 of 1444 matches
Mail list logo