PATCH: Add support for booting file from dos diskettes
Dear Wolfgang,
You will find attached a patch that add the support of the dos diskette. It adds commands to boot a file from a dos
diskette or from a subdirectory of a dos diskette and to list content from dos diskette.
fdosboot [offset] [filename]: boot a file from a dos diskette or from a subdirectory of the diskette. If the offset isn't specified, the file name must start wit the character " (as for the tftpboot command). The path of the filename is specified using the / as separator between directorie names.
fdosls [dir]: list the content of the dos diskette or of a subdirectory.
These two commands are embedded into U-Boot if CFG_CMD_FDOS is defined in CONFIG_COMMANDS.
The handling of the dos filesystem is inspired from mtools.
CHANGELOG:
* Patch by Pierre Aubert , 12 Nov 2002
Add support of dos diskettes.
Best regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fdos.patch.gz
Type: application/octet-stream
Size: 14369 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20021112/184f7bcb/attachment.obj
Dear Pierre,
Quoted 5 lines · in message <[email protected]> you wrote:
You will find attached a patch that add the support of the dos diskette. It adds commands to boot a file from a dos
diskette or from a subdirectory of a dos diskette and to list content from dos diskette.
I think this extension needs some more work to make it more generally usable for other media holding a DOS filesystem, but because of lack of time I decided to add it as is (hoping somebody else will jump on it).
Ummm... please make sure to run the MAKEALL script before submitting a patch!!! Your patch broke support of a couple of boards (I fixed this).
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
I'm a programmer: I don't buy software, I write it.
-- Tom Christiansen