All of lore.kernel.org
 help / color / mirror / Atom feed
From: E Shattow <lucent@gmail.com>
To: Nam Cao <namcao@linutronix.de>
Cc: u-boot@lists.denx.de
Subject: Re: riscv defconfig starfive visionfive2 env is nowhere, missing axp15060 regulator, misc vendor hacks for Milk-V Mars CM Lite
Date: Fri, 26 Jan 2024 15:35:34 -0800	[thread overview]
Message-ID: <CANV2PTMV80wNesNHSYdDwO2a1T1GPrA0orivnMWZXkV2WYzuZQ@mail.gmail.com> (raw)
In-Reply-To: <20240126131951.24af4e07@namcao>

Aside: Mailing list archive mangles devicetree node names in the patch as
if it were an email address to obscure.

related linux dts axp15060 node naming updates:
https://github.com/MichaIng/linux/commit/1419a6eeb6a8b834ce9631fc558a57fb634f6949

GMAC and eMMC functions depend on power regulation.

The sus commit for ENV_IS_NOWHERE=y in the starfive_visionfive2 defconfig:
https://github.com/u-boot/u-boot/commit/7d79bed00c9e02187a09e74e90c5bd5a927a6a61

Why should ENV_IS_NOWHERE=y and CONFIG_ENV_IS_IN_SPI_FLASH=y both survive a
make oldconfig, I would think they will be mutually exclusive. Local
testing make starfive_visionfive2, disable ENV_IS_NOWHERE, compile and
flash to the board and saveenv works as expected.

On Fri, Jan 26, 2024 at 4:19 AM Nam Cao <namcao@linutronix.de> wrote:

> On Fri, 26 Jan 2024 02:53:45 -0800 E Shattow <lucent@gmail.com> wrote:
> > There is missing the AXP15060 power regulation in u-boot needed for
> SDCard
> > and networking. As it is happens to work for some variants and not
> others,
> > and not always. The AXP15060 driver exists in mainline Linux as a variant
> > of AXP20x and there are corresponding devicetree entries of the StarFive
> > JH7110-based VisionFive2 variants queued up (ref: *1 Patchwork series
> > 806238).
>
> I sent a patch to add AXP15060 power regulation device tree node:
> https://lists.denx.de/pipermail/u-boot/2024-January/543614.html
>
> However, I sent it because it is needed by OpenSBI to reboot/shutdown. I
> was not aware that U-Boot also needs this.
>
> Best regards,
> Nam
>
>

      reply	other threads:[~2024-01-26 23:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-26 10:53 riscv defconfig starfive visionfive2 env is nowhere, missing axp15060 regulator, misc vendor hacks for Milk-V Mars CM Lite E Shattow
2024-01-26 12:19 ` Nam Cao
2024-01-26 23:35   ` E Shattow [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=CANV2PTMV80wNesNHSYdDwO2a1T1GPrA0orivnMWZXkV2WYzuZQ@mail.gmail.com \
    --to=lucent@gmail.com \
    --cc=namcao@linutronix.de \
    --cc=u-boot@lists.denx.de \
    /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.