[prev in list] [next in list] [prev in thread] [next in thread]
List: u-boot
Subject: [U-Boot-Users] Boot Image Check
From: dhobi () gmx ! net (Daniel Hobi)
Date: 2007-02-27 9:31:21
Message-ID: 45E3FA69.5070208 () gmx ! net
[Download RAW message or body]
Hi Suhas,
On 27.02.2007 03:45, MoonMoon Ghosh wrote:
> Hi, I want to write a function like check_iamge(char * iamgefile)
> which returns 0 if the image file is in u-boot image format and
> validated by CRC checksum. Otherwise it returns non-zero error
> number. So someone can help me how to write this function. I am using
> X86_64 2.16.X Fedora 5. and UBoot 1.1.6.
There already is such a funtion in U-Boot. It is invoked when using the
command "iminfo" and provides a return value which can be processed by
(Hush) shell scripts. For an example, see:
http://www.denx.de/wiki/view/DULG/CommandLineParsing
> Content-Type: text/html; charset=iso-8859-1
Please don't post HTML on this list.
Regards,
Daniel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic