* [U-Boot] Assigning u-boot environment variables from memory
@ 2017-02-14 21:27 brendan
2017-02-15 6:52 ` Wolfgang Denk
2017-02-15 8:49 ` Lukasz Majewski
0 siblings, 2 replies; 3+ messages in thread
From: brendan @ 2017-02-14 21:27 UTC (permalink / raw)
To: u-boot
I am storing some information regarding my board within EEPROM (in memory
after I use the >eeprom read command) and I was wondering if it was possible
for me to somehow read from memory and store the values into an environment
variable.
I have done a search but could not find anything of relevance.
Thanks
--
View this message in context: http://u-boot.10912.n7.nabble.com/Assigning-u-boot-environment-variables-from-memory-tp281788.html
Sent from the U-Boot mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Assigning u-boot environment variables from memory
2017-02-14 21:27 [U-Boot] Assigning u-boot environment variables from memory brendan
@ 2017-02-15 6:52 ` Wolfgang Denk
2017-02-15 8:49 ` Lukasz Majewski
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2017-02-15 6:52 UTC (permalink / raw)
To: u-boot
Dear brendan,
In message <1487107650642-281788.post@n7.nabble.com> you wrote:
> I am storing some information regarding my board within EEPROM (in memory
> after I use the >eeprom read command) and I was wondering if it was possible
> for me to somehow read from memory and store the values into an environment
> variable.
>
> I have done a search but could not find anything of relevance.
That's what the "env import" command was made for (supporting
different import formats, like plain text, binary with or without
checksum).
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Assigning u-boot environment variables from memory
2017-02-14 21:27 [U-Boot] Assigning u-boot environment variables from memory brendan
2017-02-15 6:52 ` Wolfgang Denk
@ 2017-02-15 8:49 ` Lukasz Majewski
1 sibling, 0 replies; 3+ messages in thread
From: Lukasz Majewski @ 2017-02-15 8:49 UTC (permalink / raw)
To: u-boot
On Tue, 14 Feb 2017 14:27:30 -0700 (MST)
brendan <brendan.ta@jacques.com.au> wrote:
> I am storing some information regarding my board within EEPROM (in
> memory after I use the >eeprom read command) and I was wondering if
> it was possible for me to somehow read from memory and store the
> values into an environment variable.
You might look at "env import ..." command.
It should do what you need. Please also pay attention to its switches
-r| -t ... etc.
>
> I have done a search but could not find anything of relevance.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://u-boot.10912.n7.nabble.com/Assigning-u-boot-environment-variables-from-memory-tp281788.html
> Sent from the U-Boot mailing list archive at Nabble.com.
> _______________________________________________ U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-15 8:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-14 21:27 [U-Boot] Assigning u-boot environment variables from memory brendan
2017-02-15 6:52 ` Wolfgang Denk
2017-02-15 8:49 ` Lukasz Majewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox