If you have technology skills and reasonably expect to experience some sort of apocalyptic scenario, ISTM you'd be better off with a solar charger, a few rugged smartphones, and several SD cards containing backups of Wikipedia and as much reference material as you can collect. Getting to a better location (either by traveling or improving a deficient one) is likely to take up most of your mental and physical energy, and electronics are in the 'nice to have' part of your inventory, below weapons, tools, and basic survival supplies.
If you want to go really cheap and low power, consider stocking up on ESP32 devices, which are super-capable and can be had for only a few $ each.
That will buy you a decade. I'd go for a paper version of the stuff that you think is important enough to haul around in physical form for many decades and immediately start spreading these around in numbers large enough to ensure that some copies would survive. And even that assumes literacy, some level of schooling to survive, and enough specialization to be able to set aside time for people to study all of this. The best mechanism for something like that would probably be a priesthood of sorts... they tend to be long lived and good at preserving knowledge (and eventually to use it as a power base for domination of the unwashed masses which they work hard to keep dumb but that's already many steps down the line).
Deciding what to conserve and making it succinct enough to be manageable but detailed enough to useful actually seems like a great use case for AI. I'm a little more optimistic than you on the timeframe, as I have electronics that are decades old and work fine. Of course, if they suddenly stop it will be a source of disappointment rather than survival anxiety.
https://en.wikipedia.org/wiki/Electromigration
This puts an upper life-span on VLSI chips and has practical effects on the fabrication processes and materials used. The higher the integration level, the smaller the feature size the more important this becomes.
So if you want something to last a really long time use the largest feature size chips that you can still make your designs with.
https://github.com/nornagon/jonesforth/blob/master/jonesfort...
Is a nice starting point. It's obviously not as compact as say 'Brainfuck' but it is far more versatile.
That's the thing: there are already many hackers and makers working on all kinds of ways to reuse old electronic. If they cannot really use this now - who can after a collaps?