public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] saveenv to flash for MPC8360ERDK evaluation board.
@ 2008-05-22 14:00 richardretanubun
  2008-05-23 15:38 ` Detlev Zundel
  0 siblings, 1 reply; 2+ messages in thread
From: richardretanubun @ 2008-05-22 14:00 UTC (permalink / raw)
  To: u-boot

Hi,

I am trying to update the u-boot for the LogicPD/Freescale MPC8360ERDK 
evaluation board and found some problems with saving the environment 
configurations to flash.

What I found is that in u-boot 1.3.2 the saveenv command works ok, but 
since u-boot 1.3.3-rc1 (and I suspect later version) the command does 
not save the environment variable.

from the git-trees, I rolled back /drivers/mtd/cfi_flash.c to the u-boot 
1.3.2 version and now the saveenv command seems to work again.

I think some change in there (maybe cmd_set_amd_read_jedec_ids, when 
info->device_id is populated)
causes the flash writing mishap.

Have anyone else experienced this as well?

Any suggestions are also welcome.

Thank you,

Richard Retanubun

**RuggedCom Inc.
30 Whitmore Road,
Woodbridge, Ontario,
Canada, L4L 7Z4

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

* [U-Boot-Users] saveenv to flash for MPC8360ERDK evaluation board.
  2008-05-22 14:00 [U-Boot-Users] saveenv to flash for MPC8360ERDK evaluation board richardretanubun
@ 2008-05-23 15:38 ` Detlev Zundel
  0 siblings, 0 replies; 2+ messages in thread
From: Detlev Zundel @ 2008-05-23 15:38 UTC (permalink / raw)
  To: u-boot

Hi Richard,

> I am trying to update the u-boot for the LogicPD/Freescale MPC8360ERDK 
> evaluation board and found some problems with saving the environment 
> configurations to flash.
>
> What I found is that in u-boot 1.3.2 the saveenv command works ok, but 
> since u-boot 1.3.3-rc1 (and I suspect later version) the command does 
> not save the environment variable.
>
> from the git-trees, I rolled back /drivers/mtd/cfi_flash.c to the u-boot 
> 1.3.2 version and now the saveenv command seems to work again.
>
> I think some change in there (maybe cmd_set_amd_read_jedec_ids, when 
> info->device_id is populated)
> causes the flash writing mishap.
>
> Have anyone else experienced this as well?
>
> Any suggestions are also welcome.

When nobody can answer in a general fashion, it is time to crank up
git-bisect(1) and identify the one single commit breaking the
functionality.  Once you have that located, it may be pretty obvious
what is going wrong.

Cheers
  Detlev

[1] http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html

-- 
Man is a fool, and woman, for tolerating him, is a damned fool
                       -- Mark Twain
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

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

end of thread, other threads:[~2008-05-23 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-22 14:00 [U-Boot-Users] saveenv to flash for MPC8360ERDK evaluation board richardretanubun
2008-05-23 15:38 ` Detlev Zundel

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