Only 4 x ttys serial ports of the 9 installed vissable in /dev -- solved --

Hi all,

I have a Jetway main board with 1 serial port and 2 PCIe extension cards with each 4 serial ports.
Dietpi is first time fresh installed on this system. I have some experience with DIetpi on Odroid systems. On the Odroid system are ttys0 to ttys7 available but no 8 pieces of hardware serial are installed. There are no settings in the bios related to the serial ports

Why is this and is there a option to get the remaining ports to work?

–Edit–

In the file /boot/System.map-5.10.0-21-amd64 i found:
CONFIG_SERIAL_8250_NR_UARTS=32
CONFIG_SERIAL_8250_RUNTIME_UARTS=4

I changed the value 4 into 9 (despite the warning below) and saved the file. The change survived a reboot but no change of the /dev/ttys. Are i am on the correct way?

On several places it is mentioned that pre kernal setup commands has to be done in /boot/config.txt but this one is not available on my setup. Will it work when i create this file?

Note
Automatically generated file; DO NOT EDIT.
Linux/x86 5.10.162 Kernel Configuration

–End Edit–

Thanks in advance,
Marco

ls -l on Jetway system
crw-rw---- 1 root dialout 4, 64 Mar 16 18:46 ttyS0
crw-rw---- 1 root dialout 4, 65 Mar 16 18:46 ttyS1
crw-rw---- 1 root dialout 4, 66 Mar 16 18:46 ttyS2
crw-rw---- 1 root dialout 4, 67 Mar 16 18:46 ttyS3

ls -l on Odroid system
crw-rw---- 1 root dialout 4, 64 Mar 16 18:27 ttyS0
crw-rw---- 1 root dialout 4, 65 Mar 16 18:27 ttyS1
crw-rw---- 1 root dialout 4, 66 Mar 16 18:27 ttyS2
crw-rw---- 1 root dialout 4, 67 Mar 16 18:27 ttyS3
crw-rw---- 1 root dialout 4, 68 Mar 16 18:27 ttyS4
crw-rw---- 1 root dialout 4, 69 Mar 16 18:27 ttyS5
crw-rw---- 1 root dialout 4, 70 Mar 16 18:27 ttyS6
crw-rw---- 1 root dialout 4, 71 Mar 16 18:27 ttyS7
crw-rw---- 1 root dialout 188, 0 Mar 16 18:27 ttyUSB0

G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=15
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
Linux DietPi 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
bullseye
Native PC (x86_64)
miniPCIe/msata

– solved –

Add 8250.nr_uarts=9 to GRUB_CMDLINE_LINUX=“net.ifnames=0” to get GRUB_CMDLINE_LINUX=“net.ifnames=0 8250.nr_uarts=9” into the file /etc/default/grub ware ‘9’ is the amount of ttys ports on the system installed

After saving the file execute the following to update /boot/grub/grub.cfg update-grub