pablocastellanos | Hi, a few minutes ago I discovered the beowulf arm images https://arm-files.devuan.org/ | 05:41 |
---|---|---|
pablocastellanos | I'm going to use the rpi4 image (at work), but I don't own a RPi4. Any suggestion on how to boot the rpi4 image in qemu? | 05:42 |
gnarface | pablocastellanos: i think you can copy /usr/bin/qemu-aarch64-static to a debootstrapped aarch64 chroot | 06:17 |
gnarface | the rpi has proprietary firmware so i'm not sure how you'd make that work in qemu | 06:18 |
gnarface | but the chroot would obviate the booting issue and you could at least test userspace | 06:18 |
gnarface | from my notes: https://paste.debian.net/1204413/ | 06:20 |
gnarface | (they're outdated but it should work the same with beowulf) | 06:20 |
gnarface | there was a bug with the rsyslog and udev packages at the time which may not be relevant anymore either | 06:20 |
gnarface | there might be a way to actually boot it i just don't know, and if you don't have a rpi4 i question whether it is worth the struggle | 06:22 |
gnarface | oh, sorry if you have one at work maybe it would be worth the struggle in theory but i'm still not sure how you'd do that | 06:25 |
pablocastellanos | gnarface: I was reading this, https://azeria-labs.com/emulate-raspberry-pi-with-qemu/ | 06:40 |
pablocastellanos | gnarface: But I'm pretty sure arm1176 isn't the architecture of the raspberry pi 4 | 06:41 |
pablocastellanos | gnarface: In beowulf, I'm going to try this to emulate the RPi4: qemu-system-aarch64 -M raspi3 -cpu cortex-a72 | 07:04 |
adhoc | I have been using UTM+QEMU to run a VM for arm64 | 07:07 |
adhoc | nice and quick on arm64 hardware | 07:07 |
adhoc | I imagine running an arm64 vm on x86-64 hardware would be quite slow | 07:08 |
adhoc | at least an order of magnitude slower, given my previous experience | 07:08 |
adhoc | probably two orders of magnitude | 07:08 |
adhoc | so a 2GHz intel becomes a 200MHz arm... | 07:08 |
pablocastellanos | adhoc: I have a Pinebook 1080p (Quad-core ARM Cortex-A53 Processor@1152Mhz) | 07:12 |
pablocastellanos | arm-files.devuan.org is very slow, the RPi4 image will take 4 hours to download | 07:17 |
pablocastellanos | Any mirror? Beter, any torrent? | 07:17 |
adhoc | pablocastellanos: not that I am aware of | 07:19 |
pablocastellanos | adhoc: Thanks. Well, only 2h 10m to finish the download. I'm going to sleep then. | 07:23 |
pablocastellanos | adhoc: I was reading about UTM, last time I run software on a mac was in 2012 or 2013, debian on a G4 mac to be precise. | 07:25 |
adhoc | pablocastellanos: have been running debian arm64 image on m1 mac. | 08:36 |
adhoc | have tried to spin up da devuan instance, but ran out of time on that project | 08:37 |
adhoc | hope to get back to it in August | 08:37 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!