]> git.ipfire.org Git - thirdparty/openwrt.git/commit
gemini: create a copy-kernel for 3072k kernels
authorLinus Walleij <linusw@kernel.org>
Sat, 24 Jan 2026 17:13:24 +0000 (18:13 +0100)
committerLinus Walleij <linusw@kernel.org>
Sun, 25 Jan 2026 18:08:01 +0000 (19:08 +0100)
commit691aa70e1693542eee795df4bed2b46f6af26e63
treeda110caaa10e9e0502ab31ac6a08d4a3a5a29604
parent428bcee2f86702d5e9a35c88447b47764c59291e
gemini: create a copy-kernel for 3072k kernels

The Raidsonic devices do not use a 2048k kernel "Kern"
partition like the Storlink reference designs. Instead
it uses a 3072k partition to fit a slightly
larger kernel.

Sadly the current OpenWrt Gemini kernel is still bigger
than 3072k so we need to make use of the Ramdisk
partition as well.

Create a special "copy-kernel" version that can deal
with the Raidsonic 3072k kernels. Tested on the
Raidsonic IB-4220-B booting kernel v6.12.66.

Fix a copy/paste error in the image generation makefile
while we are at it.

Link: https://github.com/openwrt/openwrt/pull/21686
Signed-off-by: Linus Walleij <linusw@kernel.org>
target/linux/gemini/image/Makefile
target/linux/gemini/image/copy-kernel/Makefile
target/linux/gemini/image/copy-kernel/copy-kernel-2048k.S [moved from target/linux/gemini/image/copy-kernel/copy-kernel.S with 100% similarity]
target/linux/gemini/image/copy-kernel/copy-kernel-3072k.S [new file with mode: 0644]