Hello friends, I need a little help with the usid / mac_ether script

i am starting to study about android and i would like to ask you:

First I would like someone to help me record a serial
at box amlogic

1: Firmware already passed Amlogic Customization tools (key usid, mac marked for write)

2: in the SN part I always want the serial to be written to be this ... 8e.05-17.06-10500171 <---------- SN

3: on mac's part i want this recorded
EC: 2C: A9: 51: 52: 31

3: usid script

[Group1]
usid = ShiningStar <1> MBX <2>
param_1_format =% 04x
param_1_start = 0000
param_1_end = FFFF
param_1_used = 0x0
param_1_total = 1000
param_2_format =% 04x
param_2_start = 0000
param_2_end = FFFF
param_2_used = 0x0
param_2_total = 1000


[Size]
Size = 22


[fragment]
fragment =


4: mac script

[Group1]
start = 00: 0f: a3: 45: 9b: 12
end = 00: 0f: a3: 45: a1: 34
total = 1540
used = 2
current =


[fragment]
fragment =

5: Help me understand how to put the above information into the script to write it to the box.