Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: rootfs on SD card, changes not permanent
PostPosted: Thu Jun 21, 2007 3:43 pm 
Offline

Joined: Wed May 16, 2007 1:37 pm
Posts: 3
Location: Switzerland
Hi

We got linux on our AT91SAM9260-EK running now with loading the RFS from a SD card. We formatted the card with ext2 and then put the rootfs.arm.ext2 image on it. So far everything works fine.
But somehow the changes we make on the filesystem aren't saved. Next time we boot the board, the filesystem looks fresh again, all our changes, like new folders, are gone.
This may be a basic linux problem, but we ain't got so much knowledge yet, our first real project using linux. So any help is appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 17, 2007 12:08 pm 
Offline

Joined: Tue Jul 10, 2007 1:15 pm
Posts: 25
Location: Rennes
hello, I try also to put my filesystem on a SD (or MMC). I ha ve at91sam9260-ek but when I don't know how to use this card.
For the moment I have a rootfs on NFS and when I plug my card it does nothing ... :(

Could you help me please if you have already try this ???

Pierre


Sorry for my english ... :?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 23, 2007 9:40 am 
Offline

Joined: Fri May 11, 2007 9:02 pm
Posts: 3
Hi!

Try to run "sync" command before resetting the board. You should also unmount your device.

-Heikki


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 24, 2007 9:12 pm 
Offline

Joined: Tue Jan 09, 2007 8:33 pm
Posts: 22
Hi psa,

Have you checked to make sure you have compiled SD Card support in your kernel? It may not be enabled by default... (I have 9261EK, so I don't know about 9260EK).


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 25, 2007 8:58 am 
Offline

Joined: Tue Jul 10, 2007 1:15 pm
Posts: 25
Location: Rennes
Thanks for your help,
but now I found my errors and it works !!!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: