Which image exactly? Debian != Debian, the bootloader and kernel are relevant, whether it is mainline Linux, or some vendor Linux build, and if so which one.
When you boot from SD card, can you mount and access the attached eMMC module? Which kernel version has it installed? You can see in the /boot directory of the mounted eMMC image.
And do you have a UART adapter to check serial console logs?
the name of the debian release is: rock-5a_debian_bullseye_kde_b17.img.xz
I can mount the emmc yes but i don’t have the /boot directory to check the kernel version
… ah wait, looks like the kernel you use has this included already .
Maybe indeed enabling HS400ES caused the issue: Enable HS400ES on Rock 5A · armbian/linux-rockchip@1447ae0 · GitHub
Regardless, probably it was fixed in another way. I’ll generate an image with fresh kernel first to test. If this does not work, I’ll generate one with HS400ES disabled, reverting the linked patch.