From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?GB2312?B?zNq3ycH6?= Date: Tue, 10 Jan 2006 10:09:58 +0800 Subject: [U-Boot-Users] =?GB2312?B?u9i4tDogQWJvdXQgdGhlIHUtYm9vdCAoaW4gRUxGIGJpbmFyeSBmb3JtYXQp?= In-Reply-To: <20060109115356.ACD3A352B1E@atlas.denx.de> References: <20060109115356.ACD3A352B1E@atlas.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, As you said, one must download the .bin file to flash and not the ELF file, and U-Boot is a boot loader and not an application programm which can be run under Linux. then, what is the u-boot(in ELF binary format) for ? I red the book"Building Embeded Linux systems " written by Karim Yaghmour,in section 9.5 it described like this: If you intend to debug U-Boot itself ,copy the ELF binary also: $ u-boot ${PROJECT}/images/u-boot-0.2.0 Here ${PROJECT}/images is a directory to which u make a copy of the relevant bootloader images. so, i guess the ELF file may be downloaded to target to debug u-boot. Is it so and how does the file work? Thank you in advance! 2006/1/9, Wolfgang Denk : > In message you wrote: > > > > I have successfully compiled u-boot and ,as you know, there are > > several object files produced after"make all", one of which is > > u-boot(in ELF binary format) . Now, i run the u-boot(in ELF binary > > format) in target board (Embedded Planet EP405)with Linux kernel and > > NFS file system. > > # ./u-boot > > then appears the error echo: > > Segmentation fault > > will you please tell me what's the problem and how to solve it? > > U-Boot is a boot loader and not an application programm which can be > run under Linux. > > Best regards, > > Wolfgang Denk > > -- > Software Engineering: Embedded and Realtime Systems, Embedded Linux > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de > Every little picofarad has a nanohenry all its own. - Don Vonada >