hi, all!
I try to create FAT32 filesystem on SD card which is labelled as 8Gb
by its vendor. I use about a month old Angstrom:
r...@beagle:~# mkdosfs -F 32 -v /dev/mmcblk0p1
mkdosfs 2.11 (12 Mar 2005)
/dev/mmcblk0p1 has 4 heads and 16 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 2097152 sectors;
file system has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 2044 sectors, and provides 261629 clusters.
Volume ID is 4c35d63f, no volume label.
Which makes 1GB partition, which is weird, while
r...@beagle:~# fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 7969 MB, 7969177600 bytes
4 heads, 16 sectors/track, 243200 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 1 243200 7782399+ b Win95 FAT32
r...@beagle:~# cat /sys/block/mmcblk0/mmcblk0p1/size
15564799
which is correct value (so kernel knows correct size.
Any ideas on what happens?
log.do_compile.xxx:
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8
-mfpu=neon -mfloat-abi=softfp -isystem/build/ANF2
/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-fram
e-pointer -O2 -ggdb3 -c mkdosfs.c -o mkdosfs.o
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8
-mfpu=neon -mfloat-abi=softfp -L/build/ANF2/tmp/s
ysroots/armv7a-angstrom-linux-gnueabi/usr/lib
-Wl,-rpath-link,/build/ANF2/tmp/sysroots/armv7a-angstrom-linux-gnu
eabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu mkdosfs.o -o mkdosfs
means that there's no various 64-bit lseek stuff like
-D_FILE_OFFSET_BITS=64, where it has gone?
Does OPTFLAGS gets lost on its way?
Thanks a lot,
S.
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel