public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Nishanth Menon <nm@ti.com>, Neha Francis <n-francis@ti.com>,
	Tom Rini <trini@konsulko.com>, Simon Glass <sjg@google.com>
Cc: Bryan <bb@ti.com>, Praneeth <praneeth@ti.com>,
	Andrew <afd@ti.com>, Robert Nelson <robertcnelson@gmail.com>,
	Vignesh <vigneshr@ti.com>,
	u-boot@lists.denx.de, Jan Kiszka <jan.kiszka@siemens.com>,
	Nishanth Menon <nm@ti.com>
Subject: Re: [PATCH V5 00/17] board: ti: Add support for BeaglePlay
Date: Thu, 24 Aug 2023 10:02:10 +0200	[thread overview]
Message-ID: <87o7iwrhq5.fsf@baylibre.com> (raw)
In-Reply-To: <20230824031101.3460411-1-nm@ti.com>

On mer., août 23, 2023 at 22:10, Nishanth Menon <nm@ti.com> wrote:

> Add support for BeaglePlay - rev 5
>
> Full series: https://github.com/nmenon/fix-k3-dt-u-boot/commits/beagleplay-v4.2
>
> Caveats:
> * networking: pending https://lore.kernel.org/all/20230822121350.51324-1-rogerq@kernel.org/
> * 32kclk and usb: pending:
>   https://lore.kernel.org/u-boot/20230725185253.2123433-4-nm@ti.com/
>   OR https://github.com/nmenon/fix-k3-dt-u-boot/commit/853b29d63c1ca642be316f1afb0fb778610dec46
>   being properly resolved (NOTE: without this patch, wlan is broken in
>   Linux as the 32kclk from SoC is incorrectly supplied to wlan as 25MHz)
> * There seems to be a bug in Linux kernel with sdhci that seems to
>   depend on u-boot initialization of sdhci for functionality.
>
> CI loop check: https://github.com/u-boot/u-boot/pull/425 (whenever that
> gets done I guess).
>
> Bootlogs:
> SD Boot: https://gist.github.com/nmenon/c74acb3a895053e05623e886df77c8fe
> eMMC, no SD boot: https://gist.github.com/nmenon/16df3b8fc0e9102f29ebb7836b950a08
> eMMC with SD card: https://gist.github.com/nmenon/042dbe7c08589e7bfe1919da1fedc545
>
> Complete code (with the tmp patch) can be found at:
> https://github.com/nmenon/fix-k3-dt-u-boot/tree/beagleplay-v5
>
> Baseline: 97841de68043 (origin/next) Merge branch '2023-08-22-assorted-code-cleanups' into next
>
> Changes since V4:
> * Switched boot from distro_boot to bootstd - AM62 as a start will rely
>   on txt env file.
> * Cleanups around am625_init.c (new patches)
> * Review comment fixups for documentation
> * I have'nt picked up Mattijs's tested by since this is a different
>   approach (bootstd Vs distro_bootcmd)
> * Dropped the sdhci patches AND CFG_EXTRA_ENV_SETTINGS (Instead, we
>   switch entirely to bootstd and move am62x-sk to bootstd along with
>   it).
>
> V4: https://lore.kernel.org/all/20230822184135.2328409-1-nm@ti.com/
> V3: https://lore.kernel.org/all/20230815164440.2713726-1-nm@ti.com/
> V2: https://lore.kernel.org/u-boot/20230727234446.3651836-1-nm@ti.com/
> V1: https://lore.kernel.org/all/20230725185253.2123433-1-nm@ti.com/
>
> Nishanth Menon (16):
>   include: configs: ti_armv7_common: Add documentation for protected
>     section
>   include: configs: am62x_evm: Drop unused SDRAM address
>   include: configs: am62x_evm: Wrap distroboot with
>     CONFIG_DISTRO_DEFAULTS
>   board: ti: am62x: am62x.env: Add explicit boot_targets
>   configs: am62x_evm_a53_defconfig: Switch to bootstd
>   include: configs: am62x_evm: Drop distro_bootcmd usage
>   include: env: ti: ti_armv7_common.env: Rename to ti_common.env
>   include: env: ti: ti_common: Add a generic findfdt
>   board: ti: am62x: am62x.env: Use default findfdt
>   arm: mach-k3: am625_init: Use IS_ENABLED()
>   arm: mach-k3: am625_init: Convert rtc_erratumi2327_init to static
>   configs: am62x_evm*: Enable EMMC_BOOT configuration
>   arm: mach-k3: am625: Add support for UDA FS
>   arm: dts: k3-am625-sk-binman: Add labels for unsigned binary
>   board: ti: am62x: Add am62x_beagleplay_* defconfigs and env file
>   doc: board: ti: Add BeaglePlay documentation
>
> Robert Nelson (1):
>   arm: dts: Add k3-am625-beagleplay

