public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulfs@dof.se>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Multiple flash Support
Date: Thu, 24 Aug 2006 13:05:05 +0200	[thread overview]
Message-ID: <00b801c6c772$9eedc6a0$574865d5@atmel.com> (raw)
In-Reply-To: 20060824094057.2C56D353A63@atlas.denx.de

> In message <000e01c6c752$e8502510$654765d5@atmel.com> you wrote:
>>
>> Maybe this is too late, 
>> but it may make sense to add an 8 kB serial EEPROM to a board
>> (which is probably a development board anyway)
>> and store the environment in this chip.
> 
> No! Please DON'T do this.
> 
> I recommend against using EEPROM (at least on I2C) for any  important
> data.  See  doc/I2C_Edge_Conditions  for  just  one problem which can
> cause data loss on such devices. Don't  say  this  is  a  theoretical
> issue. I know of systems that suffered from this.
> 

There are plenty of serial EEPROMs (and Serial Flash) and some are on I2C and other are on SPI.
A very large percentage of my customers only have an SPI flash on the board and nothing else.

If this indeed is a development board, cost is probalby not a big issue.
A 4 Mbit serial flash in an SO-8 is anyway dirt cheap and runs at 66 Mbps or 8,25 MByte/s

The U-boot dataflash driver does not support so small dataflashes, but you can 
add a 16 Mbit CASON-8 package in the same foot print and set the
CONFIG_ENV_IN_DATAFLASH (IIRC) and a few other things, (see include/configs/at91rm9200dk.h)
and off you go.
 
A small patch to the dataflash driver should allow the use of the smaller size.
The main issue will be the fact that the sectors are 512+16 bytes instead of 1024+32 bytes

> Also, EEPROM is slow to read, and  adds  for  LONG  and  random  boot delays.
> Best regards,
> 
> Wolfgang Denk
> 

Best Regards
Ulf Samuelsson   

  reply	other threads:[~2006-08-24 11:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-24  2:30 [U-Boot-Users] Multiple flash Support Nishanth Menon
2006-08-24  7:04 ` Wolfgang Denk
2006-08-24  7:57   ` Ulf Samuelsson
2006-08-24  9:40     ` Wolfgang Denk
2006-08-24 11:05       ` Ulf Samuelsson [this message]
2006-08-24 11:55       ` Nishanth Menon
2006-08-24 12:25         ` Ulf Samuelsson
     [not found] <20060824122227.3A440353A61@atlas.denx.de>
2006-08-24 13:02 ` Nishanth Menon

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='00b801c6c772$9eedc6a0$574865d5@atmel.com' \
    --to=ulfs@dof.se \
    --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