Linux Kernel Setup

So reading a quick article, it seems the kernel for this Linux base is optimized for the x86 . Has there been a culling to the kernel modules to trim it down?
Tony

Yes. You can see the kernel config here: https://github.com/clearlinux-pkgs/linux/blob/master/config

1 Like

Ugh CONFIG_SERIAL_8250_NR_UARTS is fixed at 4 , that’s inconvenient

Can you suggest this on GitHub with some background? If it is widely applicable and doesnt have a negative impact, it may get included in the native kernel config.

Ubuntu has this value set to 32. It wouldn’t be an issue , I suppose if I was able to pass in a kernel parameter to override this. I tried to adjust the Clear-linux-native-5xxxxxxx.conf file with 8250.nr_uarts=16 , but I may have done that incorrectly.

Also, I am not fully up on github yet , so i don’t know where I would make this suggestion.

I can see this not being a big deal in the container/server realm, but in the embedded realm, where my targets reside, having a lot of serial ports is generally useful.

Thanks for chatting at me.

Instead put it in .e.g. /etc/kernel/cmdline.d/uart.conf and re-run sudo clr-boot-manager update afterwards.