public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Redboot FIS entry upgrade from Linux
@ 2008-01-13 16:31 Jacob Avraham
  2008-01-13 21:26 ` Foster_Brian
  2008-02-14  4:30 ` Hamish Moffatt
  0 siblings, 2 replies; 3+ messages in thread
From: Jacob Avraham @ 2008-01-13 16:31 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

Hi,

Say I have a zImage or ramdisk image as a file listed in FIS,
which I use to  "fis load" from Redboot.
Now I want to upgrade an image from Linux, so in addition to
writing into the specific mtd partition I need to update the FIS
directory entry checksum value.

Are there any utils to facilitate that?
Or maybe such where not developed because it's not a good idea?

Thanks,

Jacob

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Redboot FIS entry upgrade from Linux
  2008-01-13 16:31 Redboot FIS entry upgrade from Linux Jacob Avraham
@ 2008-01-13 21:26 ` Foster_Brian
  2008-02-14  4:30 ` Hamish Moffatt
  1 sibling, 0 replies; 3+ messages in thread
From: Foster_Brian @ 2008-01-13 21:26 UTC (permalink / raw)
  To: jacob, linux-mtd

> -----Original Message-----
> From: linux-mtd-bounces@lists.infradead.org [mailto:linux-mtd-
> bounces@lists.infradead.org] On Behalf Of Jacob Avraham
> Sent: Sunday, January 13, 2008 11:31 AM
> To: linux-mtd@lists.infradead.org
> Subject: Redboot FIS entry upgrade from Linux
> 
> Hi,
> 
> Say I have a zImage or ramdisk image as a file listed in FIS,
> which I use to  "fis load" from Redboot.
> Now I want to upgrade an image from Linux, so in addition to
> writing into the specific mtd partition I need to update the FIS
> directory entry checksum value.
> 
> Are there any utils to facilitate that?
> Or maybe such where not developed because it's not a good idea?
> 
> Thanks,
> 
> Jacob
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

Perhaps Linux 'fconfig' is what you are looking for:

http://andrzejekiert.ovh.org/software.html.en

Brian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Redboot FIS entry upgrade from Linux
  2008-01-13 16:31 Redboot FIS entry upgrade from Linux Jacob Avraham
  2008-01-13 21:26 ` Foster_Brian
@ 2008-02-14  4:30 ` Hamish Moffatt
  1 sibling, 0 replies; 3+ messages in thread
From: Hamish Moffatt @ 2008-02-14  4:30 UTC (permalink / raw)
  To: Jacob Avraham; +Cc: linux-mtd@lists.infradead.org

On Sun, Jan 13, 2008 at 06:31:20PM +0200, Jacob Avraham wrote:
> Hi,
> 
> Say I have a zImage or ramdisk image as a file listed in FIS,
> which I use to  "fis load" from Redboot.
> Now I want to upgrade an image from Linux, so in addition to
> writing into the specific mtd partition I need to update the FIS
> directory entry checksum value.
> 
> Are there any utils to facilitate that?
> Or maybe such where not developed because it's not a good idea?

(Sorry, I'm a bit behind on this list.)

There's a utility here which can modify the RedBoot FIS table:
http://svn.chezphil.org/utils/trunk/fis.c

I added support for updating the checksums. You can get my patch here:
http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/package/fis/fis-001-checksum.patch?rev=20951&view=auto

Like you, I update the kernel/initrd from linux then use fis to update
the checksums so that RedBoot will still load the image.

Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-14  4:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-13 16:31 Redboot FIS entry upgrade from Linux Jacob Avraham
2008-01-13 21:26 ` Foster_Brian
2008-02-14  4:30 ` Hamish Moffatt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox