[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need BT support in qemu for Zephyr
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: Need BT support in qemu for Zephyr |
Date: |
Thu, 23 Apr 2020 22:44:56 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 4/23/20 4:40 PM, Dan Christian wrote:
> I'm new to trying to use qemu+bt (via btproxy) and haven't managed to
> get anything working.
>
> btproxy is launched first, then Zephyr launches qemu via it's west
> tool. The commands look like:
> sudo tools/btproxy -u -i 0 -d # in a separate window
> x86_64-pokysdk-linux/usr/bin/qemu-system-aarch64 -cpu cortex-a53
> -nographic -machine virt -
> net none -pidfile qemu.pid -chardev stdio,id=con,mux=on -serial
> chardev:con -mon chardev=con,mode=readline -serial
> unix:/tmp/bt-server-bredr -kernel
> /home/dchristian/share-fb/zephyrproject/zephy
> r/build/zephyr/zephyr.elf
>
> It's failing with a device busy when btproxy tries to bind to the
> adapter. I don't think this is a quemu issue.
>
> Zephyr packages it's own qemu: QEMU emulator version 4.2.0 (v4.2.0-dirty)
If you just want to test/use BT, you might be luckier with an older
version of QEMU supposed to work with BT, such QEMU v1.0. You won't have
support for Cortex-A53 although.