Chukun Pan
0ceedec6fa
generic: 6.12: add new config symbols
...
Move the following kernel symbol configs to generic:
COMPRESSED_INSTALL and IMX_SCMI related configs
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn >
Link: https://github.com/openwrt/openwrt/pull/19380
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-07-13 15:27:54 +02:00
Thomas Richard
dd57c070e9
stm32: modules: add missing dependency for stm32-dfsdm-adc
...
Now on Linux 6.12, stm32-dfsdm-adc also depends on
kmod-industrialio-backend.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com >
Link: https://github.com/openwrt/openwrt/pull/18740
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-06-21 14:28:42 +02:00
Thomas Richard
774a22e00e
stm32: modules: add kmod-stm32-dcmipp package
...
Add kernel module package for Digital Camera Memory Interface Pixel
Processor (DCMIPP) support for kernel 6.12.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com >
Link: https://github.com/openwrt/openwrt/pull/18740
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-06-21 14:28:42 +02:00
Thomas Richard
b1e93ee54f
stm32: enable 6.12 testing kernel
...
The stm32 target now supports 6.12 kernel as testing.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com >
Link: https://github.com/openwrt/openwrt/pull/18740
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-06-21 14:28:42 +02:00
Thomas Richard
db05331f38
stm32: 6.12: update kernel 6.12 config
...
Update stm32mp1 kernel config for 6.12.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com >
Link: https://github.com/openwrt/openwrt/pull/18740
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-06-21 14:28:42 +02:00
Thomas Richard
1cdbddae6e
stm32: 6.12: refresh kernel patches
...
Drop upstreamed patches and refresh remaining ones.
Manually rebased:
- 033-ARM-dts-stm32-rtc-add-LSCO-to-WLAN-BT-module-on-stm3.patch
- 035-ARM-dts-stm32-rtc-add-pin-to-provide-LSCO-on-stm32mp.patch
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com >
Link: https://github.com/openwrt/openwrt/pull/18740
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-06-21 14:28:42 +02:00
Thomas Richard
234eadd07e
kernel/stm32: Restore kernel files for v6.6
...
This is an automatically generated commit which aids following Kernel patch
history, as git will see the move and copy as a rename thus defeating the
purpose.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com >
Link: https://github.com/openwrt/openwrt/pull/18740
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-06-21 14:28:42 +02:00
Thomas Richard
9e57133944
kernel/stm32: Create kernel files for v6.12 (from v6.6)
...
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com >
Link: https://github.com/openwrt/openwrt/pull/18740
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-06-21 14:25:44 +02:00
John Audia
83ff9600dc
stm32: add missing config option
...
6.6.92 requires the addition of CONFIG_ARM_SCMI_DEBUG_COUNTERS
Signed-off-by: John Audia <therealgraysky@proton.me >
Link: https://github.com/openwrt/openwrt/pull/18835
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-05-25 17:57:19 +02:00
Thomas Richard
963d320086
stm32: Add kmod-stm32-thermal
...
This adds the Thermal framework support for STM32MP157.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com >
Link: https://github.com/openwrt/openwrt/pull/18119
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-04-19 18:41:29 +02:00
Thomas Richard
7ad335e56e
stm32: sort kernel module packages in alphabetical order
...
In modules.mk, sort packages in alphabetical order.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com >
Link: https://github.com/openwrt/openwrt/pull/18119
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-04-19 18:41:26 +02:00
Thomas Richard
ef38ea7e34
stm32: add missing SUBMENU for kmod-phy-stm32-usbphyc and kmod-stm32-timers
...
Move kmod-phy-stm32-usbphyc in the "USB Support" menu and kmod-stm32-timers
in "Other modules" menu.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com >
Link: https://github.com/openwrt/openwrt/pull/18119
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-04-19 18:41:23 +02:00
Thomas Richard
19d5619479
stm32: add STM32MP157C-DK2 support
...
Add STM32MP157C-DK2 support. This profile also supports the STM32MP157F-DK2
board. The only difference between these two boards is the CPU frequency
(650MHz for 157C and 800MHz for 157F).
A SCMI variant is available. With this variant the reset and clock
resources are provided by OP-TEE and the associated SCMI services.
It is the configuration recommended by STMicroelectronics, with secured
system resources.
The specifications bellow only list supported features.
Specifications
--------------
SOC: STM32MP157C
RAM: 512 MiB
Storage: SD Card
Ethernet: 1x 1 Gbps
Wireless: 2.4GHz Cypress CYW43455 (802.11b/g/n)
LEDs: Heartbeat (Blue)
USB: 4x 2.0 Type-A
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com >
Link: https://github.com/openwrt/openwrt/pull/18119
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-04-19 18:41:19 +02:00
jonathan brophy
f7638eb00a
stm32: add default kernel config option CONFIG_LEDS_CLASS_MULTICOLOR
...
The generic target configuration activates the
CONFIG_LEDS_CLASS_MULTICOLOR option. Do not deactivate it for the stm32
target.
Signed-off-by: jonathan brophy <professor_jonny@hotmail.com >
Link: https://github.com/openwrt/openwrt/pull/17277
[Reword commit message]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-04-01 00:05:32 +02:00
Shiji Yang
4efb4a26d2
stm32: modules: fix stm32-hash package build
...
* Remove misplaced backslash to fix the build warning:
WARNING: can't parse line: FILES:=/drivers/crypto/stm32/stm32-hash.ko
* Add missing dependency package kmod-crypto-engine:
Package kmod-stm32-hash is missing dependencies for the following libraries:
crypto_engine.ko
Signed-off-by: Shiji Yang <yangshiji66@qq.com >
Link: https://github.com/openwrt/openwrt/pull/18241
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-03-15 10:44:30 +01:00
Christian Marangi
ea6f3e49d6
generic: globally enable CONFIG_PCPU_DEV_REFCNT
...
Quoting the kconfig description for CONFIG_PCPU_DEV_REFCNT:
network device refcount are using per cpu variables if this option is
set. This can be forced to N to detect underflows (with a performance
drop).
This was introduced from kernel 5.13 and was wrongly set as disabled.
Some target actually enables it but this should be always enabled unless
refcount needs to be debugged (unlikely for production images)
Enable in generic and drop the entry in every other target.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/18174
Signed-off-by: Robert Marko <robimarko@gmail.com >
2025-03-08 11:33:56 +01:00
Thomas Richard
d981f28f76
stm32: enable CONFIG_SMSC_PHY
...
The STM32MP135F-DK board uses the LAN8742 PHY.
Enable CONFIG_SMSC_PHY to have full PHY support.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com >
Link: https://github.com/openwrt/openwrt/pull/17745
Signed-off-by: Robert Marko <robimarko@gmail.com >
2025-01-27 14:32:43 +01:00
Hauke Mehrtens
ea2c860225
stm32: Remove unnecessary kernel options
...
These options are filtered out since some weeks, remove them also from
the new stm32 target.
Fixes: 851e7f77e4 ("stm32: add new stm32 target")
Link: https://github.com/openwrt/openwrt/pull/17058
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-11-24 22:51:14 +01:00
Thomas Richard
851e7f77e4
stm32: add new stm32 target
...
New stm32 target introduces support for stm32mp1 based devices.
For now it includes an initial support of the STM32MP135F-DK device.
The specifications bellow only list supported features.
Specifications
--------------
SOC: STM32MP135FAF7
RAM: 512 MiB
Storage: SD Card
Ethernet: 2x 100 Mbps
Wireless: 2.4GHz Cypress CYW43455 (802.11b/g/n)
LEDs: Heartbeat (Blue)
Buttons: 1x Reset, 1x User (USER2)
USB: 4x 2.0 Type-A
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com >
Link: https://github.com/openwrt/openwrt/pull/16716
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-11-23 15:53:21 +01:00