[U-Boot-Users] saveenv

Nethra nethra_gmit at yahoo.co.in
Tue Feb 6 07:16:09 CET 2007




wd wrote:
> 
> In message <8805190.post at 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.





More information about the U-Boot mailing list