arm: am57xx: Set serial# variable
PATCH 1/1 arm: am57xx: Set serial# variable
serial# variable is used to correctly display device ID in "fastboot devices". It also can be used further for displaying device ID in "adb devices" (should be passed as "androidboot.serialno" to kernel cmdline, via "bootargs" variable).
Serial number generating algorithm is described at [1].
[1] http://lists.denx.de/pipermail/u-boot/2015-March/207462.html
--- board/ti/am57xx/board.c | 2 ++ 1 file changed, 2 insertions(+)
board/ti/am57xx/board.c +2 -0
@@ -487,6 +487,8 @@ int board_late_init(void)palmas_i2c_write_u8 (TPS65903X_CHIP_P1 ,TPS65903X_PRIMARY_SECONDARY_PAD2 , val); +omap_die_id_serial (); +return 0 ; }
Signature · 1 line
2.11.0
PATCH 1/1 arm: am57xx: Set serial# variable
Quoted 10 lines · Sam Protsenko
serial# variable is used to correctly display device ID in "fastboot devices". It also can be used further for displaying device ID in "adb devices" (should be passed as "androidboot.serialno" to kernel cmdline, via "bootargs" variable).
Serial number generating algorithm is described at [1].
[1] http://lists.denx.de/pipermail/u-boot/2015-March/207462.html
Signed-off-by Sam Protsenko <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170213/dc588862/attachment.sig>
PATCH 1/1 arm: am57xx: Set serial# variable
In reply to Sam ProtsenkoQuoted 10 lines · Sam Protsenko
serial# variable is used to correctly display device ID in "fastboot devices". It also can be used further for displaying device ID in "adb devices" (should be passed as "androidboot.serialno" to kernel cmdline, via "bootargs" variable).
Serial number generating algorithm is described at [1].
[1] http://lists.denx.de/pipermail/u-boot/2015-March/207462.html
Signed-off-by Sam Protsenko <[email protected]>
Thanks and regards,
Lokesh
Quoted 5 lines · Semen Protsenko
serial# variable is used to correctly display device ID in "fastboot devices". It also can be used further for displaying device ID in "adb devices" (should be passed as "androidboot.serialno" to kernel cmdline, via "bootargs" variable).
Quoted 7 lines
Serial number generating algorithm is described at [1].
[1] http://lists.denx.de/pipermail/u-boot/2015-March/207462.html
Signed-off-by Sam Protsenko <[email protected]>Reviewed-by Tom Rini <[email protected]>Reviewed-by Lokesh Vutla <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170217/dfbe56dd/attachment.sig>