News for hackers. Stuff that matters.
Re:The Luckfox Pico Mini B – Linux in a Thumbnail by walterbell on Saturday July 20, 2024 @04:14PM (#41019424)
$10 Linux sidecar to 10X utility of $1000 Apple M4 iPad Pro, e.g. bypass censorship of trusted JIT code.

Radxa Zero, https://taoofmac.com/space/blog/2023/10/07/1830

Pi Zero 2W, https://taoofmac.com/space/blog/2023/09/09/1820

Re:The Luckfox Pico Mini B – Linux in a Thumbnail by rcarmo on Saturday July 20, 2024 @06:22PM (#41020556)
The Zero is _easily_ the best bang for the buck of all the SBCs I’ve used over the past few years. I use it daily from my iPad (actually just installed BasiliskII on it to open and possibly convert some old Mac files).
Re:The Luckfox Pico Mini B – Linux in a Thumbnail by zxcvgm on Saturday July 20, 2024 @03:23PM (#41018982)
I think the Luckfox Pico series is the lowest cost ARM-based board you can buy (that runs Linux) at the moment. Even the Pi Zero is $10. Prior to this, it was a board based on the Allwinner F1C100, but I don't think anyone made and sold a dev board except for a DIY business card [0].

[0] https://www.thirtythreeforty.net/posts/2019/12/my-business-c...

Re:The Luckfox Pico Mini B – Linux in a Thumbnail by zrail on Saturday July 20, 2024 @03:26PM (#41019014)
That's a pretty cool little board. It looks like they have versions with 10/100 Ethernet for not a lot more as well.
Re:The Luckfox Pico Mini B – Linux in a Thumbnail by rcarmo on Saturday July 20, 2024 @03:51PM (#41019218)
Yes, and those have more I/O pins exposed.
Re:The Luckfox Pico Mini B – Linux in a Thumbnail by megous on Saturday July 20, 2024 @04:09PM (#41019383)
Also pretty useless with mainline because it's not straightforward to get embedded ethernet phy working, even after doing pretty much what BSP code does to power it up. Access to it times out.

(That is if you want to run some code that's anywhere close to mainline Linux on this board, and not some non-maintained BSP fork.)

Re:The Luckfox Pico Mini B – Linux in a Thumbnail by megous on Saturday July 20, 2024 @03:28PM (#41019034)
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.

Re:The Luckfox Pico Mini B – Linux in a Thumbnail by rcarmo on Saturday July 20, 2024 @03:51PM (#41019211)
That'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...

Re:The Luckfox Pico Mini B – Linux in a Thumbnail by megous on Saturday July 20, 2024 @04:04PM (#41019335)
I have a kernel here https://megous.com/git/linux/log/?h=luckfox-6.10

Bootloader will be at https://xnux.eu/log/ when I get to releasing it.

Re:The Luckfox Pico Mini B – Linux in a Thumbnail by andrewstuart on Saturday July 20, 2024 @04:33PM (#41019607)
Pretty amazing that this has a video encoder in the chip:

https://www.rock-chips.com/uploads/pdf/2022.8.26/192/RK3588%...

Much more amazing if there is any workable software to utilise it.

Re:The Luckfox Pico Mini B – Linux in a Thumbnail by rcarmo on Saturday July 20, 2024 @06:20PM (#41020544)
There is a set of tools and libraries for that listed in their wiki. I gather it works pretty well, just didn’t have the time to get around to it…
Re:The Luckfox Pico Mini B – Linux in a Thumbnail by squarefoot on Saturday July 20, 2024 @08:19PM (#41021378)
Could be really interesting to port Alpine Linux to those and other similar boards. It is a lot smaller than libc based distros and has been already ported to the Raspberry Pi and other ARM systems, but although they have RPi images readily downloadable on their site, there's no such thing for other boards, and the process to take their ARM ecosystem and turn it into a bootable image that can be transferred onto a SD card is quite long.