Re: [PATCH 0/5] kbuild

From: Sam Ravnborg
Date: Tue Jun 15 2004 - 15:54:42 EST


On Tue, Jun 15, 2004 at 12:27:40PM -0700, Tom Rini wrote:
>
> What I don't see is why:
> 'znetboot - Build a zImage and put into /tftpboot/
> uImage - Build an image for U-Boot
> rom.img - Build an image to live on ROM
> srec - Build an SREC image'
>
> etc, isn't sufficient, in the archhelp.

Two things.
1) You better remember to specify them each and every time.
Otherwise uImage gets out of sync with the kernel.
2) I know the srec format, but that is no help to expaling me
the actual content of the file.
Memory layout, start address or whatever. Where to find this info.
Same goes for other targets. I you know your stuff no swaet.
But for $random hacker it becomes another obstacle


> Or, you restrict their choices to what would work, which is a horrible
> mess. And you may need to restrict the choices, otherwise we'll get
> 'allyesconfig' doesn't build type messages again (yes, I've already had
> to re-arrange things once for allyesconfig on ppc32).
>
> > But for a given board I would expect the defconfig to select the correct
> > kernel image.
>
> <nit>'correct' is such an odd word here. Especially in the case where
> all of them are valid targets.</nit>

Read 'type of'. In most case zImage I assume, but in some case with a
bootloader added. The other options may vary (a lot).

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/