Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHow to Save Data in uClinux
hi I am trying to save data in to Flash. I want to load previous execute data and system setting before I turn it off. Did anyone know how to do this. Please tell who or share me so...
Altera_Forum
Honored Contributor
15 years agoYou need to mount flash correctly.
Something like this... mkdir /mnt/flash mount -t jffs2 /dev/mtdblock2 /mnt/flash After mounted, you should be able to make file on the file system. either do cp command and copy file or use vi to create something text file. Since jffs2 is file system, you just want to open file or write file rather than direct read/write access to specific address on the flash.