Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Qt on AM3517EVM
@ 2012-07-16 17:40 Charles Krinke
  2012-07-17  7:32 ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: Charles Krinke @ 2012-07-16 17:40 UTC (permalink / raw)
  To: buildroot

First of all, +100 for Thomas, Arnout and Julian. This morning, I was
able to load the jffs2 compiled file system from buildroot and run
"ts_calibrate" and got a functioning touch screen and color LCD with
Qt on the LogicPD AM3517EVM after *removing* the environment variable
QMAKESPEC which the TI-SDK insisted on adding to my .bashrc.

Of course, no sooner had I gotten it to work then my customer says
"Thats cool, how about Qt5?"

So, ... are we considering either a Qt5 bump or either Qt4/Qt5 with an
xconfig option?

This proves, *again*, that no good deed ever goes unpunished.

-- 
Charles Krinke

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] Qt on AM3517EVM
  2012-07-16 17:40 [Buildroot] Qt on AM3517EVM Charles Krinke
@ 2012-07-17  7:32 ` Thomas Petazzoni
  2012-07-17 13:44   ` Charles Krinke
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2012-07-17  7:32 UTC (permalink / raw)
  To: buildroot

Le Mon, 16 Jul 2012 10:40:23 -0700,
Charles Krinke <charles.krinke@gmail.com> a ?crit :

> First of all, +100 for Thomas, Arnout and Julian. This morning, I was
> able to load the jffs2 compiled file system from buildroot and run
> "ts_calibrate" and got a functioning touch screen and color LCD with
> Qt on the LogicPD AM3517EVM after *removing* the environment variable
> QMAKESPEC which the TI-SDK insisted on adding to my .bashrc.

Great.

> Of course, no sooner had I gotten it to work then my customer says
> "Thats cool, how about Qt5?"
> 
> So, ... are we considering either a Qt5 bump or either Qt4/Qt5 with an
> xconfig option?

I think Qt5 needs a separate package from qt4, because many, many
things have changed in Qt5. Also Qt5 apparently requires an OpenGL
renderer, which wasn't the case in Qt4, so we will probably be keeping
Qt4 around for quite a while for low-end platforms.

Anyone willing to work on packaging Qt5 is definitely more than welcome
to contribute such effort.

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] Qt on AM3517EVM
  2012-07-17  7:32 ` Thomas Petazzoni
@ 2012-07-17 13:44   ` Charles Krinke
  2012-07-19 16:11     ` Julian Lunz
  0 siblings, 1 reply; 7+ messages in thread
From: Charles Krinke @ 2012-07-17 13:44 UTC (permalink / raw)
  To: buildroot

Dear Thomas:

Could you give us (me) a few pointers on the pre-requisite packages
and the path to move along to get Qt5 put together for buildroot?
Maybe with your guidance one of us can get at least partway down that
path.

Charles

On 7/17/12, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:
> Le Mon, 16 Jul 2012 10:40:23 -0700,
> Charles Krinke <charles.krinke@gmail.com> a ?crit :
>
>> First of all, +100 for Thomas, Arnout and Julian. This morning, I was
>> able to load the jffs2 compiled file system from buildroot and run
>> "ts_calibrate" and got a functioning touch screen and color LCD with
>> Qt on the LogicPD AM3517EVM after *removing* the environment variable
>> QMAKESPEC which the TI-SDK insisted on adding to my .bashrc.
>
> Great.
>
>> Of course, no sooner had I gotten it to work then my customer says
>> "Thats cool, how about Qt5?"
>>
>> So, ... are we considering either a Qt5 bump or either Qt4/Qt5 with an
>> xconfig option?
>
> I think Qt5 needs a separate package from qt4, because many, many
> things have changed in Qt5. Also Qt5 apparently requires an OpenGL
> renderer, which wasn't the case in Qt4, so we will probably be keeping
> Qt4 around for quite a while for low-end platforms.
>
> Anyone willing to work on packaging Qt5 is definitely more than welcome
> to contribute such effort.
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
>


-- 
Charles Krinke

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] Qt on AM3517EVM
  2012-07-17 13:44   ` Charles Krinke
