No HDMI output after reflashing factory image

After flashing the stock image (Using the flash-all.sh script), the board boots up but doesn’t seem to output anything on the HDMI port. I also tried flashing stock image AFTER flashing the base firmware but that didn’t help either.

Has anyone faced this issue? How can I recover it?

I noticed that when it boots up adb is working fine, but no output over HDMI and a lot of failures in services are reported by adb logcat…

Can anyone please help?