Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] linux: why is vmlinux only available for mips?
@ 2011-07-15  6:20 Thomas De Schampheleire
  2011-07-15  6:34 ` Thomas De Schampheleire
  0 siblings, 1 reply; 19+ messages in thread
From: Thomas De Schampheleire @ 2011-07-15  6:20 UTC (permalink / raw)
  To: buildroot

Hi,

linux/Config.in contains the following configuration option:

config BR2_LINUX_KERNEL_VMLINUX
        bool "vmlinux"
        depends on BR2_mips || BR2_mipsel

The depend statement causes the vmlinux target only to be available
for mips processors.
For powerpc for example, only uImage and zImage are selectable.

However, I'd like to have vmlinux in the output/images directory.
First of all because I am directly loading this on target, rather than
uImage or zImage.
Secondly, right now my wrapper scripts go and fetch the vmlinux
executable in output/build/linux-<version>/vmlinux, which has the
disadvantage of needing to know what version of Linux was configured
in buildroot. I'd like to have a way to get the vmlinux file from
whichever version was configured in buildroot. Making sure it ends up
in output/images seems the simplest way.

I patched the Config.in file to read:

config BR2_LINUX_KERNEL_VMLINUX
        bool "vmlinux"
        depends on BR2_mips || BR2_mipsel || BR2_powerpc

which works fine.
I would even assume that every target can benefit from this option.

Moreover, why don't we allow multiple targets? For example, in some
projects you have different ways of loading your target, e.g. u-boot
(uImage) and directly copying to memory with a probe (in which case
vmlinux would be better suited).

Thomas

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-07-26 10:38 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-15  6:20 [Buildroot] linux: why is vmlinux only available for mips? Thomas De Schampheleire
2011-07-15  6:34 ` Thomas De Schampheleire
2011-07-15  9:22   ` Yann E. MORIN
2011-07-15  9:34     ` Thomas De Schampheleire
2011-07-15  9:38       ` Peter Korsgaard
2011-07-15 11:53         ` Thomas De Schampheleire
2011-07-15  9:46       ` Daniele Salvatore Albano
2011-07-15 11:55         ` Thomas De Schampheleire
2011-07-15 12:30   ` Thomas Petazzoni
2011-07-15 13:10     ` Yann E. MORIN
2011-07-20 13:38     ` Thomas De Schampheleire
2011-07-20 16:10       ` Quotient Remainder
2011-07-20 19:23         ` Thomas Petazzoni
2011-07-24 11:36         ` Thomas De Schampheleire
2011-07-26 10:38           ` Thomas De Schampheleire
2011-07-20 16:17       ` Thomas Petazzoni
2011-07-24 11:46         ` Thomas De Schampheleire
2011-07-25  7:05           ` Thomas Petazzoni
2011-07-25  8:34             ` Thomas De Schampheleire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox