My solution to the problem copy it over from the 64 bit image of the Raspian, now Rasberry Pi OS I used the 2020-05-27-raspios-buster-arm64.img to do this a simple straight forward copy of the files required for it to work.
root@zeus-H370M-DS3H:~# mkdir /tmp/cardroot
root@zeus-H370M-DS3H:~# mount /dev/sde2 /tmp/cardroot
After seeing this I was almost certain it would work.
zeus@zeus-H370M-DS3H:~$ file /tmp/cardroot/opt/vc/bin/vcgencmd
vcgencmd: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=a22f9bd0844d3be74cd9dbd74dd86b6dd3196f7e, stripped
root@buster-raspi:~# file /usr/bin/dd
/usr/bin/dd: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=aa90bcf288d1293ca8980145095ba1dfba8e9b16, stripped
So I copied it over with rsync to my Pi and tried it.
root@buster-raspi:~# rsync -avP [email protected]:/tmp/cardroot/usr/bin/vcgencmd .
root@buster-raspi:~# ./vcgencmd temp
./vcgencmd: error while loading shared libraries: libvchiq_arm.so.0: cannot open shared object file: No such file or directory
To find the missing files.
root@buster-raspi:~# ldd vcgencmd
linux-vdso.so.1 (0x0000ffff8125e000)
libvchiq_arm.so.0 => not found
libvcos.so.0 => not found
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffff811eb000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000ffff811d7000)
librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000ffff811bf000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffff8104d000)
/lib/ld-linux-aarch64.so.1 (0x0000ffff81230000)
root@zeus-H370M-DS3H:/home/zeus/qemu_vms# find /tmp/cardroot/ -name libvcos.so.0
/tmp/cardroot/usr/lib/aarch64-linux-gnu/libvcos.so.0
root@zeus-H370M-DS3H:/home/zeus/qemu_vms# find /tmp/cardroot/ -name libvchiq_arm.so.0
/tmp/cardroot/usr/lib/aarch64-linux-gnu/libvchiq_arm.so.0
To copy them over into the proper places.
root@buster-raspi:~# rsync -avP [email protected]:/tmp/cardroot/usr/lib/aarch64-linux-gnu/libvcos.so.0 /usr/lib/aarch64-linux-gnu/
root@buster-raspi:~# rsync -avP [email protected]:/tmp/cardroot/usr/lib/aarch64-linux-gnu/libvchiq_arm.so.0 /usr/lib/aarch64-linux-gnu/
Test again to see if it worked.
root@buster-raspi:~# ./vcgencmd measure_temp
temp=49.0'C
Success so copy it to the place it was on the Raspian.
root@buster-raspi:~# mv vcgencmd /usr/bin/
root@buster-raspi:~# which vcgencmd
/usr/bin/vcgencmd
root@buster-raspi:~# cat /etc/debian_version
10.8
root@buster-raspi:~# uname -a
Linux buster-raspi 5.9.0-0.bpo.5-arm64 #1 SMP Debian 5.9.15-1~bpo10+1 (2020-12-31) aarch64 GNU/Linux
I spent hours more time searching to find this solution and this page. Than the five minutes it actually took once I clued in and had the thought, hey it is based on Buster, perhaps it will work with a copy of it from their system. Sure enough it did, so for anyone finding this is the future who want to know how to do it give it a try.