Hello I would like to use SPI but I am not sure how to activate and I’m a novice with linux so sorry for the dumb questions i can ask.
First time with fenix too.
I understand that the steps to follow are:
$ sudo apt-get install git make lsb-release qemu-user-static
$ mkdir ~/project/
$ cd ~/project/
$ git clone --depth 1 https://github.com/khadas/fenix
$ cd fenix
$ source env/setenv.sh
$ make (or make kernel) (or make kernel && make debs && make) WHICH I HAVE TO USE?
"this step is to make the file appear, right?"I mean, when you clone git repo there is not a linux/…/amlogic folder, where the file kvim3_linux.dts is suppose to be.
after (make, make kernel or make debs) finish
I have edit kvim3_linux.dts file to activate SPI, so do i have to disable pwm_ef, enable spicc1, enable pcie_A and disable uart_c? or what i have to do?
I have to make again right? but again which one?
$ make (or make kernel) (or make kernel && make debs && make)
When this step finish, an image (fenix/linux/arch/arm64/boot/Image) and a .dtb file (fenix/linux/arch/arm64/boot/dts/amlogic/kvim3_linux.dtb) are supposed to appear right?
And finally i have to copy and replace the image and .dtb file to my board
$ sudo reboot
and spidev1.0 should appear.
Are these all the steps or is there a step that I forget about my dumb’s guide?
Do i have to do both makes in fenix folder or linux folder? or where?
Thanks in advance.