@ 2012-07-19 16:11     ` Julian Lunz
  2012-07-19 16:32       ` Charles Krinke
  0 siblings, 1 reply; 7+ messages in thread
From: Julian Lunz @ 2012-07-19 16:11 UTC (permalink / raw)
  To: buildroot

Hi Charles:

Glad to hear that you succeeded in building!

Since you're targeting a TI-chip, have a look at these links:
http://gpupowered.org/node/8
https://github.com/prabindh/qt-configs

For a Qt5 package, I'd wait a bit longer until it reaches final, current
release plan:

Beta : release expected by mid-July 2012
Final: release expected by September 2012

Julian


On Tue, 17 Jul 2012 06:44:49 -0700
Charles Krinke <charles.krinke@gmail.com> wrote:

> Dear Thomas:
> 
> Could you give us (me) a few pointers on the pre-requisite packages
> and the path to move along to get Qt5 put together for buildroot?
> Maybe with your guidance one of us can get at least partway down that
> path.
> 
> Charles
> 
> On 7/17/12, Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> wrote:
> > Le Mon, 16 Jul 2012 10:40:23 -0700,
> > Charles Krinke <charles.krinke@gmail.com> a ?crit :
> >
> >> First of all, +100 for Thomas, Arnout and Julian. This morning, I
> >> was able to load the jffs2 compiled file system from buildroot and
> >> run "ts_calibrate" and got a functioning touch screen and color
> >> LCD with Qt on the LogicPD AM3517EVM after *removing* the
> >> environment variable QMAKESPEC which the TI-SDK insisted on adding
> >> to my .bashrc.
> >
> > Great.
> >
> >> Of course, no sooner had I gotten it to work then my customer says
> >> "Thats cool, how about Qt5?"
> >>
> >> So, ... are we considering either a Qt5 bump or either Qt4/Qt5
> >> with an xconfig option?
> >
> > I think Qt5 needs a separate package from qt4, because many, many
> > things have changed in Qt5. Also Qt5 apparently requires an OpenGL
> > renderer, which wasn't the case in Qt4, so we will probably be
> > keeping Qt4 around for quite a while for low-end platforms.
> >
> > Anyone willing to work on packaging Qt5 is definitely more than
> > welcome to contribute such effort.
> >
> > Thanks!
> >
> > Thomas
> > --
> > Thomas Petazzoni, Free Electrons
> > Kernel, drivers, real-time and embedded Linux
> > development, consulting, training and support.
> > http://free-electrons.com
> >
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] Qt on AM3517EVM
  2012-07-19 16:11     ` Julian Lunz
@ 2012-07-19 16:32       ` Charles Krinke
  2012-07-20  7:04         ` Yegor Yefremov
  2012-07-24 15:54         ` Arnout Vandecappelle
  0 siblings, 2 replies; 7+ messages in thread
From: Charles Krinke @ 2012-07-19 16:32 UTC (permalink / raw)
  To: buildroot

Thanks for the encouragement, Julian. I agree on the Qt5 question,
especially as I have a long list of things that need to be done first.

One thing I have been struggling with the the last day or so is the
console. Maybe you have a suggestion.

