Want to set up Qt5 for developing application in Wandboard
-
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 ? -
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.
-
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 varFollow 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.
-
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 soAfter this I tried the command dmeg | tail but the response is not understanding.
Can you plz help me to resolve this?
-
Can you show what type is it ?
file Wandboard-Ubuntu-image.img -
It is a x86 boot sector
-
Sorry to mention but i too don't know. Try searching the internet for how to mount that image.
-
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.
-
That's fine.
Any replies from their forums ?
Seems Yocto has good documentation on Qt5. -
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.