OMAPL138学习----cmem加载问题

  一直在学习dsplink 就准备把TI给的关于dsplink的demo都拿来跑一遍,结果发现不能使用,老是提示什么CMEM phys_start (0xc2000000) overlaps kernel (0xc0000000 -> 0xc4000000) 。对cmem不熟悉,没办法只有到TI中国上看看有没有遇到相同问题的网友,的确遇到同样问题的人还挺多的,可惜就没有回答的,哎,只有看英文的,毕竟TI 原官网的攻城狮要认真些,打开看看回答的也不少,但是都没能解决到我的问题。最后还是一篇CSDN上的博文帮我解决了这个问题。

   1、查看板子用的memory map (etc/init.d/loadmodule-rc)

linux需要32M的空间

  2、然后修改boot 传给kernel参数setenv bootargs 'mem=64M console=ttyO2,115200n8 ip=192.168.1.3:192.168.1.103:192.168.1.1:255.255.255.0::eth0:off eth=00:40:01:2B:64:60 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs rootwait' 

中的 mem=64M 改为 mem=32M  问题解决

猜你喜欢

转载自blog.csdn.net/zxycele/article/details/21395155