All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] arm versatile linux kernel .config for qemu?
@ 2009-07-12 22:14 Timo Suoranta
  2009-07-12 22:39 ` Aurelien Jarno
  0 siblings, 1 reply; 4+ messages in thread
From: Timo Suoranta @ 2009-07-12 22:14 UTC (permalink / raw)
  To: qemu-devel

Could someone point me to Linux kernel configuration that is good for
booting ARM Linux in QEMU? I've tried building one myself with these
instructions:

http://www.nas-central.org/wiki/Setting_up_the_codesourcery_toolchain_for_X86_to_ARM9_cross_compiling
http://fedoraproject.org/wiki/Architectures/ARM/HowToQemu#Setup_Kernel_Image

However, the resulting kernel does not show anything in QEMU console. In
CTRL-ALT-3 I can see serial0 console with 'Uncompressiong Linux ...
done, booting kernel." and in CTRL-ALT-4 I can see "parallel0 console"
but that is all I get.

Thanks!

--
timo

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

* Re: [Qemu-devel] arm versatile linux kernel .config for qemu?
  2009-07-12 22:14 [Qemu-devel] arm versatile linux kernel .config for qemu? Timo Suoranta
@ 2009-07-12 22:39 ` Aurelien Jarno
  2009-07-13 10:21   ` Timo Suoranta
  0 siblings, 1 reply; 4+ messages in thread
From: Aurelien Jarno @ 2009-07-12 22:39 UTC (permalink / raw)
  To: Timo Suoranta; +Cc: qemu-devel

On Mon, Jul 13, 2009 at 01:14:59AM +0300, Timo Suoranta wrote:
> Could someone point me to Linux kernel configuration that is good for
> booting ARM Linux in QEMU? I've tried building one myself with these
> instructions:
> 
> http://www.nas-central.org/wiki/Setting_up_the_codesourcery_toolchain_for_X86_to_ARM9_cross_compiling
> http://fedoraproject.org/wiki/Architectures/ARM/HowToQemu#Setup_Kernel_Image
> 
> However, the resulting kernel does not show anything in QEMU console. In
> CTRL-ALT-3 I can see serial0 console with 'Uncompressiong Linux ...
> done, booting kernel." and in CTRL-ALT-4 I can see "parallel0 console"
> but that is all I get.
> 

You probably have to pass "console=ttyAMA0" as a kernel argument to see
the boot log.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

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

* Re: [Qemu-devel] arm versatile linux kernel .config for qemu?
  2009-07-12 22:39 ` Aurelien Jarno
@ 2009-07-13 10:21   ` Timo Suoranta
  2009-07-13 12:27     ` Aurelien Jarno
  0 siblings, 1 reply; 4+ messages in thread
From: Timo Suoranta @ 2009-07-13 10:21 UTC (permalink / raw)
  To: Aurelien Jarno, qemu-devel

Hello,

>> However, the resulting kernel does not show anything in QEMU console. In
>> CTRL-ALT-3 I can see serial0 console with 'Uncompressiong Linux ...
>> done, booting kernel." and in CTRL-ALT-4 I can see "parallel0 console"
>> but that is all I get.
> 
> You probably have to pass "console=ttyAMA0" as a kernel argument to see
> the boot log.

This did not change anything. I am running QEMU in Windows. I also tried 
adding -nographic to QEMU command line, but it resulted with the 
following error:

Unable to open driver: stdio
qemu: could not open serial device 'mon:stdio'

I'd like to get a working kernel .config file also because I have built 
several kernels and so far got nothing to show up. Also, there is 
probably a lot of things which are not supported by QEMU and thus not 
needed in the kernel.

It is also a mystery to me why make menuconfig sometimes shows the SCSI 
driver (SYM53C8XX) but sometimes not. Specifically, if I remove .config 
and make ARCH=arm menuconfig, the SCSI driver option is available. But 
if I cp arch/arm/configs/versatile_defconfig .config before make 
menuconfig, I can not find the needed SCSI driver :/

--
timo

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

* Re: [Qemu-devel] arm versatile linux kernel .config for qemu?
  2009-07-13 10:21   ` Timo Suoranta
@ 2009-07-13 12:27     ` Aurelien Jarno
  0 siblings, 0 replies; 4+ messages in thread
From: Aurelien Jarno @ 2009-07-13 12:27 UTC (permalink / raw)
  To: Timo Suoranta; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1517 bytes --]

On Mon, Jul 13, 2009 at 01:21:04PM +0300, Timo Suoranta wrote:
> Hello,
>
>>> However, the resulting kernel does not show anything in QEMU console. In
>>> CTRL-ALT-3 I can see serial0 console with 'Uncompressiong Linux ...
>>> done, booting kernel." and in CTRL-ALT-4 I can see "parallel0 console"
>>> but that is all I get.
>>
>> You probably have to pass "console=ttyAMA0" as a kernel argument to see
>> the boot log.
>
> This did not change anything. I am running QEMU in Windows. I also tried  
> adding -nographic to QEMU command line, but it resulted with the  
> following error:
>
> Unable to open driver: stdio
> qemu: could not open serial device 'mon:stdio'
>
> I'd like to get a working kernel .config file also because I have built  
> several kernels and so far got nothing to show up. Also, there is  
> probably a lot of things which are not supported by QEMU and thus not  
> needed in the kernel.
>
> It is also a mystery to me why make menuconfig sometimes shows the SCSI  
> driver (SYM53C8XX) but sometimes not. Specifically, if I remove .config  
> and make ARCH=arm menuconfig, the SCSI driver option is available. But  
> if I cp arch/arm/configs/versatile_defconfig .config before make  
> menuconfig, I can not find the needed SCSI driver :/
>

I am using the kernel provided by Debian. Please find attached the 
corresponding kernel config for the ARM EABI version.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

[-- Attachment #2: config-2.6.26-2-versatile.gz --]
[-- Type: application/octet-stream, Size: 12897 bytes --]

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

end of thread, other threads:[~2009-07-13 12:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-12 22:14 [Qemu-devel] arm versatile linux kernel .config for qemu? Timo Suoranta
2009-07-12 22:39 ` Aurelien Jarno
2009-07-13 10:21   ` Timo Suoranta
2009-07-13 12:27     ` Aurelien Jarno

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.