How to solve the problem of unable to use serial port debugging during the initial installation of DietPi?

How to solve the problem of unable to use serial port debugging during the initial installation of DietPi?

Can you please fill out the troubleshoot template and deliver more information what you are trying to achieve.
Serial console should be enabled by default, so you can connect even before first init installation.
Do you get any error messages?
Do you can use it after the first boot installation?

I have modified the following parameters in the config. txt file to implement it. Thank you.
-------Serial/UART-----
NB: “enable_uart=1” will enforce “core_freq=250” on RPi models with onboard WiFi.
enable_uart=1

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | uname --all
  • Architecture | dpkg --print-architecture
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
  • Power supply used | (EG: 5V 1A RAVpower)
  • SD card used | (EG: SanDisk ultra)

Additional Information (if applicable)

  • Can this issue be replicated on a fresh installation of DietPi?