ubi-utils: unubi fixes and enhancements
Hi Artem,
some time ago Drake Dawsett, a student working for us, has done some bug-fixes and enhancements to the unubi tool. He forgot to send them out before he left us. I have reworked them for integration:
git://git.infradead.org/users/haver/mtd-utils.git
Please have a look, and pull them if you are fine with them.
Thanks,
Frank
Signature · 4 lines
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen, Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Herbert Kircher, Sitz der Gesellschaft: Böblingen, Registergericht: Amtsgericht Stuttgart, HRB 243294
Quoted 9 lines · Frank Haverkamp
Hi Artem,
some time ago Drake Dawsett, a student working for us, has done some bug-fixes and enhancements to the unubi tool. He forgot to send them out before he left us. I have reworked them for integration:
git://git.infradead.org/users/haver/mtd-utils.gitPlease have a look, and pull them if you are fine with them.
Hi guys, sorry, I was away, will handle this soon.
Signature · 2 lines
Best regards, Artem Bityutskiy (Битюцкий Артём)
Quoted 7 lines · Artem Bityutskiy
Quoted 6 lines · Frank Haverkamp
Hi Artem,
some time ago Drake Dawsett, a student working for us, has done some bug-fixes and enhancements to the unubi tool. He forgot to send them out before he left us. I have reworked them for integration:
Quoted 5 lines
Quoted 3 lines
git://git.infradead.org/users/haver/mtd-utils.gitPlease have a look, and pull them if you are fine with them.
Hi guys, sorry, I was away, will handle this soon.
It does not compile for me:
gcc -I./inc -I./src -I../include -O2 -g -Wall -Werror -Wwrite-strings -W -std=gnu99 -DPACKAGE_VERSION=\"1.0\" -g -c -o nand2bin.o ./src/nand2bin.c -g -Wp,-MD,.nand2bin.c.dep gcc -I./inc -I./src -I../include -O2 -g -Wall -Werror -Wwrite-strings -W -std=gnu99 -DPACKAGE_VERSION=\"1.0\" -g -c -o nandcorr.o ./src/nandcorr.c -g -Wp,-MD,.nandcorr.c.dep gcc -o nand2bin nand2bin.o nandecc.o nandcorr.o
make[1]: *** No rule to make target src/eb_chain.h', needed by unubi.o'. Stop.
make[1]: Leaving directory `/home/dedekind/git/mtd-utils.git/ubi-utils'
make: *** [all] Error 2
Could you please fix this and also rebase against newer mtd-utils.git?
Signature · 2 lines
Best Regards, Artem Bityutskiy (Артём Битюцкий)
Hi Artem,
Quoted 13 lines · Artem Bityutskiy
It does not compile for me:
gcc -I./inc -I./src -I../include -O2 -g -Wall -Werror -Wwrite-strings -W
(quoted diff) +0
-2-std=gnu99 -DPACKAGE_VERSION=\"1.0\" -g -c -o nand2bin.o ./src/nand2bin.c -g -Wp,-MD,.nand2bin.c.depgcc -I./inc -I./src -I../include -O2 -g -Wall -Werror -Wwrite-strings -W
(quoted diff) +0
-2-std=gnu99 -DPACKAGE_VERSION=\"1.0\" -g -c -o nandcorr.o ./src/nandcorr.c -g -Wp,-MD,.nandcorr.c.depgcc -o nand2bin nand2bin.o nandecc.o nandcorr.o
make[1]: *** No rule to make targetsrc/eb_chain.h', needed byunubi.o'. Stop. make[1]: Leaving directory `/home/dedekind/git/mtd-utils.git/ubi-utils'
make: *** [all] Error 2
Quoted 2 lines
Could you please fix this and also rebase against newer mtd-utils.git?
currently I am little busy. I will let you know when I have fixed and rebased the code. Thanks for looking into it.
Regards,
Frank
Signature · 4 lines
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen, Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Herbert Kircher, Sitz der Gesellschaft: Böblingen, Registergericht: Amtsgericht Stuttgart, HRB 243294
Hi Artem,
Quoted 5 lines · Artem Bityutskiy
It does not compile for me:
gcc -I./inc -I./src -I../include -O2 -g -Wall -Werror -Wwrite-strings
(quoted diff) +0
-2-W -std=gnu99 -DPACKAGE_VERSION=\"1.0\" -g -c -o
Quoted 8 lines
nandcorr.o
./src/nandcorr.c-g -Wp,-MD,.nandcorr.c.dep
gcc -o nand2bin nand2bin.o nandecc.o nandcorr.o make[1]: *** No rule to make targetsrc/eb_chain.h', needed byunubi.o'. Stop.
make[1]: Leaving directory `/home/dedekind/git/mtd-utils.git/ubi-utils'
make: *** [all] Error 2
I had removed the src/eb_chain.h file. I renewed my git and tried my patches with a clean checkout. It works for me. Can it be that our dependency-checking is broken and you did not do make clean before you tried compiling?
Regards,
Frank
Signature · 4 lines
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen, Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Herbert Kircher, Sitz der Gesellschaft: Böblingen, Registergericht: Amtsgericht Stuttgart, HRB 243294
Quoted 8 lines · Frank Haverkamp
Quoted 8 lines
gcc -I./inc -I./src -I../include -O2 -g -Wall -Werror -Wwrite-strings
(quoted diff) +0
-2-W -std=gnu99 -DPACKAGE_VERSION=\"1.0\" -g -c -onandcorr.o
./src/nandcorr.c-g -Wp,-MD,.nandcorr.c.dep
gcc -o nand2bin nand2bin.o nandecc.o nandcorr.o make[1]: *** No rule to make targetsrc/eb_chain.h', needed byunubi.o'. Stop.
Quoted 8 lines
Quoted 3 lines
make[1]: Leaving directory
`/home/dedekind/git/mtd-utils.git/ubi-utils'
make: *** [all] Error 2I had removed the
src/eb_chain.hfile. I renewed my git and tried my patches with a clean checkout. It works for me. Can it be that our dependency-checking is broken and you did not do make clean before you tried compiling?
Sorry Frank, my fault. Committed, thank you.
Signature · 2 lines
Best Regards, Artem Bityutskiy (Артём Битюцкий)