DOC 2000 driver (NFTL) in kernel 2.4.7
Hi,
I'm trying to configure the 2.4.7 kernel to access a DOC, and I have the following problems:
1) Although I have only one DOC 2000, the DOC driver detects many more (see dmesg below)
2) The DOC driver detects 3 flash chips, I only have one
3) (and this is the show stopper) The NFTL driver is not able to find a boot record on the DOC. This is strange because I'm actually booting from the DOC.
The previous configuration used a 2.0.36 kernel with M-System provided drivers and it worked fine.
Here is the relevant dmesg part from the system:
----- dmesg -----
DiskOnChip 2000 found at address 0xC8000
Flash chip found: Manufacturer ID: 98, Chip ID: 6B (Toshiba TC5832DC) 3 flash chips found. Total DiskOnChip size: 12 MiB Possible DiskOnChip with unknown ChipID FF found at 0xca000 Possible DiskOnChip with unknown ChipID 00 found at 0xcc000 Possible DiskOnChip with unknown ChipID 00 found at 0xce000 Possible DiskOnChip with unknown ChipID FF found at 0xd0000 Possible DiskOnChip with unknown ChipID FF found at 0xd2000 Possible DiskOnChip with unknown ChipID FF found at 0xd4000 Possible DiskOnChip with unknown ChipID FF found at 0xd6000 Possible DiskOnChip with unknown ChipID FF found at 0xd8000 Possible DiskOnChip with unknown ChipID FF found at 0xda000 Possible DiskOnChip with unknown ChipID FF found at 0xdc000 Possible DiskOnChip with unknown ChipID FF found at 0xde000 Possible DiskOnChip with unknown ChipID 0B found at 0xe0000 Possible DiskOnChip with unknown ChipID 00 found at 0xe2000 Possible DiskOnChip with unknown ChipID 28 found at 0xe4000 Possible DiskOnChip with unknown ChipID 00 found at 0xe6000 Possible DiskOnChip with unknown ChipID 6D found at 0xe8000 Possible DiskOnChip with unknown ChipID 07 found at 0xea000 Possible DiskOnChip with unknown ChipID 00 found at 0xec000 Possible DiskOnChip with unknown ChipID FE found at 0xee000 M-Systems NAND Flash Translation Layer driver. (C) 1999 MVHI $Id: nftlcore.c,v 1.73 2001/06/09 01:09:43 dwmw2 Exp $ Could not find valid boot record
Could not mount NFTL device
---- end dmesg ----
Does anyone know what's the problem?
Thanx,
Alex.
Quoted 2 lines · Alexandru Harsanyi
1) Although I have only one DOC 2000, the DOC driver detects many more (see dmesg below)
Note the word 'possible'. Turn on CONFIG_MTD_DOCPROBE_55AA
Quoted 1 line
2) The DOC driver detects 3 flash chips, I only have one
One DiskOnChip. Three flash chips in it.
Quoted 3 lines
3) (and this is the show stopper) The NFTL driver is not able to find a boot record on the DOC. This is strange because I'm actually booting from the DOC.
That's odd. Update to the latest code from CVS, although I'm not sure it should make a difference, and put lots of debugging printks in find_boot_record() in nftlmount.c so it tells you why it rejects the header blocks it finds.
Signature · 1 line
dwmw2