The main problem is that the region that you want to map for execution *must*
be contiguous.
That is obvious.
ramfs doesn't currently guarantee that unless you truncate the
file before filling it,
Of course not. Does the XIP aware executable "loader" automatically decide for any file to be started if it is contiguous and this can be handled XIP or if it is fragmented and thus needs to be copied ?
but since the initramfs packer is in the kernel, that
oughtn't to be a problem.
Do you mean "unpacker" ?

I suppose the likelihood that the initramfs generator in the Kernel creates a fragmented file is very small, as it always starts with an empty file system.

But OTOH, there might be an issue with file data blocks. The initramfs does not really need to use a certain block size for the files, but maybe the XIP loader requests the files to be aligned at certain boundaries.

-Michael
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to