Writing to Flash Filesystem on MPC8313E-RDB?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Writing to Flash Filesystem on MPC8313E-RDB?

1,593 次查看
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 项奖励
回复
3 回复数

631 次查看
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 项奖励
回复

631 次查看
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 项奖励
回复

631 次查看
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 项奖励
回复