Re: [U-Boot] problem detecting CFI

2009-10-02 Thread wpa
I can fix this problem not but I really don't understand how the problem happens in the first place. I found gp got changed in relocate_code in file start.S. In relocate_code "function", the $gp is adjusted to point to the new location, but somehow before program jumps to the relocated place, $gp

Re: [U-Boot] problem detecting CFI

2009-10-01 Thread wpa
I just found something interesting - In my previous email I thought the CFI detection was running from DRAM, but that assumption seems to be wrong. Previously I though it was running from DRAM because I traced the execution using BDI into mips/start">cpu/mips/start.S relocate_code, it runs to th