All of lore.kernel.org
 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 V6 00/20] board: ti: Add support for BeaglePlay
Date: Mon, 28 Aug 2023 17:18:12 +0200	[thread overview]
Message-ID: <87pm37w5zf.fsf@baylibre.com> (raw)
In-Reply-To: <20230825180305.69515-1-nm@ti.com>

On ven., août 25, 2023 at 13:02, Nishanth Menon <nm@ti.com> wrote:

> Alright, 6th time is a charm ;) Hopefully this takes care of all
> the un-addressed concerns we have had. Thanks all for pitching in,
> reviewing and improving and I will stop finding things to
> cleanup (promise).
>
> Baseline: 7c6b18fb5494 (origin/next) Merge branch '2023-08-24-enable-more-features-in-qemu-arm' into next
> Full series available: https://github.com/nmenon/fix-k3-dt-u-boot/commits/beagleplay-v6
> Boot Logs: https://gist.github.com/nmenon/8be4106e2d0b572aa5e77d93476095b4
>
> 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 (TI
>   internal actions already triggered).
> * buildman discussion about config fragments:
>   https://lore.kernel.org/all/CAPnjgZ14CUVt=rM943hh9PQUhK9LJDgZYPxUsATYQe3wwOUYqQ@mail.gmail.com/
> * Documentation that we can copy paste:
>   https://lore.kernel.org/all/20230824154036.3650607-1-nm@ti.com/
>   and followon in kernel.org:
>   https://lore.kernel.org/all/149528e1-062b-ebed-aa25-d37be5fe5894@iogearbox.net/
>   if it all percolates back down to u-boot tree, should be trivial
>   cleanup.
> * Build fails with binman implementation for TI SoCs - Neha will take
>   care of
>   https://lore.kernel.org/all/227d74cf-9e95-4f5f-af96-49d054cde7aa@ti.com/
> * This series picks up Jan's patch for working around Device Manager not
>   compliant with EFI specification reqs and applies it to am62x_sk (TI
>   internal action already triggered)
>   https://lore.kernel.org/all/20230825011623.c74qqidp6wgvc5kl@plaza/
> * I noticed that when drivers like the am654_sdhci.c uses
>   deffered_probe, the default probe function does'nt fail
>   https://source.denx.de/u-boot/u-boot/-/blob/master/boot/bootflow.c#L279
>   So ends up attempting for each of the boot_targets even if mmc dev
>   dev_id would fail. Not really sure how to solve it, so will leave it
>   here. (the https://gist.github.com/nmenon/8be4106e2d0b572aa5e77d93476095b4#file-beagleplay-emmc-sd-not-inserted
>   should show a bunch of 'MMC: no card present' each of which costs around
>   1 second.
>
> Changes since V5:
> * New patches to clean up mmc.env to sync with BOOTSTD operations yet
>   enable easier non-U-Boot developer experience for uEnv.txt and
>   optimize access to non-plugged in sd-card.
> * Picked up Jan's patch[1] as part of this series.
> * Introduced default_findfdt.env as review comment
> * Saw Simon's feedback on uSD boot, and documented that as well, will be
>   good for new devs to have that info in one flow.
> * Quick overall diff: https://gist.github.com/nmenon/6d934f4e1092aa293a771d26b0f2bff7
>
> V5: https://lore.kernel.org/all/20230824031101.3460411-1-nm@ti.com/
> 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/
>
> 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 if BOOTSTD is
>     not enabled
>   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: Add a generic default_findfdt.env
>   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 v6.

Using baseline 11cf91f755c7 ("Merge branch '2023-08-26-bootstd-chromeos-impreovements-and-move-to-gcc-13.2' 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                      |    8 +-
>  board/ti/am62x/beagleplay.env                 |   19 +
>  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               |    7 +-
>  configs/am62x_evm_r5_defconfig                |    1 +
>  doc/board/ti/am62x_beagleplay.rst             |  322 +++
>  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 +-
>  include/env/ti/default_findfdt.env            |   12 +
>  include/env/ti/mmc.env                        |   12 +-
>  .../ti/{ti_armv7_common.env => ti_common.env} |    0
>  32 files changed, 4419 insertions(+), 54 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
>  create mode 100644 include/env/ti/default_findfdt.env
>  rename include/env/ti/{ti_armv7_common.env => ti_common.env} (100%)
>
> [1] https://lore.kernel.org/all/c93b19ed-43fe-44a2-9726-371fb9d2f825@web.de/
> -- 
> 2.40.0

      parent reply	other threads:[~2023-08-28 15:18 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-25 18:02 [PATCH V6 00/20] board: ti: Add support for BeaglePlay Nishanth Menon
2023-08-25 18:02 ` [PATCH V6 01/20] include: env: ti: mmc: envboot/mmcboot: Check result of mmc dev before proceeding Nishanth Menon
2023-08-25 21:51   ` Tom Rini
2023-08-28 15:18   ` Mattijs Korpershoek
2023-09-09 13:30   ` Tom Rini
2023-08-25 18:02 ` [PATCH V6 02/20] include: env: ti: mmc: envboot: Only attempt boot.scr if BOOTSTD is not enabled Nishanth Menon
2023-08-25 21:51   ` Tom Rini
2023-08-28 15:25   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 03/20] include: configs: ti_armv7_common: Add documentation for protected section Nishanth Menon
2023-08-25 18:02 ` [PATCH V6 04/20] include: configs: am62x_evm: Drop unused SDRAM address Nishanth Menon
2023-08-28 15:27   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 05/20] include: configs: am62x_evm: Wrap distroboot with CONFIG_DISTRO_DEFAULTS Nishanth Menon
2023-08-28 15:27   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 06/20] board: ti: am62x: am62x.env: Add explicit boot_targets Nishanth Menon
2023-08-28 15:28   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 07/20] configs: am62x_evm_a53_defconfig: Switch to bootstd Nishanth Menon
2023-08-25 21:51   ` Tom Rini
2023-08-28 15:28   ` Mattijs Korpershoek
2024-02-17  3:11   ` Alexander Sverdlin
2024-02-17  8:42     ` Jan Kiszka
2024-02-17 11:36       ` Alexander Sverdlin
2024-02-19 18:37         ` Jan Kiszka
2024-02-20  7:48           ` Jan Kiszka
2024-02-20 12:47             ` Nishanth Menon
2024-02-20 12:50           ` Nishanth Menon
2024-02-21  9:10           ` Francesco Dolcini
2024-02-21  9:19             ` Jan Kiszka
2023-08-25 18:02 ` [PATCH V6 08/20] include: configs: am62x_evm: Drop distro_bootcmd usage Nishanth Menon
2023-08-28 15:30   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 09/20] include: env: ti: ti_armv7_common.env: Rename to ti_common.env Nishanth Menon
2023-08-25 18:02 ` [PATCH V6 10/20] include: env: ti: Add a generic default_findfdt.env Nishanth Menon
2023-08-25 21:52   ` Tom Rini
2023-08-28 15:32   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 11/20] board: ti: am62x: am62x.env: Use default findfdt Nishanth Menon
2023-08-28 15:33   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 12/20] arm: mach-k3: am625_init: Use IS_ENABLED() Nishanth Menon
2023-08-25 18:02 ` [PATCH V6 13/20] arm: mach-k3: am625_init: Convert rtc_erratumi2327_init to static Nishanth Menon
2023-08-25 18:02 ` [PATCH V6 14/20] configs: am62x_evm*: Enable EMMC_BOOT configuration Nishanth Menon
2023-08-25 18:03 ` [PATCH V6 15/20] arm: mach-k3: am625: Add support for UDA FS Nishanth Menon
2023-08-25 18:03 ` [PATCH V6 16/20] configs: am62x_evm_a53_defconfig: Disable semi-functional PSCI reset support Nishanth Menon
2023-08-28 15:34   ` Mattijs Korpershoek
2023-08-25 18:03 ` [PATCH V6 17/20] arm: dts: k3-am625-sk-binman: Add labels for unsigned binary Nishanth Menon
2023-08-25 18:03 ` [PATCH V6 18/20] arm: dts: Add k3-am625-beagleplay Nishanth Menon
2023-08-25 18:03 ` [PATCH V6 19/20] board: ti: am62x: Add am62x_beagleplay_* defconfigs and env file Nishanth Menon
2023-08-25 21:52   ` Tom Rini
2023-08-25 18:03 ` [PATCH V6 20/20] doc: board: ti: Add BeaglePlay documentation Nishanth Menon
2023-08-28 15:18 ` 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=87pm37w5zf.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.