From: Tyler Jia Date: Thu, 30 Sep 2004 14:41:16 -0700 (PDT) Subject: [U-Boot-Users] when load another u-boot.bin, failed cp.b from memory to flash Message-ID: <20040930214116.83952.qmail@web53405.mail.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, I try to update the new u-boot.bin (128k) with an u-boot already run in a ppc405ep board (8mb flash, 32mb ram), using serial port, Using original u-boot to install another u-boot.bin, for example: flash memory from ff800000 to ffffffff, u-boot.bin in fffe0000 to ffffffff, . loadb 0x1000000 . kermit send u-boot.bin Then we can see u-boot.bin (128k) shows in 0x1000000 - 0x1020000, if copy from memory to flash, After protect off 0xfffe0000 sector And erase 0xfffe0000 sector Cp.b 0x1000000 0xfffe0000 0x20000 but no u-boot.bin shows in 0xfffe0000 - 0xfffffff, all byts from fff80000 to ffffffff become 008000880 . if copy from memory to memory cp.b 0x1000000 0x1050000 0x20000 In 0x1050000 - 0x106ffff u-boot.bin shows right. So cp.b copy from memory to memory workes , but cp.b copy from memory to flash does not work! the cp.b seems just could copy memory to memory, but how to enable it copy from memory to flash? Thanks a lot! Best regards Tyler _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com