On Wed, Feb 22, 2017 at 04:33:00PM +0100, Stefan Koch wrote: > 1) So one possibility is to disable CONFIG_MIPS_MT_SMP when the vmmc driver > package is selected. But this conflicts with Default Target approach which > builds images for all xrx200 based devices. > 2) Create a menu entry within menuconfig to enable SMP support which > disables VPE support then. But every image that wants to use SMP needs to be > self builded. > 2) Provide images with and without SMP support for each device that uses VPE > (one kernel with enabed SMP and one with enabled VPE) > 3) Replace all ifdef's with if's that will recognized at run time to archive > a generic kernel > > What do you think about it? > How to solve this issue?
4) Write a proper, platform agnostic driver to connect the SLIC via SPI, PCM, I2C or whatever and add a simple DAHDI driver for it. Then have asterisk do the transcoding (maybe some ASM optimization to make it even take advantage of MIPS DSP instructions) and rely in the kernel scheduler to share the load nicely between the two CPUs. That'd be much cleaner and will even be reusable on other targets like ramips or ar71xx (where we also got devices with SLICs) plus we can support non-Infenion SLIC and escape the (intentional?) vendor-lock of that shady Lantiq implementation. Cheers Daniel _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev