主题 : U-Boot Booting problem from NAND FLASH (Automatic) 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 25028
精华: 0
发帖: 2
金钱: 10 两
威望: 2 点
综合积分: 4 分
注册时间: 2010-07-18
最后登录: 2010-10-28
楼主  发表于: 2010-07-18 14:22

 U-Boot Booting problem from NAND FLASH (Automatic)

Hi, Dear All :

Because I don't have simplified (Chinese) character  input method in my laptop, so I need to type English character to explain this context.

I have a Micro 2440 SDK ( Friendly ARM, NAND 1G) and try to porting u-boot on 1G NAND flash.

first time, I got "u-boot.bin"  from CD-ROM, then use  JTAG(j-link) download it to SDRAM & execute it, it works well !, the command as below:
1. loadbin u-boot.bin 0x33f80000
2. setpc 0x33f80000
3. g

then, I try to use supervivi  & try it again, command as below:
1. load ram 0x33f80000 0 239016 u
2. go 0x33f80000
3. u-boot booting success ....

so, I think this binary code for u-boot is ok, then burning it into NAND flash
4. nand scrup
5. nand createbbt
6. nand write 0x33f80000 u-boot

7. restart system & switch NAND flash booting
8. waiting a  long time, no terminal output  .....

I still try to solve this issue.
Is anybody can give me some suggestions ? thanks a lot.

civic
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-07-18 21:36
对于u-boot来说,直接跳转到RAM中和从NAND Flash启动的过程是不同的,后者多了一个把自己从NAND Flash复制到SDRAM中的过程。
也许你应该充分利用一下你的JLink了,它不光只是用来下载的代码的,不是吗?
"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."