Oh wow, the #FreeBSD #Linuxulator is just magic! I setup an Ubuntu #LinuxJail as described in the linked wiki and was able to compile and flash #Arduino code to my Uno using #PlatformIO, which is absolutely mind blowing because the tools for compiling are not available for "freebsd_amd64", yet in this Linux environment (not emulated, not a VM, just a translation layer), the Linux binaries were able to compile and then flash to the USB device (using the FreeBSD kernel… https://tobykurien.com/post-1744211915
Conversation
Notices
-
Embed this notice
Toby Kurien (tobykurien@mastodon.social)'s status on Friday, 11-Apr-2025 02:23:55 JST Toby Kurien
-
Embed this notice
Toby Kurien (tobykurien@mastodon.social)'s status on Monday, 21-Apr-2025 01:52:44 JST Toby Kurien
Ok, so check this out. I raved about how magical #FreeBSD #linuxulator is, but it gets even better! In my Ubuntu linux jail, I downloaded the source for the #mobian kernel, installed cross-compiling tools, compiled the kernel and modules, copied to an sdcard, and booted up the kernel on my #pinephonepro 🤯 So, on my amd64 FreeBSD, I used a translation layer to load up Ubuntu Linux, used it to cross-compile a Linux kernel for arm64, and booted that up on a device! How unbelievable is that?!?
feld likes this.
-
Embed this notice