Skip to contentSkip to conversation

NFTL device not found (boot floppies)

DISCUSSION Tim Drury 1 participant 1 message Aug 22, 2003 Memory technology devices (MTD)

lore
Share & tools
lore

Tim Drury

author
#0 lore raw

I'm building a couple boot floppies for my target system - an Elan/586 based system with a 32MB DOC 2000. I built the kernel with MTD built in (not modules) according to the faq. On bootup I get the following:

----
NFTL driver: nftlcore.c $Revision: 1.94 $, nftlmount.c $Revision: 1.34 $ DiskOnChip 2000 found at address 0xE0000 Flash chip found: Manufacturer
ID: EC, Chip ID: 75 (Samsung: NAND 32MiB 3,3V) 1 flash chips found. Total DiskOnChip size: 32 MiB Could not find valid boot record
NFTL: could not mount device
----

Could this be because I'm using 2-floppy boot system with the /dev fs on the second floppy (which hasn't been inserted yet)? After I insert it and /dev is loaded, I try to do anything with /dev/nftla I get errors. I made /dev/nftla and /dev/nftla1 using 'mknod /dev/nftla b 90 0' and 'mknod /dev/nftla b 90 1' on the 2nd boot disk.

% fdisk /dev/nftla

Unable to open /dev/nftla

% fdisk /dev/nftla1

Unable to open /dev/nftla1

I can see the MTD via /proc:

% cat /proc/mtd
dev: size erasesize name
mtd0: 02000000 00004000 "DiskOnChip 2000"

Any ideas?

-tim