[poky] GCC 4.6.0 on ARM?

Kamble, Nitin A nitin.a.kamble at intel.com
Mon May 16 14:26:13 PDT 2011


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

Thanks,
Nitin

root at 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 at qemuarm:~# dmesg | head
Linux version 2.6.37.6-yocto-standard+ (nitin at 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 at 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
> ------------------------------------------------------------



More information about the poky mailing list