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

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

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

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,

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

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

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

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

2022-10-24 Thread Punit Agrawal
Diederik de Haas writes: > On maandag 24 oktober 2022 11:16:42 CEST Punit Agrawal wrote: >> I am probably missing some context but I wanted to point to the armel >> cross compiler in Debian - gcc-arm-linux-gnueabi. Is there some reason >> to build the cross-compiler yourself? > > I don't want to

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

2022-10-24 Thread Diederik de Haas
On maandag 24 oktober 2022 11:16:42 CEST Punit Agrawal wrote: > I am probably missing some context but I wanted to point to the armel > cross compiler in Debian - gcc-arm-linux-gnueabi. Is there some reason > to build the cross-compiler yourself? I don't want to build for armel, but for

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

2022-10-24 Thread Punit Agrawal
Diederik de Haas writes: > Hi, > > Debian provides a kernel for Raspberry Pi Zero (W) and 1, but that targets > the armel architecture. I want to compile a/the Debian kernel that does use > the > HW capabilities of the RPi 0/1, similarly to how raspbian.org recompiles > the Debian packages.

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

2022-10-23 Thread gene heskett
On 10/23/22 16:31, Diederik de Haas wrote: Hi, Debian provides a kernel for Raspberry Pi Zero (W) and 1, but that targets the armel architecture. I want to compile a/the Debian kernel that does use the HW capabilities of the RPi 0/1, similarly to how raspbian.org recompiles the Debian packages.

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

2022-10-23 Thread Diederik de Haas
Hi, Debian provides a kernel for Raspberry Pi Zero (W) and 1, but that targets the armel architecture. I want to compile a/the Debian kernel that does use the HW capabilities of the RPi 0/1, similarly to how raspbian.org recompiles the Debian packages. Except AFAIK the Debian kernel. I know that