Re: [yocto] How is it possible to build a loadable module from spi-altera.c ...?

2021-03-21 Thread jchludzinski via lists.yoctoproject.org
My problem is I have an 1553 chip (an avionic data bus) connected to the HPS master (an ARM processor) via an FPGA (soft) SPI controller. This is where the spi-altera.c comes in. It provides the driver/interface to the soft SPI controller on the Arria 10 SoC. I need an interface now to

[yocto] How is it possible to build a loadable module from spi-altera.c ...?

2021-03-20 Thread jchludzinski via lists.yoctoproject.org
How is it possible to build a loadable module from _spi-altera.c_ when it has no code for creating _udev_ files (i.e., _/dev/spidevXX_); it has no: static int __init spidev_init(void) { int status; printk(KERN_ALERT "DEBUG: Passed %s %d \n", __FUNCTION__, __LINE__); /* Claim our 256