2008-04-25 00:41:05     How to mount jffs2 filesystem on ezkit 533

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

2008-04-25 00:41:05     How to mount jffs2 filesystem on ezkit 533

hong li (CHINA)

Message: 54920    Hi everyone

 

                  I have install uclinux on ezkit 533,and send a driver module   to the ezkit, the driver module is globalmem.ko,and it's major is 210, then i execute command and the result show as follow:

 

root:/var> insmod globalmem.ko

 

root:~> mknod /dev/globalmem c 210 0

mknod: /dev/globalmem: Read-only file system

 

so I want to mount a filesystem which can be read and write  such as jffs2

 

I find the jffs2.ko in this directory  /lib/modules/2.6.19.3-ADI-2007R1-pre-svn/kernel/fs/jffs2/jffs2.ko   on ezkit 533

 

How to slove this problem? How to mount jffs2 on ezkit533?

 

Thanks

 

Hong

QuoteReplyEditDelete

 

 

2008-04-25 01:07:30     Re: How to mount jffs2 filesystem on ezkit 533

Mike Frysinger (UNITED STATES)

Message: 54923    if you want a writeable root filesystem, simply remount it or use the right kernel commandline options

 

for jffs2, please review the documentation:

http://docs.blackfin.uclinux.org/doku.php?id=enabling_jffs2

QuoteReplyEditDelete

 

 

2008-04-25 10:49:24     Re: How to mount jffs2 filesystem on ezkit 533

hong li (CHINA)

Message: 54959    Mike

 

       Thanks your help, according to the document, i have burn the jffs2 filesystem on ezkit 533, the jffs2 filesystem start address is 0x20100000, when i execute ls in uboot

 

ezkit>ls

 

show:

 

Scanning JFFS2 FS: ...- Unknown node type: e002 len 68 offset 0x1e6710

done.

drwxr-xr-x        0 Fri Apr 25 13:27:39 2008 bin

drwxr-xr-x        0 Fri Apr 25 12:49:25 2008 dev

drwxr-xr-x        0 Fri Apr 25 12:49:48 2008 etc

drwxr-xr-x        0 Fri Apr 25 13:29:11 2008 home

drwxr-xr-x        0 Fri Apr 25 13:29:18 2008 lib

drwxr-xr-x        0 Fri Apr 25 12:49:25 2008 mnt

drwxr-xr-x        0 Fri Apr 25 12:49:25 2008 proc

drwxr-xr-x        0 Fri Apr 25 12:49:25 2008 root

lrwxrwxrwx        3 Fri Apr 25 12:49:25 2008 sbin -> bin

drwxr-xr-x        0 Fri Apr 25 12:49:25 2008 sys

drwxrwxrwt        0 Fri Apr 25 12:49:25 2008 tmp

drwxr-xr-x        0 Fri Apr 25 12:49:25 2008 usr

drwxr-xr-x        0 Fri Apr 25 12:49:25 2008 var

 

Then i burn vmImage to 0x01000000 by uboot  and execute

 

ezkit>setenv bootargs root=/dev/mtdblock2 rw rootfstype=jffs2

 

ezkit>bootm 0x01000000

 

show:

 

## Booting image at 01000000 ...

   Image Name:   Linux-2.6.19.3-ADI-2007R1-pre-sv

   Created:      2008-04-25  12:33:24 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    761959 Bytes = 744.1 kB

   Load Address: 00001000

   Entry Point:  00001000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 1000

 

what happened? How to slove this problem?

 

Thanks

 

Hong

QuoteReplyEditDelete

 

 

2008-04-25 16:49:22     Re: How to mount jffs2 filesystem on ezkit 533

Mike Frysinger (UNITED STATES)

Message: 54962    please review:

http://docs.blackfin.uclinux.org/doku.php?id=post_mortem

QuoteReplyEditDelete

Attachments

    Outcomes