dasharo-issues
dasharo-issues copied to clipboard
DTS on PC Engines APU{2,6} reports that it is rebooting the device but the device appears to halt instead
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
- 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
- Select the option to set your DES keys
- Select the option to install Dasharo firmware
- 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.
@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.
@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.
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.
The issue doesn't reproduce when transitioning from newest SeaBIOS firmware:
Dasharo Tools Suite Script 2.7.1
(c) Dasharo <[email protected]>
Report issues at: https://github.com/Dasharo/dasharo-issues
*********************************************************
** HARDWARE INFORMATION
*********************************************************
** System Inf.: PC Engines apu2
** Baseboard Inf.: PC Engines apu2
** CPU Inf.: AMD GX-412TC SOC
** RAM DIMM 0: Not Specified
*********************************************************
** FIRMWARE INFORMATION
*********************************************************
** BIOS Inf.: coreboot v24.08.00.01
*********************************************************
** DPP credentials
*********************************************************
** Email: ***************
** Password: ***************
*********************************************************
** 1) Dasharo HCL report
** 2) Update Dasharo Firmware
** 3) Restore firmware from Dasharo HCL report
** 4) Edit your DPP keys
** 5) DTS extensions
** 6) Transition Dasharo Firmware
** 7) Fuse platform
*********************************************************
R to reboot P to poweroff S to enter shell
K to launch SSH server L to enable sending DTS logs
C to display DPP credentials
Enter an option:
6
Gathering flash chip and chipset information...
Chipset found
vendor="Winbond" name="W25Q64BV/W25Q64CV/W25Q64FV"
Chipset size
8M
Waiting for network connection ...
Network connection have been established!
Downloading board configs repository...
Checking if board is Dasharo compatible.
Getting platform specific GPG key... Done
Waiting for system clock to be synced ...
Please, select Dasharo firmware version to install:
d) DPP version (coreboot + UEFI)
b) Back to main menu
Enter an option: d
Subscription version (cooreboot + EDK2) selected
Downloading Dasharo firmware...
Checking Dasharo firmware checksum... Verified.
Checking Dasharo firmware signature... Verified.
Please verify detected hardware!
Board vendor: PC Engines
System model: apu2
Board model: apu2
Does it match your actual specification? (Y|n) y
Following firmware will be used to deploy Dasharo:
Dasharo BIOS firmware:
- link: dasharo-pcengines-uefi/v0.9.0/pcengines_apu2_v0.9.0.rom
- hash: 5943fcff46add5161f520d4c4e3612496aa07933951bbc77c58ec847f07c12b9
You can learn more about this release on: https://docs.dasharo.com/
Do you want to deploy this Dasharo Firmware on your platform (Y|n) y
Transitioning Dasharo firmware...
Successfully transitioned Dasharo firmware
Syncing disks... Done.
The computer will reboot automatically in 5 seconds
Rebooting in 5 s:
5...
4...
3...
2...
1...
Rebooting
Press Enter to continue.