saveenv to flash for MPC8360ERDK evaluation board.
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
Hi Richard,
Quoted 11 lines
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.
Quoted 7 lines
I think some change in there (maybe
cmd_set_amd_read_jedec_ids, wheninfo->device_idis 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
Signature · 6 lines
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