[U-Boot-Users] when load another u-boot.bin, failed cp.b from memory to flash

Tyler Jia txjia at yahoo.com
Thu Sep 30 23:41:16 CEST 2004


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




More information about the U-Boot mailing list