quick question
Hi all,
what do you all think about this:
http://www.m-sys.com/content/products/product.asp?PID=17&FILE=DOCIdePro&FAM=
doc
if I used this as a standard IDE device does this mean that I wouldn't require any MTD drivers for linux and just use the standard IDE?
if so could I format this as EXT2 fs and contain my ROOT file system on it? or would I still run the risk of power failure disk error etc?
I mean I can load my ROOT fs into memory so thats not a problem, see the
thing is at the moment I can't get the MTD drivers to work with the onboard 'Msys D-O-C' on an Ampro p5e module, reason being is Ampro use part of the FLASH to store the bios for the ampro board and have specific tools for formatting etc, so I boot from a dos partition using 'LoadLin' or I can boot from a Harddrive connected to the IDE, so in my case maybe the 'IDE PRO' is an alternative , also to save recompiling the kernel for the p5e maybe..
anyways let me know what you think,
kind regards
stephen
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Quoted 4 lines · Stephen Brown
Hi all,
what do you all think about this:
Quoted 8 lines
http://www.m-sys.com/content/products/product.asp?PID=17&FILE=DOCIdePro&FAM=
docif I used this as a standard IDE device does this mean that I wouldn't require any MTD drivers for linux and just use the standard IDE?
if so could I format this as EXT2 fs and contain my ROOT file system on it? or would I still run the risk of power failure disk error etc?
You'd want EXT3 not EXT2, presumably, but yes -- it should just work.
You still have the same fundamental problem that you're running a journalling file system atop a journalling pseudo-filesystem which emulates a block device, but unlike the reports I've heard about most CompactFlash devices, I'd expect that M-Systems have at least managed to make the firmware within the device itself reliable w.r.t. power-failure.
Quoted 5 lines
I mean I can load my ROOT fs into memory so thats not a problem, see the
thing is at the moment I can't get the MTD drivers to work with the onboard 'Msys D-O-C' on an Ampro p5e module, reason being is Ampro use part of the FLASH to store the bios for the ampro board and have specific tools for formatting etc,
That's interesting... can you describe the problems? Precisely what type of DiskOnChip is it, is it detected correctly by the hardware driver? Is it only the NFTL code which is unhappy? etc.
Signature · 1 line
dwmw2
hi,
its a DOC 2000 , onboard 8 MB, it resides on the p5e module, Ampro have specifically changed the hardware to suit their SBC, which includes a bios copy from eprom, they provide utility tools similar to the 'm-sys' ones, except are specifically designed for Ampro, if you use the 'm-sys' tools the SBC won't boot as 'im assuming' the bios cannot be copied from eprom as the first bios screen wont load, this creates a DOS partition as well as a bios area stored close to the boot sector.
1st problem is, compiling the kernel for the Ampro p5e module takes a good half day!!
2nd problem, the preparation for a standard 'm-sys DOC' is not the same as in the specific tools that are written for the p5e module.
I tried quite a few different kernel compiles ( include MTD - etc etc - also tried the ones default with kernel 2.4.4 and the latest ones from web ) to try and make the DOC compatible with the real-time linux kernel, recompiled with RTLinux pre-1, but couldnt get it to work, this takes up a lot of time! so.. i opted to load the RTLinux kernel and root filesystem from the DOS partition, that resides on the p5e module, using 'loadlin' , this loads into memory using initrd as the p5e module has 32 MB sdram,
the system is finished and I am happy with its performance but ... looking ahead into the future 'if' the hardware has to stay the same it would be nice to have a non-volatile area so to store network information etc, instead at the moment I can change on the fly, until I power down, or... I can create a new ROOT filesystem (*.gz) , change a few scripts etc, for permanent changes.
I cannot recompile the kernel for Red Hat 7.2 and RTLinux to include ext3 fs, so I have learned to live with it as ext2.
This is why I have an interest in the 'IDE PRO' if maybe it can provide a solution via the IDE bus, without a lot more time consuming kernel compiling, the other option was a seperate DOC from 'm-sys' that could interface with our pc-104 stack which Im assuming would require me to recompile the kernel, which in turn would have a knock on effect to my development PC and all modules compiled for the target p5e etc etc... blah
blah... i dont mind doing it but obviously an alternative would be better
, while we are tied with the current hardware..
kind regards
stephen
----- Original Message -----
From: "David Woodhouse" <[email protected]>
To: "Stephen Brown" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, June 26, 2003 12:06 PM
Subject: Re: quick question
Quoted 6 lines · Stephen Brown
Quoted 5 lines
Hi all,
what do you all think about this:
http://www.m-sys.com/content/products/product.asp?PID=17&FILE=DOCIdePro&FAM=
Quoted 6 lines
Quoted 6 lines
doc
if I used this as a standard IDE device does this mean that I wouldn't require any MTD drivers for linux and just use the standard IDE?
if so could I format this as EXT2 fs and contain my ROOT file system on
it?
Quoted 12 lines
Quoted 1 line
or would I still run the risk of power failure disk error etc?
You'd want EXT3 not EXT2, presumably, but yes -- it should just work.
You still have the same fundamental problem that you're running a journalling file system atop a journalling pseudo-filesystem which emulates a block device, but unlike the reports I've heard about most CompactFlash devices, I'd expect that M-Systems have at least managed to make the firmware within the device itself reliable w.r.t. power-failure.
Quoted 1 line
I mean I can load my ROOT fs into memory so thats not a problem, see
the
Quoted 1 line
Quoted 1 line
thing is at the moment I can't get the MTD drivers to work with the
onboard
Quoted 1 line
Quoted 1 line
'Msys D-O-C' on an Ampro p5e module, reason being is Ampro use part of
the
Quoted 11 lines
Quoted 2 lines
FLASH to store the bios for the ampro board and have specific tools for formatting etc,
That's interesting... can you describe the problems? Precisely what type of DiskOnChip is it, is it detected correctly by the hardware driver? Is it only the NFTL code which is unhappy? etc.
--
dwmw2
Quoted 7 lines
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
----- Original Message -----
From: "David Woodhouse" <[email protected]>
To: "Stephen Brown" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, June 26, 2003 12:06 PM
Subject: Re: quick question
Quoted 6 lines · Stephen Brown
Quoted 5 lines
Hi all,
what do you all think about this:
http://www.m-sys.com/content/products/product.asp?PID=17&FILE=DOCIdePro&FAM=
Quoted 6 lines
Quoted 6 lines
doc
if I used this as a standard IDE device does this mean that I wouldn't require any MTD drivers for linux and just use the standard IDE?
if so could I format this as EXT2 fs and contain my ROOT file system on
it?
Quoted 12 lines
Quoted 1 line
or would I still run the risk of power failure disk error etc?
You'd want EXT3 not EXT2, presumably, but yes -- it should just work.
You still have the same fundamental problem that you're running a journalling file system atop a journalling pseudo-filesystem which emulates a block device, but unlike the reports I've heard about most CompactFlash devices, I'd expect that M-Systems have at least managed to make the firmware within the device itself reliable w.r.t. power-failure.
Quoted 1 line
I mean I can load my ROOT fs into memory so thats not a problem, see
the
Quoted 1 line
Quoted 1 line
thing is at the moment I can't get the MTD drivers to work with the
onboard
Quoted 1 line
Quoted 1 line
'Msys D-O-C' on an Ampro p5e module, reason being is Ampro use part of
the
Quoted 15 lines
Quoted 2 lines
FLASH to store the bios for the ampro board and have specific tools for formatting etc,
That's interesting... can you describe the problems? Precisely what type of DiskOnChip is it, is it detected correctly by the hardware driver? Is it only the NFTL code which is unhappy? etc.
--
dwmw2______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Quoted 7 lines
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
A message that is not in the archive (sent off-list or not yet received): 005301c33bda$9e5621a0$11c8a8c0@stevejunior
Weird -- what did you do different between your reply directly to me (which had correct References: headers) and your reply to the list (which didn't, hence got rejected)?
(... and then what did you do differently in your _second_ reply to the list, which worked?)
Had you deleted the mail to which you're replying, or changed folders and were no longer looking at the same folder, or something?
You're using Outlook and Exchange, right?
Quoted 10 lines · Stephen Brown
hi,
its a DOC 2000 , onboard 8 MB, it resides on the p5e module, Ampro have specifically changed the hardware to suit their SBC, which includes a bios copy from eprom, they provide utility tools similar to the 'm-sys' ones, except are specifically designed for Ampro, if you use the 'm-sys' tools the SBC won't boot as 'im assuming' the bios cannot be copied from eprom as the first bios screen wont load, this creates a DOS partition as well as a bios area stored close to the boot sector.
Quoted 2 lines
1st problem is, compiling the kernel for the Ampro p5e module takes a good half day!!
Weird -- why? Are you building on the board itself and starting from 'make clean' each time?
You ought to be able to make just the MTD and DiskOnChip modules to match the kernel you're running, and shouldn't even need to reboot to test them.
Quoted 2 lines
2nd problem, the preparation for a standard 'm-sys DOC' is not the same as in the specific tools that are written for the p5e module.
Interesting. Do you know what _address_ you tell the p5e DFORMAT utility to find the DiskOnChip at? Or what address it finds it at?
Quoted 4 lines
I tried quite a few different kernel compiles ( include MTD - etc etc - also tried the ones default with kernel 2.4.4 and the latest ones from web ) to try and make the DOC compatible with the real-time linux kernel, recompiled with RTLinux pre-1, but couldnt get it to work, this takes up a lot of time!
Can you remember details? Did the hardware driver manage to detect the DiskOnChip and report its presence? Was it only a problem with the _contents_ of the DiskOnChip?
Quoted 2 lines
I cannot recompile the kernel for Red Hat 7.2 and RTLinux to include ext3 fs, so I have learned to live with it as ext2.
Why so?
Signature · 1 line
dwmw2