The bootldr vfat code could definitely stand some attention, if there is someone who has the time to do work on it.
Jamey
> -----Original Message-----
> From: Emmanuel Blot [mailto:emmanuel.blot_at_free.fr]
> Sent: Wednesday, August 28, 2002 11:44 AM
> To: Hicks, Jamey; Mark G. Lewis; bootldr_at_handhelds.org
> Subject: Re: [Bootldr] Cloning a filesystem using the bootldr
>
>
> > It should also work for backups:
> > boot> copy root hda1:backup.jffs2
> > with the caveat that bootldr can only update files that
> already exist -- it cannot make new
> directory entries. > Patches to fix that would be accepted.
>
> I tried this command (after having created a file on the VFAT
> partition [IBM 340MB microdrive]),
> but it failed:
>
> boot> vfat ls
> h3600_sleeve_insert: no spi read, defaulting sleeve vendor
> h3600_sleeve_insert: no spi read, defaulting sleeve deviceid
> sleeve vendorid=00001125
> sleeve deviceid=0000D7C3
> pcmcia_probe_sleeve
> probing for dual pcmcia sleeve
> dual_pcmcia_linkup[0]->prc=00000000
> pcmcia_register_ops: ops=000311F4
> h3600_sleeve_insert: matched driver Compaq PC Card Sleeve
> cis mapping=28000000
> .....
> boot.jffs2
> attr=00000020
> first_cluster=00006DB7
> n_bytes=000000DB
>
> boot> copy root hda1:boot.jffs2
> vfat_find_file_entry: fname='boot.jffs2'
> dirname=''
> basename='BOOT.JFFS2'
> srclen=00FC0000
> dstlen=000000DB
> nbytes=00FC0000
> ide command failed with status=00000059
> error reg=00000010
> cyl high reg=00000033
> cyl low reg=0000005A
> .addr: 00000000 data: 20031985
>
>
> The full partition seems to be dumped, but once Linux has
> booted and mounted the partition,
> (/dev/hda1), boot.jffs2 is zero byte sized...
>
> What did I miss ?
>
> Thanks
> Emmanuel
>
>
>
Received on Wed Aug 28 2002 - 16:39:34 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:10:43 EDT