Auto Boot after AC power on

Hi Nvidia:
We are using IGX Orin board kit with dGPU. The Firmware packages are all updated to SW-1.1, while the OS is remained in SW-1.0.

We found that it will have a chance to boot or not to boot to OS after we apply AC power. More precisely:

  1. Boot to OS → run sudo poweroff to get into S5 state.
  2. After power off, unplug the AC cable.
  3. Wait 30~60 secs, plug the AC cable back.
  4. Check results.

We test 20 times, and the results are:

  • 4 times, not able to boot, remain S5.
  • 10 times, boot to S1 after 20~60 mins.
  • 6 times, boot to S1 after 2~5 mins.

We didn’t connect the system to internet, so it should be someone in the system triggered boot.

If more info is needed, please let us know.

Many Thanks.

Hi,
Since the versions do not match, this may trigger potential issue. Are you able to completely upgrade the system to IGX SW 1.1?

Hi DaneLLL:
Thanks for the reply.
We just start upgraded the OS to SW-1.1 via script, and the issue remained.

Many thanks.

Hi DaneLLL:
Any updates would be great.

Many Thanks.

Hi,
Are you able try to sudo shutdown? Generally we run this command. Not sure if the issue is specific to sudo poweroff and would like to clarify this.

Hi DaneLLL:
I don’t think sudo shutdown nor sudo poweroff really matters. Since we unplug the AC power cord later.
We still gave it a try, and the issue remains. The system will still boot on after AC power on again.
Is this how it meant to be? If so, why it sometimes failed?

Many Thanks.

What is S1 and S5 do you mean?

Have you also checked the full serial console log for these 3 cases to debug?

Could it boot successful if your press the power button at this moment?

Hi Kevin:
Thanks for the reply.

Sorry for the misleading. I was trying to say S0 and S5, just like the ACPI described. S0 means working state ( OS running) and S5 means power off state.

Yes. The power button is still working in these cases.

To capture the Serial Log, the BMC module needs to be ready. However, since the BMC module is not ready immediately when AC power is first applied, it is not always possible to capture the Serial Log every time.

Many Thanks.

As my understanding, it should not boot automatically with above steps since you’ve removed the AC cable.

BMC would work after you re-plug the AC cable and you can just use powerctl command from BMC console to power up the board.

I just want to compare if there’s the difference from the perspective of logs to check in details.

Hi Kevin:
We’re still working on Serial Log and SMCU logs.

We got the journalctl logs from BMC. We can’t get the logs with -f flag due to the OS is booted before we can access the BMC.

Here is how we capture the logs:

  1. AC Power Off
  2. AC Power On
  3. Ping 192.168.1.110 on host PC
  4. System automatically Boot up, but we still can’t reach BMC module
  5. After 2 mins, ssh to BMC module and get the journalctl log.

BMC_logs.txt (690.1 KB)

Many Thanks.

I’ve just performed few tests on my IGX Orin developer kit.

It seems it would boot automatically after plugging the AC power.
I think it has similar behavior as AGX Orin that it would boot up after getting the power.

I cannot reproduce the above 2 behaviors on my IGX developer kit.
Have you confirmed that you are using SMCU v1.50.15?

Hi Kevin:
Yes. It’s v1.50.15. Confirmed by both WebUI and version command in Shell>

And, we tested another one system. We found that the strange cases (not or long to trigger the booting process) didn’t happen again.
Since the original one is not with me, we’ll give it another try once we get it back.

AGX Orin used a jumper to enable this feature. Is there a way to do so in IGX Orin? We want it stay power off until we press the power button.
Besides, on AGX Orin, the the booting process is triggered right after AC power on. However, IGX Orin required a few mins to do so. Is it because of the SMCU blocking?

Another thing is, we tried to reboot the BMC module after we ipmitool power off OS. The OS didn’t get up after the BMC module reboot. So it’s not BMC module triggered the booting process.

Many Thanks.