Linaro / meta-qcom

OpenEmbedded/Yocto Project BSP layer for Qualcomm based platforms
MIT License
61 stars 70 forks source link

read android device serial number from sysfs node #547

Open vishwasudupa opened 9 months ago

vishwasudupa commented 9 months ago

read android serial number value from sysfs node instead of kernel command line. Upstream boot managers e.g., systemd-boot does not populate kernel command line with parameter androidboot.serialno.

Reading serial number from sysfs node /sys/devices/soc0/serial_number generalizes the approach and makes it independent of bootloader that loads kernel.

lumag commented 9 months ago

Fix commit messages, please.

lumag commented 9 months ago

Still not fully correct. Please take a note on the difference between your text and previous commit messages.

lumag commented 9 months ago

Also, what is Linux Build Service Account <lnxbuild@localhost>, that has committed this patch?

vishwasudupa commented 9 months ago

Also, what is Linux Build Service Account <lnxbuild@localhost>, that has committed this patch?

Corrected committer-id.

vishwasudupa commented 9 months ago

Below pr solves the issue https://github.com/Linaro/meta-qcom/pull/553