ppc linux 性能,linux ppc 移植

最近在做XUP,V2Pro上的LINUX移植,按照风雷的文章做的,遇到启动时系统停在"booting the kernel"的问题,在网上查了查,解答的人很少,论坛里也没有人回答。我把我收集的答案给大家分享一下,由于要给MAIL LIST上的朋友回信息,所以写成英文的,英文很烂,能看懂就行,欢迎拍砖。

if your linux hang at "boot the kernel", the reasons can be list as follows:

1:If you use the uartlite IP in your design , set "console=ttyUL0"

If you use the uart_16xxx IP in your design , set "console=ttyS0"

2:If you use pwerpc-gcc version is 4.1.0,it will errorly compile the 2.6 kernel.I sugget use 3.4.4.

3:If you download the uncompressed kernel into XUP,as "dow vmlinux,con".The reason is uncompressed kernel have not the booter,so booter not set your Data_cache on right state.You can insert the code which set the Data_cache before early_init().

4:It may be your ppc's TLB bug ,search TLB on the website "xilinx.com",there is the patch.

5:If you use the U-boot,may be the U-boot 's parameter not set correct, the ppc on xup have 16k cache, some U-boot set it 8k.

6:If you "cp ml300_deconfig .config",the default ram size is 64M. If your sdram is smaller than this ,it may be the probelm.

呵呵,想起来再补~~~~,有问题的话留言~~

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值