I solved the problem momentarily making a script that configures TFTP server in a Ubuntu 10.04 live session. I had problems using tftpd in a VMware virtual machine.The program mkfs.jffs2 creates a JFFS2 (Second Journalling Flash File System) file system image and writes the resulting image to the file specified by the -o option or by default to the standard output, unless the standard output is a terminal device in which case mkfs.jffs2 will abort.Log into your router’s admin UI, choose Administration/JFFS, select Enabled and Save. Otherwise if you saved your script in /tmp, it’ll be gone after the next reboot. Enable JFFS Partition on your router so that you have permanent storage for your script. Upstart makes use of config files for controlling services. In this example, let's see how we can start and stop, enable and disable services in Ubuntu 14.04. It was later phased out paving way for systemd init in Ubuntu 15.04 and newer versions. Upstart init system was unveiled just before systemd It was used in Ubuntu 9.10 to Ubuntu 14.10.Unlike JFFS or UBIFS it relies on FTL to handle write distribution. F2FS (Flash-Friendly File System) is a file system intended for NAND-based flash memory equipped with Flash Translation Layer. I have force-checked my file system's integrity - no problem found. The following should allow me to inspect the jffs2 image before flashing my board, but as you can see, it fails.
First we unload the module from the running system if it is loaded. Kernel modules can be loaded directly, loaded as a dependency from another module, or during the boot process - because of this, we need to take several measures to keep the module from being loaded.