On Thu, 2007-05-24 at 13:22 -0700, Jared Hulbert wrote: > On 5/22/07, Richard Griffiths <[EMAIL PROTECTED]> wrote: > > Venerable cramfs fs Linear XIP patch originally from MontaVista, used in > > the embedded Linux community for years, updated for 2.6.21. Tested on > > several systems with NOR Flash. PXA270, TI OMAP2430, ARM Versatile and > > Freescale iMX31ADS. > > > > When trying to verify this patch on our PXA270 system we get the > following error when running an XIP rootfs: > > cramfs: checking physical address 0xa00000 for linear cramfs image > cramfs: linear cramfs image appears to be 3236 KB in size > VFS: Mounted root (cramfs filesystem) readonly. > Freeing init memory: 96K > /sbin/init: error while loading shared libraries: libgcc_s.so.1: > failed to map segment from shared object: Error 11 > Kernel panic - not syncing: Attempted to kill init! > > However, if our busybox binary is XIP while the libgcc_s.so.1 is not > XIP, busybox runs fine.
> Richard, May I email you the rootfs tarball so you can recreate what > we are seeing? It is a little less than 2MiB. The filing system > executables will only run on a PXA27x processor. Yes you can, but I won't have access to a PXA270 for a few weeks. I assume you don't see the issue if you static link busybox? BTW I'm using uclibc rather than glibc - much smaller fs. Richard - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/