public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Question about CFG_ENV_ADDR during RAMBOOT
Date: Fri, 25 May 2007 07:37:53 +0200	[thread overview]
Message-ID: <200705250737.54155.sr@denx.de> (raw)
In-Reply-To: <030501c79e4e$862cf740$0302a8c0@atmel.com>

Hi Ulf,

On Thursday 24 May 2007, Ulf Samuelsson wrote:
> >> * compare dataflash to sdram
> >
> > * That would be a two step procedure, like currently used for other
> >  storage devices:
> >
> >  - Copy from dataflash to memory
> >  - compare two memory areas
>
> If I wanted to wear down my fingers by typing a lot of things,
> I would have choosen a career as a COBOL programmer.

We also have board with NAND FLASH only and the number of those boards will 
grow in the near future. The NAND command interface of course need a little 
more typing, but I always configure a few environment variables to update the 
images in the NAND FLASH. Something like:

=> setenv nload 'tftp 200000 board/u-boot.bin'
=> setenv nupdate 'nand erase 0 40000;nand write 200000 0 40000'
=> setenv nupd 'run nload nupdate'

A simple "run nupd" will update the image for me then. Not much typing 
involved.

BTW: I do the same with "normal" NOR FLASH images too, so it always boils down 
to some env variable commands. And if you have defined those variables in the 
default env variables, then all "users" can access them right away.

But I understand that your main concern is the *change* of the dataflash user 
interface. Yes, this is a problem and we can't really solve it. But a README 
and some env variables might make this change easier for the "users".

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  parent reply	other threads:[~2007-05-25  5:37 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-16 19:58 [U-Boot-Users] Question about CFG_ENV_ADDR during RAMBOOT Timur Tabi
2007-05-22 20:36 ` Timur Tabi
2007-05-22 20:53   ` Jerry Van Baren
2007-05-22 21:04     ` Wolfgang Denk
2007-05-22 21:07       ` Timur Tabi
2007-05-23  0:15         ` Wolfgang Denk
2007-05-23 15:58           ` Timur Tabi
2007-05-22 21:26       ` Jerry Van Baren
2007-05-22 21:20     ` Andy Fleming
2007-05-22 21:22       ` Timur Tabi
2007-05-23  0:17         ` Wolfgang Denk
2007-05-23 14:56           ` Timur Tabi
2007-05-22 21:00   ` Wolfgang Denk
2007-05-22 21:30     ` Andy Fleming
2007-05-23 10:04     ` Ladislav Michl
2007-05-23 10:48       ` Ulf Samuelsson
2007-05-23 11:39         ` Ladislav Michl
2007-05-23 12:52           ` Ulf Samuelsson
2007-05-23 13:57             ` Wolfgang Denk
2007-05-23 16:19               ` Ulf Samuelsson
2007-05-24 12:10                 ` Ladislav Michl
2007-05-24 13:03                   ` Wolfgang Denk
2007-05-24 13:34                     ` Ladislav Michl
2007-05-24 19:08                   ` Ulf Samuelsson
2007-05-24 21:11                     ` Wolfgang Denk
2007-05-24 21:43                       ` Ulf Samuelsson
2007-05-24 23:46                         ` Wolfgang Denk
2007-05-25  5:37                         ` Stefan Roese [this message]
2007-05-25  8:50                           ` Ladislav Michl
2007-05-23 12:59           ` Ulf Samuelsson
2007-05-23 13:25             ` Ladislav Michl
2007-05-23 16:05               ` Ulf Samuelsson
2007-05-24 12:29                 ` Ladislav Michl
2007-05-24 18:34                   ` Ulf Samuelsson
2007-05-24 18:35                   ` Ulf Samuelsson
2007-05-23 12:59         ` Wolfgang Denk
2007-05-23 15:44           ` Ulf Samuelsson
2007-05-23 18:08             ` Wolfgang Denk
2007-05-24  9:14             ` Ladislav Michl
2007-05-25  9:06               ` Ladislav Michl
  -- strict thread matches above, loose matches on Subject: below --
2007-05-26 10:53 Ulf Samuelsson
2007-05-26 13:15 ` Wolfgang Denk
2007-05-28 11:37 ` Ladislav Michl
2007-05-28 14:08   ` Ulf Samuelsson
2007-05-28 15:39     ` Ladislav Michl
2007-05-28 16:16       ` Håvard Skinnemoen
2007-05-28 16:56         ` Ulf Samuelsson
2007-05-28 19:39           ` Ladislav Michl
2007-05-29  0:10             ` Wolfgang Denk
2007-05-29 22:13               ` Ulf Samuelsson
2007-05-29 22:46                 ` Wolfgang Denk
2007-05-29 23:15                   ` Ulf Samuelsson
2007-05-29 23:39                     ` Wolfgang Denk
2007-05-30  0:46                       ` Ulf Samuelsson
2007-05-30  6:57                         ` Wolfgang Denk
2007-05-30 10:52                           ` Ladislav Michl
2007-05-30 13:43                             ` Wolfgang Denk
2007-05-30 18:11                               ` Ulf Samuelsson
2007-05-30 11:34 Ulf Samuelsson
2007-05-30 12:16 ` Ladislav Michl
2007-05-30 13:47 ` Wolfgang Denk
2007-05-30 18:23   ` Ulf Samuelsson
2007-05-30 23:19     ` Wolfgang Denk

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=200705250737.54155.sr@denx.de \
    --to=sr@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