CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 5110|回复: 3

歪门邪道安进NAND的系统,内存识别问题

[复制链接]
发表于 2013-1-30 00:02:39 | 显示全部楼层 |阅读模式
本帖最后由 ghw 于 2013-1-30 00:11 编辑

Fedora release 17 (Beefy Miracle)
Kernel 3.0.57 on an armv7l (ttyS0)

fedora-arm login: root
Password:
[root@fedora-arm ~]# free -m
             total       used       free     shared    buffers     cached
Mem:           307         49        258          0          7         25
-/+ buffers/cache:         15        292
Swap:            0          0          0
[root@fedora-arm ~]# ls
[root@fedora-arm ~]# ll
total 0
[root@fedora-arm ~]# uname -a
Linux fedora-arm 3.0.57 #26 PREEMPT Mon Jan 14 23:09:16 UTC 2013 armv7l armv7l armv7l GNU/Linux
[root@fedora-arm ~]#


同样的问题,内存容量明显不对头
求帮忙。。。

Fedora.png
内存容量不对会不会跟那个script.bin有关系?
回复

使用道具 举报

发表于 2013-2-2 21:18:47 | 显示全部楼层
楼主这问题解决没?说个方法啊。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-2-2 23:30:08 | 显示全部楼层
hipboi 发表于 2013-2-2 21:18
楼主这问题解决没?说个方法啊。

ArchlinuxARM-CubieBoard.png 解决了,谢谢

明天有空的话发过程
回复 支持 反对

使用道具 举报

发表于 2013-2-14 14:20:18 | 显示全部楼层
在boot时加入启动参数
setenv init /init
setenv nand_root /dev/nandi
setenv console ttyS0,115200
setenv setargs setenv bootargs console=${console} root=${nand_root} init=${init} mem=1024M
setenv boot_kernel fatload nand 0 0x48000000 uimage
setenv boot_script fatload nand 0 0x43000000 script_a10.bin
setenv boot_nand bootm 0x48000000
setenv bootcmd run setargs boot_script boot_kernel boot_nand
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-4-27 17:36 , Processed in 0.023281 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部