Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Community Manager
1,202 Views

Serial number-Debian

Jump to solution

Hello all:

I tried to use the create_debian_image.sh in ww25.5-15 version to create debian image and build kernel.

In post-install.service(/sbin/post-install.sh), the commad

factory_partition () {

# unmount factory partition

systemctl stop factory.mount

mkdir -p /factory

mount /dev/disk/by-partlabel/factory /factory

# test can fail if done during manufacturing

if [ $? -ne 0 ];

then

mkfs.ext4 /dev/disk/by-partlabel/factory

mount /dev/disk/by-partlabel/factory /factory

echo "00:11:22:33:55:66" > /factory/bluetooth_address

echo "VSPPYWWDXXXXXNNN" > /factory/serial_number

fi

}

it seems not work in debian, every edison I always get FZEDA546D011SR501. this is not the real serial number.

Are there any way could get the rel serial number on Debian?

Thanks.


Accepted Solutions
Highlighted
Community Manager
15 Views

Hi xd11223,

 

 

In Yocto, the way to look at the Serial number is through cat /factory/serial_number. The output is the correct one and matches the label on the module. It's hard to say how to obtain the serial number in Debian since we don't support any image besides the Yocto image.

 

 

If you wish to download the latest Yocto image go to: https://software.intel.com/en-us/iot/hardware/edison/downloads https://software.intel.com/en-us/iot/hardware/edison/downloads so we can provide better assistance.

 

 

-Sergio

 

View solution in original post

0 Kudos
1 Reply
Highlighted
Community Manager
16 Views

Hi xd11223,

 

 

In Yocto, the way to look at the Serial number is through cat /factory/serial_number. The output is the correct one and matches the label on the module. It's hard to say how to obtain the serial number in Debian since we don't support any image besides the Yocto image.

 

 

If you wish to download the latest Yocto image go to: https://software.intel.com/en-us/iot/hardware/edison/downloads https://software.intel.com/en-us/iot/hardware/edison/downloads so we can provide better assistance.

 

 

-Sergio

 

View solution in original post

0 Kudos