主题 : uboot lowlevel_init的问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 13825
精华: 0
发帖: 15
金钱: 75 两
威望: 15 点
贡献值: 0 点
综合积分: 30 分
注册时间: 2010-01-29
最后登录: 2011-12-15
楼主  发表于: 2010-03-18 19:11

 uboot lowlevel_init的问题

#define B3_Tacs 0xc
#define B3_Tcos 0x7
#define B3_Tacc 0xf
#define B3_Tcoh 0x1
#define B3_Tah 0x0
#define B3_Tacp 0x0
#define B3_PMC 0x0



#define B5_Tacs 0xc
#define B5_Tcos 0x7
#define B5_Tacc 0xf
#define B5_Tcoh 0x1
#define B5_Tah 0x0
#define B5_Tacp 0x0
#define B5_PMC 0x0


我看了一下友善之臂的板子好像nGCS3和nGCS5都没有接外围设备,为什么要修改bankcon呢?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-03-18 21:52
大多数情况下,你看到的U-Boot源代码都不是针对mini2440特别写的。
"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: 13825
精华: 0
发帖: 15
金钱: 75 两
威望: 15 点
贡献值: 0 点
综合积分: 30 分
注册时间: 2010-01-29
最后登录: 2011-12-15
2楼  发表于: 2010-03-19 08:41
我是下载的tekkaman的源代码,看到他修改了这些寄存器,不知道为什么要修改
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2010-03-19 09:31
我想你可以:
1. 把这些修改屏蔽掉并验证这不会影响mini2440的功能,然后告诉tekkaman你的结果;
或者
2. 直接问tekkaman他为什么要这么改
"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."