TI defines their 3rd serial port as the console and their uImage sets
it as "ttyO2" (that's ohh, not zero). Their uImage displays this as it
starts. I can also see that TI's omap-serial.c driver enumerates as a
console. I can also see that if I poke the THR (transmit holding
register) directly on their 3rd uart, I can emit a character.

But, what doesnt work is respawning the console as ttyO2 in inittab or
$ echo "astring" > /dev/ttyO2

So, something else is not quite right. I can boot to linux as long as
I use single user mode.

Any suggestions or comments (including RTFM, although a URL would
help) would be appreciated.

Charles

On 7/19/12, Julian Lunz <git@jlunz.de> wrote:
> Hi Charles:
>
> Glad to hear that you succeeded in building!
>
> Since you're targeting a TI-chip, have a look at these links:
> http://gpupowered.org/node/8
> https://github.com/prabindh/qt-configs
>
> For a Qt5 package, I'd wait a bit longer until it reaches final, current
> release plan:
>
> Beta : release expected by mid-July 2012
> Final: release expected by September 2012
>
> Julian
>
>
> On Tue, 17 Jul 2012 06:44:49 -0700
> Charles Krinke <charles.krinke@gmail.com> wrote:
>
>> Dear Thomas:
>>
>> Could you give us (me) a few pointers on the pre-requisite packages
>> and the path to move along to get Qt5 put together for buildroot?
>> Maybe with your guidance one of us can get at least partway down that
>> path.
>>
>> Charles
>>
>> On 7/17/12, Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>> wrote:
>> > Le Mon, 16 Jul 2012 10:40:23 -0700,
>> > Charles Krinke <charles.krinke@gmail.com> a ?crit :
>> >
>> >> First of all, +100 for Thomas, Arnout and Julian. This morning, I
>> >> was able to load the jffs2 compiled file system from buildroot and
>> >> run "ts_calibrate" and got a functioning touch screen and color
>> >> LCD with Qt on the LogicPD AM3517EVM after *removing* the
>> >> environment variable QMAKESPEC which the TI-SDK insisted on adding
>> >> to my .bashrc.
>> >
>> > Great.
>> >
>> >> Of course, no sooner had I gotten it to work then my customer says
>> >> "Thats cool, how about Qt5?"
>> >>
>> >> So, ... are we considering either a Qt5 bump or either Qt4/Qt5
>> >> with an xconfig option?
>> >
>> > I think Qt5 needs a separate package from qt4, because many, many
>> > things have changed in Qt5. Also Qt5 apparently requires an OpenGL
>> > renderer, which wasn't the case in Qt4, so we will probably be
>> > keeping Qt4 around for quite a while for low-end platforms.
>> >
>> > Anyone willing to work on packaging Qt5 is definitely more than
>> > welcome to contribute such effort.
>> >
>> > Thanks!
>> >
>> > Thomas
>> > --
>> > Thomas Petazzoni, Free Electrons
>> > Kernel, drivers, real-time and embedded Linux
>> > development, consulting, training and support.
>> > http://free-electrons.com
>> >
>>
>>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>


-- 
Charles Krinke

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] Qt on AM3517EVM
  2012-07-19 16:32       ` Charles Krinke
@ 2012-07-20  7:04         ` Yegor Yefremov
  2012-07-24 15:54         ` Arnout Vandecappelle
  1 sibling, 0 replies; 7+ messages in thread
From: Yegor Yefremov @ 2012-07-20  7:04 UTC (permalink / raw)
  To: buildroot

Hello Charles,

I have an am3517 based board and have no problems with ttyO2 and BR. I have just configured ttyO2 in the system configuration, so that inittab has it there and I can login. Afterwards I can specify a password and the next time I login I also get a password prompt.

What kernel are you using?

Best regards,
Yegor

Am 19.07.2012 18:32, schrieb Charles Krinke:
> Thanks for the encouragement, Julian. I agree on the Qt5 question,
> especially as I have a long list of things that need to be done first.
> 
> One thing I have been struggling with the the last day or so is the
> console. Maybe you have a suggestion.
> 
> TI defines their 3rd serial port as the console and their uImage sets
> it as "ttyO2" (that's ohh, not zero). Their uImage displays this as it
> starts. I can also see that TI's omap-serial.c driver enumerates as a
> console. I can also see that if I poke the THR (transmit holding
> register) directly on their 3rd uart, I can emit a character.
> 
> But, what doesnt work is respawning the console as ttyO2 in inittab or
> $ echo "astring" > /dev/ttyO2
> 
> So, something else is not quite right. I can boot to linux as long as
> I use single user mode.
> 
> Any suggestions or comments (including RTFM, although a URL would
> help) would be appreciated.
> 
> Charles
> 
> On 7/19/12, Julian Lunz <git@jlunz.de> wrote:
>> Hi Charles:
>>
>> Glad to hear that you succeeded in building!
>>
>> Since you're targeting a TI-chip, have a look at these links:
>> http://gpupowered.org/node/8
>> https://github.com/prabindh/qt-configs
>>
>> For a Qt5 package, I'd wait a bit longer until it reaches final, current
>> release plan:
>>
>> Beta : release expected by mid-July 2012
>> Final: release expected by September 2012
>>
>> Julian
>>
>>
>> On Tue, 17 Jul 2012 06:44:49 -0700
>> Charles Krinke <charles.krinke@gmail.com> wrote:
>>
>>> Dear Thomas:
>>>
>>> Could you give us (me) a few pointers on the pre-requisite packages
>>> and the path to move along to get Qt5 put together for buildroot?
>>> Maybe with your guidance one of us can get at least partway down that
>>> path.
>>>
>>> Charles
>>>
>>> On 7/17/12, Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>>> wrote:
>>>> Le Mon, 16 Jul 2012 10:40:23 -0700,
>>>> Charles Krinke <charles.krinke@gmail.com> a ?crit :
>>>>
>>>>> First of all, +100 for Thomas, Arnout and Julian. This morning, I
>>>>> was able to load the jffs2 compiled file system from buildroot and
>>>>> run "ts_calibrate" and got a functioning touch screen and color
>>>>> LCD with Qt on the LogicPD AM3517EVM after *removing* the
>>>>> environment variable QMAKESPEC which the TI-SDK insisted on adding
>>>>> to my .bashrc.
>>>>
>>>> Great.
>>>>
>>>>> Of course, no sooner had I gotten it to work then my customer says
>>>>> "Thats cool, how about Qt5?"
>>>>>
>>>>> So, ... are we considering either a Qt5 bump or either Qt4/Qt5
>>>>> with an xconfig option?
>>>>
>>>> I think Qt5 needs a separate package from qt4, because many, many
>>>> things have changed in Qt5. Also Qt5 apparently requires an OpenGL
>>>> renderer, which wasn't the case in Qt4, so we will probably be
>>>> keeping Qt4 around for quite a while for low-end platforms.
>>>>
>>>> Anyone willing to work on packaging Qt5 is definitely more than
>>>> welcome to contribute such effort.
>>>>
>>>> Thanks!
>>>>
>>>> Thomas
>>>> --
>>>> Thomas Petazzoni, Free Electrons
>>>> Kernel, drivers, real-time and embedded Linux
>>>> development, consulting, training and support.
>>>> http://free-electrons.com
>>>>
>>>
>>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] Qt on AM3517EVM
  2012-07-19 16:32       ` Charles Krinke
  2012-07-20  7:04         ` Yegor Yefremov
@ 2012-07-24 15:54         ` Arnout Vandecappelle
  1 sibling, 0 replies; 7+ messages in thread
From: Arnout Vandecappelle @ 2012-07-24 15:54 UTC (permalink / raw)
  To: buildroot

On 07/19/12 18:32, Charles Krinke wrote:
> But, what doesnt work is respawning the console as ttyO2 in inittab or
> $ echo "astring">  /dev/ttyO2

  You're not, by any chance, using a static /dev ?  ttyO2 is not in
target/generic/device_table_dev.txt I'm afraid...


  Regards,
  Arnout
-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-07-24 15:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-16 17:40 [Buildroot] Qt on AM3517EVM Charles Krinke
2012-07-17  7:32 ` Thomas Petazzoni
2012-07-17 13:44   ` Charles Krinke
2012-07-19 16:11     ` Julian Lunz
2012-07-19 16:32       ` Charles Krinke
2012-07-20  7:04         ` Yegor Yefremov
2012-07-24 15:54         ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox