On Thu, Feb 11, 2021 at 7:34 PM Per Jessen email@example.com wrote:
Roger Oberholtzer wrote:
I've only done a bit of Raspberry Pi stuff with openSUSE. I was happily surprised how much I could compile in it. Even if it was sooo slow.
I can highly recommend doing compilations on a system emulated with qemu or cross-compiling. I use qemu, it's dead-easy and a _lot_ faster. There is a how-to in the wiki, somewhere.
I was playing with things like installing things via zypper and keeping the system up-to-date. I think that if I was to use this in a product, the compilation would be as you say. This is how we build all our software. Perhaps not specifically qemu, but directly on our openSUSE build system.
We were trying to see how quickly the device could respond to interrupts on some line. We made a kernel driver. Unfortunately, it could not keep up. We wanted to react to and take action on a ~32kHz pulse. In a kernel driver with no context switch, it seemed that we could detect pules at up to 20 kHz. After that they started to be missed. Then we lost steam on this device...
-- Roger Oberholtzer