* [U-Boot-Users] Error in saving the Env varibles on the flash
@ 2004-11-23 15:03 pankaj goyal
2004-11-23 15:48 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: pankaj goyal @ 2004-11-23 15:03 UTC (permalink / raw)
To: u-boot
Hi all,
I m using the U-boot for the arm 926ej processor.For that I
want to save enviorment variable on the flash and I m using the flash
of 16MB with the base address of the flash is 0x30000000 and the flash
is bottom boot type with the sector size is 128KB and the parameter
sector size 32KB.When I use the second parameter sector to store the
envoirnment variable in the flash I m getting the error "Error: start
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.
bye
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] Error in saving the Env varibles on the flash
2004-11-23 15:03 [U-Boot-Users] Error in saving the Env varibles on the flash pankaj goyal
@ 2004-11-23 15:48 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2004-11-23 15:48 UTC (permalink / raw)
To: u-boot
In message <272c45c6041123070373d12b23@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-11-23 15:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-23 15:03 [U-Boot-Users] Error in saving the Env varibles on the flash pankaj goyal
2004-11-23 15:48 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.