Using a custom serial number

Post Reply
systemservice
Posts: 54
Joined: Wed Apr 10, 2019 4:39 pm
languages_spoken: english, german
ODROIDs: ODROID-N2
Location: Germany
Has thanked: 1 time
Been thanked: 2 times
Contact:

Using a custom serial number

Unread post by systemservice » Thu Jun 13, 2019 5:01 pm

Hi,

previously when using Rockchip based devices we could set a custom S\N and MAC address using Rockchips "UpgradeDIITool".

Is it possible to set a custom serial number on ODROID-N2 anyhow?
Currently it is the same as the MAC address:

getprop | grep serial
[ro.serialno]: [001e06420fdd]

Thank you.
Last edited by systemservice on Fri Jun 14, 2019 5:16 pm, edited 2 times in total.

User avatar
tobetter
Posts: 4162
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 51 times
Been thanked: 215 times
Contact:

Re: Using a custom serial number

Unread post by tobetter » Thu Jun 13, 2019 5:30 pm

Can I or Codewalker response by Monday, please?

systemservice
Posts: 54
Joined: Wed Apr 10, 2019 4:39 pm
languages_spoken: english, german
ODROIDs: ODROID-N2
Location: Germany
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Using a custom serial number

Unread post by systemservice » Thu Jun 13, 2019 7:17 pm

tobetter, yes, no problem, thank you.

User avatar
tobetter
Posts: 4162
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 51 times
Been thanked: 215 times
Contact:

Re: Using a custom serial number

Unread post by tobetter » Mon Jun 17, 2019 11:01 am

systemservice wrote:
Thu Jun 13, 2019 7:17 pm
tobetter, yes, no problem, thank you.
I am wondering if you like to flash the custom serial number permanently on the board such that every single board you will manage has its own identity? Or it's just fine to store in a memory card, SD or eMMC? Since we do not have a tool and have not provided the feature yet, our support should be a bit narrow down.

systemservice
Posts: 54
Joined: Wed Apr 10, 2019 4:39 pm
languages_spoken: english, german
ODROIDs: ODROID-N2
Location: Germany
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Using a custom serial number

Unread post by systemservice » Mon Jun 17, 2019 4:38 pm

Hi tobetter,

because I have no idea how it works with Amlogic - whether it can be flashed or not or whether a tool like "UpgradeDII Tool" for Rockchip is available for Amlogic, I just asked it,
but if you say there is no such tool or there is no easy solution, then it's OK, then I can use a custom serial number and store it in a custom file on eMMC.

And what about changing the MAC address and using a static IP address, it is possible without much effort? If not, then it's OK, no need to work on it.

User avatar
tobetter
Posts: 4162
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 51 times
Been thanked: 215 times
Contact:

Re: Using a custom serial number

Unread post by tobetter » Mon Jun 17, 2019 5:13 pm

systemservice wrote:
Mon Jun 17, 2019 4:38 pm
Hi tobetter,

because I have no idea how it works with Amlogic - whether it can be flashed or not or whether a tool like "UpgradeDII Tool" for Rockchip is available for Amlogic, I just asked it,
but if you say there is no such tool or there is no easy solution, then it's OK, then I can use a custom serial number and store it in a custom file on eMMC.

And what about changing the MAC address and using a static IP address, it is possible without much effort? If not, then it's OK, no need to work on it.
Our effort is opened based on your request. We can offer the workaround if your feature is doable with some effort or provide another solution to meet your solution. It's not about how Amlogic works, because some features are not the ways how Amlogic works but added by HK from user's uses cases.

If you need a unique number, you also can consider using /sys/class/efuse/uuic which is the serial number of HK, which contains the date of production with MAC address and this is per a device.

MAC address is stored in the SoC itself and not able to change it. For static IP address, somehow you will need storage. If you like to the IP address on board, we can consider using SPI flash memory or eMMC if the device is not the matter. Based on that I can say where we can go.

systemservice
Posts: 54
Joined: Wed Apr 10, 2019 4:39 pm
languages_spoken: english, german
ODROIDs: ODROID-N2
Location: Germany
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Using a custom serial number

Unread post by systemservice » Mon Jun 17, 2019 5:30 pm

Hi tobetter,
thank you.

1) Serial number:
We a use a serial number in a custom format for all devices (no matter which manufacturer, always the same format), so we'll just store it as a file on eMMC. It' OK.

2) MAC address:
OK.

3) IP address:
we use ODROID-N2 with Android on eMMC. For LAN, we don't need a static IP address yet I think. But for WiFi it would be nice, however, we haven't got a WiFi stick yet and we didn't test WiFi, probably static IP is already available for WiFi?

4) Which WiFi dongle would you recommend for ODROID-N2 (for example if you know that some dongles have issues and some do not have) ?

User avatar
codewalker
Posts: 782
Joined: Mon Feb 25, 2013 11:03 am
languages_spoken: english
ODROIDs: all
Has thanked: 30 times
Been thanked: 31 times
Contact:

Re: Using a custom serial number

Unread post by codewalker » Mon Jun 17, 2019 6:03 pm

Hi, systemservice.
We recommend WiFi #3 or #5A. these are stabler than ralink(#0,#4).
4) Which WiFi dongle would you recommend for ODROID-N2 (for example if you know that some dongles have issues and some do not have) ?

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 6 guests