4 ms·
I have worked on embedded Linux systems recently enough where I had to change the driver and recompile the kernel to repartition the disk. It was just a chunk o
by jake_morrison 6y ago
I have worked on embedded Linux systems recently enough where I had to change the driver and recompile the kernel to repartition the disk. It was just a chunk of Flash memory, and it was up to the driver to tell it what to be.
- jschwartzi 6y agoI’ve done this and created overlapping regions to repartition the NAND. Mtd devices are frustrating because their partition layout is set at compile-time so if you want to change layouts you have to recompile the kernel. And if you need to migrate from one partition scheme to another you have to have partitions defined for both schemes in the same kernel.