* [Buildroot] qemu_ppc_g3beige_defconfig kernel image type (with patch)
@ 2010-12-19 15:42 Bjørn Forsman
2010-12-19 16:04 ` Bjørn Forsman
0 siblings, 1 reply; 4+ messages in thread
From: Bjørn Forsman @ 2010-12-19 15:42 UTC (permalink / raw)
To: buildroot
Hi all,
I'm testing the new qemu_*_defconfig files (brilliant stuff!) but I think I have
found a bug:
qemu_ppc_g3beige_defconfig defines BR2_LINUX_KERNEL_VMLINUX=y, but after
configuration the .config file ends up with BR2_LINUX_KERNEL_UIMAGE=y.
According to linux/Config.in it seems like BR2_LINUX_KERNEL_VMLINUX is only
supported on MIPS. I've attached a patch that changes the kernel format
from vmlinux to zImage, as uImage is no good with QEMU :-)
Best regards,
Bj?rn Forsman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-qemu_ppc_g3beige_defconfig-fix-kernel-image-format.patch
Type: text/x-diff
Size: 1259 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101219/f6348440/attachment.bin>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] qemu_ppc_g3beige_defconfig kernel image type (with patch)
2010-12-19 15:42 [Buildroot] qemu_ppc_g3beige_defconfig kernel image type (with patch) Bjørn Forsman
@ 2010-12-19 16:04 ` Bjørn Forsman
2010-12-20 7:58 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Bjørn Forsman @ 2010-12-19 16:04 UTC (permalink / raw)
To: buildroot
Hi,
2010/12/19 Bj?rn Forsman <bjorn.forsman@gmail.com>:
> Hi all,
>
> I'm testing the new qemu_*_defconfig files (brilliant stuff!) but I think I have
> found a bug:
>
> qemu_ppc_g3beige_defconfig defines BR2_LINUX_KERNEL_VMLINUX=y, but after
> configuration the .config file ends up with BR2_LINUX_KERNEL_UIMAGE=y.
>
> According to linux/Config.in it seems like BR2_LINUX_KERNEL_VMLINUX is only
> supported on MIPS. I've attached a patch that changes the kernel format
> from vmlinux to zImage, as uImage is no good with QEMU :-)
I just realized that QEMU handles uImage very well, but I think the
patch is still valid.
Best regards,
Bj?rn Forsman
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] qemu_ppc_g3beige_defconfig kernel image type (with patch)
2010-12-19 16:04 ` Bjørn Forsman
@ 2010-12-20 7:58 ` Thomas Petazzoni
2010-12-20 9:08 ` Bjørn Forsman
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2010-12-20 7:58 UTC (permalink / raw)
To: buildroot
On Sun, 19 Dec 2010 17:04:05 +0100
Bj?rn Forsman <bjorn.forsman@gmail.com> wrote:
> I just realized that QEMU handles uImage very well, but I think the
> patch is still valid.
Hum, zImage wasn't working for me on Qemu PowerPC. I'll re-test.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] qemu_ppc_g3beige_defconfig kernel image type (with patch)
2010-12-20 7:58 ` Thomas Petazzoni
@ 2010-12-20 9:08 ` Bjørn Forsman
0 siblings, 0 replies; 4+ messages in thread
From: Bjørn Forsman @ 2010-12-20 9:08 UTC (permalink / raw)
To: buildroot
Hi,
On 20 December 2010 08:58, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> On Sun, 19 Dec 2010 17:04:05 +0100
> Bj?rn Forsman <bjorn.forsman@gmail.com> wrote:
>
>> I just realized that QEMU handles uImage very well, but I think the
>> patch is still valid.
>
> Hum, zImage wasn't working for me on Qemu PowerPC. I'll re-test.
Well, I haven't actually tested the zImage/uImage on PPC myself because
qemu-system-ppc seems broken on Ubuntu 10.10:
qemu: hardware error: qemu: could not load PowerPC bios 'openbios-ppc'
So my patch may be wrong and linux/Config.in should allow vmlinux for
PPC instead. I don't know.
The point is that the current defconfig file gets overridden. And that
should get fixed, one way or the other.
Best regards,
Bj?rn Forsman
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-12-20 9:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-19 15:42 [Buildroot] qemu_ppc_g3beige_defconfig kernel image type (with patch) Bjørn Forsman
2010-12-19 16:04 ` Bjørn Forsman
2010-12-20 7:58 ` Thomas Petazzoni
2010-12-20 9:08 ` Bjørn Forsman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.