[U-Boot] [PATCH] board: am335x: Set serial# variable
Tom Rini
trini at konsulko.com
Tue Feb 27 20:08:47 UTC 2018
On Tue, Feb 27, 2018 at 10:05:43PM +0200, Sam Protsenko wrote:
> serial# variable is needed to show device correctly in "fastboot
> devices" output. It's useful when we have several devices (in fastboot
> mode) connected to single host and want to choose which one to flash.
>
> Reuse board_serial variable (obtained from EEPROM in
> set_board_info_env() function) to set serial#. We can't use
> omap_die_id_serial(), because AM335x lacks DIE_ID, as can be seen from
> AM335x TRM. The other available option would be to reuse ethaddr
> variable, but using board_serial seems more reasonable for this purpose.
>
> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
Does fastboot handle things better or worse than before with
board_serial set to "unknown" ? That's a quite likely thing to happen
as while serial should be set, but I'm sure there's boards in the wild
other than just mine that I might have broken, that do not have the
serial field set.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180227/dec5e631/attachment.sig>
More information about the U-Boot
mailing list