Re: [U-Boot-Users] u-boot.lds, help...

Hi Flavio.
I had similar problems. Following you find a message I received from Vladimir Gurevich that helpedme to solve the problem. Hope this helps.
Delivered-To: r&d@wawnet.biz Date: Mon, 17 Mar 2003 10:25:33 -0800 From: Vladimir Gurevich vag@paulidav.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021203 X-Accept-Language: ru, en-us, en To: llandre r&d@wawnet.biz CC: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] Problems with the port to PPC 405EP ev. board
Hello,
My suggestion will be to move your pll_write and reset_cpu functions to the bottom of the file, at least past the exception vectors. Remember, that the execution starts at 0x100 and there are only 256 bytes before the next exception vector. Your problem is that your code is too big to be placed in the exception vector space and thus overlapped with the next vector.
Hope, this helps. Vladimir
llandre wrote:
Hello,
I'd guess that attaching your new start.S or, at least, the diff to the original one will definitely help...
Sorry, I thought we were not allowed to send attachments to the mailing list. I attached the new start.S. The new code is enclosed by the "#if (defined(CONFIG_BUBINGA405EP) && defined(CONFIG_NO_SERIAL_EEPROM))" directives.
llandre
llandre
participants (1)
-
llandre