RADXA Cubie A7A unique identifier through Debian?

Does anyone know how I can find a unique identifier (analogous to RPI Serial number) through the Debian OS. I tried the " cat /proc/device-tree/serial-number " directory command, but it apparently doesn’t work like a RPI.

Hi, you can use the following commands to get the sunxi_serial and chip ID separately:

sunxi_serial:cat /sys/class/sunxi_info/sys_info

chip ID:sudo python3 -c ‘import fcntl; b=bytearray(33); f=open(“/dev/sunxi_soc_info”,“rb”); fcntl.ioctl(f.fileno(),0x08,b,True);print(b.split(b"\0",1)[0].decode())’