Raspbian 12 Bookworm and 11 Bullseye for Libre Computer Boards

Hey There!

So, the folks over at Raspberry Pi have introduced a new remote access service, called Connect, to deal with the issues around the lack of remote desktop options that work with Wayland.

Apparently, the service binds to the serial number of the board, normally found at /proc/device-tree/serial-number.

It looks like the AML-S905X-CC stores the serial number in /sys/bus/platform/drivers/meson-sm/firmware:secure-monitor/serial (based on this post).

Is there any way to get that serial number over into /proc/device-tree/serial-number?

$ rpi-connect signin
Unable to read device serial number from /proc/device-tree/serial-number

$ cat /sys/bus/platform/drivers/meson-sm/firmware:secure-monitor/serial
<24 character serial number>

$ ls /proc/device-tree
'#address-cells'    cvbs-connector     leds                regulator-vcc_3v3      smbios
 aliases            efuse              memory@0            regulator-vcc-card     soc
 analog-amplifier   emmc-pwrseq        model               regulator-vddio_ao18   sound
 arm-pmu            firmware           name                regulator-vddio_boot   __symbols__
 chosen             hdmi-connector     opp-table           reserved-memory        thermal-zones
 compatible         idle-states        psci                scpi                   timer
 cpus               interrupt-parent   regulator-hdmi-5v  '#size-cells'           xtal-clk

Thank you!