Dasharo / dasharo-issues

The Dasharo issue tracker
https://dasharo.com/
24 stars 0 forks source link

DTS on PC Engines APU{2,6} reports that it is rebooting the device but the device appears to halt instead #934

Open zsrv opened 2 months ago

zsrv commented 2 months ago

Component

Dasharo Tools Suite

Device

PC Engines APU2, PC Engines APU6

Dasharo version

v0.9.0

Dasharo Tools Suite version

v1.2.23

Brief summary

After upgrading the device firmware, DTS reports that it will reboot the computer but the computer appears to halt instead

How reproducible

I used this DTS version to upgrade the firmware of an APU2 and an APU6, and both times the device had to be powered off and back on manually.

How to reproduce

  1. Boot into DTS v1.2.23 on a PC Engines APU2 or APU6 (maybe the other APUx devices too) for which there is a newer firmware version available. I upgraded from coreboot + SeaBIOS v1.16.0.1 to coreboot + UEFI v0.9.0
  2. Select the option to set your DES keys
  3. Select the option to install Dasharo firmware
  4. Once the firmware upgrade is complete, you should see message "The computer will reboot automatically in 5 seconds". After the countdown finishes, you should see message "Rebooting" after which there is no more console activity and the device halts (appears to, at least) instead of restarts. For me, the LEDs on the front of the APUs turned off and the green LED of the Ethernet port that had a cable plugged in began to blink slowly. After waiting a few minutes, I removed power from the device, waited 30 seconds, and powered the device again

Expected behavior

I expected the device to reboot on its own.

Actual behavior

The device halted (at least this is what appears to have happened).

Screenshots

No response

Additional context

dts_v1.2.23_apu6_halt_instead_of_reboot_log.txt

Solutions you've tried

The workaround was to remove power, wait 30 seconds, then apply power again. There were no problems with the firmware upgrades.

macpijan commented 2 months ago

@pietrushnic I think you have tested it, for you it's been rebooting correctly?

After the countdown finishes, you should see message "Rebooting" after which there is no more console activity and the device halts (appears to, at least) instead of restarts.
pietrushnic commented 2 months ago

@macpijan I didn't tested upgrade to Dasharo (coreboot+UEFI), but I tested v4.19.0.1 to Dasharo (coreboot+SeaBIOS) v24.05.00.01 through DTS. The problem is that we didn't test the DTS interface in the old framework. We manually use a DTS shell and power cycle, so I cannot confirm that it works.

macpijan commented 2 months ago

didn't tested upgrade to Dasharo (coreboot+UEFI), but I tested v4.19.0.1 to Dasharo (coreboot+SeaBIOS) v24.05.00.01 through DTS.

Oh yes, sorry I have mixed up the releases.