[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Sysace flash and read only CRAMFS



Hi John,
Thanks for the hints, here is what I've done:


# mount ./xsysacea /home                                                                  
VFS: Can't find ext3 filesystem on dev xsa.                                               
VFS: Can't find an ext2 filesystem on dev xsa.                                            
cramfs: wrong magic                                                                       
FAT: invalid media value (0x01)                                                           
VFS: Can't find a valid FAT filesystem on dev xsa.                                        
FAT: invalid media value (0x01)                                                           
VFS: Can't find a valid FAT filesystem on dev xsa.                                        
VFS: Can't find a romfs filesystem on dev xsa.                                            
mount: Mounting /dev/xsysacea on /home failed: Invalid argument                           
# mount -t ext2 ./xsysacea /home                                                          
VFS: Can't find an ext2 filesystem on dev xsa.                                            
mount: Mounting /dev/xsysacea on /home failed: Invalid argument                           
# mount -t ext2 ./xsysacea1 /home                                                         
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended  
                   
#

The first mount didn't work (don't know why), but it did on the numbered xsysace s.
For information, I used the busybox mount command.

Thanks for your quick answers
Jalil.B


# pwd     
/dev
# ls
console     mtd4        mtdblock9   ptyp2       ttyS3       ttypf
fb0         mtd5        mtdr0       ptyp3       ttyUL0      urandom
flash       mtd6        mtdr1       ptyp4       ttyUL1      xsysacea
gpio        mtd7        mtdr10      ptyp5       ttyUL2      xsysacea1
gpio0       mtd8        mtdr11      ptyp6       ttyUL3      xsysacea10
gpio1       mtd9        mtdr12      ptyp7       ttyp0       xsysacea11
gpio2       mtdblock0   mtdr13      ptyp8       ttyp1       xsysacea12
gpio3       mtdblock1   mtdr14      ptyp9       ttyp2       xsysacea12
gpio4       mtdblock10  mtdr2       ptypa       ttyp3       xsysacea14
kmem        mtdblock11  mtdr3       ptypb       ttyp4       xsysacea15
mem         mtdblock12  mtdr4       ptypc       ttyp5       xsysacea2
mtd0        mtdblock13  mtdr5       ptypd       ttyp6       xsysacea3
mtd1        mtdblock14  mtdr6       ptype       ttyp7       xsysacea4
mtd10       mtdblock2   mtdr7       ptypf       ttyp8       xsysacea5
mtd11       mtdblock3   mtdr8       random      ttyp9       xsysacea6
mtd12       mtdblock4   mtdr9       rtc         ttypa       xsysacea7
mtd13       mtdblock5   null        tty         ttypb       xsysacea8
mtd14       mtdblock6   nvram       ttyS0       ttypc       xsysacea9
mtd2        mtdblock7   ptyp0       ttyS1       ttypd       zero
mtd3        mtdblock8   ptyp1       ttyS2       ttype



John Williams a écrit :
Hi Jalil,

On Tue, Jul 28, 2009 at 6:45 PM, Jalil Boukhobza
<boukhobza@xxxxxxxxxxxxx> wrote:

  
As you can see, the flash memory seem to be recognized as it gives the good capacity, but I can not find the xsa1in the /dev:
    

Here's a clue:

  
xsysacea
xsysacea1
xsysacea10
xsysacea11
    

...

or about 10 of them!

The device node is /dev/xsysacea*, not xsa

If you repeat your experiment with the correct name, I think you will
have more success.

Regards,

John
--
John Williams, PhD, B.Eng, B.IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com  p: +61-7-30090663  f: +61-7-30090663

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/



  


-- 
Jalil Boukhobza
Maître de conférences
Lab-STICC - Pôle CAC (ex LESTER A&S)
Departement Informatique Universite de Bretagne Occidentale
20 avenue Le Gorgeu - CS 93837
29238 Brest Cedex 3
tel: +33 2 98 01 69 73
fax: +33 2 98 01 80 11  http://as.univ-brest.fr/~jalil
--