I've written an application and copied it into the filesystem but when I try to create or modify configuration files within my application directory I'm told :
mkdir: cannot create directory 'config': No space left on device
Can someone help me or point me to useful information for setting up a file or directory that is ReadWrite so that after I install my FS I can simply re-upload my file using scp modify configuration files and have them persist through a reboot.
As far as I can tell right now there are only a couple of rw areas but are all ram based:
/ # cat /proc/mountsrootfs / rootfs rw 0 0/dev/root / jffs2 rw 0 0proc /proc proc rw 0 0none /sys sysfs rw 0 0none /tmp tmpfs rw 0 0none /var tmpfs rw 0 0none /dev tmpfs rw 0 0devpts /dev/pts devpts rw,gid=5,mode=620 0 0/ # dfFilesystem 1K-blocks Used Available Use% Mounted on/dev/root 22016 22016 0 100% /none 57176 0 57176 0% /tmpnone 57176 16 57160 0% /varnone 57176 0 57176 0% /dev
I'm using RR SDK
Hi,
The file system does not have enough space. Can you:
1. Run make config in the /DM355SDK840402$
2. Go to Installer Configuration
3. Check the Mininum file system partition size
If it is set to 160, you can increase its value to 400.
Cristina Murillo
Embedded Software Engineer, RidgeRun
Thank you very much. This worked. There was one minor hickup. I expect
make install
To reinstall the filesystem but it didn't. I had to go do a
nand erase
before it would. Is there a way from make to force a reflashing of uboot, kernel or fs?
When you make changes in the file system, you need to generate the binary file again, so before make install, you should run make fs.
There are also specific commands for the installation process like make installkernel, make installfs and make installbootloader.