How can I resize \dev\root?
Home › Forums › Conduit: mLinux Model › How can I resize \dev\root?
Tagged: mlinux mono configuration
- This topic has 5 replies, 2 voices, and was last updated 9 years, 6 months ago by
Brandon Bayer.
-
AuthorPosts
-
September 23, 2015 at 3:51 pm #9374
Jonathan Pickett
ParticipantI have software that I am installing on the Conduit that uses mono. I have everything installed with just a little bit of room (8M) left over on /dev/root. Then I discovered that I also need to have mozroots installed (I need certificates installed to connect to Azure). It looks like I can get this from mono-dev, but the install fails due to lack of space. Is there some way I can resize /dev/root?
Also, what is the procedure for re-imaging the Conduit so that I can verify that I have a minimal install of our software and an accurate installation procedure?
September 23, 2015 at 4:01 pm #9375Brandon Bayer
BlockedJonathan,
Good question, but unfortunately it’s already as large as possible. Your only other option is to remove packages you don’t need. Are you adding packages to mlinux-factory-image or mlinux-base-image?
This page has instructions for flashing new firmware into the Conduit as well as the memory map at the bottom.
Also see the Building a Custom Image page if you haven’t already.
Does that help?
-Brandon
September 23, 2015 at 6:08 pm #9376Jonathan Pickett
ParticipantI was able to flash the device. Reflashing does not appear to wipe out everything on the Conduit (LoRa config file, interface config file, etc.). But it does wipe out previously installed packages. That helps.
I am experiencing a new problem after reflashing. I had my mDot successfully joining the LoRa network prior to the reflash. So I have not changed anything on the mDot. If I reflash the factory image, tail -f /var/log/lora-network-server.log reports:
15:49:43:615|INFO| Parsing 2 rx packets
15:49:43:616|ERROR| Tossing join request, invalid NET EUI
15:49:43:618|WARNING| Tossing join request with duplicate nonceI then tried upgrading the lora-network-server and lora-packer-forwarder:
opkg install lora-network-server
opkg install lora-packet-forwarderserver version bumped from 0.0.3–>0.0.4
Now the log is reporting:
15:54:48:745|INFO| LoRa Network Server started, version 0.0.4
(nothing following this line)I am not seeing any join requests. I have verified that the network name/password/subband are what they were previously (file is unchanged from reflash). What should I try next?
September 23, 2015 at 7:43 pm #9377Jonathan Pickett
ParticipantHi Brandon,
One other thing I have noticed is that:
root@mtcdt:/var/config/lora# /etc/init.d/lora-network-server restart
Stopping lora-network-server: start-stop-daemon: warning: failed to kill 1278: No such process
OK
Found lora card MTAC-LORA-915
Starting lora-network-server: OKThe server appears to start and then quits. This is the reason the restart fails and also explains why I am not seeing join attempts in the log.
Thanks,
JonathanSeptember 24, 2015 at 10:06 am #9380Brandon Bayer
BlockedJonathan,
Version 0.0.4 has an issue where it crashes and doesn’t run. You can upgrade to 0.0.8 following these instructions. You’ll also need to upgrade your mDot’s to 0.1.2 or greater if you haven’t already.
-Brandon
September 24, 2015 at 10:07 am #9381Brandon Bayer
BlockedAnd to clarify, the
/var/config/
partition is preserved during firmware flashes. Everything else is wiped out. -
AuthorPosts
- You must be logged in to reply to this topic.