
In message 1628E43D99629C46988BE46087A3FBB95C58A9@ep-01.EmbeddedPlanet.local you wrote:
But back to the problem.
./cpu/mpc8xx/cpu_init.c
There is a longish commet in this source file, lines 127...149.
r28 holds the value 0xfa200100 (the location of br0) At line 118, br0 is loaded into r0. r0 then holds 0xfc000001. At line 119, r0 becomes 0x00000000. <<-- This is the problem, I think At line 120, r0 becomes 0x00000001 At line 121, r0 is saved to br0 (the address pointed to by r28). (br0 becomes 0x00000001)
The C comment says: "Clear everything except Port Size bits, then add just the "Bank Valid" bit". Looks as if exactly this was happening. What's the problem?
The program fails at ln 180 with: "Program received signal SIGABRT, aborted." But by this time, br0 was reloaded with CFG_BR0_PRELIM from line 176.
Any more ideas?
Misconfiguration?
-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: Tuesday, June 20, 2006 5:53 PM To: Jeff Mann Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] u-boot hangs in ./cpu/mpc8xx/cpu_init.c when changing br0
Please don't top post / full quote. Read http://www.netmeister.org/news/learn2quote.html
Best regards,
Wolfgang Denk