Thanks for the response.

I was able to eventually get the drivers build, but ran into other issues,
that made me have to find yet another solution.

For the sake of the future, here are the steps I had to do that I remember:
1. Abstract the LD,AS,CC, etc for build.sh.  (starting from build_arm.sh)
2. modify srcconf.c to hardcode the path to the compilers
3. modify make.defs to hardcode CC, LD, AS, and CPP to the actual arm
compilers.
4. link bpabi.o to osscore.ko (avoids unresolved symbols), similar to how
it's linked to the other modules, in build.sh
5. force the correct kerneldir, cross_compile, and arch flags in build.sh
6. copy more of the includes into tmp_build
(kernel/framework/include/ossddk/*.h) in build.sh
7. run configure with -config-vmix=NO --no-regparm --enable-libsalsa=NO
--only-drv=oss_usb

Again, that's just from memory and notes.

For what it's worth, I'm trying to get the arm processor to read and write
to a USB audio device (headset). The writes are causing the system to go
into a deadlock state. The same issue happened with both OSS4 and Alsa on a
2.6 kernel.

Anthony

On Thu, Dec 16, 2010 at 11:55 AM, Hannu Savolainen <ha...@opensound.com>wrote:

> Hi,
>
> I have compiled OSS for Maemo (ARM Linux variant by Nokia) couple of
> years ago. I think if you compile OSS under the scratchbox environment
> for Maemo then it should build properly. However I don't remember the
> exact details any more.
>
> Best regards,
>
> Hannu
> ---
> 9.12.2010 18.22, Anthony Stevens wrote:
> > Has anyone managed to get oss4 to cross compile for an ARM processor? I
> > would love to have some pointers.
> >
> > I saw some mention of it in the srcconf.c (mention of a
> crosscompile.conf).
> > Is anyone using this?
> >
> > The main problem I'm running into is that some of the programs that need
> to
> > be run during build are getting built for arm, and thus not able to run
> on
> > the build machine.
> >
> > My main focus right now is to get the kernel modules working, so I can
> > decide if the newer oss4 will fix a problem I have with the alsa drivers.
> > Specifically the usb drivers.
> >
> > Thanks,
> > Anthony
> >
> >
> >
> >
> > _______________________________________________
> > oss-devel mailing list
> > oss-devel@mailman.opensound.com
> > http://mailman.opensound.com/mailman/listinfo/oss-devel
>
> _______________________________________________
> oss-devel mailing list
> oss-devel@mailman.opensound.com
> http://mailman.opensound.com/mailman/listinfo/oss-devel
>
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to