Upgrading the Sailfish OS SDK

During the upgrade of the Sailfish OS SDK to the ver. 1404 on Windows 7, I had to deal with some minor issues. Some troubleshooting notes follows.

Virtualbox NOT discovered

Looks like the latest 4.3.X releases are not correctly discovered by the SDK installer which keeps complaining about Virtualbox not being found even if it correctly installed on the system. This problem is solved downgrading to the 4.2.24 version.

Emulator VM does not boot to UI

The emulator virtual machine lead boots to a black screen if virtualization capabilities are disabled in BIOS. This is a known issues. Do not get confused by kernel warnings displayed on the VM screen:

 [0.000000] tsc: Fast TSC calibration failed
 [8.884085] piix4_smbus 0000:00:07.0: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr

Reboot into BIOS settings look for a Virtualization section

BIOS virtualization page setup

and enable all the related capabilities.

SSH key location

On Windows SSH keys to access the emulator are under

<INSTALL_DIR>\vmshare\ssh\private_keys\SailfishOS_Emulator\root

using cygwin:

ssh -p 2223 -i /cygdrive/c/SailfishOS/vmshare/ssh/private_keys/SailfishOS_Emulator/root  root@localhost

And…

… Happy Sailfish OS development!