[Avila] problem with updating flash from Linux
Ahmet Basagalar
ahmet at thebluezone.com
Fri Nov 3 14:38:10 EST 2006
David,
Is there a way to do failsafe boot on redboot, so if one image does not boot
up then the other one boots? Also can I change the redboot startup script
through linux?
Ahmet
----- Original Message -----
From: "David Acker" <dacker at roinet.com>
To: "Avila" <avila at lists.unixstudios.net>
Sent: Friday, November 03, 2006 11:59 AM
Subject: Re: [Avila] problem with updating flash from Linux
Subject: [Avila] > Ahmet Basagalar wrote:
>> Hi,
>>
>> I am running into problems while updating flash from Linux. I have
>> compiled Redboot without checksum control, so that is not an issue
>> anymore. But when I do a kernel upgrade using 'netflash' in Linux
>> sometimes it works and sometimes it does not, meaning redboot tries to
>> load the kernel but system just hangs as if it is a corrupt kernel. The
>> same happens for the filesystem, when I upgrade it by 'netflash'
>> sometimes I got error messages during mount. Updating flash through
>> redboot works fine.
>>
>
> We use flashcp -v to the mtd device and that works great for us. It
> verifies the images after writing. You might want to keep a failsafe
> image and change the redboot boot script to boot from that before starting
> your upgrade. Only switch the boot script back to your regular partition
> once you are done and verified. That way if things go wrong, it will
> reboot into a minimal linux that can repair itself.
>
> We also found when flashing a jffs2fs image you want to size the image the
> same size as the flash partition.
> -Ack
>
> ---------------------------------------------------------------------
> 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