User Partition is not formatted in UBFIS


#1

Hello,

I am working o get what I would assume is a simple project to run on the MangOH Green board. Unfortunitly I am having a number of issues. The first one I need to cross is this error message “User Partition is not formatted in UBFIS”. The error gives me an option to run a recovery wizard which exits with 8.

[Thu, 3 Nov 2016 18:55:11 +0100] /home/legato/legato/packages/legato.recovery.3.3.16.r3670.linux-201605181610/resources/swiflash -i /home/legato/legato/packages/legato.device.image.7.10.4.00.wpX5-201606161729/resources/1102621_9904889_WP8548_07.10.04.00_00_Generic_001.008_000.spk -m WP85XX
[WARNING]
Access rule for Sierra Wireless modem seems to not be installed on your system.
This should disturb swiflash when trying to manage the device state.
You should install this rule with the following commands:
sudo cp /home/legato/legato/packages/legato.recovery.3.3.16.r3670.linux-201605181610/resources/99-sierrawireless-modem.rules /etc/udev/rules.d
sudo service udev restart
Then, if your device is already plugged through USB, you will need to power cycle it.

Use -f option to bypass this check.

Process exited with 8

How do I resolve this issue so that I may progress with my development.

Thankfully
Kas


#2

It appears after doing a power reset it and restarting the connection a few times the issue has been resolved. Not sure why I needed to reconnect a few times but thankfully it ppars this issue is resolved. Time to tackle the next issue.

Kas


#3

NOPE!! Just restarted the board again and the error is back… Any help ?

Thanks
Kas


#4

As mentioned by the recovery process, you need a bit more configuration to enable recovery process:

Access rule for Sierra Wireless modem seems to not be installed on your system.
This should disturb swiflash when trying to manage the device state.
You should install this rule with the following commands:
sudo cp /home/legato/legato/packages/legato.recovery.3.3.16.r3670.linux-201605181610/resources/99-sierrawireless-modem.rules /etc/udev/rules.d
sudo service udev restart
Then, if your device is already plugged through USB, you will need to power cycle it.

By the way, this sounds to be a too old version of the recovery tooling. You should try to install the latest versions of the Legato packages (16.07 at this time), by going through the Package Manager perspective.


#5

Hello @daav,

I have reinstalled the firmware as outlined here and I am still getting the error. That being said I can still run the sample projects with apparently no issue. So 1) do I need to fix this issue, 2) what really is the issue (I do not understand what the error is or means), 3) how do I fix it. Following the onscreen instructions gives me choices that I don’t know how to make. I am new to embedded Linux and as such I am learning my way through all of this.

Thanks
Kas


#6

Hi @klewis,

By reading your blog post, I realize you’re on a VM on top of Windows.
And with this configuration, the swiflash tooling is not working.

Actually, we’re working on having the things better integrated on Windows. An alternative way is to play with “native” Developer Studio for Windows.
You can install it from here: http://source.sierrawireless.com/resources/airprime/software/legato_application_development_kit_windows/

Once installed, you can do apps development with it, without needing a VM.
And going through the recovery wizard (in the Help menu), you will be able to reset the user partition.

The reason why the MangOH tutorials are still using a VM is that we need an easier-to-use process to play with the content of the MangOH Github repositories (on Windows). This is under process, and please be sure we’ll post an updated procedure ASAP.

Thanks.