Skip to contentSkip to conversation

ARM: Add a new arch + board for QEMU's 'virt' machine

PATCH New Paulo Neves 2 participants 2 messages May 9, 2018 – May 14, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 ARM: Add a new arch + board for QEMU's 'virt' machine

Hello I have successfully built u-boot and launched qemu with the flags proposed by the patch. My problems start when I try to boot the kernel

What is the linux kernel defconfig that should be used to boot this machine? I tried the versatile one but they are different in some key places like the sd card. The end result is that I can only see Starting Kernel, and nothing else. What bootargs do you pass to the kernel to have the serial output in qemu?

Paulo Neves

#1 lore raw

PATCH 2/2 ARM: Add a new arch + board for QEMU's 'virt' machine

Hi,

Quoted 6 lines · On Wed, 9 May 2018 12:56:46 +0200 Paulo Neves <[email protected]> wrote:

Hello I have successfully built u-boot and launched qemu with the flags proposed by the patch. My problems start when I try to boot the kernel

What is the linux kernel defconfig that should be used to boot this machine?

multi_v7_defconfig does work at least.

Quoted 4 lines

I tried the versatile one but they are different in some key places like the sd card. The end result is that I can only see Starting Kernel, and nothing else. What bootargs do you pass to the kernel to have the serial output in qemu?

The serial port in Linux is ttyAMA0. But I think it works without any console= specified as well, because the QEMU-generated dtb specifies /chosen/stdout-path already pointing to that serial port.