how to enable spi?

2022-10-25 Thread Sebastian Kuzminsky
I'm using the 2022-08-08 bookworm rpi4 image from , it's got linux-image-arm64 5.18.14-1 and raspi-firmware 1.20220331+ds-2. It's working great, except I can't use the SPI devices. SPI works on same hardware when running Raspbian's Buster image, after

Re: Building (Debian) kernel optimized for RPi Zero (W) and 1

2022-10-25 Thread Diederik de Haas
On Tuesday, 25 October 2022 14:34:12 CEST Diederik de Haas wrote: > > and entirely based on the kernel patches that are added on top of mainline > > as well as the configuration. The patch set may be more substantial then I initially thought. In 2015 I asked plugwash the general procedure to make

Re: Building (Debian) kernel optimized for RPi Zero (W) and 1

2022-10-25 Thread Diederik de Haas
On Tuesday, 25 October 2022 12:01:01 CEST Arnd Bergmann wrote: > > I have a Zero W running Debian's armel kernel and I find that device to be > > annoyingly slow. > > I also have a RPi 1 running raspbian.org's 4.9 kernel, which is a special > > kernel build by plugwash and compiled like the rest of

Re: Building (Debian) kernel optimized for RPi Zero (W) and 1

2022-10-25 Thread Diederik de Haas
On Tuesday, 25 October 2022 11:33:40 CEST Arnd Bergmann wrote: > > IIUC, for the kernel, either compiler should be fine. The > > documentation[0] for compiling the RPi Zero kernel seems to bear this > > out - it even uses the "CROSS_COMPILE=arm-linux-gnueabihf-". If you've > > got access to the har

Re: Building (Debian) kernel optimized for RPi Zero (W) and 1

2022-10-25 Thread Arnd Bergmann
On Tue, Oct 25, 2022, at 11:15, Diederik de Haas wrote: > On Tuesday, 25 October 2022 10:02:09 CEST Andrew M.A. Cater wrote: >> Debian armel runs fine without recompilation at a slight penalty. > > It is exactly this 'slight penalty' that I want to verify. > > I have a Zero W running Debian's armel

Re: Building (Debian) kernel optimized for RPi Zero (W) and 1

2022-10-25 Thread Arnd Bergmann
On Tue, Oct 25, 2022, at 00:03, Punit Agrawal wrote: > Diederik de Haas writes: > >> But it can be that I'm looking at this problem all wrong and/or have some >> tunnel vision towards building a cross compiler. >> That is an important reason for making this ML thread. > > IIUC, for the kernel, ei

Re: Building (Debian) kernel optimized for RPi Zero (W) and 1

2022-10-25 Thread Diederik de Haas
On Tuesday, 25 October 2022 10:02:09 CEST Andrew M.A. Cater wrote: > Debian armel runs fine without recompilation at a slight penalty. It is exactly this 'slight penalty' that I want to verify. I have a Zero W running Debian's armel kernel and I find that device to be annoyingly slow. I also hav

Re: Building (Debian) kernel optimized for RPi Zero (W) and 1

2022-10-25 Thread Andrew M.A. Cater
On Tue, Oct 25, 2022 at 09:12:06AM +0200, Marcin Juszkiewicz wrote: > W dniu 25.10.2022 o 00:03, Punit Agrawal pisze: > > > IIUC, for the kernel, either compiler should be fine. The > > documentation[0] for compiling the RPi Zero kernel seems to bear this > > out - it even uses the "CROSS_COMPILE=

Re: Building (Debian) kernel optimized for RPi Zero (W) and 1

2022-10-25 Thread Marcin Juszkiewicz
W dniu 25.10.2022 o 00:03, Punit Agrawal pisze: IIUC, for the kernel, either compiler should be fine. The documentation[0] for compiling the RPi Zero kernel seems to bear this out - it even uses the "CROSS_COMPILE=arm-linux-gnueabihf-". If you've got access to the hardware it should be easy to t