From: Wolfgang Denk Date: Mon, 16 Aug 2004 22:21:19 +0200 Subject: [U-Boot-Users] decoding 'program check exception trap' In-Reply-To: Your message of "Mon, 16 Aug 2004 21:32:15 +0530." Message-ID: <20040816202124.D5055C109F@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message you wrote: > > I have u-boot working on a custom board based on the MV64360 with a PPC > 750GX processor. I've set the autoboot timeout to 3 secs, with the bootcmd > to 'go 0x40004'. I have a 'serial_getc' in main_loop so that I can transfer > a binary to the 40004 mem. location using a PCI interface via the host > machine. Ummm.. what _exactly_ are you doing? What has a "serial_getc in main_loop" to do with a PCI transfer to memory? and why do you have to do such modifications at all when all can be done using envrionment variables? > On timeout, u-boot tries to transfer control to the binary, but it seems > there's some problem: What exactly is the contents of the memory at 0x00040004 at this time? [and how can you be sure about this?] > Also, can this be due to some caching? It should not, 'cos there shouldn't > have been any access to this location earlier for the data at that location > to be cached, but one possibility that I can think of right now. If there was no access to this location earlier, then how do you think this location could contain executable code? Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Remember that Beethoven wrote his first symphony in C ...