Skip to contentSkip to conversation

Linux installation on DOC / problems / I need your help

DISCUSSION Alejandro O. Gonzalez 3 participants 3 messages Dec 13, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

I rebuild the kernel. Then I made this

1- run the driver
#modprobe doc2000
#modprobe docprobe

2- format the memory
#nftl_format /dev/mtd0 0 16777216

3- run nftl
#modprobe nftl

4- make a partition
#fdisk /dev/nftla
I make two partition first DOS, and second Linux.

5- make filesystem
#mkfs.msdos /dev/nftla1
#mke2fs /dev/nftla2

6-Install syslinux
#syslinux /dev/nftla1

7-configure boot and reboot

I don´t know if this procedure is correct, but when reboot the bios not found a valid boot device.
When I format all memory with nftl_format command I delete the TrueFFS bios of MSYS. This is Ok ?

I try then to overwrite the TrueFFS bios driver

DFORMAT /WIN:E000 /S:DOC512.EXB /NOFORMAT /FIRST

but display an error, can´t write the bios.

I do so that the bios recognize the DOC like a valid device of boot.

I try also to format with MSYS utility, then create a 2MB of DOS partition. Boot with linux and format the last 14 MB of memory with nftl_format. But when startup nftl driver says "we don´t support UnitSizeFactor!=1" and it is not possible to work with a nftl partition. I will appreciate any commentary, thank you for your time. Regards,
Alejandro Gonzalez

#1 lore raw

The second problem you described (UnitSizeFactor != 1) was solved some time ago. Try the latest CVS code.
I have used it with DFORMAT and grub as bootloader and it works.

Carlos Mateo

Quoted 51 lines · Alejandro O. Gonzalez

I rebuild the kernel. Then I made this

1- run the driver
#modprobe doc2000
#modprobe docprobe

2- format the memory
#nftl_format /dev/mtd0 0 16777216

3- run nftl
#modprobe nftl

4- make a partition
#fdisk /dev/nftla
I make two partition first DOS, and second Linux.

5- make filesystem
#mkfs.msdos /dev/nftla1
#mke2fs /dev/nftla2

6-Install syslinux
#syslinux /dev/nftla1

7-configure boot and reboot

I don´t know if this procedure is correct, but when reboot the bios not found a valid boot device.
When I format all memory with nftl_format command I delete the TrueFFS bios of MSYS. This is Ok ?

I try then to overwrite the TrueFFS bios driver

DFORMAT /WIN:E000 /S:DOC512.EXB /NOFORMAT /FIRST

but display an error, can´t write the bios.

I do so that the bios recognize the DOC like a valid device of boot.

I try also to format with MSYS utility, then create a 2MB of DOS partition. Boot with linux and format the last 14 MB of memory with nftl_format. But when startup nftl driver says "we don´t support UnitSizeFactor!=1" and it is not possible to work with a nftl partition. I will appreciate any commentary, thank you for your time. Regards,
Alejandro Gonzalez

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

#2 lore raw
In reply to Alejandro O. Gonzalez

This will as you assume erase the BIOS from the DOC.

If you want to be able to access the DOC from DOS without first booting from another media and loading a separate DOS DOC driver you need to use the mSYS DOC BIOS, installed by running DFORMAT from DOS.

However, using the mSYS 5.1.5 DOS driver (I think, not entirely sure about version but a 5 something) I could not make it function reliably if the DOC had been partitioned with more than one partition.. No such problems with the Linux driver.

Regards
Henrik

Quoted 52 lines · Alejandro O. Gonzalez

I rebuild the kernel. Then I made this

1- run the driver
#modprobe doc2000
#modprobe docprobe

2- format the memory
#nftl_format /dev/mtd0 0 16777216

3- run nftl
#modprobe nftl

4- make a partition
#fdisk /dev/nftla
I make two partition first DOS, and second Linux.

5- make filesystem
#mkfs.msdos /dev/nftla1
#mke2fs /dev/nftla2

6-Install syslinux
#syslinux /dev/nftla1

7-configure boot and reboot

I don´t know if this procedure is correct, but when reboot the bios not found a valid boot device.
When I format all memory with nftl_format command I delete the TrueFFS bios of MSYS. This is Ok ?

I try then to overwrite the TrueFFS bios driver

DFORMAT /WIN:E000 /S:DOC512.EXB /NOFORMAT /FIRST

but display an error, can´t write the bios.

I do so that the bios recognize the DOC like a valid device of boot.

I try also to format with MSYS utility, then create a 2MB of DOS partition. Boot with linux and format the last 14 MB of memory with nftl_format. But when startup nftl driver says "we don´t support UnitSizeFactor!=1" and it is not possible to work with a nftl partition. I will appreciate any commentary, thank you for your time. Regards,
Alejandro Gonzalez

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/