Dear Niklaus Giger,

In message <[EMAIL PROTECTED]> you wrote:
> This time I took a closer look at img2brec.sh. My conclusions are
> img2brec.sh was done for development under Windows (probably cygwin), as
> it uses a command filesize which is not available as such under Unix. 
> Therefore
> I replaced with a functional equivalent (wc --bytes) which should also work 
> under
> cygwin (not tested).
> I modified the script to git also rid of extra \M (LF) caracters in the 
> output. Now
> the outputfile on my Debian system after calling 
> tools/img2brec.sh u-boot.bin [u-boot.brec]
> looks fine.

Hm.... but the \r\n sequences are probably intentional because  theyu
are needed on Win* systems?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
A little suffering is good for the soul.
        -- Kirk, "The Corbomite Maneuver", stardate 1514.0
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to