Hi
I'm trying to compile 2.4.18-rmk7-pxa3-embedix linux for my collie with oe environment.
Kernel is booting OK, but I can't use mtdblock6.
mtdblock6 is there, but it contents are changing all the time.
It is really strange. I can't figure out what the problem is.
Does someone know what causes this?
in local.conf I have:
ASSUME_PROVIDED = "virtual/arm-linux-gcc-2.95 virtual/libc"
MACHINE = "collie"
DISTRO = "openzaurus"
part of kernel config:
CONFIG_MTD_MTDRAM_SA1100=y
CONFIG_MTDRAM_TOTAL_SIZE=32768
CONFIG_MTDRAM_ERASE_SIZE=1
CONFIG_MTDRAM_ABS_POS=E000000
CONFIG_CMDLINE="console=ttyS0 root=/dev/mtdblock4 rootfstype=jffs2 jffs2_orphand
_inodes=delete mem=32M"
# cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00020000 "Angel Monitor"
mtd1: 00020000 00020000 "CF Updater"
mtd2: 00080000 00020000 "Diagnostics"
mtd3: 00100000 00020000 "kernel"
mtd4: 00e20000 00020000 "jffs2"
mtd5: 00020000 00020000 "angel stuff"
mtd6: 02000000 00000400 "mtdram"
Everything looks normal, but now interesting part starts:
# mke2fs /dev/mtdblock6
mke2fs 1.33 (21-Apr-2003)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
8192 inodes, 32768 blocks
1638 blocks (5.00%) reserved for the super user
First data block=1
4 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks: 8193, 24577
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 24 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
# mount -t ext2 /dev/mtdblock6 /mnt/ram/
mount: wrong fs type, bad option, bad superblock on /dev/mtdblock6,
or too many mounted file systems
I'm compiling kernel with "oemake openzaurus-sa" command
I have tried oe-exported tarballs and CVS server version, but the result is the same