Current version of the OpenAuto Pro is 12
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Emulate OpenAuto image on Windows
#1
Hello again,

For testing/development purposes, can you tell us how one can boot the image in Windows/Linux (I imagine under QEMU), to run tests / program stuff away from the actual PI? I tried it with different QEMU configurations but I get a black screen only.
Reply
#2
We cannot help you with this.
Reply
#3
(08-14-2020, 08:16 AM)KreAch3R Wrote: Hello again,

For testing/development purposes, can you tell us how one can boot the image in Windows/Linux (I imagine under QEMU), to run tests / program stuff away from the actual PI? I tried it with different QEMU configurations but I get a black screen only.

I have thought about this myself so many times. I’d love to know if you figure it out.
Thanks, Frank
Carputer Detail   Parts List
2004 Chevrolet Tahoe Z71 w/ Bose & Onstar
Reply
#4
(08-14-2020, 10:32 AM)Daniel_BlueWave Wrote: We cannot help you with this.

Ah, ok. So you develop on actual boards only, right? 

(08-14-2020, 03:31 PM)frankpintosr Wrote:
(08-14-2020, 08:16 AM)KreAch3R Wrote: Hello again,

For testing/development purposes, can you tell us how one can boot the image in Windows/Linux (I imagine under QEMU), to run tests / program stuff away from the actual PI? I tried it with different QEMU configurations but I get a black screen only.

I have thought about this myself so many times. I’d love to know if you figure it out.

Yeah if I manage to make it work, I'll share!
Reply
#5
Have you tried using Virtualbox?  Might be what you are looking for.
https://www.virtualbox.org/
"The glass is twice as big as it needs to be".
Reply
#6
(08-14-2020, 04:10 PM)budman1758 Wrote: Have you tried using Virtualbox?  Might be what you are looking for.
https://www.virtualbox.org/

Yes I have tried virtual about a year ago (pre-buster release) no success ?
Thanks, Frank
Carputer Detail   Parts List
2004 Chevrolet Tahoe Z71 w/ Bose & Onstar
Reply
#7
Well, I managed to make it work, but due to QEMU limitations (the raspi model doesn't support USB and networking), there isn't any more use beyond a proof of concept and clicking the different menus:

[Image: hSTYSLC.png]


For anyone interested, you need to extract the PRi3b kernel + dtb from the openauto image and then use them with this qemu command:
"%programfiles%\qemu\qemu-system-aarch64.exe" -M raspi3 -append "rw earlyprintk=ttyAMA0,115200 loglevel=8 console=ttyAMA0,115200 root=PARTUUID=38df017e-02 rootfstype=ext4 rootwait" -cpu cortex-a53 -dtb bcm2710-rpi-3-b.dtb -drive id=hd-root,file=openauto10.img,format=raw -show-cursor -kernel kernel8.img -m 1024 -serial mon:stdio -usb -device usb-tablet


More info:

https://raspberrypi.stackexchange.com/a/105666
https://raspberrypi.stackexchange.com/a/13138
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)