This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TinkerOS Serial Number CLI
#1
Does anybody know if I can find the serial number that is printed on the bottom of the board via CLI?
Reply
#2
Unless you've noted in a certain file, I suspect it won't be available.
For such a purpose you might save in a environment variable, written in your ~/.bashrc and just call it by the command
Code:
$ echo $SERIALNO
Man setenv might be one option.
Reply
#3
(07-20-2018, 04:58 PM)Im4Tinker Wrote: Unless you've noted in a certain file, I suspect it won't be available.
For such a purpose you might save in a environment variable, written in your ~/.bashrc and just call it by the command
Code:
$ echo $SERIALNO
Man setenv might be one option.

Yeah thats the route I think im going to have to go. I was hoping I could just cat some file like getting the CPU model number, but it doesn't seem to be the case
Reply
#4
(07-20-2018, 04:25 PM)appleorange Wrote: Does anybody know if I can find the serial number that is printed on the bottom of the board via CLI?

Hi, 
    We do not save the serial number which is printed on the bottom of the board. Instead, we saved another unique number onto board.
    You can use the below cmd to read it out.
    $ cat /sys/firmware/devicetree/base/system-id
[-] The following 1 user Likes jamess's post:
  • d12345
Reply
#5
Based on James' reply.
That unique id "cat /sys/firmware/devicetree/base/system-id", actually you can find it on top of the audio jack, there have a 2D matrix barcode (not QR code).
And this code is also available in our service center to provide you the same warranty as the serial number.

Thanks.
Reply
#6
(07-26-2018, 08:26 AM)Tinker Board Wrote: That unique id "cat /sys/firmware/devicetree/base/system-id",
actually you can find it on top of the audio jack, there have a 2D matrix barcode (not QR code).


I've found most QR/barcode scanners will read it directly:
[Image: 9JqWn20l.png]

Code:
$ cat /sys/firmware/devicetree/base/system-id
1612908422020xx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)