* [Buildroot] at91sam9260 alsa problem
@ 2010-11-01 9:40 Michael Trimarchi
2010-11-01 10:43 ` Michael Trimarchi
0 siblings, 1 reply; 7+ messages in thread
From: Michael Trimarchi @ 2010-11-01 9:40 UTC (permalink / raw)
To: buildroot
Hi all
I have compiled the linux kernel (2.6.29) with EABI option disable so the
expected compiled option is:
-mpcu=apcs-gnu
I have the same compiled option in buildroot and now the amixer and alsamixer
works but aplay and arecord
report this error:
set_params: Channels count non available
Compile the kernel using eabi and oabi compatible give different error.
This is the relevant part of buildroot config
BR2_ARM_TYPE="GENERIC_ARM"
# BR2_ARM_EABI is not set
BR2_ARM_OABI=y
BR2_ARCH="arm"
BR2_ENDIAN="LITTLE"
BR2_GCC_TARGET_ABI="apcs-gnu"
#
# Target options
#
#
# Preset Devices
#
# BR2_TARGET_ARMLTD is not set
BR2_BOARD_NAME="at91sam9260dfc"
BR2_BOARD_PATH="target/device/Atmel/$(BR2_BOARD_NAME)"
and this is the relevant part of the kernel
# CONFIG_AEABI is not set
With other combination I can use playback and record facilites but the mixer
doesn't
work for the size of the parameteres during kernel syscall
Best regards
Michael Trimarchi
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] at91sam9260 alsa problem
2010-11-01 9:40 [Buildroot] at91sam9260 alsa problem Michael Trimarchi
@ 2010-11-01 10:43 ` Michael Trimarchi
2010-11-01 10:55 ` Michael Trimarchi
0 siblings, 1 reply; 7+ messages in thread
From: Michael Trimarchi @ 2010-11-01 10:43 UTC (permalink / raw)
To: buildroot
Hi all
maybe this one is the right configuration of the machine in buildroot
BR2_ARM_OABI=y
BR2_ARCH="arm"
BR2_ENDIAN="LITTLE"
BR2_GCC_TARGET_TUNE="arm9tdmi"
BR2_GCC_TARGET_ARCH="armv4t"
BR2_GCC_TARGET_ABI="apcs-gnu"
I have seen a lot of mailing list and different people report some strange
problem with alsa. I'm using
a 2.6.29.3 kernel revision
Michael
----- Messaggio originale -----
> Da: Michael Trimarchi <trimarchimichael@yahoo.it>
> A: buildroot at busybox.net
> Inviato: Lun 1 novembre 2010, 10:40:30
> Oggetto: [Buildroot] at91sam9260 alsa problem
>
> Hi all
>
> I have compiled the linux kernel (2.6.29) with EABI option disable so the
> expected compiled option is:
>
> -mpcu=apcs-gnu
>
> I have the same compiled option in buildroot and now the amixer and alsamixer
> works but aplay and arecord
>
> report this error:
>
> set_params: Channels count non available
>
> Compile the kernel using eabi and oabi compatible give different error.
>
> This is the relevant part of buildroot config
>
> BR2_ARM_TYPE="GENERIC_ARM"
> # BR2_ARM_EABI is not set
> BR2_ARM_OABI=y
> BR2_ARCH="arm"
> BR2_ENDIAN="LITTLE"
> BR2_GCC_TARGET_ABI="apcs-gnu"
>
> #
> # Target options
> #
>
> #
> # Preset Devices
> #
> # BR2_TARGET_ARMLTD is not set
> BR2_BOARD_NAME="at91sam9260dfc"
> BR2_BOARD_PATH="target/device/Atmel/$(BR2_BOARD_NAME)"
>
> and this is the relevant part of the kernel
>
> # CONFIG_AEABI is not set
>
> With other combination I can use playback and record facilites but the mixer
> doesn't
> work for the size of the parameteres during kernel syscall
>
> Best regards
> Michael Trimarchi
>
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] at91sam9260 alsa problem
2010-11-01 10:43 ` Michael Trimarchi
@ 2010-11-01 10:55 ` Michael Trimarchi
2010-11-01 19:43 ` Michael Trimarchi
0 siblings, 1 reply; 7+ messages in thread
From: Michael Trimarchi @ 2010-11-01 10:55 UTC (permalink / raw)
To: buildroot
Hi
----- Messaggio originale -----
> Da: Michael Trimarchi <trimarchimichael@yahoo.it>
> A: Michael Trimarchi <trimarchimichael@yahoo.it>; buildroot at busybox.net
> Inviato: Lun 1 novembre 2010, 11:43:13
> Oggetto: Re: [Buildroot] at91sam9260 alsa problem
>
>
>
> Hi all
>
> maybe this one is the right configuration of the machine in buildroot
>
> BR2_ARM_OABI=y
> BR2_ARCH="arm"
> BR2_ENDIAN="LITTLE"
> BR2_GCC_TARGET_TUNE="arm9tdmi"
> BR2_GCC_TARGET_ARCH="armv4t"
sorry this is the arm5te
Michael
> BR2_GCC_TARGET_ABI="apcs-gnu"
>
> I have seen a lot of mailing list and different people report some strange
> problem with alsa. I'm using
> a 2.6.29.3 kernel revision
>
> Michael
>
>
> ----- Messaggio originale -----
> > Da: Michael Trimarchi <trimarchimichael@yahoo.it>
> > A: buildroot at busybox.net
> > Inviato: Lun 1 novembre 2010, 10:40:30
> > Oggetto: [Buildroot] at91sam9260 alsa problem
> >
> > Hi all
> >
> > I have compiled the linux kernel (2.6.29) with EABI option disable so the
> > expected compiled option is:
> >
> > -mpcu=apcs-gnu
> >
> > I have the same compiled option in buildroot and now the amixer and
>alsamixer
>
>
> > works but aplay and arecord
> >
> > report this error:
> >
> > set_params: Channels count non available
> >
> > Compile the kernel using eabi and oabi compatible give different error.
> >
> > This is the relevant part of buildroot config
> >
> > BR2_ARM_TYPE="GENERIC_ARM"
> > # BR2_ARM_EABI is not set
> > BR2_ARM_OABI=y
> > BR2_ARCH="arm"
> > BR2_ENDIAN="LITTLE"
> > BR2_GCC_TARGET_ABI="apcs-gnu"
> >
> > #
> > # Target options
> > #
> >
> > #
> > # Preset Devices
> > #
> > # BR2_TARGET_ARMLTD is not set
> > BR2_BOARD_NAME="at91sam9260dfc"
> > BR2_BOARD_PATH="target/device/Atmel/$(BR2_BOARD_NAME)"
> >
> > and this is the relevant part of the kernel
> >
> > # CONFIG_AEABI is not set
> >
> > With other combination I can use playback and record facilites but the
>mixer
>
> > doesn't
> > work for the size of the parameteres during kernel syscall
> >
> > Best regards
> > Michael Trimarchi
> >
> >
> >
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
> >
>
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] at91sam9260 alsa problem
2010-11-01 10:55 ` Michael Trimarchi
@ 2010-11-01 19:43 ` Michael Trimarchi
2010-11-02 14:23 ` Peter Korsgaard
0 siblings, 1 reply; 7+ messages in thread
From: Michael Trimarchi @ 2010-11-01 19:43 UTC (permalink / raw)
To: buildroot
Hi all
I have fixed and tested the gstreamer and alsa on my platform and now all works
perfectly
Thanks
Michael Trimarchi
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] at91sam9260 alsa problem
2010-11-01 19:43 ` Michael Trimarchi
@ 2010-11-02 14:23 ` Peter Korsgaard
2010-11-02 14:43 ` Michael Trimarchi
0 siblings, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2010-11-02 14:23 UTC (permalink / raw)
To: buildroot
>>>>> "Michael" == Michael Trimarchi <trimarchimichael@yahoo.it> writes:
Michael> Hi all
Michael> I have fixed and tested the gstreamer and alsa on my platform
Michael> and now all works perfectly
Great, what was the problem and care to send a patch so I can integrate
it?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] at91sam9260 alsa problem
2010-11-02 14:23 ` Peter Korsgaard
@ 2010-11-02 14:43 ` Michael Trimarchi
2010-11-02 16:34 ` Michael Trimarchi
0 siblings, 1 reply; 7+ messages in thread
From: Michael Trimarchi @ 2010-11-02 14:43 UTC (permalink / raw)
To: buildroot
Hi
----- Messaggio originale -----
> Da: Peter Korsgaard <jacmet@uclibc.org>
> A: Michael Trimarchi <trimarchimichael@yahoo.it>
> Cc: buildroot at busybox.net
> Inviato: Mar 2 novembre 2010, 15:23:28
> Oggetto: Re: at91sam9260 alsa problem
>
> >>>>> "Michael" == Michael Trimarchi <trimarchimichael@yahoo.it> writes:
>
> Michael> Hi all
>
> Michael> I have fixed and tested the gstreamer and alsa on my platform
> Michael> and now all works perfectly
>
> Great, what was the problem and care to send a patch so I can integrate
> it?
The problem in my case was that linux compile the alsa using
armv5te and arm9tdmi option and alsa lib was compiled with different flags. So I
have added the option for generate the arm9tdmi and armv5te combination,
changing the configuration option of the buildroot and add them. I don't know if
the git includes them. BTW another problem but it's just a note for the
developers that use gstreamer and to pay attention to compile buildroot with the
same sanitized header of the kernel of the final kernel version on your device.
For istance I was using the 2.6.29 and the ppoll for arm not was included and
the gstreamer was having problem because the code use them when the buffer
does't have data on it. Hope that was clear. I will send a patch if it is
necessary. I don't understand why all atmel architecture that are compiled with
this tuning don't are compiled with the armv5te and arm9tdmi combination.
Best regards
Michael
>
> --
> Bye, Peter Korsgaard
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] at91sam9260 alsa problem
2010-11-02 14:43 ` Michael Trimarchi
@ 2010-11-02 16:34 ` Michael Trimarchi
0 siblings, 0 replies; 7+ messages in thread
From: Michael Trimarchi @ 2010-11-02 16:34 UTC (permalink / raw)
To: buildroot
----- Messaggio originale -----
> Da: Michael Trimarchi <trimarchimichael@yahoo.it>
> A: Peter Korsgaard <jacmet@uclibc.org>
> Cc: buildroot at busybox.net
> Inviato: Mar 2 novembre 2010, 15:43:40
> Oggetto: Re: [Buildroot] at91sam9260 alsa problem
>
> Hi
>
>
> ----- Messaggio originale -----
> > Da: Peter Korsgaard <jacmet@uclibc.org>
> > A: Michael Trimarchi <trimarchimichael@yahoo.it>
> > Cc: buildroot at busybox.net
> > Inviato: Mar 2 novembre 2010, 15:23:28
> > Oggetto: Re: at91sam9260 alsa problem
> >
> > >>>>> "Michael" == Michael Trimarchi <trimarchimichael@yahoo.it> writes:
> >
> > Michael> Hi all
> >
> > Michael> I have fixed and tested the gstreamer and alsa on my platform
> > Michael> and now all works perfectly
> >
> > Great, what was the problem and care to send a patch so I can integrate
> > it?
>
> The problem in my case was that linux compile the alsa using
> armv5te and arm9tdmi option and alsa lib was compiled with different flags. So
>I
>
> have added the option for generate the arm9tdmi and armv5te combination,
> changing the configuration option of the buildroot and add them. I don't know
>if
>
> the git includes them. BTW another problem but it's just a note for the
> developers that use gstreamer and to pay attention to compile buildroot with
>the
>
> same sanitized header of the kernel of the final kernel version on your
>device.
>
> For istance I was using the 2.6.29 and the ppoll for arm not was included and
> the gstreamer was having problem because the code use them when the buffer
> does't have data on it. Hope that was clear. I will send a patch if it is
> necessary. I don't understand why all atmel architecture that are compiled
>with
>
> this tuning don't are compiled with the armv5te and arm9tdmi combination.
>
> Best regards
> Michael
>
> >
> > --
> > Bye, Peter Korsgaard
> >
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Created-new-target-descriptor-arm9tdmi.patch
Type: application/octet-stream
Size: 1571 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101102/5085338c/attachment.obj>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-11-02 16:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-01 9:40 [Buildroot] at91sam9260 alsa problem Michael Trimarchi
2010-11-01 10:43 ` Michael Trimarchi
2010-11-01 10:55 ` Michael Trimarchi
2010-11-01 19:43 ` Michael Trimarchi
2010-11-02 14:23 ` Peter Korsgaard
2010-11-02 14:43 ` Michael Trimarchi
2010-11-02 16:34 ` Michael Trimarchi
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.