[U-Boot-Users] malloc usage

Xin Li xin123456.li at yahoo.com.cn
Thu Nov 4 12:17:18 CET 2004


Hello,

Is there a limit for the amount of memory allocated by
"molloc" in u-boot? I have the following problem.
If I request memory of 2112 bytes, malloc returns a
non-NULL pointer which means the memory is
successfully allocated. But u-boot doesn't work as
expected. I have set CFG_MALLOC_LEN to a very big
value. If we use static global array of char to
reserve memory, then u-boot works as expected.

Li Xin
Best regards.


_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/




More information about the U-Boot mailing list