On 9/21/23 12:50, peter.maydell at linaro.org (Peter Maydell) wrote:

> If you want to play around with this, I have some WIP patches at
> https://git.linaro.org/people/pmaydell/qemu-arm.git uart-edk-investigation
> (content wise they should be fine, but I haven't cleaned them up into
> a coherent set of distinct patches yet, so they're a bit messy.)
> A run of QEMU with both UARTs which sends all output to files looks like:
> 
> ./build/arm-clang/qemu-system-aarch64 -display none -vga none \
>   -machine virt,acpi=on,virtualization=on,mte=on,gic-version=max,iommu=smmuv3 
> \
>   -smp 2 -m 1024 -cpu max,pauth-impdef=on \
>   -bios ~/linaro/edk2/QEMU_EFI_DEBUG.fd \
>   -drive 
> file=/home/petmay01/avocado/data/cache/by_location/0154b7cd3a4f5e135299060c8cabbeec10b70b6d/alpine-standard-3.17.2-aarch64.iso,format=raw
> \
>   -device virtio-rng-pci,rng=rng0 \
>   -object rng-random,id=rng0,filename=/dev/urandom \
>   -chardev file,id=chr0,path=/tmp/uart0-rev.txt \
>   -chardev file,id=chr1,path=/tmp/uart1-rev.txt \
>   -serial chardev:chr0 -serial chardev:chr1
> 
> (adjust -serial options to taste)

Is the "uart-edk-investigation" branch still the most recent one for
this? (I've not checked it yet, but coming close.)

Thanks
Laszlo



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109241): https://edk2.groups.io/g/devel/message/109241
Mute This Topic: https://groups.io/mt/101498371/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: 
https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to