On 10/03/2019 19:35, Per Jessen wrote:
Well, at least I have a vcio module that builds now, we'll see it if it also works.
It seems that there is another thread on this mailing list, but I wasn't able to find it. What do you want to achieve?
The code for using the PWM to generate control signals for a line of WS2812Bs also uses /dev/mem to access the Raspi hardware - with the openSUSE kernel, this is blocked by CONFIG_STRICT_DEVMEM. I don't see any kernel argument or switch to disable that restriction. (I tried strict_devmem=0, didn't work).
I'm rebuilding a kernel without CONFIG_STRICT_DEVMEM, but I can't help wondering if we shouldn't have a dedicated kernel optimized for use on the Raspi? Using kernel-default seems silly.
In general you can provide patches against openSUSE kernel configuaration if there is anything you think it should be enabled/disabled. STRICT_DEVMEM is a security feature so IMHO there should be a good reason to disable it. From your email I understand that you want to access PWM via /dev/mem. That looks wrong. The PWMs should be accessed through the sysfs. Can you please give some more background on what you want to do and how you try to achieve that? Regards, Matthias -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org