[Avila] recover entire flash image
Loft
Loft at nc.rr.com
Fri Jun 9 10:21:15 EDT 2006
devel wrote:
Travis,
I'm glad I could bring a smile to your face. The world can use more of
those.
I may not have been crystal clear in my last post, but here goes.
My capturing and concatenating the mtdblock0, mtdblock1, mtdblock2 and
the last block (usually 128K) with padding of 0xFF in between you'd have
a full image that you could JTAG on any compatible Avila board.
With the proper kernel configuration and tools you could actually write
the whole-shebang from Linux.
Hope this helps and puts an even bigger smile on your face.
Cheers,
Tom
> Well, I'm quite serious actually lol. I would like the ability to
> reproduce this image on another board with one shot, so I wouldn't
> have to keep re-entering all the redboot commands and such to get a
> duplicate system up and running. Thanks.
>
> Travis
>
>
> ----- Original Message ----- From: "Loft" <Loft at nc.rr.com>
> To: "Avila" <avila at lists.unixstudios.net>
> Sent: Thursday, June 08, 2006 6:55 PM
> Subject: Re: [Avila] recover entire flash image
>
>
>> devel wrote:
>>> Hey list,
>>>
>>> Anyone have any tricks to obtain the entire flash image from an
>>> Avila board? Redboot, kernel, ramdisk, all of it in one image.
>>> Obviously the image wouldn't fit on a floppy, at least mine (12MB
>>> used) won't lol. Thanks.
>>>
>>>
>>> Travis
>>>
>> Last I check (a while ago) the first three partitions had that
>> (Redboot, kernel, ramdisk). I think the whole thing was around
>> 4-5MB. All you need to do is "dd" /dev/mtdblock0 1 and 2.
>>
>> You could then tarball up the binary images.
>>
>> You'd just be missing the information in the eeprom.
>>
>> It really depends on how serious you are about capturing all the
>> state data. There's also a partition at the end of flash that has
>> the Redboot partition information and command line stuff.
>>
>> Cheers,
>>
>> Tom
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
>> For additional commands, e-mail: avila-help at lists.unixstudios.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
> For additional commands, e-mail: avila-help at lists.unixstudios.net
>
More information about the Avila
mailing list