Re: zhashfs: write first block last

2011-05-05 Thread James Cameron
On Wed, Apr 13, 2011 at 04:03:25PM -0600, Daniel Drake wrote: As for zhashfs, writing block 0 as all-zero was unnecessary as the entire SD card gets blanked at the start of fs-update. (tweaked this locally) Q3A65 removed this blanking, because it interfered with NANDblaster, which stores the

Re: zhashfs: write first block last

2011-05-05 Thread Daniel Drake
On 5 May 2011 08:57, James Cameron qu...@laptop.org wrote: Q3A65 removed this blanking, because it interfered with NANDblaster, which stores the received blocks of the .zd file in the SD card before fs-update begins.  On extending the blanking to the whole device, the .zd file being read by

Re: zhashfs: write first block last

2011-05-05 Thread Mitch Bradley
On 5/5/2011 9:08 AM, Daniel Drake wrote: On 5 May 2011 08:57, James Cameronqu...@laptop.org wrote: Q3A65 removed this blanking, because it interfered with NANDblaster, which stores the received blocks of the .zd file in the SD card before fs-update begins. On extending the blanking to the

Re: zhashfs: write first block last

2011-05-05 Thread James Cameron
On Thu, May 05, 2011 at 08:08:09PM +0100, Daniel Drake wrote: Is it possible to fix the erasing? Yes, but it will take many seconds to do it slowly enough for the few cards that are not happy about doing it quickly. This will slow fs-update still further. (We might invest more in guessing how

Re: zhashfs: write first block last

2011-04-14 Thread Martin Langhoff
On Wed, Apr 13, 2011 at 6:03 PM, Daniel Drake d...@laptop.org wrote: OFW is now fixed in svn (accepts this new format without any confusing error), a release should be made soon. As for zhashfs, writing block 0 as all-zero was unnecessary as the entire SD card gets blanked at the start of

zhashfs: write first block last

2011-03-20 Thread Daniel Drake
Hi, Quanta reported a problem with XO-1.5 flashing: power can be lost during the fs-update process, but the system will proceed to boot and operate normally at a glance. (I'm sure problems would come up in the long run though) To fix this, I've modified zhashfs to create .zd files that first of

Re: zhashfs: write first block last

2011-03-20 Thread Chris Ball
Hi, On Sun, Mar 20 2011, Daniel Drake wrote: 1. Is this approach a good idea? Sounds great to me. 2. Are we bothered by a misleading WARNING message appearing at the end of the flashing process for those running on old/current firmware? (a firmware update would fix this in future) I expect

Re: zhashfs: write first block last

2011-03-20 Thread Mitch Bradley
On 3/20/2011 6:58 AM, Chris Ball wrote: Hi, On Sun, Mar 20 2011, Daniel Drake wrote: 1. Is this approach a good idea? Sounds great to me. 2. Are we bothered by a misleading WARNING message appearing at the end of the flashing process for those running on old/current firmware? (a