[ELDK] [PATCH v2] [RFSB] using newer mkcramfs than present in ELDK 4.2

Steven A. Falco sfalco at harris.com
Fri Apr 30 15:47:03 CEST 2010

Steven A. Falco wrote:
> Detlev Zundel wrote:
>> Hi Steven,
>>> When building rfsb for cramfs, I get an error, because
>>> rfsb is assuming a different version of mkcramfs than what
>>> comes with ELDK 4.2.
>> Unfortunately yes.
>>> I'm guessing that the fix is for me to install a newer
>>> mkcramfs, because the -D option is clearly required by rfsb.
>> Indeed.
>>> But, I just downloaded cramfs-1.1.tar.gz from sourceforge,
>>> and that version of mkcramfs doesn't have the -D option either.
>>> (Actually, the sourceforge code is from 2002, so it is not
>>> exactly recent.)
>>> Where should I get the correct mkcramfs from?
>> Short story - you should be able to use trhe CVS version of
>> cramfs-tools.
>> Long story - some time ago, I was in contact with the maintainers of
>> cramfs-tools and the version rfsb needs was committed to CVS at that
>> time.  On my list then was to update the ELDK package once cramfs-tools
>> makes a new release.  As the latter never happened, the update was not
>> performed.  On our local systems we use the CVS version so we do not see
>> any problem.
>>> Or, should this tool be included in rfsb itself, since rfsb
>>> clearly needs something other than the commonly available
>>> version?
>> I CCed the one remaining cramfs-tools maintainer, maybe he can comment
>> on any planned releases.
>> Apart from that I am a friend of the orthogonal tool idea, so I would
>> rather not pull in any needed tool but fix the respective upstreams.
>> Thanks
>>   Detlev

The following README.cramfs explains how to get the proper version
of cramfs for the RFSB.

Signed-off-by: Steven A. Falco <sfalco at harris.com>

Sorry - wrong directory.  Lets try again...

Understood.  Here is a patch, so perhaps you won't have to
explain this again to someone else.

diff --git a/doc/README.cramfs b/doc/README.cramfs
new file mode 100644
index 0000000..cdce9c9
--- /dev/null
+++ b/doc/README.cramfs
@@ -0,0 +1,17 @@
+If you are building a cramfs, you will need a version of mkcramfs that supports
+the -D and -b options.
+The best way to obtain this version is to do:
+	cvs -d:pserver:anonymous at cramfs.cvs.sourceforge.net:/cvsroot/cramfs login
+(when asked for a password, just press <ENTER>)
+	cvs -z3 -d:pserver:anonymous at cramfs.cvs.sourceforge.net:/cvsroot/cramfs co -P linux
+Once the code has downloaded, build it via:
+	cd linux/scripts/cramfs
+	make
+Then just copy the mkcramfs and cramfsck to a bin directory in your path.

More information about the eldk mailing list