public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/5] Retrieve MAC address from EEPROM
@ 2015-12-14 12:41 Olliver Schinagl
  2015-12-14 12:41 ` [U-Boot] [PATCH v2 1/5] net: Add ability to set MAC address via EEPROM to Kconfig Olliver Schinagl
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: Olliver Schinagl @ 2015-12-14 12:41 UTC (permalink / raw)
  To: u-boot

Changes since v1:
* Do not CRC the id byte, move it just after the crc byte.
One of the reasons I decided to move it after the crc8 was mostly due to mass
generation of MAC + CRC combo's where the ID is still unknown. Also not crc-ing
the ID means that it is much easier for a user to change it (via the u-boot i2c
cmd line or from within linux) without having to worry about the crc.
* Add a generator to convert a MAC address from the input to a MAC + CRC8 on
the output.

Olliver Schinagl (5):
  net: Add ability to set MAC address via EEPROM to Kconfig
  sunxi: net: Allow the sunxi to set the MAC from an EEPROM
  sunxi: net: Enable eeprom on OLinuXino Lime2 boards
  tools: Allow crc8 to be used
  tools: Add tool to add crc8 to a mac address

 board/sunxi/Kconfig                   |  4 +++
 board/sunxi/board.c                   | 36 +++++++++++++++++++++
 configs/A20-OLinuXino-Lime2_defconfig |  3 ++
 doc/README.enetaddr                   | 34 ++++++++++++++++++++
 include/u-boot/crc.h                  |  3 ++
 net/Kconfig                           | 59 +++++++++++++++++++++++++++++++++++
 tools/Makefile                        |  5 +++
 tools/gen_mac_addr.c                  | 51 ++++++++++++++++++++++++++++++
 8 files changed, 195 insertions(+)
 create mode 100644 tools/gen_mac_addr.c

-- 
2.6.2

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2016-01-26 18:01 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-14 12:41 [U-Boot] [PATCH v2 0/5] Retrieve MAC address from EEPROM Olliver Schinagl
2015-12-14 12:41 ` [U-Boot] [PATCH v2 1/5] net: Add ability to set MAC address via EEPROM to Kconfig Olliver Schinagl
2016-01-25 22:59   ` Joe Hershberger
2015-12-14 12:41 ` [U-Boot] [PATCH v2 2/5] sunxi: net: Allow the sunxi to set the MAC from an EEPROM Olliver Schinagl
2016-01-26  0:32   ` Joe Hershberger
2016-01-26 16:10     ` Olliver Schinagl
2016-01-26 16:23       ` Joe Hershberger
2016-01-26 16:35         ` Olliver Schinagl
2016-01-26 17:57           ` Joe Hershberger
2015-12-14 12:41 ` [U-Boot] [PATCH v2 3/5] sunxi: net: Enable eeprom on OLinuXino Lime2 boards Olliver Schinagl
2016-01-26  0:34   ` Joe Hershberger
2016-01-26 16:11     ` Olliver Schinagl
2015-12-14 12:41 ` [U-Boot] [PATCH v2 4/5] tools: Allow crc8 to be used Olliver Schinagl
2016-01-26  0:36   ` Joe Hershberger
2015-12-14 12:41 ` [U-Boot] [PATCH v2 5/5] tools: Add tool to add crc8 to a mac address Olliver Schinagl
2016-01-26  0:45   ` Joe Hershberger
2016-01-26 13:15     ` Albert ARIBAUD
2016-01-26 14:56       ` Joe Hershberger
2016-01-26 16:31         ` Olliver Schinagl
2016-01-26 18:01           ` Joe Hershberger
2016-01-26 16:27     ` Olliver Schinagl
2016-01-26 16:31       ` Joe Hershberger
2016-01-26 16:36         ` Olliver Schinagl
2016-01-26 17:58           ` Joe Hershberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox