multiblitz Posted October 16, 2022 Share Posted October 16, 2022 Lets say I wish to creat three kernels with different timer settings like 100Hz/250Hz/1000Hz. The name of the generated SDcatd image is always the same which is not helpful. When I want to use them later as well for a multiboot scenario, so swtchable kernels, I need as well different names, so it is not only to rename the image files. USing Menuconfig, I could normally put a localization extension to it...when I do this, the image creation process fails as the system looking into wrong folder names. So, is there an alrernative path ? Or is this a bug ? 0 Quote Link to comment Share on other sites More sharing options...
usual user Posted October 16, 2022 Share Posted October 16, 2022 3 hours ago, multiblitz said: So, is there an alrernative path ? Maybe this approach can serve as a poorman solution until a real solution is available: Create your kernel packages of the same variant in separate directories. In any case, the directory name must be different from the ${kernelversion} component. Now create a sym link whose name corresponds to the ${kernelversion} component and which points to a kernel package directory. With a single boot stanza in extlinux.conf for the ${kernelversion}, the kernel can now be booted and the kernel can find its associated modules to load. With a simple change of the sym link you can now change the kernel package used. Although you lose the possibility to decide at boot which kernel package is used, this should not play a role in the planned access with ssh anyway. Spoiler lrwxrwxrwx 1 root root 24 Okt 16 18:13 5.19.14-rockchip64 -> 5.19.14-rockchip64-100Hz drwxr-xr-x 2 root root 40 Okt 16 18:12 5.19.14-rockchip64-1000Hz drwxr-xr-x 2 root root 40 Okt 16 18:12 5.19.14-rockchip64-100Hz drwxr-xr-x 2 root root 40 Okt 16 18:12 5.19.14-rockchip64-250Hz ln --symbolic --no-dereference --force 5.19.14-rockchip64-250Hz 5.19.14-rockchip64 lrwxrwxrwx 1 root root 25 Okt 16 18:47 5.19.14-rockchip64 -> 5.19.14-rockchip64-250Hz drwxr-xr-x 2 root root 40 Okt 16 18:12 5.19.14-rockchip64-1000Hz drwxr-xr-x 2 root root 40 Okt 16 18:44 5.19.14-rockchip64-100Hz drwxr-xr-x 2 root root 40 Okt 16 18:47 5.19.14-rockchip64-250Hz 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.