[U-Boot-Users] Error in saving the Env varibles on the flash

Wolfgang Denk wd at denx.de
Tue Nov 23 16:48:58 CET 2004


In message <272c45c6041123070373d12b23 at mail.gmail.com> you wrote:
>
...
> and/or end address not on sector boundary".When I explore the code I
> found out the in the function flash_fill_sector_range in the file
> 'u-boot/comman/cmd_flash.c'  the range is checked for the each sector
> and the parameter sector is not being considered to determine the
> number of sector to unprotect them .Can some one please tell me it
> this an error in the code or i m specifying the parameter sector in
> the wrong way.

This code is being used successfully by literally hundrets  of  board
types. Odds are that there is a bug in your code.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Neckties strangle clear thinking.                       -- Lin Yutang




More information about the U-Boot mailing list