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

Ramips Targets Are Not Building After Kernel Version 6.1 #14936

Closed
1 task done
khanjui opened this issue Mar 20, 2024 · 6 comments
Closed
1 task done

Ramips Targets Are Not Building After Kernel Version 6.1 #14936

khanjui opened this issue Mar 20, 2024 · 6 comments
Labels
bug issue report with a confirmed bug Official Image SNAPSHOT Supported Device target/ramips pull request/issue for ramips target

Comments

@khanjui
Copy link

khanjui commented Mar 20, 2024

Describe the bug

See discussion: #14546 (comment)

OpenWrt version

r25519-7ea82bc17d

OpenWrt release

SNAPSHOT

OpenWrt target/subtarget

ramips/mt7621

Device

Xiaomi Mi Router 4A Gigabit Edition

Image kind

Official downloaded image

Steps to reproduce

Latest SNAPSHOT for mt7621 is from 2024-03-12 11:22:23

Actual behaviour

No response

Expected behaviour

Should build after getting fixed.

Additional info

No response

Diffconfig

No response

Terms

  • I am reporting an issue for OpenWrt, not an unsupported fork.
@khanjui khanjui added the bug issue report with a confirmed bug label Mar 20, 2024
@namiltd
Copy link
Contributor

namiltd commented Mar 20, 2024

The problem has already been noticed on the forum: https://forum.openwrt.org/t/ramips-with-kernel-6-1/191893
Only mt7620 compiles correctly, the remaining ones, i.e. mt7621, mt76x8, rt288x, rt305x, rt3883 show compilation errors.

@predators46
Copy link

it's normal if the firmware size is too large

@namiltd
Copy link
Contributor

namiltd commented Mar 20, 2024

Trying to find the cause, I locally compiled routers that show errors (e.g. tplink_tl-wpa8631p-v3 or tplink_re350-v1) and the local build had no errors.
The problem is that for 6.1 only initramfs-kernel is generated and squashfs-factory and squashfs-sysupgrade are missing due to the reason mentioned by predators46
The initramfs-kernel file is approximately 500KB larger. That's a lot.
We should temporarily exclude devices that show errors from compilation and try to optimize the kernel size.

@khanjui khanjui closed this as completed Mar 20, 2024
@namiltd
Copy link
Contributor

namiltd commented Mar 20, 2024

The issue should not be closed yet because only one subtarget mt7621 has been fixed. Mt76x8, rt288x, rt305x and rt3883 still not working.

@khanjui khanjui reopened this Mar 21, 2024
@namiltd
Copy link
Contributor

namiltd commented Mar 22, 2024

I just generated a PR #14959 to enable building with kernel 6.1.

@hauke
Copy link
Member

hauke commented Mar 23, 2024

Fixed in bce7b4f

@hauke hauke closed this as completed Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue report with a confirmed bug Official Image SNAPSHOT Supported Device target/ramips pull request/issue for ramips target
Projects
None yet
Development

No branches or pull requests

4 participants