The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Sailfish/Exopc

From Mer Wiki
< Sailfish(Difference between revisions)
Jump to: navigation, search
(Created page with "= Install Sailfish SDK Emulator = This page has instructions on how to install Sailfish SDK emulator on your ExoPc == Install Steps == * Extract root filesystem from emulator …")
 
 
(32 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Install Sailfish SDK Emulator =
+
Work in progress don't use
 +
 
 +
= Install Sailfish SDK Emulator on ExoPC =
  
 
This page has instructions on how to install Sailfish SDK emulator on your ExoPc
 
This page has instructions on how to install Sailfish SDK emulator on your ExoPc
 +
 +
* http://www.youtube.com/watch?v=UEgdW3KSxkM
  
 
== Install Steps ==
 
== Install Steps ==
  
 
* Extract root filesystem from emulator virtualbox image
 
* Extract root filesystem from emulator virtualbox image
 +
VBoxManage internalcommands converttoraw sailfishos.vdi sailfish.raw
 +
* Copy to flash key
 +
sudo dd if=sailfish.raw of=/dev/sd* bs=4M
 +
sync
 +
* Mount flash key
 +
* Edit /boot/extlinux/extlinux.conf to boot from sdb1 and add rootwait
 +
* Place in Exo and boot, press BBS button on screen and select flash key
 +
* Ctrl/Alt F2 - Login root/nemo here are our steps for your reference. (If Ctrl/Alt F2 doesn't work, try with left ctrl and alt buttons)
 +
* Enable WIFI:
 +
cd /usr/lib/connman/test
 +
./test-connman enable wifi
 +
* Run simple-agent, e.g. the network name(SSID) you want to connect is test123 and password is abcd123
 +
./simple-agent Name=test123 Passphrase=abcd123
 +
* open another terminal:
 +
./test-connman list
 +
* will list the network name and service name like this : test123 {wifi_123456_123456abcd_managed_wpa }
 +
* If test-connman doesn't list anything, you can try
 +
./test-connman scan
 +
* connect to wifi
 +
./test-connman connect wifi_123456_123456abcd_managed_wpa
 +
* edit sshd to allow remote login
 +
* install x86-generic adaptation files from https://build.merproject.org/project/show?project=home%3Avgrade%3Abranches%3Anemo%3Adevel%3Ahw%3Ax86-common
 +
zypper ar http://repo.merproject.org//obs/home:/vgrade:/branches:/nemo:/devel:/hw:/x86-common/latest_i586/home:vgrade:branches:nemo:devel:hw:x86-common.repo
 +
zypper in mesa-x86-generic-9.0.2
 +
zypper in xorg-x11-drv-intel-2.21.3
 +
* remove egl_gallium.so and st.so from /usr/lib/egl
 +
* Edit to /usr/lib/systemd/user/lipstick.service to add Environment=QT_DEFAULT_RUNTIME_SYSTEM=
 +
* Edit to /var/lib/environment/nemo/50-jolla-ui to have following vars
 +
EGL_PLATFORM=x11
 +
EGL_DRIVER=egl_dri2
 +
MCOMPOSITOR_USE_TFP=1
 +
* Set content of /etc/X11/xorg.conf.d/x86-vm.conf to :
 +
Section "Monitor"
 +
Identifier "Default Monitor"
 +
HorizSync 30-100
 +
VertRefresh 20-160
 +
EndSection
 +
Section "Screen"
 +
Identifier "Default Screen"
 +
Monitor "Default Monitor"
 +
DefaultDepth 24
 +
SubSection "Display"
 +
# Viewport 0 0
 +
Depth 24
 +
EndSubsection
 +
EndSection
 +
Section "Device"
 +
Identifier "Videocard0"
 +
Driver "intel"
 +
Option "AccelMethod" "sna"
 +
EndSection
 +
Section "Module"
 +
Load "glx"
 +
Load "dri"
 +
EndSection
 +
Section "DRI"
 +
Mode 0666
 +
EndSection
 +
 +
* Edit /usr/lib/qt4/imports/Sailfish/silica/ApplicationWindow.qml to se width/height 1366/768
 +
//width: _transpose ? screen.height : screen.width
 +
//height: _transpose ? screen.width : screen.height
 +
width: 1366
 +
height: 768
 +
 +
* To make display work in portrait mode execute following command (while logged in as user "nemo")
 +
gconftool-2 --set /desktop/jolla/components/screen_rotation_angle --type int 90

Latest revision as of 21:10, 20 March 2013

Work in progress don't use

[edit] Install Sailfish SDK Emulator on ExoPC

This page has instructions on how to install Sailfish SDK emulator on your ExoPc

[edit] Install Steps

  • Extract root filesystem from emulator virtualbox image
VBoxManage internalcommands converttoraw sailfishos.vdi sailfish.raw
  • Copy to flash key
sudo dd if=sailfish.raw of=/dev/sd* bs=4M
sync
  • Mount flash key
  • Edit /boot/extlinux/extlinux.conf to boot from sdb1 and add rootwait
  • Place in Exo and boot, press BBS button on screen and select flash key
  • Ctrl/Alt F2 - Login root/nemo here are our steps for your reference. (If Ctrl/Alt F2 doesn't work, try with left ctrl and alt buttons)
  • Enable WIFI:
cd /usr/lib/connman/test
./test-connman enable wifi
  • Run simple-agent, e.g. the network name(SSID) you want to connect is test123 and password is abcd123
./simple-agent Name=test123 Passphrase=abcd123
  • open another terminal:
./test-connman list
  • will list the network name and service name like this : test123 {wifi_123456_123456abcd_managed_wpa }
  • If test-connman doesn't list anything, you can try
./test-connman scan 
  • connect to wifi
./test-connman connect wifi_123456_123456abcd_managed_wpa
zypper ar http://repo.merproject.org//obs/home:/vgrade:/branches:/nemo:/devel:/hw:/x86-common/latest_i586/home:vgrade:branches:nemo:devel:hw:x86-common.repo
zypper in mesa-x86-generic-9.0.2
zypper in xorg-x11-drv-intel-2.21.3
  • remove egl_gallium.so and st.so from /usr/lib/egl
  • Edit to /usr/lib/systemd/user/lipstick.service to add Environment=QT_DEFAULT_RUNTIME_SYSTEM=
  • Edit to /var/lib/environment/nemo/50-jolla-ui to have following vars
EGL_PLATFORM=x11
EGL_DRIVER=egl_dri2
MCOMPOSITOR_USE_TFP=1
  • Set content of /etc/X11/xorg.conf.d/x86-vm.conf to :
Section "Monitor"
Identifier "Default Monitor"
HorizSync 30-100
VertRefresh 20-160
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Default Monitor"
DefaultDepth 24 
SubSection "Display"
# Viewport 0 0
Depth 24
EndSubsection
EndSection
Section "Device"
Identifier "Videocard0"
Driver "intel"
Option "AccelMethod" "sna"
EndSection
Section "Module"
Load "glx"
Load "dri"
EndSection
Section "DRI"
Mode 0666
EndSection
  • Edit /usr/lib/qt4/imports/Sailfish/silica/ApplicationWindow.qml to se width/height 1366/768
//width: _transpose ? screen.height : screen.width
//height: _transpose ? screen.width : screen.height
width: 1366
height: 768
  • To make display work in portrait mode execute following command (while logged in as user "nemo")
gconftool-2 --set /desktop/jolla/components/screen_rotation_angle --type int 90
Personal tools