[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No print info when starrting qemu-system-aarch64
From: |
Alex Bennée |
Subject: |
Re: No print info when starrting qemu-system-aarch64 |
Date: |
Thu, 22 Jun 2023 14:37:12 +0100 |
User-agent: |
mu4e 1.11.6; emacs 29.0.92 |
吕贤 <xian.lv@enjoymove.com> writes:
> Dear qemu guys,
>
> I've met with a strange problem when using qemu as simulator for arm64.
> I tried to start qemu with the command below:
> ------
> sudo qemu-system-aarch64 -machine virt -cpu cortex-a72 -smp 2 -m 2048 -kernel
> Image -append "console=ttyAMA0
> root=/dev/vda" -nographic -drive file=ramdisk.img -drive file=disk.img -nic
> tap,model=e1000,script=/etc/qemu-ifup
> ------
> The file:Image is the kernel bin of linux kernel which compiled with default
> config.
> While I tried with linux kernel-5.15, then the simulator can be started
> properly.
> For the kernel 6.3.8; kernel-5.10.130, the result is OK as well
> But there's no output info after the command executed if the kernel before
> 4.19 is used.
> Is there any problem when early linux kernel (before 4.19) is used for
> qemu tools ?
Probably depends on at what point the kernel learnt about newer cortex
processors. Does the baseline -cpu cortex-a57 also fail the same way?
> Thank you so much.
>
> BestRegards,
> Rex
--
Alex Bennée
Virtualisation Tech Lead @ Linaro