Tiny Core Base > Raspberry Pi
PWM on piCore
Paul_123:
Tinycore does not use a configfs. If you want to use dtoverlay to add an overlay, you need to specify everything.
I would just setup your config.txt and look at dmesg. The first thing to look at is if the driver is even there. The base system only includes the bare minimum. I think you need pwm-bcm2835 which is not in the base. You would need to get the module from here for your board
http://www.tinycorelinux.net/15.x/armhf/releases/RPi/src/kernel/modules-6.6.47-piCore.tar.xz
Make sure you the module pack matches the kernel version you are running.
boudinec:
Hello Paul
Thanks a lot Paul.
I just extracted pwm-bcm2835.ko from modules-6.6.47-piCore-v7.tar.xz and ran:
--- Code: ---sudo insmod pwm-bcm2835.ko
--- End code ---
I can now use the pwm module.
Do you think that the ko file can be included in the base for next release? It is a builtin peripheral on raspberry PI like spi and i2c.
Bests
Cedric
Paul_123:
It’s not commonly used, but it’s always available. You can easily make an extension for it.
boudinec:
Ok thanks
Bests
Rich:
Hi boudinec
--- Quote from: Paul_123 on January 13, 2025, 06:43:53 AM --- ... You can easily make an extension for it.
--- End quote ---
Here is an example of how to make an extension:
https://forum.tinycorelinux.net/index.php/topic,26064.msg167212.html#msg167212
Navigation
[0] Message Index
[*] Previous page
Go to full version