2010-01-24 19:19:56     a problem about loading the filesystems!

Document created by Aaronwu Employee on Aug 20, 2013
Version 1Show Document
  • View in full screen mode

2010-01-24 19:19:56     a problem about loading the filesystems!

zhang zhihua (CHINA)

Message: 85053   

 

我的板子是BF518F-EZBRD,上面有一个4M的并行flash和一个4M的串行flash,我把文件系统rootfs.jffs2放在并行里,把内核镜像vmImage和u-boot放在串行flash;

但是我现在想把文件系统也放在串行flash里面:

我把0x40000 以前留出来给uboot,从0x40000 开始放vmImage,大小是10b24b,也就是到了10b24b,然后从14b24c开始放

 

rootfs.jffs2文件系统,大小是150000;

我是这样操作的:

/>:sf probe 2

/>:tftp 1000000 vmImage

Using Blackfin EMAC device

TFTP from server 192.168.0.2; our IP address is 192.168.0.15

Filename 'vmImage'.

Load address: 0x1000000

Loading: #################################################################

         ##########

done

Bytes transferred = 1094219 (10b24b hex)

/>:sf write 1000000 40000 10b24b

/>:ttftp 1000000 rootfs.jffs2

Using Blackfin EMAC device

TFTP from server 192.168.0.2; our IP address is 192.168.0.15

Filename 'rootfs.jffs2'.

Load address: 0x1000000

Loading: #################################################################

         #############################

done

Bytes transferred = 1376256 (150000 hex)

/>:sf write 1000000 10b24c 150000

但是写完以后连u-boot都起不来了,应该怎么操作呢?还有就是环境变量怎么设置让它从串行flash找到文件系统呢?

TranslateQuoteReplyEditDelete

 

 

2010-01-24 21:10:38     Re: a problem about loading the filesystems!

zhang zhihua (CHINA)

Message: 85054   

 

这样可行吗?

 

是不是还得修改内核参数?

TranslateQuoteReplyEditDelete

 

 

2010-01-25 03:37:40     Re: a problem about loading the filesystems!

zhang zhihua (CHINA)

Message: 85080   

 

不好意思,SPI flash不是4M...

Attachments

    Outcomes