最近找工作,买了块飞凌的ok210,使用s5pv210的开发板,但是最重要的nandflash居然不开源,很恼火,于是想从头自己在这个板子上开发
计划这个工作做两年,看看两年的业余时间到底能够搞出点什么东西出来,感觉难度应该很大,但是应该可以学习到不少的东西
今天先开始移植uboot
2013.9.21
主要参考资料:
1〉http://blog.csdn.net/xiaojiaohuazi/article/details/8265757
2〉http://blog.csdn.net/sihailin1991/article/details/38065261
3〉http://blog.csdn.net/yazhouren/article/details/19697625
4〉http://blog.csdn.net/eshing/article/category/2381063
5〉nandflash http://www.cnblogs.com/sankye/category/214169.html
http://www.cnitblog.com/luofuchong/archive/2007/08/31/32682.html
http://www.cnitblog.com/luofuchong/archive/2007/09/04/32939.html
6) http://blog.csdn.net/column/details/girlkoo-s5pv210.html
7) Linux系统移植(刘刚,赵剑川著)
8) http://blog.csdn.net/g_salamander/article/details/8463854
9) http://blog.csdn.net/skyflying2012/article/details/25804209
10) http://blog.csdn.net/zjhsucceed_329/article/details/32336019
11)http://blog.csdn.net/zjhsucceed_329/article/category/1315747
12)http://blog.csdn.net/u010346967
13)http://blog.csdn.net/fu851523125/article/category/5810519
14) http://blog.csdn.net/huang20083200056/article/category/5586353
设备树:
1. http://www.wowotech.net/device_model/dt-code-analysis.html
2. http://blog.csdn.net/klaus_wei/article/details/42915545
3. http://blog.csdn.net/lichengtongxiazai/article/details/38941891这个讲解特别详细
ALSA:
1. http://blog.csdn.net/DroidPhone/article/category/1263459
时钟:
1. http://blog.csdn.net/DroidPhone/article/category/1263459
2.http://www.wowotech.net/sort/timer_subsystem
3.http://blog.chinaunix.net/uid-25871104-id-3124985.html
clk模块:
1. http://blog.csdn.net/lurayvis/article/details/27426471?utm_source=tuicool&utm_medium=referral
2. http://www.wowotech.net/pm_subsystem/clock_framework_core.html
sd/mmc模块:
1.http://blog.sina.com.cn/s/blog_4f09c0b50101636h.html
2.http://blog.csdn.net/bryanwang_3099/article/details/9038481
3.http://blog.csdn.net/huang20083200056/article/details/46966555
4.http://blog.csdn.net/xiaojiaohuazi/article/details/8295712
5.http://www.chinadmd.com/file/rwiarcipwsitp3asristi6cr_1.html
一些要点记录:
1.必须读datasheet,将板子上ddr和uart的配置搞明白
因为ddr内存是板子跑起来的最先要使用的东西,还有就是uart,这个用来查看信息用的,是debug的终极武 器
2013.11.10
2. df 可以查看u盘,硬盘情况
3.
- <span style="color:#cccccc;">使用VI编辑二进制文件
-
- 1. 以二进制模式打开文件 # vi -b file
-
- 比如文件内容原来为 hello world !
-
- 2. 切换到二进制显示,在vi命令模式下输入 :%!xxd
-
- 000000: 6865 6c6c 6f20 776f 726c 6420 210a hello world !.
-
- 4. 如果要修改某个字节,对照右边的部分,改左边的字符,比如要将 w字符改为x,w对应的二进制为77,x为78,也就是说将对应的77改为78即可
-
- 000000: 6865 6c6c 6f20 776f 726c 6420 210a
- +--> 在这里将77改为78
-
- 3. 再切换到回去,在vi命令模式下输入 :%!xxd -r
-
- 这时候会发现窗口内的内容变成了 hello xorld !
-
- 4. 最后输入:wq 保存退出即可,简单吧!</span>
4. make smdkv210_config,会生成uboot/include/config.h,然后执行make ,则根据这个config.h来编译;
make smdkv210则相当于上面两步
5. flash分为nor flash, nandflash, 还有onenand flash, onenand flash仿佛nor 和nand 的结合体