Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6.12 ramips2 #58

Draft
wants to merge 11 commits into
base: 6.12-draft2
Choose a base branch
from
Draft

6.12 ramips2 #58

wants to merge 11 commits into from

Conversation

namiltd
Copy link
Owner

@namiltd namiltd commented Jan 3, 2025

Thanks for your contribution to OpenWrt!

To help keep the codebase consistent and readable,
and to help people review your contribution,
we ask you to follow the rules you find in the wiki at this link
https://openwrt.org/submitting-patches

Please remove this message before posting the pull request.

@namiltd namiltd force-pushed the 6.12-draft2 branch 2 times, most recently from 98bd254 to bc37941 Compare January 4, 2025 00:46
@namiltd namiltd force-pushed the 6.12-draft2 branch 2 times, most recently from 9d832a1 to 972197c Compare January 5, 2025 11:41
This is an automatically generated commit.

When doing `git bisect`, consider `git bisect --skip`.

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
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: Mieczyslaw Nalewaj <[email protected]>
Remove obsolete patches already included in kernel 6.12.

Removed (already included):
 - 805-01-v6.9-pinctrl-Add-driver-for-Awinic-AW9523-B-I2C-GPIO-Expa.patch
 - 805-02-v6.9-pinctrl-aw9523-Add-proper-terminator.patch
 - 805-03-v6.10-pinctrl-aw9523-Destroy-mutex-on-remove.patch
 - 805-04-v6.10-pinctrl-aw9523-Use-correct-error-code-for-not-suppor.patch
 - 805-05-v6.10-pinctrl-aw9523-Always-try-both-ports-in-aw9523_gpio_.patch
 - 805-06-v6.10-pinctrl-aw9523-Make-use-of-struct-pinfunction-and-PI.patch
 - 805-07-v6.10-pinctrl-aw9523-Use-temporary-variable-for-HW-IRQ-num.patch
 - 805-08-v6.10-pinctrl-aw9523-Get-rid-of-redundant-U8_MAX-pieces.patch
 - 805-09-v6.10-pinctrl-aw9523-Remove-unused-irqchip-field-in-struct.patch
 - 805-10-v6.10-pinctrl-aw9523-Make-use-of-dev_err_probe.patch
 - 805-11-v6.10-pinctrl-aw9523-Sort-headers-and-group-pinctrl.patch
 - 805-12-v6.10-pinctrl-aw9523-Fix-indentation-in-a-few-places.patch

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Manually rebuilding patches:
 - 001-v6.13-clocksource-drivers-ralink-Add-Ralink-System-Tick-Co.patch
 - 311-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch
 - 314-MIPS-add-bootargs-override-property.patch
 - 405-mtd-spi-nor-Add-support-for-BoHong-bh25q128as.patch
 - 810-uvc-add-iPassion-iP2970-support.patch
 - 821-SPI-ralink-add-Ralink-SoC-spi-driver.patch
 - 825-i2c-MIPS-adds-ralink-I2C-driver.patch
 - 845-pwm-add-mediatek-support.patch
 - 860-ramips-add-eip93-driver.patch

All other patches automatically rebased.

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Fixes error: no previous prototype for 'pcibios_init'

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Update target ramips config for kernel 6.12.

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
The ramips now supports 6.12 kernel as testing.

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
…Linux 6.12

For Linux 6.12, an additional header file <linux/of_platform.h> must be loaded.
So this was added to esw_3050.c.
Tested on kernel 6.12.1 and 6.6.63.

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Temporary patch for kernel 6.12 (version 2)
additionally fixed allocation check and missing memory deallocation.

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
namiltd and others added 2 commits January 5, 2025 13:11
Temporary patch for kernel 6.12

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Update handling of macro __assign_str() to also support the one-argument
variant when building against kernel 6.10 or later. This is needed for
building the next LTS kernel 6.12.

Fixes: 384d079 ("mac80211: update to version 6.11")
Signed-off-by: Tony Ambardar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants