mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: "Zoltán Kócsi" <zoltan@bendor.com.au>
Cc: barebox@lists.infradead.org
Subject: Re: More Mini2440 questions...
Date: Mon, 4 Apr 2011 13:13:31 +0200	[thread overview]
Message-ID: <201104041313.32074.jbe@pengutronix.de> (raw)
In-Reply-To: <20110404210245.16f269f7@manocska.bendor.com.au>

Hi Zoltán,

Zoltán Kócsi wrote:
> Thanks for all the answers for my previous questions!
>
> The 'next' branch indeed boots from the NAND FLASH like a charm.

\o/

Just for my list of tested min2440 variants: What type of SDRAMs and NAND is 
your system using? 

> What I'm looking for now is a crash-course, or at least a pointer to
> some web-based one, on barebox itself, from the usage point of view. I
> created the docs and read the User's Manual, but I'm none the wiser.

Authors of documentation are always welcome. But they are rare :-(

> How do I boot a kernel from FLASH or via TFTP? I figured that I
> can set the Ethernet MAC address by eth0.ethaddr=xx:xx:xx:xx:xx:xx
> (although I don't know if that actually changes the MAC) but how can I
> save that so that next time I reset the board it is there?

Take a look into the generic environment in "defaultenv/bin/". These scripts 
are used when the system comes up. They are using the "/env/config" for 
parameterization. Maybe these file will help you to understand how it works.

> Same with other environment variables, such as bootargs. The command
> 'saveenv' says that it saved the environment. According to its docs, it
> saved it in /dev/env0. According the the docs of loadenv, that
> command should load the saved environment, but I could not get any
> of my changes back.

So, the changes in your environment are lost after reboot? Do you see any kind 
of error message (like CRC sum errors)? when barebox comes up after reset and 
tries to load the saved environment?

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2011-04-04 11:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 11:02 Zoltán Kócsi
2011-04-04 11:13 ` Juergen Beisert [this message]
2011-04-04 12:13   ` Zoltán Kócsi
2011-04-04 12:26     ` Juergen Beisert
2011-04-04 12:52       ` Marc Kleine-Budde
2011-04-05  3:09         ` Zoltán Kócsi
2011-04-05  3:07       ` Zoltán Kócsi

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=201104041313.32074.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=zoltan@bendor.com.au \
    /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