A bit of a random question, hopefully someone will have an answer. I managed to brick a Raspberry Pi 3B+ running Venus OS. The problem is that it's at my parent's house which is an eight-hour flight away!
What I want to do is install VenusOS to a new SD card, configure it so that it speaks to VRM and send it to them, but I don't currently have another RasPi on hand.
Has anyone managed to get VenusOS to boot in QEMU? It doesn't need to speak with any external devices, just be able to access the Internet so that I can set it up in VRM.
I've downloaded the latest image file from git and converted it to vhd format. The command line I've been trying is
qemu-system-arm -machine type=raspi2 -m 2048 -hda venus-image-raspberrypi2.vhd
But I get a blank screen for a minute or two and then this error:
Execution cannot continue; stopping here. qemu-system-arm: Trying to execute code outside RAM or ROM at 0x3f007000 This usually means one of the following happened: (1) You told QEMU to execute a kernel for the wrong machine type, and it crashed on startup (eg trying to run a raspberry pi kernel on a versatilepb QEMU machine) (2) You didn't give QEMU a kernel or BIOS filename at all, and QEMU executed a ROM full of no-op instructions until it fell off the end (3) Your guest kernel has a bug and crashed by jumping off into nowhere This is almost always one of the first two, so check your command line and that you are using the right type of kernel for this machine. If you think option (3) is likely then you can try debugging your guest with the -d debug options; in particular -d guest_errors will cause the log to include a dump of the guest register state at this point.
I'm pretty sure it's option 2 on the list, but I'm not entirely sure how to point it to the correct kernel file (I've never used qemu before) - I can mount the .vhd file in Windows and see the files. I think I might have gone a step too far by converting the drive to .vhd!
@Markus if you see this, you had a thread where you got it working, but it doesn't have the command line or steps taken.
Thanks to all.