On the debug serial port, typing sudo reboot starts the reboot process, but then it halts at:
[ OK ] Stopped serial-getty@ttyS0.service - Serial Getty on ttyS0.
No further output or progress. I still get a heartbeat. When I plug/unplug the Ethernet I get messages about link going up or down, but no reaction to keystrokes. At this point, I can ssh in and complete the connection, but again, there is no information on the screen, just a successful connection.
Need a power cycle to recover.
The boards worked fine with the version that was in the box (v12, Bookworm). If I use a SDcard with v12, they work. Problem started after I flashed to the latest version.
I wanted v13 because of libgpiod v2. If there is a simple way to install that on v12 I will take it.
FYI, I am experiencing the same issue on the PocketBeagle2 running the Debian Trixie 13.7 IoT image. The device boots up normally when the serial terminal is disconnected.
Additionally, there is another issue where the login prompt sometimes fails to appear on debug serial port after startup.
As the same board reboots normally with Bookworm and the problem started immediately after moving to Debian 13, I’d focus on the Trixie/kernel/device-tree side rather than the hardware. The fact that the heartbeat continues and Ethernet still responds makes it look like the kernel isn’t completely dead, but something in the shutdown sequence is getting stuck. I’d compare the kernel version and boot configuration between the working Bookworm image and Trixie, and check the full journal from the failed reboot with journalctl -b -1 after power cycling. If you mainly need libgpiod v2, it may also be worth checking whether installing/building that separately on Bookworm is easier than dealing with the reboot issue.
Just to add as i’m seeing this locally… one of the systemd scripts is hanging on reboot.. it should timeout after 90 seconds, but this is a fun thing to debug… systemd.log_level=debug
voodoo@BeagleY-AI:~/u-boot$
Stopping session-1.scope - Session 1 of User voodoo...
[ OK ] Removed slice system-hostapd.slice - Slice /system/hostapd.
[ OK ] Removed slice system-modprobe.slice - Slice /system/modprobe.
[ OK ] Stopped target bluetooth.target - Bluetooth Support.
[ OK ] Stopped target graphical.target - Graphical Interface.
[ OK ] Stopped target sound.target - Sound Card.
[ OK ] Stopped target timers.target - Timer Units.
[ OK ] Stopped apt-daily-upgrade.timer - Daily apt upgrade and clean activities.
[ OK ] Stopped apt-daily.timer - Daily apt download activities.
[ OK ] Stopped apt-listchanges.timer - Try hourly to initialize apt-listchanges database for APT.
[ OK ] Stopped dpkg-db-backup.timer - Daily dpkg database backup timer.
[ OK ] Stopped e2scrub_all.timer - Periodic ext4 Online Metadata Check for All Filesystems.
[ OK ] Stopped fstrim.timer - Discard unused filesystem blocks once a week.
[ OK ] Stopped logrotate.timer - Daily rotation of log files.
[ OK ] Stopped man-db.timer - Daily man-db regeneration.
[ OK ] Stopped systemd-tmpfiles-clean.timer - Daily Cleanup of Temporary Directories.
[ OK ] Stopped target usb-gadget.target - Hardware activated USB gadget.
[ OK ] Closed systemd-rfkill.socket - Load/Save RF Kill Switch Status /dev/rfkill Watch.
Stopping bluetooth.service - Bluetooth service...
Stopping code-server@voodoo.service - code-server...
Stopping gpio-manager.service - Centralized GPIO manager daemon...
Stopping polkit.service - Authorization Manager...
Stopping systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd...
Stopping systemd-random-seed.service - Load/Save OS Random Seed...
[ OK ] Stopped systemd-udev-load-credentials.service - Load udev Rules from Credentials.
Stopping wtmpdb-update-boot.service - Write boot and shutdown times into wtmpdb...
[ OK ] Stopped bluetooth.service - Bluetooth service.
[ OK ] Stopped polkit.service - Authorization Manager.
[ OK ] Stopped gpio-manager.service - Centralized GPIO manager daemon.
[ OK ] Stopped code-server@voodoo.service - code-server.
[ OK ] Stopped unattended-upgrades.service - Unattended Upgrades Shutdown.
[ OK ] Stopped serial-getty@ttyS2.service - Serial Getty on ttyS2.