xc-racer99 / u-boot-aries

U-boot port for first-gen Galaxy S devices. Flashed in place of kernel with stock IBL/PBL/SBL. Kernel read from OneNAND/MMC/SD/Serial.
9 stars 2 forks source link

aries: Set serial number based on PRO_ID regs #28

Closed xc-racer99 closed 5 years ago

xc-racer99 commented 5 years ago

According to https://git.tizen.org/cgit/platform/kernel/linux-exynos/commit/?h=sandbox/jhoon20kim/rebase-tizen-next the values in PRO_ID + 0x14 and 0x18 are unique for each chip.

Here's the values from my device: Aries # md.l 0xE0000014 e0000014: 4d2338a8 000001b5 00000000 00000000 .8#M............

This doesn't match up with the stock serial number either, but it's better than relying on an SD card that can change.

PabloPL commented 5 years ago

Looks good for me!