[U-Boot] Copy to Flash... 9Flash not Erased

2015-04-07 Thread Rudolf J Streif
I am getting the Flash not Erased error when writing to NOR flash with cp.b. I checked all of the obvious such as file exceeding the erased area etc. Below is the log including environment settings etc. You can see that about 14k of data is written and then the error occurs for a reason

Re: [U-Boot] Copy to Flash... 9Flash not Erased

2015-04-07 Thread Dirk Eibach
Hi Rudi, this sounds oddly familiar. Which gcc version are you using? 4.8? gcc 4.8 is broken for powerpc u-boot. For more background search for the Relocation issue - need help! started by Wolfgang Denk on the mailing list. Cheers Dirk ___ U-Boot

Re: [U-Boot] Copy to Flash... 9Flash not Erased

2015-04-07 Thread Rudolf Streif
Hi Dirk, this sounds oddly familiar. Which gcc version are you using? 4.8? gcc 4.8 is broken for powerpc u-boot. Thanks for the pointer. I am using gcc 4.7.2. For more background search for the Relocation issue - need help! started by Wolfgang Denk on the mailing list. I will