3 ms·
i was working on an embedded device with only RAM and a flash chip for the software blob. i wrote a kernel module that allowed us to keep logs in RAM even acro
by woodrowbarlow 9y ago
i was working on an embedded device with only RAM and a flash chip for the software blob.
i wrote a kernel module that allowed us to keep logs in RAM even across a soft reboot (i.e., if the device crashes or does a software update). it basically reserved a chunk of 1M at the top of RAM (using the same physical address each time). there was a checksum system that allowed it to tell during boot whether the data is still valid or if the bits had decayed.
i've also done a couple i2c drivers for temperature sensors or LED controllers. kernel work is fun.