[U-Boot-Users] Testing of Uboot image from fedora5 through a c program

Wolfgang Denk wd at denx.de
Tue Feb 27 14:51:40 CET 2007


In message <332616.23043.qm at web57712.mail.re3.yahoo.com> you wrote:
>
> But My requirement is quite different.I know the use if iminfo and mkimage but I can not use those commands. Actually I have to test the Uboot kernel Image(checking of crc and other many other fields) from my fedora 5 through a c program in which kernel
>   image  file need to be passed  as command line argument.I can use the header files of Uboot source code  like  image.h  and  common.h and also the c code of Uboot source but I have to write my own program and need to compile using gcc.

"mkimage -l" will do this for you. Don't reinvent the wheel.

> I am trying with the source of mkimage.c but I want also the source of 
> iminfo but I can not find it.

Use grep.

> Content-Type: text/html; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit

Stop posting HTML!!!

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Where would we be without rhetorical questions?




More information about the U-Boot mailing list