* [U-Boot-Users] saveenv
@ 2007-02-05 12:14 Nethra
2007-02-05 14:19 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Nethra @ 2007-02-05 12:14 UTC (permalink / raw)
To: u-boot
hi,
I am using MPC8272ADS based custom board.
Flash is MBM29LV160T(FUJITSU).
u-boot is u-boot-1.1.2
u-boot is working fine.But environment variables are not saved to the
enviromental space.So it doesn't display saved environment variables after
reset.
------------------------------------------------------------------
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
-------------------------------------------------------------------
Note: For this flash unlock is not needed to erase readonly sectors of
flash.Ithink it may be crc problem.
what may be the problem?please reply..
with regards,
Nethra
--
View this message in context: http://www.nabble.com/saveenv-tf3173980.html#a8805190
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] saveenv
2007-02-05 12:14 [U-Boot-Users] saveenv Nethra
@ 2007-02-05 14:19 ` Wolfgang Denk
2007-02-06 6:16 ` Nethra
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2007-02-05 14:19 UTC (permalink / raw)
To: u-boot
In message <8805190.post@talk.nabble.com> you wrote:
>
> I am using MPC8272ADS based custom board.
> Flash is MBM29LV160T(FUJITSU).
> u-boot is u-boot-1.1.2
You may want to update your code. 1.1.2 is very old.
> u-boot is working fine.But environment variables are not saved to the
> enviromental space.So it doesn't display saved environment variables after
> reset.
>
> ------------------------------------------------------------------
> *** Warning - bad CRC, using default environment
And what exactly happens when you type "saveenv" ?
> flash.Ithink it may be crc problem.
Indeed, that's what the message says. Well spotted.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Where would we be without rhetorical questions?
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] saveenv
2007-02-05 14:19 ` Wolfgang Denk
@ 2007-02-06 6:16 ` Nethra
0 siblings, 0 replies; 3+ messages in thread
From: Nethra @ 2007-02-06 6:16 UTC (permalink / raw)
To: u-boot
wd wrote:
>
> In message <8805190.post@talk.nabble.com> you wrote:
>>
>> I am using MPC8272ADS based custom board.
>> Flash is MBM29LV160T(FUJITSU).
>> u-boot is u-boot-1.1.2
>
> You may want to update your code. 1.1.2 is very old.
>
> nethra: no....now everything fine.
> thnks for ur valuable advice.
>
>> u-boot is working fine.But environment variables are not saved to the
>> enviromental space.So it doesn't display saved environment variables
>> after
>> reset.
>>
>> ------------------------------------------------------------------
>> *** Warning - bad CRC, using default environment
>
> And what exactly happens when you type "saveenv" ?
>
> Nethra:this is what i get after saveenv
>
> ---------------------------------------------------
> Saving Environment to Flash...
> Un-Protected 2 sectors
> Erasing Flash...flash_erase: first: 26 last: 27
>
> . done
> Erased 2 sectors
> Writing to Flash... done
> Protected 2 sectors
> -----------------------------------------------------
>
>
>
>> flash.Ithink it may be crc problem.
>
> Indeed, that's what the message says. Well spotted.
>
> nethra: if i check environmental space it is as shown below,
>
> Cashel=> md FFF40000
> fff40000: b0c10f13 746f6f62 73677261 6f6f723d ....toobsgraoor=
> fff40010: 642f3d74 6d2f7665 6c626474 326b636f d/=tm/velbdt2kco
> fff40020: 6f6f6200 646d6374 6f6f623d 66206d74 oob.dmctoob=f mt
> fff40030: 30386666 00303030 746f6f62 616c6564 08ff.000toobaled
> fff40040: 00353d79 64756162 65746172 3438333d .5=yduabetar483=
> fff40050: 73003030 6e696474 7265733d 006c6169 s.00nidtres=.lai
> fff40060: 6f647473 733d7475 61697265 7473006c odtss=tuairets.l
> fff40070: 72726564 7265733d 006c6169 61687465 rredres=.laiahte
> fff40080: 463d7463 20324343 45485445 54454e52 F=tc 2CCEHTETENR
> fff40090: 61706900 3d726464 2e323931 2e383631 api.=rdd.291.861
> fff400a0: 362e3333 00000036 00000000 00000000 6.33...6........
> fff400b0: 00000000 00000000 00000000 00000000 ................
> fff400c0: 00000000 00000000 00000000 00000000 ................
> fff400d0: 00000000 00000000 00000000 00000000 ................
> fff400e0: 00000000 00000000 00000000 00000000 ................
> fff400f0: 00000000 00000000 00000000 00000000 ................
> Cashel=>
>
> saved environmental variable is seen at last.
> But it will not displayed if i give printenv after reset.
>
> with regards,
> Nethra
>
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
> Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Where would we be without rhetorical questions?
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
--
View this message in context: http://www.nabble.com/saveenv-tf3173980.html#a8821046
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-06 6:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-05 12:14 [U-Boot-Users] saveenv Nethra
2007-02-05 14:19 ` Wolfgang Denk
2007-02-06 6:16 ` Nethra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox