![]() ![]() |
May 15 2007, 08:17 AM
Post
#1
|
|
|
Group: Members Posts: 474 Joined: 21-May 06 Member No.: 9,928 |
I was wondering if anyone knows where to get it now (if it ever was avalible) ?
I did some search but only found broken links. |
|
|
|
May 15 2007, 01:20 PM
Post
#2
|
|
|
Group: Members Posts: 474 Joined: 21-May 06 Member No.: 9,928 |
Ok the sources ar in the survive-1.1.0 sources amongst the pdaxrom sources ...
but it will not build on newer kernels: armv5tel-cacko-linux-gcc -o nandlogical nandlogical.c -O2 -I/usr/src/linux-2.6.20.6/include In file included from /usr/src/linux-2.6.20.6/include/mtd/mtd-user.h:13, from nandlogical.c:30: /usr/src/linux-2.6.20.6/include/mtd/mtd-abi.h:18: warning: no semicolon at end of struct or union /usr/src/linux-2.6.20.6/include/mtd/mtd-abi.h:18: error: syntax error before '*' token nandlogical.c:38: error: variable `oob' has initializer but incomplete type nandlogical.c:38: warning: excess elements in struct initializer nandlogical.c:38: warning: (near initialization for `oob') nandlogical.c:38: warning: excess elements in struct initializer nandlogical.c:38: warning: (near initialization for `oob') nandlogical.c:38: warning: excess elements in struct initializer nandlogical.c:38: warning: (near initialization for `oob') nandlogical.c: In function `scan_logical': nandlogical.c:135: error: invalid use of undefined type `struct mtd_oob_buf' nandlogical.c:136: error: invalid application of `sizeof' to incomplete type `mtd_oob_buf' nandlogical.c: In function `add_logical': nandlogical.c:164: error: invalid use of undefined type `struct mtd_oob_buf' nandlogical.c:165: error: invalid application of `sizeof' to incomplete type `mtd_oob_buf' nandlogical.c: In function `main': nandlogical.c:279: error: structure has no member named `oobblock' nandlogical.c:280: error: structure has no member named `oobblock' nandlogical.c:281: error: structure has no member named `oobblock' nandlogical.c:292: error: structure has no member named `oobblock' nandlogical.c:293: error: invalid use of undefined type `struct mtd_oob_buf' nandlogical.c:300: error: structure has no member named `oobblock' nandlogical.c:340: error: invalid use of undefined type `struct mtd_oob_buf' nandlogical.c:341: error: invalid use of undefined type `struct mtd_oob_buf' nandlogical.c:345: error: invalid application of `sizeof' to incomplete type `mtd_oob_buf' nandlogical.c:351: error: invalid application of `sizeof' to incomplete type `mtd_oob_buf' nandlogical.c: At top level: nandlogical.c:38: error: storage size of `oob' isn't known Can anyone help ? BTW: it build fine if I use -I/usr/src/2.6.16/include with the pdaxrom kernel sources |
|
|
|
Apr 29 2008, 02:30 PM
Post
#3
|
|
|
Group: Members Posts: 131 Joined: 27-June 05 From: Prague, Czech Republic, Europe Member No.: 7,468 |
Ok the sources ar in the survive-1.1.0 sources amongst the pdaxrom sources ... but it will not build on newer kernels: nandlogical.c:292: error: structure has no member named `oobblock' Can anyone help ? BTW: it build fine if I use -I/usr/src/2.6.16/include with the pdaxrom kernel sources Replacing of oobblock by writesize makes it compile again with kernel-2.6.24. At least read works (I did not test write yet.) |
|
|
|
May 2 2008, 01:07 AM
Post
#4
|
|
|
Group: Members Posts: 474 Joined: 21-May 06 Member No.: 9,928 |
Ok the sources ar in the survive-1.1.0 sources amongst the pdaxrom sources ... but it will not build on newer kernels: nandlogical.c:292: error: structure has no member named `oobblock' Can anyone help ? BTW: it build fine if I use -I/usr/src/2.6.16/include with the pdaxrom kernel sources Replacing of oobblock by writesize makes it compile again with kernel-2.6.24. At least read works (I did not test write yet.) Long time since I was last able to devote some time to my Z ..... I've even forgotten where I stored all the sources I was fiddling with. Once I dig them up I'll be giving this hint a try. I could even try a write on my C760. Current kernel release is 2.6.25.1 ... has there been any work on this. I see debian is using 2.6.24.4 along with probabbly all OE based distros. |
|
|
|
Jul 20 2008, 12:41 PM
Post
#5
|
|
|
Group: Members Posts: 163 Joined: 11-March 04 From: IT Member No.: 2,270 |
|
|
|
|
Aug 2 2008, 01:42 PM
Post
#6
|
|
|
Group: Members Posts: 163 Joined: 11-March 04 From: IT Member No.: 2,270 |
read / write tested abd working.
Compiled against glibc is very big (547K)...will test against klibc! |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 06:58 PM |