06-09-2016, 07:21 AM
(06-08-2016, 02:51 PM)martinayotte Wrote: Unfortunately, both SPI0 and SPI1 are currently disabled, see at line 1838 :
https://github.com/longsleep/build-pine6....dts#L1838
Few weeks ago, I've tried to enable them, but unfortunately, they have some thing wrong in their definitions, since as soon they are enabled, the kernel boots and their some crash in vfe and other stuff and end up with root login in serial debug and I could see that ethernet is not working, even doing "ifconfig" completely hangs.
It must be something like wrong clock or wrong interrupts, and this are for both SPI0 and SPI1.
If at least we could get SPI0, that would be nice.
(I still trying to figure out by comparing longsleep kernel with the one starting to appear in mainline)
Great, thanks for all of your info on this Martin. If there is anything I can do to help let me know. I believe the PI has SPI enabled/working with a debian jessie build, does the mainline kernel build you are looking into have any other details regarding SPI?
I have another Atmel processor board (AT91SAM3U) that I have drivers/libs etc for, but not sure that helps anything.
I will be sure to keep updated on the SPI progress as I will need it for a planned project.