11-19-2015 12:37 AM
It appears that the set of software packages available in "petalinux-v2014.4-final/components/packages-repo/plnx-repo" for a PetaLinux system is very limited, and I haven't found any doco about extending it.
I've been writing an ALSA soundcard device driver module and would like to install PulseAudio and some ALSA and PulseAudio utilities to test it and make use of it. Are there any suggested or prefered ways of doing this? Are there other options? Or should I give up on PetaLinux and figure out how to add my module to another linux flavour like Linaro?
11-22-2015 09:47 AM
Can you check this and see if this helps?
11-22-2015 06:28 PM
Thanks Achutha. Interesting idea. The drawback I guess is that this needs manual dependency management and would have to be done for all the library dependencies. I'm not yet sure that I want to go that way.
11-24-2015 10:28 PM
Thanks John. I've taken a quick look and it superficially looks promising. It appears to support application development, but do you know off the top of your head if it will support the kernel driver module I've been devloping?
11-25-2015 05:03 AM
12-03-2015 09:44 AM
Adding modules is relatively easy. You can do a petalinux-create -t module -n alps --enable and it will set up a directory in which you can create the module. After a petalinux-build, the module will be installed when you boot.
If you're interested in building software directly in Petalinux, have a look at https://zynqing.wordpress.com/2015/10/13/compiling-on-petalinux/ where I describe a C/C++ Clang-based compiler that runs on Petalinux. I've built a few elaborate things this way, but not a kernel. It's fairly slow to build anything big, but sometimes easier than cross-compiling, and it has a gdb debugger you can use.