Boot own project on quad wandboard

You have a problem with your Wandboard and want to ask the community for help.

Boot own project on quad wandboard

Postby ttwand » Fri Jun 10, 2016 6:38 am

Hello everybody,
I am newer about wandboard, sorry for this. I have a big problem for me:)

I want to boot my own qt project on the quad wandoard. How can I do this?
I dont want to boot any OS like yocto...
Also I wanto to change something in kernel. I want to see a different picture when wandboard is booting with my project.

Do you have any documentation about this? or Could you help me please?
ttwand
 
Posts: 12
Joined: Fri Jun 10, 2016 6:37 am

Re: Boot own project on quad wandboard

Postby Tapani » Mon Jun 13, 2016 11:10 am

Generally you need an OS to run a Qt application. There is Qt Embedded that can avoid running a GUI before your app, but there must be something running that coordinates mouse and framebuffers etc.

To change the boot logo, you change in u-boot. It is a BMP file in the source code package ... as far as I remember correctly :-)
Tapani
Site Admin
 
Posts: 685
Joined: Tue Aug 27, 2013 8:32 am

Re: Boot own project on quad wandboard

Postby ClayMontgomery » Thu Jun 23, 2016 3:52 pm

A simple way to effectively disable the u-boot splash image is:

setenv splashpos 0,1000
saveenv

Regards, Clay
ClayMontgomery
 
Posts: 54
Joined: Tue Nov 19, 2013 9:14 pm

Re: Boot own project on quad wandboard

Postby ttwand » Mon Jul 11, 2016 6:25 am

Thanks for your replies,

I developed my project on QT. I have a source code.
On wandboard quad, It has 2 sd-card slots (1th for OS, 2nd for App)
I dont want to install any OS, I want to run only my project on the 2nd sd card.

How can I install my own QT project on the sd-card and run on the wandboard?

Thank you so much.
ttwand
 
Posts: 12
Joined: Fri Jun 10, 2016 6:37 am

Re: Boot own project on quad wandboard

Postby Tapani » Tue Jul 12, 2016 5:25 am

I don't understand you.

The board boots from the SD card slot on the module. Without an OS there your board cannot boot.
You can install things in your SD card either using ethernet (scp etc) after booting the board up, or by inserting your SD card to a PC and copying your files there.
Tapani
Site Admin
 
Posts: 685
Joined: Tue Aug 27, 2013 8:32 am

Re: Boot own project on quad wandboard

Postby ttwand » Tue Jul 12, 2016 11:22 am

Tapani wrote:I don't understand you.

The board boots from the SD card slot on the module. Without an OS there your board cannot boot.
You can install things in your SD card either using ethernet (scp etc) after booting the board up, or by inserting your SD card to a PC and copying your files there.



Thanks for your answer.

I have to run OS absolutely for boot any source code which is created with QT?

I have user interface. I made it with QT Creator. When power on the wandboard or beagle bone black, I want to boot only my own user-interface, not OS. But is there a OS (like yocto) on background for boot my own user-interface? I dont want to see desktop, I want to go directly my user-interface.

How can I boot only my user-interface, when power on the wandboard?
In QT Creator, I press the RUN button, it is running and I can control everyting on my user-interface.
ttwand
 
Posts: 12
Joined: Fri Jun 10, 2016 6:37 am

Re: Boot own project on quad wandboard

Postby Rysler » Tue Jul 12, 2016 4:22 pm

Yes, you need an OS.

My suggestion is:

1) Use yocto to develop an image with Linux and QT:
step 1: http://wiki.wandboard.org/Getting_start ... _Wandboard
step 2: http://wiki.wandboard.org/index.php/Bui ... _Wandboard
2) Once you have the image, install it in a sdcard, you shall then place the sdcard on the slot located on the CPU board of the wandboard.
3) If the wandboard boots OK you will see a terminal on the screen, this means you have QT and Linux runing OK
4) If linux and QT are OK then you shall download your application (i.e. on the 2nd sdcard) and then modify the Linux start-up scripts to run your app instead of the terminal.

This is the path I follow to develop my QT apps.

Regards!
Rysler
Rysler
 
Posts: 21
Joined: Mon Jun 29, 2015 11:48 am

Re: Boot own project on quad wandboard

Postby ttwand » Wed Jul 13, 2016 5:13 am

Rysler wrote:Yes, you need an OS.

My suggestion is:

1) Use yocto to develop an image with Linux and QT:
step 1: http://wiki.wandboard.org/Getting_start ... _Wandboard
step 2: http://wiki.wandboard.org/index.php/Bui ... _Wandboard
2) Once you have the image, install it in a sdcard, you shall then place the sdcard on the slot located on the CPU board of the wandboard.
3) If the wandboard boots OK you will see a terminal on the screen, this means you have QT and Linux runing OK
4) If linux and QT are OK then you shall download your application (i.e. on the 2nd sdcard) and then modify the Linux start-up scripts to run your app instead of the terminal.

This is the path I follow to develop my QT apps.

Regards!
Rysler



Thank you Rysler.

I developed my QT project on Linux Mint with QT Creator-GCC 4.8.2
So, I have a project file. I can run this project with QT Creator or click the Project_NameUI.type ---- type is program(application/x-executable)
But I will use yocto on my wandboard for OS. Is this a problem for me?
How can I install/download it on the 2nd sd-card?
I got it, then I will modify the linux startup scripts. Could you give me a documentation or link about modify the start up scripts?
ttwand
 
Posts: 12
Joined: Fri Jun 10, 2016 6:37 am


Return to Getting started

Who is online

Users browsing this forum: No registered users and 3 guests

cron