[U-Boot-Users] how to convert u-boot to s19 file format

jxnuxdy
2008-01-02T04:54:40Z

Hi Folks,
Now I used a programm named "Flash Programmer 2.24", I want to convert the u-boot image to s19 file format, but how?

denny at ubuntu:/arm44b0/u-boot-1.3.1$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.1 (Ubuntu 4.2.1-5ubuntu4)
denny at ubuntu:/arm44b0/u-boot-1.3.1$ arm-linux-gcc -v
Reading specs from /opt/eldk41/usr/bin/../lib/gcc/arm-linux/4.0.0/specs
Target: arm-linux
Configured with: /opt/eldk/build/arm-2007-01-22-uclibc/work/usr/src/denx/BUILD/crosstool-0.35/build/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/gcc-4.0.0/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux --with-headers=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/arm-linux/include --with-local-prefix=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long --disable-__cxa_atexit
Thread model: posix
gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)
denny at ubuntu:/arm44b0/u-boot-1.3.1$ cd tools/
denny at ubuntu:/arm44b0/u-boot-1.3.1/tools$ ls
bddb crc32.o envcrc.o gen_eth_addr.c img2srec.o mkimage scripts ubsha1.c
bmp_logo easylogo environment.c gen_eth_addr.o inca-swap-bytes.c mkimage.c setlocalversion ubsha1.o
bmp_logo.c env environment.o img2brec.sh logos mkimage.o sha1.c updater
bmp_logo.o envcrc gdb img2srec Makefile mpc86x_clk.c sha1.o
crc32.c envcrc.c gen_eth_addr img2srec.c Makefile.win32 ncb.c ubsha1
denny at ubuntu:/arm44b0/u-boot-1.3.1/tools$ ./img2srec ../u-boot.bin
*** illegal file format
denny at ubuntu:/arm44b0/u-boot-1.3.1/tools$

,Thanks
- Denny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080102/bb387a09/attachment.htm