U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: "Feilke, Alexander" <alexander.feilke@ew.tq-group.com>
Cc: "NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
	u-boot@lists.denx.de, u-boot@ew.tq-group.com,
	Stefano Babic <sbabic@nabladev.com>,
	Fabio Estevam <festevam@gmail.com>, Peng Fan <peng.fan@nxp.com>,
	Jaehoon Chung <jh80.chung@samsung.com>
Subject: Re: [PATCH v2 6/8] board: tqma7: add code for u-boot with spl
Date: Wed, 25 Mar 2026 12:33:45 -0600	[thread overview]
Message-ID: <20260325183345.GW502704@bill-the-cat> (raw)
In-Reply-To: <699c7adc-d636-4ef3-9844-52a28333ef0c@ew.tq-group.com>

[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]

On Wed, Mar 25, 2026 at 06:50:59PM +0100, Feilke, Alexander wrote:

> Hi,
> 
> Please wait with applying the series. I just stumbled over a weird issue
> related to the environment.
> 
> The default rootpath is set to `rootpath="/srv/nfs"` (with quotes).
> This is wrong. Running `env default rootpath` will reset it correctly
> to rootpath=/srv/nfs
> However, `env default -fa` resets it back to `rootpath="/srv/nfs"`
> 
> Independently of that, the variables inside load_nfs are not being replaced
> correctly. They appear to be empty, as I get `Filename '/'.` in the run log
> when it should be something like `Filename '/srv/nfs/boot/imx7d-mba7.dtb'`
> 
> We will fix this before the patch should be accepted. The first issue seems
> pretty weird tho. Any idea what might be causing this?

Using plain text environment can be funny about quotes, especially when
dealing with values that come from another CONFIG option and so come
from Kconfig. One thing to look at, at least while debugging, is that
"make u-boot-initial-env" will give you the resulting environment in
u-boot-initial-env so you can check the output quicker than flashing
cycles. If there's a quoting issue, commit b3087d21f022 ("env: Provide
another work-around for unquoting fdtfile") may get you pointed in the
right direction for a solution at least.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-03-25 18:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-25  9:57 [PATCH v2 0/8] Add support for TQMa7x Alexander Feilke
2026-03-25  9:57 ` [PATCH v2 1/8] Kconfig: update build-target for MX7 with SPL Alexander Feilke
2026-03-25 11:25   ` Peng Fan
2026-03-25  9:57 ` [PATCH v2 2/8] board/tq: Add common SoM API Alexander Feilke
2026-03-25 11:25   ` Peng Fan
2026-03-25 13:20     ` Feilke, Alexander
2026-03-25  9:57 ` [PATCH v2 3/8] env: add env_set_runtime() helper Alexander Feilke
2026-03-25 11:30   ` Peng Fan
2026-03-25  9:57 ` [PATCH v2 4/8] arch: arm: dts: tqma7x: add u-boot device tree fragments Alexander Feilke
2026-03-25 11:25   ` Peng Fan
2026-03-25  9:57 ` [PATCH v2 5/8] arch: arm: dts: tqma7x: add boot phase properties Alexander Feilke
2026-03-25 11:26   ` Peng Fan
2026-03-25  9:57 ` [PATCH v2 6/8] board: tqma7: add code for u-boot with spl Alexander Feilke
2026-03-25 11:36   ` Peng Fan
2026-03-25 17:50   ` Feilke, Alexander
2026-03-25 18:33     ` Tom Rini [this message]
2026-03-26  8:18       ` Feilke, Alexander
2026-03-25  9:58 ` [PATCH v2 7/8] configs: tqma7: add defconfigs Alexander Feilke
2026-03-25 11:28   ` Peng Fan
2026-03-25  9:58 ` [PATCH v2 8/8] doc: tqma7: add documentation Alexander Feilke
2026-03-25 11:29   ` Peng Fan

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=20260325183345.GW502704@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=alexander.feilke@ew.tq-group.com \
    --cc=festevam@gmail.com \
    --cc=jh80.chung@samsung.com \
    --cc=peng.fan@nxp.com \
    --cc=sbabic@nabladev.com \
    --cc=u-boot@ew.tq-group.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.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