From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 22 Jan 2009 14:57:33 -0600 Subject: [U-Boot] mpc8313erdb: crash in image_print_type() In-Reply-To: <5ee96a840901221251l36103ab4q3e846a02538a9ed7@mail.gmail.com> References: <5ee96a840901221236j4d8df014n3114f655107dd352@mail.gmail.com> <5ee96a840901221251l36103ab4q3e846a02538a9ed7@mail.gmail.com> Message-ID: <4978DDBD.8060905@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Matthew L. Creech wrote: > On Thu, Jan 22, 2009 at 3:36 PM, Matthew L. Creech wrote: >> => imi 100000 >> >> ## Checking Image at 00100000 ... > ... >> => md 13e61d >> 0013e61d: 4c696e75 78006e65 74627364 004e6574 Linux.netbsd.Net >> ... >> > > Okay, upon re-reading this I saw where the problem lies. :) > Apparently I'm overwriting the lookup table when I copy in the Linux > image. Changing the destination address clears up the issue. > > What is the region of memory reserved by U-boot that I shouldn't be > touching? (From the MPC8313 config, I had thought that it relocates > itself to 0x10000, and needs 512kB reserved for itself) 0x10000 is where the NAND bootstrap goes, not the main u-boot image. -scott