[U-Boot] common/xyzmodem.c, ymodem, slow behavior receiving bytes

Henrik Nordström henrik at henriknordstrom.net
Wed Nov 14 11:28:14 CET 2012


ons 2012-11-14 klockan 10:47 +0100 skrev Angelo Dureghello:
> > > Also, i don't understand why "-g" is set by default. 

> My question becouse sometime embedded programmers fight for a bite free 
> in the flash. On limited boards like mine (4M Flash) once kernel and 
> some apps are stored, very small size remain for u-boot and some n.v. data 
> storage. But no problem for me, i change flags as needed eventually.

-g do not change the on-flash size at all. The debug information is not
included in the u-boot.bin file you install in flash.

> Sure, 20 Mhz boards are able to handle 115200 as well. So there is clearly
> something non working properly in my custom board. First thought is the 
> sdram not well initialized, resulting in very slow execution of the u-boot 
> code. Is there a way in u-boot to test code execution speed ?

Memory speed can be tested with mw command to fill some region of unused
memory with a pattern.





More information about the U-Boot mailing list