I want to download my code and python site-packages to module MT7688 by using .zip file to /overlay/upper folder.
Here is what I do:
Send command to download code from server (.zip) file)
unzip to /overlay/upper
Reboot and execute the program
I have a question: Can overwrite overlay filesystem in OpenWrt break JFFS2 filesystem ?
Because: after Doing this, the module work fine, but after few time powering up, it get brick.
After enter failsafe mode, I see no file in jffs2reset filesystem
BusyBox v1.23.2 (2015-11-18 16:34:33 CET) built-in shell (ash)
ash: can't access tty; job control turned off
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
CHAOS CALMER (15.05+linkit, r47501)
-----------------------------------------------------
* 1 1/2 oz Gin Shake with a glassful
* 1/4 oz Triple Sec of broken ice and pour
* 3/4 oz Lime Juice unstrained into a goblet.
* 1 1/2 oz Orange Juice
* 1 tsp. Grenadine Syrup
-----------------------------------------------------
================= FAILSAFE MODE active ================
special commands:
* firstboot reset settings to factory defaults
* mount_root mount root-partition with config files
after mount_root:
* passwd change root's password
* /etc/config directory with config files
for more help see:
http://wiki.openwrt.org/doc/howto/generic.failsafe
=======================================================
root@(none):/# [ 9.230000] rt305x-esw 10110000.esw: link changed 0x01
df -h
Filesystem Size Used Available Use% Mounted on
rootfs 19.8M 19.8M 0 100% /
/dev/root 19.8M 19.8M 0 100% /
tmpfs 512.0K 0 512.0K 0% /dev
tmpfs 61.8M 16.0K 61.7M 0% /tmp
root@(none):/#root_mount
ash: root_mount: not found
root@(none):/# mount_root
[ 44.450000] jffs2: notice: (389) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 44.500000] mount_root: switching to jffs2 overlay
root@(none):/# ls
root@(none):/# df -h
root@(none):/# ls
root@(none):/# df -h
root@(none):/# ls
root@(none):/# ls
root@(none):/# ls
root@(none):/# ls
root@(none):/# [ 77.300000] random: nonblocking pool is initialized
ls
root@(none):/# ls
root@(none):/# ls
root@(none):/#
root@(none):/# mount_root
[ 172.020000] mount_root: rootfs_data:/dev/mtdblock6 is already mounted as /overlay
root@(none):/# df -h
root@(none):/# ls
root@(none):/#