4 ms·
Also (and I know you know this, pm215) you can actually emulate a Raspberry Pi 2 machine (i.e. the bcm2836 SoC) in recent versions of QEMU with the "raspi2" mac
by moyix 9y ago
Also (and I know you know this, pm215) you can actually emulate a Raspberry Pi 2 machine (i.e. the bcm2836 SoC) in recent versions of QEMU with the "raspi2" machine type. There are instructions that worked for me here:
https://raspberrypi.stackexchange.com/a/71172 https://raspberrypi.stackexchange.com/a/71172
- thisacctforreal 9y agoAny idea of a raspi3 machine type in the works? or where to contribute to one? It has a BCM2837, which has a 64-bit ARM CPU Core, and 400MHz VideoCore IV versus 250MHz in the raspi2. A comparison table can be found by searching "What is new" in https://media.digikey.com/pdf/Data%20Sheets/Seeed%20Technology/Raspberry_Pi_3_Model_B_WikiWeb.pdf https://media.digikey.com/pdf/Data%20Sheets/Seeed%20Technolo...
- moyix 9y agoI don't know, but a quick google search finds: https://github.com/bztsrc/qemu-raspi3 https://github.com/bztsrc/qemu-raspi3
- stuaxo 9y agoI never got this working myself, do you get 4 cores that run the native cores ? Running raspbian in Qemu seems slower than running on a real Pi, multicore would definitely help.
- moyix 9y agoLast I checked, QEMU does not run multiple cores concurrently. Similar to Python, it has a big lock that serializes execution (known as the "Big QEMU Lock", or BQL). So you should not expect speedups... However, there is an effort to change this: https://lwn.net/Articles/697265/ https://lwn.net/Articles/697265/ But I don't know if it has been merged yet.
- pm215 9y agoYeah, that has hit upstream now. It needs support in both the frontend and the backend so only some host/guest combos will enable it, but arm-on-x86 should now multithread by default for smp guests.
- deleted 9y ago[deleted]