however, all of them are geared towards raspbian. They show necessary editing of /boot/config.txt but there is no such file in the ubuntu images (or using raspi-config which is also unavailable on ubuntu) .
Thanks for the info. Is there per chance a more in depth explanation on how to achieve what i’m looking for? I managed to compile and run the bpi-r2-bsp source (kernel 4.4) on ubuntu 16.04.
i managed to find the dts file (this is from the kernel 4.4 source)
what am i supposed to edit over here? Surely I can’t just take the one linked in the other post, that one is for kernel version 4.14?
Sorry, this is my first time dealing with changing something in the kernel source.
you have a mt7623.dtsi (basic declarations) and then a dts (you’ve found the right for your kernel it’s only different name)
first the node itself must exist in the dtsi, if it isn’t there you can copy declaration from 4.14 for the spi to 4.4…then enable it in dts-file and compile. if there any references (&xx) the corresponding node must also exist (spi0_pins_a inside of &pio in dts)
@frank-w; we bought XPT2046 5" TFT screen and I tried to build your kernel on your GitHub repository, but I could not succeed. We have Banana-Pi R2 for sure.
It says that I should not use administrator account. After the kernel configuration and while the kernel is building, it gives errors. Do you have a precompiled Ubuntu image for Banana-Pi R2 with SPI working?
Moreover, I found out that your kernel includes working SPI configuration. Is that right?
Furthermore, could I use XPT2046 via only SPI (via GPIO)? The screen has HDMI and micro usb inputs. Couldn’t we pass data via usb? Or could we use only SPI (via GPIO)?
I have one more question @frank-w, are you working on building Bananian Linux for Banana R2?
Moreover, I have a question for BPI company, when companies sell computers, they build a good OS for that computer. Won’t you build a stable OS for Banana-Pi R2? I need answers.
As i said before display has to be defined in dts (maybe dto,needs no kernel-rebuild but difficulter to setup). System is a basic system without any special configuration except network. You can install which is available on official debian repo. For Kernel download my repo and activate drivers you need
Try to get it working with modified dts and then i make a dto and add driver-module