Some parts of it, very likely. The shell is just linenoise with some glue code. How are things with ELF loading on rp2350, I did not check. May be possible, the question is, how much effort. In ESP-IDF that is a standard component now.
If this works out, we won't need diesels nor electrification (overhead or third rail). Just have the train recharge at every station it stops at to extend its range (currently 200 miles, a record)
Instead of losing 8GB of precious RAM, you could map out the bad memory with a Linux GRUB boot parameter that tells Linux not to use that part of the memory.
I've successfully done this with a Dell Precision machine that we needed as a build machine. Twelve months later on, still works and we do seriously stress it with builds.
The individual dynasties, however, lasted about 250 years each, like the others listed. China also got taken over by the Mongols in the mid-1200s, (retaken by Han Chinese a century later), and then by the Manchurians in the mid-1600s. Chinese civilization, not just the government, got taken over by European rationalism/modernism in 1940s with the Communist Revolution. (It's ironic that the Chinese government talks complains about "Western influences", when their whole governmental ideology is based on European ideas.)
reply