npitre / cramfs-tools

Tools to create a cramfs filesystem image
GNU General Public License v2.0
36 stars 17 forks source link

support for microcontrollers #7

Open hatonthecat opened 1 year ago

hatonthecat commented 1 year ago

"Currently, cramfs must be written and read with architectures of the same endianness, and can be read only by kernels with PAGE_SIZE == 4096."

Hi, I am not very technically-knowledgeable, but was curious if cramfs has the same endianness as in the ARM Cortex M4's. A use case would be to support a very tiny linux OS with one or two apps like a notepad editor (which wouldn't need files larger than 16MB). This could then be used as a solar powered typewriter, or even an SIP phone to make calls/send texts.

npitre commented 1 year ago

ARM Cortex M4 is most likely Little Endian. Even though some ARM processors can be used in Big Endian mode, almost nobody does that.

And your PC workstation is Little Endian too. So it is fine.