From: "hacklu.uboot" <hacklu.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] is any bug in cp?
Date: Mon, 18 Apr 2011 09:47:59 +0800 [thread overview]
Message-ID: <201104180947513911895@gmail.com> (raw)
In-Reply-To: BANLkTikzKSUZu+N8B9qSwaJFUMDEzCZWAg@mail.gmail.com
'cp' can also copy from flash to another bank of flash. I have test it.
thanks all the same
------------------
hacklu.uboot
2011-04-18
-------------------------------------------------------------
????????????Charles Krinke
???????????????2011-04-15 22:02:13
????????????hacklu.uboot
?????????u-boot
?????????Re: [U-Boot] is any bug in cp?
This makes sense as one should *not* copy from one sector in a flash to the
same sector in a flash. Flash is erased in sectors, usually 128K and should
be treated as a complete sector.
The cp command is usually used to copy from RAM to FLASH or from FLASH to
RAM. What you are doing seems illogical.
Charles
On Thu, Apr 14, 2011 at 11:01 PM, hacklu.uboot <hacklu.uboot@gmail.com>wrote:
> hi,in my uboot.
>
> there is some bugs when I cp to flash like this:
> cp.b addr1 addr2 0x100
>
> when the two addr in the same bank of a flash. it go wrongs
>
> finally the date of addr2 is 0x8080808080...
>
> cp to another bank of flash is work correctly.
> cp from mem to flash or from flash to mem also correctly.
>
> how is this???
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>
--
Charles Krinke
prev parent reply other threads:[~2011-04-18 1:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3.1302775202.27468.u-boot@lists.denx.de>
2011-04-15 6:01 ` [U-Boot] is any bug in cp? hacklu.uboot
2011-04-15 8:44 ` Wolfgang Denk
2011-04-15 9:15 ` hacklu.uboot
2011-04-15 10:21 ` Wolfgang Denk
2011-04-18 1:49 ` hacklu.uboot
2011-04-15 13:58 ` Charles Krinke
2011-04-18 1:47 ` hacklu.uboot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201104180947513911895@gmail.com \
--to=hacklu.uboot@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox