News for hackers. Stuff that matters.
Re:Writing a Simple Linux Kernel Module by woodrowbarlow on Thursday November 30, 2017 @04:05PM (#15819529)
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.

There are no comments on this comment yet.