Ask HN: Ressource constrained personal information management setups

1 points by cf141q5325 ↗ HN
tldr: I think you should be able to run your diary on something the size of a cortex M. Who of you is already doing this?

A while back i wrote with somebody that still used a Z80 for his diary. I actually find the idea quite charming since knowing your running code is actually feasible. Has anyone here a similar setup? While that hardware was before my time there really shouldnt be any major hurdle in using something the size of a Cortex M (no secure co-processor!) despite its lack of a MMU. They also come with AES acceleration usable for file encryption, enough USB for a keyboard as well as SD-Card reader and LCD via SPI.

Details:

To give you an idea what is possible, here somebody put ucLinux on a beefed up(more memory) Cortex m3/4

https://www.electronicdesign.com/technologies/embedded-revolution/article/21795660/practical-advice-on-running-uclinux-on-cortexm3m4

>The interactive shell is fast; response times are on par with those of Linux on a PC. No sluggish-ness; for instance, things such as a vi session on a local or NFS-mounted file can be run quite comfortably.

Get rid of linux and you should be able to use stock SOCs

I especially got curious because thats the size of the hardware of not just ikea light bulbs but smartwatches like the pinetime. Which already got RIOT OS support with lvgl for the GUI.

And LVGL can make quite nice guis for its footprint. https://lvgl.io/demos And they got keyboard support.

As i see it, the only real hurdle is getting a real text editor running with lvgl. The current implementation is ofcourse not geared towards longer texts and there arent really any text editors for such devices(that i could find). Getting org-mode running is rather infeasible but there are things like vi for busybox which can get quite small.

Sooo long story short, who of you is already doing this?

2 comments

[ 3.6 ms ] story [ 13.2 ms ] thread
Curious: What's the appeal of running this on tiny hardware? It's trivial to grab a RasPi Zero and do this, for cheap, today.
Being able to be sure what is actually running on your machine. The more dependencies you got on board the less likely this becomes. At this size the complete sourcecode is very much readable and verifiable. And the complexity limited enough that a secure boot chain is viable. You can also build your own hardware and verification means which tends to get harder the larger and faster you go.

But yes something the size of a pi zero, the cortex A one family up would be the next logical step if M doesnt work. But do i really need a whole linux? I think not!