Resetting the Conduit to factory state
Home › Forums › Conduit: mLinux Model › Resetting the Conduit to factory state
Tagged: mlinux
- This topic has 8 replies, 4 voices, and was last updated 7 years, 10 months ago by
piyush s.
-
AuthorPosts
-
April 18, 2017 at 5:54 am #18313
piyush s
ParticipantHi,
I want to know if there is a way using which we can perform actual “factory reset” in conduit device. I have gone through http://www.multitech.net/developer/products/conduit/resetting-the-device/ but according to http://www.multitech.net/developer/software/mlinux/using-mlinux/reset-mlinux-to-defaults/ the factory reset button does the clearing of /var/config directory.
What I want is to revert the complete root fs to the factory state, not just the /var/config directory. I also saw http://www.multitech.net/developer/software/mlinux/using-mlinux/flashing-mlinux-firmware-for-conduit/ which will install the images in conduit.
Can someone please direct me how would I get the trigger to the “factory reset” button? Where is the /sys entry for this button ?thanks,
–PiyushApril 18, 2017 at 9:00 am #18318Jeff Hatch
KeymasterPiyush,
The reset button handling is done in mts_io.c in the mts-io kernel module. The source can be found in: git://git.multitech.net/mts-io.git
I believe the defaults in this code are overridden by the reset-handler script that can be found in the meta-mlinux layer: git://git.multitech.net/meta-mlinux.git
Jeff
April 19, 2017 at 12:15 am #18349piyush s
ParticipantThanks Jeff, with your comment, I was able to locate the reset handler script running as daemon in /usr/sbin/reset-handler
Appreciate the support.
May 4, 2017 at 5:45 am #18923eric gourlaouen
ParticipantHi, I’m having a similar issue with a Multitech Conduit. When experimenting with it, I accidentally added a startup script that just hangs before the shell is started on debug mode – and SSHD is not available. Is there any way I could force the fs factory reset without having access to a shell?
May 4, 2017 at 7:29 am #18925Jeff Hatch
KeymasterEric,
Unfortunately, the process that is used to do the reset from the reset button push and would do the factory default is at the end of start-up. I recommend that you create a support portal case and get some help from Multitech Support at: https://support.multitech.com/
Jeff
May 4, 2017 at 8:50 am #18929eric gourlaouen
ParticipantHi Jeff,
Thanks for your answer – I ended up using U-boot to flash the Conduit, using the debug cable, using this method: http://www.multitech.net/developer/software/mlinux/using-mlinux/flashing-mlinux-firmware-for-conduit/ so I could restore the system to a factory state.
Best,
Eric
May 23, 2017 at 7:34 am #19268piyush s
ParticipantHello Eric,
Revisited this thread after a long time and saw your response. Can you tell me how did you flash the conduit using U-boot via debug cable? What debug cable you are referring to and how was it connected to the conduit? Did you use USB port and some USB-Serial converter for this purpose?
thanks,
–PiyushMay 23, 2017 at 2:08 pm #19282Ajay K
ParticipantI am not sure how the u-boot is done. But the debug port Eric is talking about is the mini usb port at the front panel located where the SD card and SIM card slots are present. You will need a mini-usb cable to connect to the port.
Thanks,
AjayMay 23, 2017 at 11:20 pm #19284piyush s
ParticipantThanks Ajay, I did a quick check and it turned out that mini USB port at both front and back has the capability to do that.
-
AuthorPosts
- You must be logged in to reply to this topic.