[U-Boot-Users] questions regarding entry point

Wolfgang Denk wd at denx.de
Thu Apr 13 08:34:34 CEST 2006


In message <c3d0340b0604121738m5219b86cob9da8bea7b3efd3b at mail.gmail.com> you wrote:
> > image that is bootable by u-boot's 'bootm' command.  My question is,
> > since the instructions have you convert the vmlinux (elf) to a flat
> > binary (linux.bin), how are you supposed to get the entry point to use
> > later during the 'mkimage' step?  The entry point is contained in the
> > elf image but that information will be lost when converted to binary.  I
> > can certainly determine the entry point manually and enter it in that
> > way.  But how about an automated way such that the steps from the README
> > can be put straight into the kernel Makefile?
> 
> Set both to zeros. You can take a look at the makefile
> arch/ppc/boot/images/Makefile.

Of course this is only correct for PowerPC.

Other architectures have different requirements.

> BTW, if you want to make uImage linux kernel, just type 'make uImage'.
> uImage is an official target in Linux kernel.

Right, all of this should be taken care of in  the  kernel  Makefile;
see  existing  examples.  Eventually  look at the DENX trees which do
this on PPC, ARM and MIPS.

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
Actual war is a very messy business. Very, very messy business.
	-- Kirk, "A Taste of Armageddon", stardate 3193.0




More information about the U-Boot mailing list