I've encountered a similar issue. I found that the solution was to change the kernel command line from console=ttyAMA0 to console=ttyAMA1 just as @tallen mentioned. Does anyone know why the serial device was changed from ttyAMA0 to ttyAMA1 in the raspios-bookworm kernel?