
Wolfgang Denk,
Thanks for the reply, but I have a few questions. The first is can U-boot load any application other than a Linux. I simply want to use u-boot as a boot loader, to load a non-Linux app into memory and jump to that app with or without uboot's hardware init. The second wuestion is where can I get some help in doing just that, if it's possible? I don't want to have to build and cross-compile my app in Linux in order for u-boot to load it. Third, if I have to compile my app in Linux, can I simply use mkimage with the hello world binary and do a bootm from that?
Thanks in adavance,
Alshine Mondesir Firmware Engineer xG Technology Inc. 7771 W. Oakland Park Blvd, Sunrise, FL 33351 Tel: 954-572-0395 ext 3323 Fax: 954-572-0397 http://www.xgtechnology.com -----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: Wednesday, July 23, 2008 11:18 PM To: Mondesir, Alshine Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] Need Some Help
In message 7F4C091727699947ACBAB0410268C5D92B2FDB@VS11.EXCHPROD.USA.NET you wrote:
My latest endaevor has me cross compiling a stand alone application for MPC8548 PPC for a U-Boot Based target. There is no Operating System to run on the target to speak of, just my application. I'm building the application in Code Warrior using an 8548_init.S hardware intialization file.
What has this file to do with U-Boot? Nothing! Forget about it.
- My first thought was that this should be as simple as using the .ELF
image that codewarrior produces, right? So I build a simple hello_world
I have no idea what CW produces. You should use the U-Boot Makefile and linker scripts.
application and sent it down to my target. U-Boot recognizes it as an ELF image, sets up the segements, and tries to run it! But then low and
Who says so?
behold, the U-Boot flash image comes up again.
That's to be expected.
Guess it's time for you to start reading the fine manual, especially the section about standalone applications.
Best regards,
Wolfgang Denk