News for hackers. Stuff that matters.
Re:Show HN: Monolinux – A tiny embedded Linux distro by xbhdhdhd on Saturday October 12, 2019 @02:05PM (#21234994)
Cool. ARM?
Re:Show HN: Monolinux – A tiny embedded Linux distro by mysterydip on Saturday October 12, 2019 @02:20PM (#21235100)
I'd love for this to be the case. I have a handful of raspberry pi projects that I just want to boot and run a single executable. I don't need or want the rest of the OS included with the likes of raspbian etc. I'm currently working on a dietpi customization but this would be even better if it worked.
Re:Show HN: Monolinux – A tiny embedded Linux distro by i_v on Saturday October 12, 2019 @03:26PM (#21235594)
There's also Buildroot which has a bit of a learning curve (it's still easier than Yocto/Angstrom IMO) but is capable of producing highly customized, tiny embedded Linux images. At this time, there are board configs for pretty much every Rasperry Pi variant out there.

The functional equivalent of a Debian base install, including kernel, bootloader, and systemd init (approx. 350 MiB) is about 20 MiB (compressed) when built with Buildroot.

Re:Show HN: Monolinux – A tiny embedded Linux distro by mkj on Saturday October 12, 2019 @08:51PM (#21237463)
Build a static binary (with musl perhaps) and put it in an initramfs at /init. An example https://github.com/mkj/rpi-flipflop/blob/main/Makefile#L9
Re:Show HN: Monolinux – A tiny embedded Linux distro by yyhhsj0521 on Saturday October 12, 2019 @02:23PM (#21235126)
Have you tried ArchARM? It's pretty lean and fits into those old 512M SD Cards.
Re:Show HN: Monolinux – A tiny embedded Linux distro by mysterydip on Saturday October 12, 2019 @02:49PM (#21235316)
I haven't heard of that one (I did check out a version of puppy and tiny core). I'll check it out, thanks!
Re:Show HN: Monolinux – A tiny embedded Linux distro by randie63 on Saturday October 12, 2019 @02:45PM (#21235289)
If you have a 512mb SD card, you should probably not use it anymore. Even if you don't need the storage.
Re:Show HN: Monolinux – A tiny embedded Linux distro by benibela on Saturday October 12, 2019 @03:00PM (#21235403)
I use a 64 mb CF card for photos
Re:Show HN: Monolinux – A tiny embedded Linux distro by eerimoq on Saturday October 12, 2019 @03:56PM (#21235767)
ARM is the only architecture I've used so far. =)