Page 1 of 1

M4(T4) SPI bus.

Posted: Tue Jan 15, 2019 7:43 pm
by pavelectric
Hello friends.
And who will tell me ...?
How to enable and work with the SPI bus on the M4 board ???
I can not find a single mention of it.
OS - Ubuntu.

Re: M4(T4) SPI bus.

Posted: Thu Jan 17, 2019 6:56 pm
by pavelectric
Good...
We continue to get the truth about our fees with you)
The answer to the technical support for the inclusion of the SPI interface was simple - read http://wiki.friendlyarm.com/wiki/index. ... RK3399#SPI
It says about the Android operating system, and in their opinion, everything is the same in Ubuntu ...
The main question - WHERE !? is the file "rk3399-nanopi4-common.dtsi" or similar to it with the extension ".dts" or ".dtb" ???
Moreover, where is the "Boot" and the core of the system?
Wandering through the files of the operating system from the MANUFACTURER, I constantly stumble upon the file "Debian ... something there."
I have not got to the PCIe bus yet, I feel that there will be trouble in general.
So, the question (maybe to Armbian people or just thinking) - what to do to get access to the SPI interface, which the manufacturer talks about when selling his board ???

Re: M4(T4) SPI bus.

Posted: Fri Jan 18, 2019 8:25 am
by igorp
pavelectric wrote:
Good...
We continue to get the truth about our fees with you)
The answer to the technical support for the inclusion of the SPI interface was simple - read http://wiki.friendlyarm.com/wiki/index. ... RK3399#SPI
It says about the Android operating system, and in their opinion, everything is the same in Ubuntu ...
The main question - WHERE !? is the file "rk3399-nanopi4-common.dtsi" or similar to it with the extension ".dts" or ".dtb" ???
Moreover, where is the "Boot" and the core of the system?
Wandering through the files of the operating system from the MANUFACTURER, I constantly stumble upon the file "Debian ... something there."
I have not got to the PCIe bus yet, I feel that there will be trouble in general.
So, the question (maybe to Armbian people or just thinking) - what to do to get access to the SPI interface, which the manufacturer talks about when selling his board ???


Our method is to create overlays for those functions which is most convenient way of manipulating hw properties. We just added initial support for older Rockchip 3288 while on this one, this is the same ... but somebody has to prepare and test things.

Re: M4(T4) SPI bus.

Posted: Fri Jan 18, 2019 9:50 am
by pavelectric
igorp wrote:
Our method is to create overlays for those functions which is most convenient way of manipulating hw properties. We just added initial support for older Rockchip 3288 while on this one, this is the same ... but somebody has to prepare and test things.


So I will be happy to check and test any technical and software changes.

Re: M4(T4) SPI bus.

Posted: Fri Jan 18, 2019 10:43 am
by ayaromenok
pavelectric wrote:
Moreover, where is the "Boot" and the core of the system?

friendlyCore/Desktop use separate partitions for everything:

Code: Select all

CMDLINE: root=/dev/mmcblk1p7 rw rootfstype=ext4 mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00002000@0x00006000(misc),0x00006000@0x00008000(resource),0x00010000@0x0000e000(kernel),0x00010000@0x0001e000(boot),-@0x00030000(rootfs) consoleblank=0


while armbian use more standard convention and can easy recompile kernel on device and install it with "make install/modules_install"

OT: можно всю ветку писать по-русски:)