Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. India
  4. Want to set up Qt5 for developing application in Wandboard
Qt 6.12 LTS is out! See what's new in the release blog

Want to set up Qt5 for developing application in Wandboard

Scheduled Pinned Locked Moved India
59 Posts 2 Posters 72.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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #49

    Hi,

    I have ported the Ubuntu image for wandboard in to the SD card using Win32imagewriter.
    I have observed the file type of "libGLESv2.so.2.0.0" & it gives ARM compatible.
    I have copied both "gl2.h" & "libGLESv2.so.2.0.0" file at my pc Desktop. Now tell me what to do next to configure the file?

    Can i replace these files with the Intel compatible files located at toolchain?

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #50

      bq. I have ported the Ubuntu image for wandboard in to the SD card using Win32imagewriter.

      Did you flashed it back on to SD card ? You must not.
      You have to create image file from OS on the SD card.
      So do you have the image file ?

      157

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #51

        Actually I have downloaded ubuntu image file from "http://www.wandboard.org/index.php/downloads".
        Then i format my SD card & port that image file into SD card using card reader & "Win32DiskImager-0.9.5-install" tool.
        Then I read the SD card using card reader & search the files “gl2.h” & “libGLESv2.so.2.0.0” in the sd card.

        I got these files in SD card, then I copied that files to my desktop.

        1 Reply Last reply
        0
        • p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #52

          bq. Then i format my SD card & port that image file into SD card using card reader & “Win32DiskImager-0.9.5-install” tool.

          Good that you flashed it. But we need the image file which you have downloaded from the said site.

          Ok, Now you need to mount that image on your host system.
          For that go to the ICS link that i posted earlier as refer from,

          bq. You will need the offset for the Linux image to mount it. If it's not otherwise provided with the download, you can determine it using losetup. There are 512 bytes per sector, so in the example below the offset is 122880 * 512 = 62914560.
          $ sudo /sbin/losetup /dev/loop0 raspberry-working-image.img
          $ sudo /sbin/fdisk -l /dev/loop0
          ...
          Device Boot Start End Blocks Id System
          /dev/loop0p1 8192 122879 57344 c W95 FAT32
          /dev/loop0p2 122880 3788799 1832960 83 Linux
          ...
          $ sudo /sbin/losetup -d /dev/loop0
          Now create a mount point and mount the image:
          $ sudo mkdir /mnt/raspberry-rootfs
          $ sudo mount -o loop,offset=62914560
          raspberry-working-image.img /mnt/raspberry-rootfs
          $ ls /mnt/raspberry-rootfs
          bin dev home lost+found mnt proc run selinux sys usr
          boot etc lib media opt root sbin srv tmp var

          Follow above as per your requirements.

          bq. I got these files in SD card, then I copied that files to my desktop.

          No use of copying those files on your host system as it will possibly require the whole environment which you are going to create now by mounting the image file as explained in above steps.

          157

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #53

            Hi,

            As per the previous discussion, i haved tried that command sequence but I am getting stuck at below command.
            *sudo mount -o loop,offset=62914560 \

            Wandboard-Ubuntu-image.img /mnt/wandboard-rootfs/*

            It gives error as mount: you must specify the filesystem type.

            After searching on net i pass filesystem type in command as
            *sudo mount -o loop,offset=62914560 \

            Wandboard-Ubuntu-image.img /mnt/wandboard-rootfs/ -t ext3*
            then the response is
            mount: wrong fs type, bad option, bad superblock on /dev/loop0,
            missing codepage or helper program, or other error
            In some cases useful info is found in syslog - try
            dmesg | tail or so

            After this I tried the command dmeg | tail but the response is not understanding.

            Can you plz help me to resolve this?

            1 Reply Last reply
            0
            • p3c0P Offline
              p3c0P Offline
              p3c0
              Moderators
              wrote on last edited by
              #54

              Can you show what type is it ?
              file Wandboard-Ubuntu-image.img

              157

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #55

                It is a x86 boot sector

                1 Reply Last reply
                0
                • p3c0P Offline
                  p3c0P Offline
                  p3c0
                  Moderators
                  wrote on last edited by
                  #56

                  Sorry to mention but i too don't know. Try searching the internet for how to mount that image.

                  157

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #57

                    Hi,

                    We have decided to move on Yocto instead of Ubuntu.
                    So I am now staring on Yocto. while building Qt using yocto on wandboard I require your help.

                    Hope you will support me at that time.

                    Thanks for your outstanding support till now.

                    1 Reply Last reply
                    0
                    • p3c0P Offline
                      p3c0P Offline
                      p3c0
                      Moderators
                      wrote on last edited by
                      #58

                      That's fine.
                      Any replies from their forums ?
                      Seems Yocto has good documentation on Qt5.

                      157

                      1 Reply Last reply
                      0
                      • ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #59

                        What ever they shared with me regarding the query is related to yocto Only.
                        With there reply it seems like we also have to move to yocto if we want to finish it with in a time span.

                        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
                        • Unsolved