Issue flipperdevices#70 wants a permanent per-device name, equivalent to a serial number.
Deriving it from the CPU ID already in OTP avoids a factory programming step
and survives reflashing. Storing an assigned name instead would need an OTP
write path: mainline rockchip-otp is read-only, rk3576_data has .reg_read and
no .reg_write, so that means U-Boot work plus production tooling.
Names are CVCVCVCVC over 18 consonants and 5 vowels, so 18^5 * 5^4 =
1,180,980,000 of them. Uniqueness is probabilistic: measured over random
64-bit serials, a fleet of 1,000,000 devices contains ~450 that share a name
with another. The serial remains the identity, the name is only the label.
Writing to /etc/flipper-name overrides the derived name, which covers both a
factory-assigned name and a user rename.
name-denylist holds substrings that trigger a reroll, so a generated name does
not end up printed on a device or broadcast as an SSID. Only consonant/vowel
alternating strings are reachable, so the list is short by construction; it
blocks 1.3% of the name space.
--self-test covers the generator, the override, the denylist and the spread of
names across serials.
PR to address generating a unique name for each flipper-one device.