From: Hamish Moffatt <hamish@cloud.net.au>
To: Jacob Avraham <jacob@imaginecommunications.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: Redboot FIS entry upgrade from Linux
Date: Thu, 14 Feb 2008 15:30:35 +1100 [thread overview]
Message-ID: <20080214043035.GB1449@cloud.net.au> (raw)
In-Reply-To: <FF584854D6FFE547AB2F7515A798AC3A4E3A9955@venus.imagineil.tv>
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>
prev parent reply other threads:[~2008-02-14 4:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080214043035.GB1449@cloud.net.au \
--to=hamish@cloud.net.au \
--cc=jacob@imaginecommunications.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox