public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] ENV in NAND and in EEPROM ?
@ 2008-03-29 14:42 Manuel Sahm
  2008-03-31  1:27 ` Aras Vaichas
  0 siblings, 1 reply; 2+ messages in thread
From: Manuel Sahm @ 2008-03-29 14:42 UTC (permalink / raw)
  To: u-boot

Hello,

 

I want to use an eeprom AND an NANDFLASH for storing the Enviroment Data.

 

First: The EEPROM should be connected via SPI, so I have to make a c file
within the function for spi_write and spi_read
to use it with the
CFG_CMD_EEPROM.

right ?

 

Now my second question:

I want to achieve that the uboot first looks in NANDFlash, if the ENV is
damaged, look at NANDFLASH_REDUNDAND area [This is what is normally
implemented, I think, and it works], now if these both areas of NAND Flash
are damaged, the ubbot should have a lokk at the eeprom to load its
environment


 

 

Is it possible ??

What files do I have to adapt, and where?s the point in the code, where the
printenv/setenv command is attached to the NANDFLASH/EEPROM Function to load
the data ?

 

Thank you very much

 

 

Manuel

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080329/3f7f85d1/attachment.htm 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-31  1:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-29 14:42 [U-Boot-Users] ENV in NAND and in EEPROM ? Manuel Sahm
2008-03-31  1:27 ` Aras Vaichas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox