From: Robert P. J. Day <rpjday@crashcourse.ca>
To: u-boot@lists.denx.de
Subject: [U-Boot] recommended place to add some custom settings to u-boot environment?
Date: Wed, 14 Sep 2016 09:04:39 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.2.20.1609140902380.2267@ca624034.mitel.com> (raw)
In-Reply-To: <20160914125839.C998A100BA3@atlas.denx.de>
On Wed, 14 Sep 2016, Wolfgang Denk wrote:
> Dear Robert,
>
> In message <alpine.LFD.2.20.1609140524480.27791@localhost.localdomain> you wrote:
> >
> > > Why not simply putting this as text (or wrapped with an uImage
> > > header) into some storage (or even a file) and then use "env import"
> > > to load it?
> >
> > the problem is that that additional "environment" info is on the
> > target board because of a legacy non-linux OS -- it's at a
> > well-known address in flash, and we have no freedom to change it,
> > we can only read it, make some adjustments, then incorporate it
> > into the current environment.
>
> Which format is used? Can it not be made to work with "env import"
> using this well-known address? I mean, if it's plain text, it
> should just work. If it's some other, more exotic format, you could
> probably implement a custom import format?
it needs to be done programatically, and i *believe* himport_r() can
handle it, as the string is space-separated and null-terminated, so
i'm about to test that.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
next prev parent reply other threads:[~2016-09-14 13:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-14 8:57 [U-Boot] recommended place to add some custom settings to u-boot environment? Robert P. J. Day
2016-09-14 9:17 ` Wolfgang Denk
2016-09-14 9:27 ` Robert P. J. Day
2016-09-14 12:58 ` Wolfgang Denk
2016-09-14 13:04 ` Robert P. J. Day [this message]
2016-09-14 13:33 ` Wolfgang Denk
2016-09-14 13:37 ` Robert P. J. Day
2016-09-14 14:31 ` Wolfgang Denk
2016-09-14 15:07 ` Robert P. J. Day
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=alpine.LFD.2.20.1609140902380.2267@ca624034.mitel.com \
--to=rpjday@crashcourse.ca \
--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.