Skip to contentSkip to conversation

arm versatile linux kernel .config for qemu?

Qemu-devel Timo Suoranta 2 participants 4 messages Jul 12, 2009 – Jul 13, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 4 lines · Timo Suoranta

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:

Quoted 8 lines

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.

Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net
#2 lore raw

Hello,

Quoted 7 lines
Quoted 4 lines

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

#3 lore raw
Quoted 22 lines · Timo Suoranta

Hello,

Quoted 7 lines
Quoted 4 lines

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.

Quoted 6 lines

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.

Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net