Experimental packages for Symbian development on Linux



  • "Experimental packages for Symbian development on Linux":http://labs.qt.nokia.com/2010/12/17/experimental-packages-for-symbian-development-on-linux/ for Debian (and Ubuntu) and Gentoo, these packages are completely unsupported by Nokia. They are provided on a “best effort” basis only, and are not guaranteed to work correctly on your system!



  • [quote author="paulo" date="1292605932"]"Experimental packages for Symbian development on Linux":http://labs.qt.nokia.com/2010/12/17/experimental-packages-for-symbian-development-on-linux/ for Debian (and Ubuntu) and Gentoo, these packages are completely unsupported by Nokia. They are provided on a “best effort” basis only, and are not guaranteed to work correctly on your system![/quote]

    Thank you for posting this update.



  • It is really cool. When 4.7.1 will be avail for Symbian^3 it will be really awesome.



  • This is really good! I hope one day it (or something similar) will be official.



  • Cool but not sure why spending so much efforts trying to do the Symbian development on Linux.



  • changsheng230, because linux is good dev system and for linux users it is painful to load virtual machine with windows on it to compile something for symiban.



  • Good news for the one who love Linux and wanna have some fun on symbian dev on Linux. But as for commercial development, requiring many tools which need porting to Linux, such as IDE (creator is bad on symbian development), static analysis tools ( for code basic checking, coverage), integration with code submission tools, test framework tools, image flash tools...



  • I try, but I have problem with runonphone tools. When I start it, it said me:

    bq.
    vassmachine:/home/vass/symbian# runonphone -v -s ./openc_ssl_s60_1_7_SS.sis
    Detecting serial ports
    manufacturer: "Nokia"
    product: "N8-00"
    found the data port bus: 001 device 022 interface 4
    searching for interfaces: ("usb-Nokia_N8-00-if04")
    Possible USB devices found, but without serial drivers:
    Manufacturer: "Nokia" Product: "N8-00"
    Load generic driver using: "sudo modprobe usbserial vendor=0x0421 product=0x0302"
    No phone found, ensure USB cable is connected or specify manually with -p

    I called modrobe obviously, I try set it manually with -p key:

    bq.
    vassmachine:/home/vass/symbian# runonphone -v -s ./openc_ssl_s60_1_7_SS.sis -p /dev/serial/by-id/usb-Nokia_N8-00_352684044254865-if04-port0
    Connecting to target via /dev/serial/by-id/usb-Nokia_N8-00_352684044254865-if04-port0
    LAUNCHER: Actions=0x3 Port=/dev/serial/by-id/usb-Nokia_N8-00_352684044254865-if04-port0 Package/Source=./openc_ssl_s60_1_7_SS.sis Remote Package/Destination=c:\data\testtemp.sis Install file=c:\data\testtemp.sis
    Opening "/dev/serial/by-id/usb-Nokia_N8-00_352684044254865-if04-port0" is open: false serialFrame= true
    Opened "/dev/serial/by-id/usb-Nokia_N8-00_352684044254865-if04-port0" trk::UnixReaderThread(0x9c32090) trk::WriterThread(0x9c31f20)
    State1
    State3

    But nothing happens.

    TRK installed and run on phone.
    Any ideas?



  • [quote author="changsheng230" date="1292858754"]Cool but not sure why spending so much efforts trying to do the Symbian development on Linux.
    [/quote]

    There are lots of skilled Qt developers that work on Linux, but have not tried phone/mobile development. This will give them easy access.

    Also for many, myself included, Linux really is the preferred development platform. Some reasons

    • The linux files systems are much faster, meaning compile+link cycle is faster.
    • Qt Creator + gdb work really well on linux.
    • There are lots of development tools on linux out of the box: git, valgrind, inkscape, gimp to name a few.

    Just my 2 cents.



  • grego, you are right, I don't know too, why do symbian development tools delayed.



  • [quote author="Vass" date="1293325488"]I try, but I have problem with runonphone tools.
    ...
    vassmachine:/home/vass/symbian# runonphone -v -s ./openc_ssl_s60_1_7_SS.sis -p /dev/serial/by-id/usb-Nokia_N8-00_352684044254865-if04-port0

    ...
    Any ideas?
    [/quote]

    With -p pass a /dev/ttyUSB* port, like
    [blockquote]
    $runonphone -s <app>.sis -p /dev/ttyUSB1 <app>.exe
    [/blockquote]
    That works on the N8-00 when I develop from my ubuntu box.



  • Ooops, doesn't work anymore. I take that back.



  • Well, it does work now, consistently. Doesn't work after a hibernate-unhibernate cycle, so I had to reboot.
    Hint: If you do: export QT_RUN_ON_PHONE_OPTIONS="-p /dev/ttyUSB1", you can just say make runonphone after that.



  • Newer kernel employs cdc_acm driver which creates additional devices:

    kernel: [244655.011232] cdc_acm 2-1.2:1.1: ttyACM0: USB ACM device
    kernel: [244655.013264] cdc_acm 2-1.2:1.3: ttyACM1: USB ACM device
    kernel: [244655.014609] usbcore: registered new interface driver cdc_acm
    kernel: [244655.014611] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

    -p /dev/ttyACM1 worked with runonphone


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.