* [U-Boot] U-Boot environment update in linux embedded ARM architecture
@ 2009-07-20 10:19 Jan Misfatto
2009-07-20 12:21 ` Alessandro Rubini
0 siblings, 1 reply; 2+ messages in thread
From: Jan Misfatto @ 2009-07-20 10:19 UTC (permalink / raw)
To: u-boot
Dear Madam/Sir,
our company, Microhard s.r.l, produces data acquisition terminals and in
our new design, which is under development, we use an ARM 9 plattform
based on the AT91SAM9263 microcontroller. Right now our system uses a
NAND Flash chip from Micron MT29F2G08AACWP and out Memory is mapped as
follows
0x0 AT91Booststrap
0x20000 *U-Boot (2009.06)*
0x60000 *U-Boot Env.*
0x A0000 Linux Kernel
0x400000 Rooot FS (jffs2)
We are trying to update the U-booot environment from U-boot with the
/"savenev"/ command. We encounter the following problem. When updating
the u-boot environment part of the u-boot code is overwritten with the
environment parameters. This happens only when our NAND flash has bad
blocks in the u-boot zone. (Block 1 and 2), We receive the information
about the bad blocks from Sam-ba. If we use a NAND with no bad blocks
everything works fine.
Could you kindly give any advise about this topic?
We looking foreword for your answer thank you for your time,
best regards
Jan Misfatto
--
*/Jan Misfatto/*
*/Microhard/**/ S.r.l./*
*Tel: +39.0331.514420*
*Fax: +39.0331.514707*
*e-mail:* *<jan.misfatto@microhard.biz>*
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/Questo messaggio ed i suoi allegati viene spedito solo alle persone
indicate come destinatarie. Esso contiene informazioni confidenziali
legalmente privilegiate. Se il lettore non e' indicato come
destinatario, la lettura, diffusione o copia di questo messaggio o l'uso
delle informazioni che contiene o degli allegati e' proibita. Se avete
ricevuto questo messaggio per errore Vi preghiamo di avvisare
immediatamente il mittente e cancellare il messaggio e gli allegati. Per
qualunque domanda in proposito Vi preghiamo di contattarci inviando un
messaggio a /_info at microhard.biz <mailto:info@microhard.biz>_/./
/This message and its attachments is addressed only to the intended
recipient. This message contains confidential information legally
privileged. If the reader is not a representative of the intended
recipient, any review, dissemination or copying of this message or use
of the information it contains or its attachments is prohibited. If you
have received this message in error please notify immediately the sender
and delete this message and attachments. Should you have any questions,
please contact us by replying to /_info at microhard.biz__
<mailto:info@microhard.biz>_/./
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] U-Boot environment update in linux embedded ARM architecture
2009-07-20 10:19 [U-Boot] U-Boot environment update in linux embedded ARM architecture Jan Misfatto
@ 2009-07-20 12:21 ` Alessandro Rubini
0 siblings, 0 replies; 2+ messages in thread
From: Alessandro Rubini @ 2009-07-20 12:21 UTC (permalink / raw)
To: u-boot
> 0x20000 *U-Boot (2009.06)*
> 0x60000 *U-Boot Env.*
So two blocks. for u-boot, which is bigger than one block.
> the u-boot environment part of the u-boot code is overwritten with the
> environment parameters. This happens only when our NAND flash has bad
> blocks in the u-boot zone. (Block 1 and 2),
In this case u-boot is stored in two blocks, but skipping the bad
block. Your env area will contain the trailing part of u-boot binary.
I'm sure your consultant already told you.
> /Questo messaggio ed i suoi allegati viene spedito solo alle persone
> indicate come destinatarie. Esso contiene informazioni confidenziali
Please avoid this meaningless stuff when posting to public lists (even
in private mail it sounds insulting, but that's just personal taste).
/alessandro
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-20 12:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-20 10:19 [U-Boot] U-Boot environment update in linux embedded ARM architecture Jan Misfatto
2009-07-20 12:21 ` Alessandro Rubini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox