All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: "Kamble, Nitin A" <nitin.a.kamble@intel.com>
Cc: Poky Project <poky@yoctoproject.org>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [poky] GCC 4.6.0 on ARM?
Date: Mon, 16 May 2011 16:46:26 -0600	[thread overview]
Message-ID: <4DD1A942.7060400@mlbassoc.com> (raw)
In-Reply-To: <9DA5872FEF993D41B7173F58FCF6BE94D8A2E4FE@orsmsx504.amr.corp.intel.com>

On 05/16/2011 03:26 PM, Kamble, Nitin A wrote:
> Gary,
>   I tried with qemuarm machine in the yocto tree. And I find the usb devices are working when compiled with gcc 4.6.0

Can you try it on the beagleboard?

Also, it's not that the USB device isn't found, rather no devices connected to
the USB bus are discovered.

> root@qemuarm:~# usb-devices
>
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
> D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=1d6b ProdID=0001 Rev=02.06
> S:  Manufacturer=Linux 2.6.37.6-yocto-standard+ ohci_hcd
> S:  Product=OHCI Host Controller
> S:  SerialNumber=0000:00:0c.0
> C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
>
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=056a ProdID=0000 Rev=42.10
> S:  Manufacturer=QEMU 0.14.0
> S:  Product=Wacom PenPartner
> S:  SerialNumber=1
> C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=80mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=wacom
>
> root@qemuarm:~# dmesg | head
> Linux version 2.6.37.6-yocto-standard+ (nitin@nbuild2.sc.intel.com) (gcc version 4.6.0 (GCC) ) #1 PREEMPT Fri May 13 13:55:35 PDT 2011
> CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00093177
> CPU: VIVT data cache, VIVT instruction cache
> Machine: ARM-Versatile PB
> Memory policy: ECC disabled, Data cache writeback
> On node 0 totalpages: 32768
> free_area_init_node: node 0, pgdat c05640c0, node_mem_map c05c0000
>    Normal zone: 256 pages used for memmap
>    Normal zone: 0 pages reserved
>    Normal zone: 32512 pages, LIFO batch:7
>
>
>
>> -----Original Message-----
>> From: Gary Thomas [mailto:gary@mlbassoc.com]
>> Sent: Wednesday, May 11, 2011 8:40 AM
>> To: Kamble, Nitin A
>> Cc: Khem Raj; Poky Project; Patches and discussions about the oe-core
>> layer
>> Subject: Re: [poky] GCC 4.6.0 on ARM?
>>
>> On 05/11/2011 09:35 AM, Kamble, Nitin A wrote:
>>>> Yes, that's the only change.  Building the kernel from the same
>>>> source repository with 4.5.2 (using patches from you and Khem Raj)
>>>> works perfectly.
>>>>
>>> Hi Gary,
>>>     The yocto-linux kernel had to go through few changes to mute some
>> compiler warnings with gcc 4.6.0. Are you building your own kernel?
>>
>> Yes.  It's roughly based on the Angstrom 2.6.37 with BeagleBoard
>> support (I have additional OMAP boards which are not in the public
>> tree).

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



WARNING: multiple messages have this Message-ID (diff)
From: Gary Thomas <gary@mlbassoc.com>
To: "Kamble, Nitin A" <nitin.a.kamble@intel.com>
Cc: Poky Project <poky@yoctoproject.org>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: GCC 4.6.0 on ARM?
Date: Mon, 16 May 2011 16:46:26 -0600	[thread overview]
Message-ID: <4DD1A942.7060400@mlbassoc.com> (raw)
In-Reply-To: <9DA5872FEF993D41B7173F58FCF6BE94D8A2E4FE@orsmsx504.amr.corp.intel.com>

On 05/16/2011 03:26 PM, Kamble, Nitin A wrote:
> Gary,
>   I tried with qemuarm machine in the yocto tree. And I find the usb devices are working when compiled with gcc 4.6.0

Can you try it on the beagleboard?

Also, it's not that the USB device isn't found, rather no devices connected to
the USB bus are discovered.

> root@qemuarm:~# usb-devices
>
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
> D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=1d6b ProdID=0001 Rev=02.06
> S:  Manufacturer=Linux 2.6.37.6-yocto-standard+ ohci_hcd
> S:  Product=OHCI Host Controller
> S:  SerialNumber=0000:00:0c.0
> C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
>
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=056a ProdID=0000 Rev=42.10
> S:  Manufacturer=QEMU 0.14.0
> S:  Product=Wacom PenPartner
> S:  SerialNumber=1
> C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=80mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=wacom
>
> root@qemuarm:~# dmesg | head
> Linux version 2.6.37.6-yocto-standard+ (nitin@nbuild2.sc.intel.com) (gcc version 4.6.0 (GCC) ) #1 PREEMPT Fri May 13 13:55:35 PDT 2011
> CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00093177
> CPU: VIVT data cache, VIVT instruction cache
> Machine: ARM-Versatile PB
> Memory policy: ECC disabled, Data cache writeback
> On node 0 totalpages: 32768
> free_area_init_node: node 0, pgdat c05640c0, node_mem_map c05c0000
>    Normal zone: 256 pages used for memmap
>    Normal zone: 0 pages reserved
>    Normal zone: 32512 pages, LIFO batch:7
>
>
>
>> -----Original Message-----
>> From: Gary Thomas [mailto:gary@mlbassoc.com]
>> Sent: Wednesday, May 11, 2011 8:40 AM
>> To: Kamble, Nitin A
>> Cc: Khem Raj; Poky Project; Patches and discussions about the oe-core
>> layer
>> Subject: Re: [poky] GCC 4.6.0 on ARM?
>>
>> On 05/11/2011 09:35 AM, Kamble, Nitin A wrote:
>>>> Yes, that's the only change.  Building the kernel from the same
>>>> source repository with 4.5.2 (using patches from you and Khem Raj)
>>>> works perfectly.
>>>>
>>> Hi Gary,
>>>     The yocto-linux kernel had to go through few changes to mute some
>> compiler warnings with gcc 4.6.0. Are you building your own kernel?
>>
>> Yes.  It's roughly based on the Angstrom 2.6.37 with BeagleBoard
>> support (I have additional OMAP boards which are not in the public
>> tree).

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2011-05-16 22:49 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-28 17:09 GCC 4.6.0 on ARM? Gary Thomas
2011-04-28 18:23 ` [poky] " Khem Raj
2011-04-28 18:23   ` Khem Raj
2011-04-30 22:10   ` [poky] " Khem Raj
2011-04-30 22:10     ` Khem Raj
2011-05-02 11:37     ` [poky] " Gary Thomas
2011-05-02 11:37       ` Gary Thomas
     [not found]       ` <4DBE9E61.9030206@gmail.com>
2011-05-02 22:24         ` [poky] " Khem Raj
2011-05-02 22:24           ` Khem Raj
2011-05-02 12:57     ` [poky] " Gary Thomas
2011-05-02 12:57       ` Gary Thomas
2011-05-02 22:57       ` [poky] " Khem Raj
2011-05-02 22:57         ` Khem Raj
2011-05-11  3:28       ` [poky] " Kamble, Nitin A
2011-05-11  3:28         ` Kamble, Nitin A
2011-05-11 11:00         ` [poky] " Gary Thomas
2011-05-11 11:00           ` Gary Thomas
2011-05-11 15:35           ` [poky] " Kamble, Nitin A
2011-05-11 15:35             ` Kamble, Nitin A
2011-05-11 15:39             ` [poky] " Gary Thomas
2011-05-11 15:39               ` Gary Thomas
2011-05-16 21:26               ` Kamble, Nitin A
2011-05-16 22:46                 ` Gary Thomas [this message]
2011-05-16 22:46                   ` Gary Thomas
2011-05-17 16:56                   ` [poky] " Kamble, Nitin A
2011-05-17 16:56                     ` Kamble, Nitin A
2011-05-11 17:03           ` [poky] " Khem Raj
2011-05-11 17:03             ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DD1A942.7060400@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=nitin.a.kamble@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.