
In message 332616.23043.qm@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