Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Experimental packages for Symbian development on Linux
Forum Updated to NodeBB v4.3 + New Features

Experimental packages for Symbian development on Linux

Scheduled Pinned Locked Moved Mobile and Embedded
14 Posts 9 Posters 8.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    changsheng230
    wrote on last edited by
    #5

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

    Chang Sheng
    常升

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #6

      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.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        changsheng230
        wrote on last edited by
        #7

        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...

        Chang Sheng
        常升

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vsorokin
          wrote on last edited by
          #8

          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?

          --
          Vasiliy

          1 Reply Last reply
          0
          • G Offline
            G Offline
            grego
            wrote on last edited by
            #9

            [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 - http://mpaja.com/

            1 Reply Last reply
            0
            • V Offline
              V Offline
              vsorokin
              wrote on last edited by
              #10

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

              --
              Vasiliy

              1 Reply Last reply
              0
              • R Offline
                R Offline
                roopeshchander
                wrote on last edited by
                #11

                [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.

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  roopeshchander
                  wrote on last edited by
                  #12

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

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    roopeshchander
                    wrote on last edited by
                    #13

                    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.

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mgvali
                      wrote on last edited by
                      #14

                      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

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved