3 ms·
Yes, it's nice. Good for making Linux based USB devices (based on gadget subsystem). It can run Arch Linux ARM if you enable swap on uSD card, and don't overdo
by megous 2y ago
Yes, it's nice. Good for making Linux based USB devices (based on gadget subsystem).
It can run Arch Linux ARM if you enable swap on uSD card, and don't overdo it with your RSS. Systemd doesn't really support 64MiB RAM out of the box, though. It runs, but systemctl daemon-reload fails, eg.
You can ignore systemd boot flow and run Arch Linux using busybox or other init process, so you get all the Arch software/pacman + low memory use of cheaper PID 0 process and startup scripts. :)
The board runs best with pure statically compiled busybox running from initramfs. Boot times of the kernel are like 150ms because there's not really that much HW in the SoC or on the board to initialize. So you can plug the board into PC and you get USB device ready in ~2s.
Fun tiny thing to eg. hide your secret material from your PC.
I wrote a simple 8 KiB bootloader for RV1103/6 so that I don't have to mess with porting U-Boot to this, and made it run with Linux 6.10/11.
- rcarmo 2y agoThat's nice to know. I didn't have nearly as much time to play with it as I originally planned, and the post is essentially my notes from a month ago, with a few odds and ends trimmed. Do you have that bootloader published someplace? I'd like to get a more recent kernel going...
- megous 2y agoI have a kernel here https://megous.com/git/linux/log/?h=luckfox-6.10 https://megous.com/git/linux/log/?h=luckfox-6.10 Bootloader will be at https://xnux.eu/log/ https://xnux.eu/log/ when I get to releasing it.