This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: Patch to allow disk support to work with non CHS devices
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Andy Jackson <andy at xylanta dot com>
- Cc: eCos Patches <ecos-patches at ecos dot sourceware dot org>
- Date: Mon, 21 Aug 2006 15:34:52 +0200
- Subject: Re: Patch to allow disk support to work with non CHS devices
- References: <446B4BBB.9030605@arcom.com> <20060517162333.GP14082@lunn.ch> <446B50E8.4010804@arcom.com> <20060519101759.GF7128@lunn.ch> <000b01c6c4a5$4b3e2650$a001a8c0@Kimbara>
On Sun, Aug 20, 2006 at 11:09:23PM +0100, Andy Jackson wrote:
> The attached patch allows a non CHS disk type device (flash based for
> example) to signal that the LBA information in the MBR should be used to
> determine disk/partition size rather than the CHS values. It also makes
> debugging CDL controlled.
Hi Andy
Is there any way i can easily test this? What i normally do is uses
the synthetic target with its synthetic disk support, which just uses
a file to represent the disk. The script
packages/fs/fat/current/doc/mkdisk0 uses the mtools mpartition to
create a "disk" with two partitions. It would be nice if there was
some way to create a disk using LBA for testing.
Do you have any ideas about this?
Thanks
Andrew