Booting Faster 385
– Because the XIPed image cannot be compressed that would mean that
you would want more flash for storing the uncompressed image.
– Using a kernel XIP would require changes to the flash driver code
because operations such as flash erase and write cannot be done when
the kernel is executed out of flash. The changes to the flash driver
would typically be copying a portion of it to RAM and executing it
with interrupts disabled. However this is not required if the kernel is
XIPed from a flash that has only a read-only file system such as CRAMFS.
However, if XIP is too expensive an operation then it is imperative that
the kernel image should be kept as small as possible to avoid the copying
time. Some additional tricks can be used to cut down ...