Hi again Glen,
Glen Johnson schrieb:
uClinux-dev,
In the past I tried to bring the latest and greatest mtd-utils code into
the uClinux-dist. I finally got back to it and have it compiling.
Attached are the files which contain the changes that I made to make
this happen. The hardest piece of this code upgrade was converting
mtd-utils Makefile into something uClinux-dist could use. I ended up
with a blended Makefile between the two projects. With this Makefile I
can compile the latest stable release of the mtd-utils. It also worked
for the latest and greatest "bleeding edge" version of the code.
The next two files I attached are diffs that I generated for the
following two files.
config.in.diff for uClinux-dist/config/config.in
jffs2reader.c.diff for uClinux-dist/user/mtd-utils/jffs2reader.c (this
is in the new mtd-utils.tar.gz code)
The last file is a copy of the latest release for mtd-utils. These
changes worked for both uClinux-dist-20060803 and uClinux-dist-20070130.
I hope this may be of some help to you.
Enjoy,
Glen Johnson
The mtd-utils 1.0.0 do not compile with uClinux-dist-20070130 with linux.6.x.
In the structure mtd_info_user in mtd-abi.h oobblock changed to writesize.
The diffs for the files docfdisk.c, flash_otp_write.c, mtd_debug.c, nanddump.c
and nandwrite.c can be found in the mtd-utils.git tree.
http://git.infradead.org/?p=mtd-utils.git;a=commit;h=c712b2344e47101df11f46997508bf96b9f4e24e
Regards
Bernd
_______________________________________________
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