I re-tested v5.

Using baseline 97841de68043 ("Merge branch '2023-08-22-assorted-code-cleanups' into next")
I could boot all the way to U-boot proper shell.

And the LEDs work for me as well with:

=> led led-0 toggle

So for the whole series:

Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>

Note that I did not tried any boot related commands since I mostly work
on Android booting and I have not rebased my wip-branch yet.

>
>  arch/arm/dts/Makefile                         |    2 +
>  .../dts/k3-am625-beagleplay-ddr4-1600MTs.dtsi | 2195 +++++++++++++++++
>  arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi  |  195 ++
>  arch/arm/dts/k3-am625-beagleplay.dts          |  758 ++++++
>  arch/arm/dts/k3-am625-r5-beagleplay.dts       |   86 +
>  arch/arm/dts/k3-am625-sk-binman.dtsi          |    4 +-
>  arch/arm/mach-k3/am625_init.c                 |   49 +-
>  board/siemens/iot2050/iot2050.env             |    2 +-
>  board/ti/am62ax/am62ax.env                    |    2 +-
>  board/ti/am62x/MAINTAINERS                    |    7 +
>  board/ti/am62x/am62x.env                      |    7 +-
>  board/ti/am62x/beagleplay.env                 |   18 +
>  board/ti/am62x/beagleplay_a53.config          |   55 +
>  board/ti/am62x/beagleplay_r5.config           |   15 +
>  board/ti/am64x/am64x.env                      |    2 +-
>  board/ti/am65x/am65x.env                      |    2 +-
>  board/ti/j721e/j721e.env                      |    2 +-
>  board/ti/j721s2/j721s2.env                    |    2 +-
>  board/ti/ks2_evm/k2e_evm.env                  |    2 +-
>  board/ti/ks2_evm/k2g_evm.env                  |    2 +-
>  board/ti/ks2_evm/k2hk_evm.env                 |    2 +-
>  board/ti/ks2_evm/k2l_evm.env                  |    2 +-
>  configs/am62x_evm_a53_defconfig               |    6 +-
>  configs/am62x_evm_r5_defconfig                |    1 +
>  doc/board/ti/am62x_beagleplay.rst             |  256 ++
>  doc/board/ti/img/beagleplay_emmc.svg          |  697 ++++++
>  doc/board/ti/k3.rst                           |    1 +
>  include/configs/am62x_evm.h                   |    6 -
>  include/configs/ti_armv7_common.h             |    2 +-
>  .../ti/{ti_armv7_common.env => ti_common.env} |   12 +
>  30 files changed, 4342 insertions(+), 50 deletions(-)
>  create mode 100644 arch/arm/dts/k3-am625-beagleplay-ddr4-1600MTs.dtsi
>  create mode 100644 arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
>  create mode 100644 arch/arm/dts/k3-am625-beagleplay.dts
>  create mode 100644 arch/arm/dts/k3-am625-r5-beagleplay.dts
>  create mode 100644 board/ti/am62x/beagleplay.env
>  create mode 100644 board/ti/am62x/beagleplay_a53.config
>  create mode 100644 board/ti/am62x/beagleplay_r5.config
>  create mode 100644 doc/board/ti/am62x_beagleplay.rst
>  create mode 100644 doc/board/ti/img/beagleplay_emmc.svg
>  rename include/env/ti/{ti_armv7_common.env => ti_common.env} (71%)
>
> -- 
> 2.40.0

      parent reply	other threads:[~2023-08-24  8:02 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24  3:10 [PATCH V5 00/17] board: ti: Add support for BeaglePlay Nishanth Menon
2023-08-24  3:10 ` [PATCH V5 01/17] include: configs: ti_armv7_common: Add documentation for protected section Nishanth Menon
2023-08-24  8:06   ` Mattijs Korpershoek
2023-08-24  3:10 ` [PATCH V5 02/17] include: configs: am62x_evm: Drop unused SDRAM address Nishanth Menon
2023-08-24  8:13   ` Mattijs Korpershoek
2023-08-24 12:05     ` Nishanth Menon
2023-08-24 13:02       ` Marcel Ziswiler
2023-08-24 16:09         ` Francesco Dolcini
2023-08-24 16:15           ` Francesco Dolcini
2023-08-28 21:56             ` Marcel Ziswiler
2023-08-24  3:10 ` [PATCH V5 03/17] include: configs: am62x_evm: Wrap distroboot with CONFIG_DISTRO_DEFAULTS Nishanth Menon
2023-08-24 14:53   ` Tom Rini
2023-08-24  3:10 ` [PATCH V5 04/17] board: ti: am62x: am62x.env: Add explicit boot_targets Nishanth Menon
2023-08-24  3:10 ` [PATCH V5 05/17] configs: am62x_evm_a53_defconfig: Switch to bootstd Nishanth Menon
2023-08-24 14:54   ` Tom Rini
2023-08-24  3:10 ` [PATCH V5 06/17] include: configs: am62x_evm: Drop distro_bootcmd usage Nishanth Menon
2023-08-24 14:54   ` Tom Rini
2023-08-24  3:10 ` [PATCH V5 07/17] include: env: ti: ti_armv7_common.env: Rename to ti_common.env Nishanth Menon
2023-08-24  8:29   ` Mattijs Korpershoek
2023-08-24 14:55   ` Tom Rini
2023-08-24  3:10 ` [PATCH V5 08/17] include: env: ti: ti_common: Add a generic findfdt Nishanth Menon
2023-08-24 15:14   ` Tom Rini
2023-08-24 16:22     ` Nishanth Menon
2023-08-24 16:29       ` Tom Rini
2023-08-24  3:10 ` [PATCH V5 09/17] board: ti: am62x: am62x.env: Use default findfdt Nishanth Menon
2023-08-24 15:14   ` Tom Rini
2023-08-24  3:10 ` [PATCH V5 10/17] arm: mach-k3: am625_init: Use IS_ENABLED() Nishanth Menon
2023-08-24  8:34   ` Mattijs Korpershoek
2023-08-24 15:14   ` Tom Rini
2023-08-24  3:10 ` [PATCH V5 11/17] arm: mach-k3: am625_init: Convert rtc_erratumi2327_init to static Nishanth Menon
2023-08-24  8:36   ` Mattijs Korpershoek
2023-08-24 15:14   ` Tom Rini
2023-08-24  3:10 ` [PATCH V5 12/17] configs: am62x_evm*: Enable EMMC_BOOT configuration Nishanth Menon
2023-08-24  3:10 ` [PATCH V5 13/17] arm: mach-k3: am625: Add support for UDA FS Nishanth Menon
2023-08-24  8:39   ` Mattijs Korpershoek
2023-08-24  3:10 ` [PATCH V5 14/17] arm: dts: k3-am625-sk-binman: Add labels for unsigned binary Nishanth Menon
2023-08-24  3:10 ` [PATCH V5 15/17] arm: dts: Add k3-am625-beagleplay Nishanth Menon
2023-08-24  3:11 ` [PATCH V5 16/17] board: ti: am62x: Add am62x_beagleplay_* defconfigs and env file Nishanth Menon
2023-08-24  8:43   ` Mattijs Korpershoek
2023-08-24 21:53   ` [PATCH] board: ti: am62x: beagleplay: Disable semi-functional PSCI reset support Jan Kiszka
2023-08-24 21:58     ` Tom Rini
2023-08-25  1:16       ` Nishanth Menon
2023-08-24  3:11 ` [PATCH V5 17/17] doc: board: ti: Add BeaglePlay documentation Nishanth Menon
2023-08-24  3:31 ` [PATCH V5 00/17] board: ti: Add support for BeaglePlay Nishanth Menon
2023-08-24  8:02 ` Mattijs Korpershoek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7iwrhq5.fsf@baylibre.com \
    --to=mkorpershoek@baylibre.com \
    --cc=afd@ti.com \
    --cc=bb@ti.com \
    --cc=jan.kiszka@siemens.com \
    --cc=n-francis@ti.com \
    --cc=nm@ti.com \
    --cc=praneeth@ti.com \
    --cc=robertcnelson@gmail.com \
    --cc=sjg@google.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox