From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petter Larsen Date: 25 Feb 2003 16:25:45 +0100 Subject: [U-Boot-Users] Simple bootloader in the kernel and PPCBoot In-Reply-To: <20030225085153.55E0CC6E0C@atlas.denx.de> References: <20030225085153.55E0CC6E0C@atlas.denx.de> Message-ID: <1046186745.1130.50.camel@pla> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, > in message <1046168602.1108.11.camel@pla> you wrote: > > > > It is one thing that I am not sure of. Do I need to link in the > > arch/ppc/boot/simple files in the kernel when I am using PPCBoot? > > No. Fine. Then I know one more thing. > > If I do a "make pImage", it is not included, but I can not boot this > > image. > > Then you are missing something in your port. Please explain what "can > not boot" means? Did you debug the start-up sequence? > I will debug it, but have not done it. I have an BDM degugger under windows. I am thinking of purchase one of the debuggers on your site. What does this cost, and does it include the GDB patched and ready for use? > > If I do a "make zImage", a zImage.embedded is created with the > > arch/ppc/boot/simple bootloader files linked in. This image can I boot > > if I set the entry point to 10000 when i attach the header with the > > mkimage command. > > You probably can also start this using a simple "go", and you > probably cannot pass args to it, right? > That's right. If I load it into RAM on location 100000 and say "go 110000" it boots... But it does only work if I say "go" from RAM, not from flash. But if I encapsulate the image with an header with "mkimage" I can boot it from flash using the "bootm " command. Best regards Petter Larsen