Flash.sh asking to setup OS with display even when no display connected

I am installing Jetpack 4.4 with a custom-built kernel on a ConnectTech Photon carrier with a Xavier NX board. I have cloned a system image from one carrier and wanted to flash to another. The command I used was:

sudo ./flash cti/Xavier-NX/photon mmcblk0p1

The flash succeeded normally. I have no HDMI cable or display connected, but I am not given the option to complete the initial OS setup through the serial port. Over serial when booting, I see the following message:

[    7.936058] Please complete system configuration setup on desktop to proceed...

when I have no display connected.

What am I doing wrong?

Connect the micro usb cable between host and device.

Use console tool like minicom to open ttyACM0 and you shall configure user account on host side.

I have two boards - one of which this works on, and the other does not work, flashed with the exact same software and procedures. What could be a reason for this?

What is “cannot work” here? Can you give more detail about what is the error you are talking about now?

On board A, using minicom to open a serial connection with no attached HDMI cable results in being able to set up the OS as I would expect.

On board B, using minicom to open a serial connection with no attached HDMI cable results in this being returned over serial:

[    7.936058] Please complete system configuration setup on desktop to proceed..

Then do you ever configure your board with ttyACM0?

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Please try to say more about it.

ttyACM0 is also serial console and ttyUSB0 is serial console too. It is not clear to understand what is the serial you want to say here.