Not being an official supported OS by Libre Computer, I’m using NetBSD to have a stable server
foundation I need for my own software deployments.
I wanted just to mention that it is possible to get this OS up and running with outstanding performance.
One of the NetBSD contributors made it work a while ago but somewhere in the middle, the images stop working and we removed advertise support since we cannot maintain it ourselves due to limited knowledge and bandwidth. It’s good to know that it works. If you have information on how to make a working system, we can take a look at help prepare official support guide.
Omg, after a few hours of derping around… I finally got a way to get NetBSD 10 working.
The process works like this:
- Download the NetBSD pre-built image for the Le Potato at pre-built image list page:
NetBSD Arm Bootable Images - Download the libre-computer device boot loader from this address:
https://boot.libre.computer/ci/aml-s905x-cc - Flash your sdcard with a command similar to this:
dd if=NetBSD-10-aarch64-202501142100Z-libretech-cc.img of=/dev/da2 conv=sync bs=1m status=progress
- Then flash the SD with the boot loader using this
dd if=aml-s905x-cc of=/dev/da2 oflag=sync bs=512 seek=1 status=progress
And DONE
The micro SD card should boot.
Makes me super satisfied that NetBSD is working. This means that it wouldn’t be much of a jump to get something like FreeBSD working. And to be frank, I no longer wanted to use the Le Potato after I got tired of all the Linux stuff and wanted to move my skills/career more into a BSD world. But now that I can use NetBSD on this thing, I don’t have to give it away! The joy.
The NetBSD website directs a user to a supported list of devices at this place in the code:
aychttpgithub.c0m (trying to get my post allowed, remove the link limit, that’s dumb) /NetBSD/src/blob/netbsd-9/sys/arch/evbarm/conf/GENERIC64#L20
One can see that they have a line entry and some sort of descriptor file for the Le Potato in there.
I hope we can more easily expand support given there is a working sample right now with NetBSD latest stable release.
I’d be interested in trying to get more involved even though I have a 9-5 job. Just going to throw that out there.
It is worth a note plugging in a usb keyboard while running seems to force a reboot of the board.
Also, on NetBSD 10 the usb keyboard doesn’t seem to work. However, on NetBSD 9 it does.
So it is entirely possible to use NetBSD 9.
NetBSD 10 has ssh enabled, and you can try to log in, but the root login doesn’t seem to work due to the PAM stuff not seemingly accepting a blank password.
Also for NetBSD 9, after the disk resize on boot-up the super blocks will be inconsistent. So if you just ignore that and drop out of the single-user mode shell and let it boot. It works.
From there one can administer the system and try to do other things.
Thanks for the update. We will give it a try.
Yeah, on NetBSD 9, the basic system is functioning. You can start up the X Window system with ‘startx’ at the CLI.
Also the network is working, so I’ve started trying to install packages, and set up users and stuff. Only bummer is that NetBSD 10 seems to detect the eMMC card. However 9 does not.
After adjusting the default sshd config to allow for root login and empty passwords and etc, the ssh works. So one can remotely manage the system.
It appears that @Donald_Duck is right, you can run this as a small server basically. It’s just too bad that NetBSD 10 doesn’t seem to have the USB working right.
I’ll see if in the future I can compile a NetBSD 10 kernel with the right drivers and etc to get it to work. That’ll have to be a project for a few weekends from now.
Godspeed. Made a page here: NetBSD for Libre Computer
I think they offer an Le Potato image: NetBSD Arm Bootable Images
You should still flash our bootloader because our bootloader is simply better.
Hello bro.
I’m a FreeBSD user. Do you want to install FreeBSD on the “Renegade Elite ROC-RK3399-PC” ? If yes,I want to do the same. Do you want to collaborate ? thanks.