Hi Julien, Attached is a patch to mkcramfs that adds a "-r" option. This reverses the endianness of the CRAMFS filesystem when creating it. I use this patched mkcramfs to do exactly what you are doing. It should apply to all kernels up to and including 2.4.18. Steve Julien Eyries wrote: > > > we use cramfs here and it works without additional parameter. How do you > > generate the cramfs and on which kind of system are you using it? The > > mkcramfs tool has an endianess problem so if you do mkcramfs on 86x platform > > to use it on ppc it wont work. (maybe there is some newer version i am not > > aware of where that is fixed) > > Well it seems it is the problem ... i have generated cramfs on my x86 > and my target is ppc . > is there a simple trick to make my cramfs image correct for ppc ? > should i build my cramfs image on the target ? > > thanks, > > Julien. > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Steve Hein (ssh@sgi.com) Engineering Diagnostics/Software Silicon Graphics, Inc. 1168 Industrial Blvd. Phone: (715) 726-8410 Chippewa Falls, WI 54729 Fax: (715) 726-6715 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~