From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot boot sequence
Date: Wed, 29 Sep 2010 22:51:06 +0200 [thread overview]
Message-ID: <20100929205106.11B0BD2B484@gemini.denx.de> (raw)
In-Reply-To: <201009292233.04020.korgull@home.nl>
Dear Marcel,
In message <201009292233.04020.korgull@home.nl> you wrote:
>
> > see tools/env for tools to read and write the U-Boot environment
> > settings from Linux. This can be used to change the boot command, boot
> > delay etc.
>
> I used an AVR processor before and did this in the environment settings but
> currently that doesn't work for me yet.
> My env is in nor flash and I don't have a driver in linux yet to communicate
> with it. I'll look into this.
Linux MTD drivers for NOR flash are really standard; they should work
out of the box on all architectures.
> Currently I write settings to eeprom but have no idea if it can be read from
> u-boot. I currently only use it for items that I need in Linux. I did see some
Yes, you can do this. Use the "eeprom read" (or raw "i2c" commands) to
read the eemprom content into RAM; then you can use "env import" to
import it into the environment.
Or you can combine "env export" with "eeprom write" for the opposite
direction.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
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
"Who is the oldest inhabitant of this village?"
"We haven't got one; we had one, but he died three weeks ago."
next prev parent reply other threads:[~2010-09-29 20:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-26 22:11 [U-Boot] u-boot boot sequence Marcel
2010-09-27 2:06 ` [U-Boot] How to do pci_init in flash sywang
2010-09-27 7:27 ` Wolfgang Denk
2010-09-27 8:03 ` sywang
2010-09-27 7:25 ` [U-Boot] u-boot boot sequence Wolfgang Denk
2010-09-29 20:33 ` Marcel
2010-09-29 20:51 ` Wolfgang Denk [this message]
2010-09-29 20:58 ` Marcel
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=20100929205106.11B0BD2B484@gemini.denx.de \
--to=wd@denx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox