Michael Lawnick said the following: ... > - output of access rights is still corrupted, e.g.: > dÿÿÿÿ-ÿÿ-ÿ 0 Tue Oct 21 11:08:17 2008 10 > -ÿÿÿÿ-ÿÿ-ÿ 262144 Thu Jan 01 00:00:33 1970 u-boot.bin > dÿÿÿÿ-ÿÿ-ÿ 0 Tue Oct 21 11:08:32 2008 1 > dÿÿÿÿ-ÿÿ-ÿ 0 Tue Oct 21 11:00:58 2008 2 ...
Ok, fixed this in my code: in jffs2_1pass.c @@ mkmodestr(unsigned long mode, char *str) you'll find declaration static const char *l = "xwr"; Although this is per se correct, it is not needed in context and screws up 'ls' in my case: Our u-boot is not placed in flash were it is located to on compilation time. static const char * points into flash space at some not properly initialized flash space. After modifying to char *l = "xwr"; output of access rights is fine now: drwxr-xr-x 0 Tue Oct 21 11:08:17 2008 10 -rwxr-xr-x 262144 Thu Jan 01 00:00:33 1970 u-boot.bin drwxr-xr-x 0 Tue Oct 21 11:08:32 2008 1 drwxr-xr-x 0 Tue Oct 21 11:00:58 2008 2 (Still directories are listed multiple times) Could we modify this declaration to my non-static version in the trunk? -- Michael Lawnick Software Design Engineer Lise-Meitner-Str. 7/1 89081 Ulm Tel: +49 731 9533 2066 [EMAIL PROTECTED] http://www.nokiasiemensnetworks.com/global/ Think before you print _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot