Thanks for the help with this, I found a problem in the driver.



On Mon, Dec 15, 2008 at 6:58 PM, Greg Ungerer <g...@snapgear.com> wrote:

> Hi,
>
>
> b2112 wrote:
>
>> I'm using the uClinux 2.4 kernel in my application and I'm trying to use
>> the netflash command to program flash remotely.
>> I'm noticing inconsistent results with the netflash command across several
>> boards of the same board type and revision.
>> With some boards it works on the first try, others it either takes a
>> couple of times or it doesn't work at all.
>> I've tried using the command two ways thru a telnet session to the remote
>> device,
>>
>> netflash –bCknr /dev/rom# <file.bin> and netflash –bknr /dev/rom#
>> <file.bin>.
>>
>> In some cases the –C displays the verified data to the screen, other times
>> it doesn't.
>>
>> Any ideas as to what could be wrong?  Does the netflash command have any
>> known issues?
>>
>
> None specific that I know of. And I use it a _lot_.
> Not sure what version/variant of it you are using.
>
> It is has been continuously enhanced and added to for the last
> 10 odd years...
>
> Is there any chance that the underlying flash segments may be
> locked?  If so then you may want to supply the "-u" switch.
>
> Are you sure that the underlying blkmem/mtd driver for your
> flash is bug free?
>
> Regards
> Greg
>
>
> ------------------------------------------------------------------------
> Greg Ungerer  --  Principal Engineer        EMAIL:     g...@snapgear.com
> SnapGear, a McAfee Company                  PHONE:       +61 7 3435 2888
> 825 Stanley St,                             FAX:         +61 7 3891 3630
> Woolloongabba, QLD, 4102, Australia         WEB: 
> http://www.SnapGear.com<http://www.snapgear.com/>
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to