I’m playing around with openwrt for couple of year's.
Does anyone know is it possible and what steps needs to be taken to compile/run openwrt x64 kernel with modules to ubuntu 22.04 , just like installingone more kernel on ubuntu?
I already copy wmlinuz and modules from latest openwrt release, have created initramfs. Afjust grub.cfg , openwrt kernel starts, mount rootfs, say it start /sbin/init and there stops….not run further systemd scripts.
the point is that openwrt has a lot patches to the kernel which speeds up overall wifi performance, which i need to maintain on my custom ubuntu kernel...
vanilla ubuntu kernel (the same version as openwrt 5.10.161) has so much slower upload an download through my wifi compex 5GH wireless card..
this way i have rootfs with all my installations and configuration/ management of software untouched, and i could have fast and furious openwrt kernel up and running...
is it that simple to just switch kernel from openwrt to ubuntu? or i need to do something during the build of openwrt kernel in menuconfig?
Hi, some of the config parameter for systemd support from above link is not available in openwrt menuconfig...
how i can add them?
Kernel Config Options:
CONFIG_CGROUPS (it is OK to disable all controllers)
CONFIG_UNIX (it requires CONFIG_NET, but every other flag in it is not necessary)
CONFIG_FHANDLE (libudev, mount and bind mount handling)
EDIT: i had wrong modules directory name, after i fix that, ubuntu was up & running:-)