Writing to Flash Filesystem on MPC8313E-RDB?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Writing to Flash Filesystem on MPC8313E-RDB?

1,827 Views
MarkB
Contributor I
On the default setup of the MPC8313E-RDB I see:

/dev/ram0 mounted as /
rwfs mounted as /mnt/rwfs
shm mounted as /dev/shm

How can I see which partition is mounted to which memory device (NAND/NOR)?
How can I get access to the NAND and NOR flash memory so that I can write a simple file?

A 'touch my_file' creates the file but it is destroyed on every reboot.
I've tried 'touch /my_file' and 'touch /mnt/rwfs/my_file' and 'touch /dev/shm/my_file' and every time the file is destroyed.  Am I really writing into DDR?  How can I create a flash partition to write it?


Message Edited by MarkB on 2008-10-15 11:04 PM

Message Edited by MarkB on 2008-10-15 11:04 PM
0 Kudos
Reply
3 Replies

865 Views
MarkB
Contributor I
Once I have a modified .dts file is there a guide that says what to do with it to get it into the processor on the RDB?
0 Kudos
Reply

865 Views
medina
Contributor III
When you compile the kernel you obtain the dtb file, you can find it on the boot directory. This is the file you must pass to the kernel on boot using mboot command from uboot. One parameter of the mboot command is the dtb file.

Regards,
Medina
0 Kudos
Reply

865 Views
medina
Contributor III
Hello MarkB

It's in my todo list. Now I´m doing other thing but I saw some about it. I think that I'll use module mtd on nand flash. I saw that the flash partition would be defined on dts/dtb file.

I hope it'll help you. Please, report us your progress.

Best regard,
Medina


0 Kudos
Reply