Werner changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Announcements: #armbian-announcements | Developer talk: #armbian-devel | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
kingdomofheaven has quit [Ping timeout: 252 seconds]
Dagger has quit [Ping timeout: 265 seconds]
Dagger has joined #armbian
archetech has quit [Quit: Leaving]
aandrew has joined #armbian
<aandrew>
hello. I've got a banana pi m2 zero running Armbian 23.05; it's working, but I'm trying to get SPI working with the chip select on a non-standard pin (PA20, pin 40 on the 40-pin expansion connector)
<aandrew>
I've modified the "cs1" device tree fragment to do so, but it doesn't appear to be doing the right thing.
<aandrew>
using sunxi-pio -m PA20 I can see that after boot it's set up for pinmux 7 which is marked as "reserved"
<aandrew>
and the SPI transfers don't appear to be working because the device isn't getting selected
<aandrew>
if I use sunxi-pio -m 'PA20<1><0><0><0>' to set PA20 to an output and drive it low, then spi-pipe to do the transfer, then setting the pin back high it is working fine
<aandrew>
so I know the hardware's connected up correctly, but I'm confused as to how to correctly set up an alternative CS1 pin
<aandrew>
I just deleted the fragments for SPI1 and edited the cs-gpios line from cs-gpios = <0x00 0xffffffff 0x00 0x15 0x00>; to cs-gpios = <0x00 0xffffffff 0x00 0x14 0x00>; which should be moving the CS1 for SPI0 from PA21 to PA20
<aandrew>
my armbianEnv.txt loads the compiled user overlay and selects CS1:
<aandrew>
user_overlays=spi0-cs1-pa20
<aandrew>
param_spidev_spi_bus=0
<aandrew>
param_spidev_spi_cs=1
sams has quit [Quit: priatno.]
sams has joined #armbian
danilogondolfo has joined #armbian
Dex_2x has joined #armbian
Dex_2x has quit [Ping timeout: 256 seconds]
Dex_2x has joined #armbian
Dex_2x61 has joined #armbian
Dex_2x has quit [Ping timeout: 256 seconds]
lyri has quit [Remote host closed the connection]
Dex_2x has joined #armbian
Dex_2x61 has quit [Ping timeout: 256 seconds]
kingdomofheaven has joined #armbian
Perflosopher has quit [Read error: Connection reset by peer]
wd has quit [Read error: Connection reset by peer]
jasmint has quit [Ping timeout: 276 seconds]
wootehfoot has joined #armbian
<DC-IRC>
[Discord] <sqilson> Hello, I am looking to use Armbian for a robotics project, which will require real-time kernel. Is it possible to configure this functionality with the Armbian build system kernel configurations? If someone could point me in the right direction, that would be much appreciated. Thanks
<DC-IRC>
[Discord] <c0rnelius77> Didn't RT recently get merged into the Kernel? Like officially.
coldfeet has joined #armbian
morriset has joined #armbian
<DC-IRC>
[Discord] <c0rnelius77> yea its in 6.12.y `( ) Fully Preemptible Kernel (Real-Time`
<DC-IRC>
[Discord] <lands39> how do i flash the generic image to an sd card?
<DC-IRC>
[Discord] <lands39> its a qcow2 image, i'm not using qemu though
* Herc
uses the rpi-imager, dd works too
<DC-IRC>
[Discord] <lands39> that didn't work so i used the image made for the device which did work
<DC-IRC>
[Discord] <lands39> then used dd to copy the image to emmc and we're good
<DC-IRC>
[Discord] <lands39> does this bridge bot forward images?
<archetech>
c0rnelius77 feel like makin a rock5 image
morriset has quit [Read error: Connection reset by peer]
morriset has joined #armbian
alekksander has quit [Remote host closed the connection]
wootehfoot has quit [Read error: Connection reset by peer]
<DC-IRC>
[Discord] <sqilson> I heard that as well. But on the other hand, the chip I am using (RK3588S) is not fully supported in mainline linux. Has anyone tried this?
<DC-IRC>
[Discord] <sqilson> I heard that as well. But on the other hand, the chip I am using (RK3588S) is not fully supported in mainline linux, so there may be conflicts. Has anyone tried this with a real-time kernel?