Skip to contentSkip to conversation

Erase size problem

DISCUSSION SHIKUILIANG 2 participants 2 messages Nov 15, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

I have a doc2000 device and a v2.4.14 kernel.
after configured and compiled mtd device in kernel I can insert some mtd modules :like mtdcore doc2000 docecc docprobe mtdchar and nftl.

when I insert docprobe.o kernel report that:

DiskOnChip 2000 found at address 0xd8000
Could not find valid boot record
Could not mout NFFL device

then i try to format /mnt/mtd0 by nftl_format.
but it's complain :

Erase size not 8k, I'am confused!

when i use the last mtd patch from cvs accroding to someone advices.this problem already exists.

It always say some symbols can not be find when I compile a pathed kernel which use a mtd patch on 2001-8-14 or a patch on 2001-8-30.

any hints will be appreciated.

stars

��н����ְ����
http://www.englishtown.com/master/home/courseoverview.asp?etag=TOCN&ctr=cn

===============================================

�ֻ������ǵ��ʣ��Ӵ˽��Ѳ��óһ�����֡������ʡ�

���� 163�������ʡ��ֻ����� ����
�� �ֻ�������ǵ��������ַ���������
�� ����������͸���ֻ����ţ���ʱ�����ʼ��Ľ������
�� ���������κ���ҵ����
�� ����İ����շѷ�ʽ�����ÿ��ֻ��5Ԫ

���������
http://vip.163.net/mobile/mobile.htm

===============================================

#1 lore raw

Hello,

Try commenting out the 8K check in the nft_format.c.

As for the kernel compilation, make sure you removed the original drivers/mtd , include/linux/mtd directories and copied the respective directories from the CVS tree. I advise against using the current version of the patchin.sh script because it creates symbolic links named like '*.h'.

Ilguiz

Quoted 1 line · SHIKUILIANG

Erase size not 8k, I'am confused!