* [U-Boot] cp.b command not working for copy to flash
@ 2009-07-22 6:13 Nirav Rabara
2009-07-22 6:25 ` Wolfgang Denk
2009-07-22 6:33 ` Dieter Kiermaier
0 siblings, 2 replies; 4+ messages in thread
From: Nirav Rabara @ 2009-07-22 6:13 UTC (permalink / raw)
To: u-boot
I am trying cp.b 22000000 10100000 180000 (i.e. copy from RAM to FLASH)
Its showing me message flash can't Erase.
But when i tried cp.b 10100000 22000000 180000 its working. (i.e. copy from
FLASH to RAM)
Can please anybody tell me what's going wrong??
--
View this message in context: http://www.nabble.com/cp.b-command-not-working-for-copy-to-flash-tp24600612p24600612.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] cp.b command not working for copy to flash
2009-07-22 6:13 [U-Boot] cp.b command not working for copy to flash Nirav Rabara
@ 2009-07-22 6:25 ` Wolfgang Denk
2009-07-22 6:33 ` Dieter Kiermaier
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2009-07-22 6:25 UTC (permalink / raw)
To: u-boot
Dear Nirav Rabara,
In message <24600612.post@talk.nabble.com> you wrote:
>
> I am trying cp.b 22000000 10100000 180000 (i.e. copy from RAM to FLASH)
> Its showing me message flash can't Erase.
>
> But when i tried cp.b 10100000 22000000 180000 its working. (i.e. copy from
> FLASH to RAM)
> Can please anybody tell me what's going wrong??
Your port of U-Boot is incomplete and/or broken.
Also, you should be using current code instead of such an old version.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Of course there's no reason for it, it's just our policy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] cp.b command not working for copy to flash
2009-07-22 6:13 [U-Boot] cp.b command not working for copy to flash Nirav Rabara
2009-07-22 6:25 ` Wolfgang Denk
@ 2009-07-22 6:33 ` Dieter Kiermaier
2009-07-22 6:36 ` Shinose
1 sibling, 1 reply; 4+ messages in thread
From: Dieter Kiermaier @ 2009-07-22 6:33 UTC (permalink / raw)
To: u-boot
Hi Nirav,
>
> I am trying cp.b 22000000 10100000 180000 (i.e. copy from RAM to FLASH)
> Its showing me message flash can't Erase.
>
> But when i tried cp.b 10100000 22000000 180000 its working. (i.e. copy from
> FLASH to RAM)
> Can please anybody tell me what's going wrong??
Maybe you have to unprotect your flash first?
Dieter
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] cp.b command not working for copy to flash
2009-07-22 6:33 ` Dieter Kiermaier
@ 2009-07-22 6:36 ` Shinose
0 siblings, 0 replies; 4+ messages in thread
From: Shinose @ 2009-07-22 6:36 UTC (permalink / raw)
To: u-boot
On Wed, Jul 22, 2009 at 12:03 PM, Dieter Kiermaier <dk-arm-linux@gmx.de>wrote:
> Hi Nirav,
> >
> > I am trying cp.b 22000000 10100000 180000 (i.e. copy from RAM to FLASH)
> > Its showing me message flash can't Erase.
> >
> > But when i tried cp.b 10100000 22000000 180000 its working. (i.e. copy
> from
> > FLASH to RAM)
> > Can please anybody tell me what's going wrong??
>
> Maybe you have to unprotect your flash first?
>
Also You have to erase the sector of the Flash before you do the cp
operation.
-Shinose
> Dieter
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-07-22 6:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-22 6:13 [U-Boot] cp.b command not working for copy to flash Nirav Rabara
2009-07-22 6:25 ` Wolfgang Denk
2009-07-22 6:33 ` Dieter Kiermaier
2009-07-22 6:36 ` Shinose
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox