主题 : (更新)u-boot for tiny 210 ver4.0 复制链接 | 浏览器收藏 | 打印
咕唧咕唧
级别: 侠客
UID: 30422
精华: 1
发帖: 114
金钱: 620 两
威望: 124 点
贡献值: 1 点
综合积分: 248 分
注册时间: 2010-10-16
最后登录: 2016-05-27
楼主  发表于: 2012-02-18 20:28

 (更新)u-boot for tiny 210 ver4.0

我是从kasim版主的帖子中获得的 linaro 的uboot源码,在此感谢kasim

tiny 210 uboot是基于  linaro-2011.10 for mini210 修改实现的。

若启动内核出现问题请看此链接
本部分内容设定了隐藏,需要回复后才能看到


若挂载NFS出现问题请看此链接
本部分内容设定了隐藏,需要回复后才能看到


2013.1.31更新
######################################################################################
ver4.0的基本功能:
1. SD boot,基于linaro u-boot的SPL功能实现

2. 从SD卡的FAT分区上加载文件到SDRAM

3. 将环境变量保存至SD卡

4. 添加DM9000网卡驱动,开启网络功能(例如:tftp,nfs等)

5. 添加TAB键命令自动补全功能

6.修复bug:

修复bug 1:SD卡保存环境变量出现Writing to MMC(0)... mmc_send_cmd: error during transfer: 0x00208001 mmc write failed。

修复bug 2:每次启动只能保存一次环境变量。

7.添加NandFlash驱动,开启所有Nand cmd。

8.添加Yaffs文件系统烧写支持。

9.修改在SD卡启动及nand启动时对nandflash的烧写为8bit 硬件ECC校验。

10.添加Nandflash启动。

11.添加自动识别Nand or MMC/SD启动。
+12.添加yaffs2文件系统烧写支持。  

+13.添加显示Nandflash烧写进度。





下载及修改步骤见如下链接:

本部分内容设定了隐藏,需要回复后才能看到
[ 此帖被liukunmcu在2013-01-31 20:23重新编辑 ]
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2012-02-19 10:45
up up
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2012-03-10 21:20

 回 33楼(liukunmcu) 的帖子

支持!我给你发了消息,希望你能和我一起做一个支持mini210和tiny210的统一的u-boot.
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2012-05-17 23:24

 回 112楼(seasky123) 的帖子

文件系统镜像是用这个u-boot烧录进NAND Flash的?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
4楼  发表于: 2012-05-18 12:02

 回 115楼(seasky123) 的帖子

这个问题还是另外开个帖子讨论吧,把你的烧录步骤列出来,谢谢!
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
5楼  发表于: 2012-06-07 12:19

 回 136楼(jameleg) 的帖子

"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
6楼  发表于: 2013-01-10 22:53
对于这个帖子里的u-boot来说,步骤参考http://www.aiothome.net/read.php?tid=16001#129416里的"3. 将u-boot镜像写入SD卡"一节。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
7楼  发表于: 2013-01-21 22:23

 回 311楼(lywschxd) 的帖子

把编译过程的输出传上来(可以在make后面加上2>&1 | tee build.log生成)
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
8楼  发表于: 2013-01-31 23:39
欢迎回来!
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."