Retrieve MAC address from EEPROM
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 0 repliesNew
- v12 of 3 patches 0 repliesSuperseded
Changes in v2 from the cover letter
* 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.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | net: Add ability to set MAC address via EEPROM to Kconfigdoc/ net/ | +92 | 1 reply | |
| 2/5 | sunxi: net: Allow the sunxi to set the MAC from an EEPROMboard/ board/ net/ | +41 | 1 reply | |
| 2/5 | sunxi: net: Allow the sunxi to set the MAC from an EEPROM | +0 | 1 reply | |
| 2/5 | sunxi: net: Allow the sunxi to set the MAC from an EEPROM | +0 | 1 reply | |
| 3/5 | sunxi: net: Enable eeprom on OLinuXino Lime2 boardsconfigs/ | +3 | 1 reply | |
| 3/5 | sunxi: net: Enable eeprom on OLinuXino Lime2 boards | +0 | 0 replies | |
| 4/5 | tools: Allow crc8 to be usedinclude/ tools/ | +4 | 1 reply | |
| 5/5 | tools: Add tool to add crc8 to a mac addresstools/ tools/ | +55 | 3 replies | |
| 5/5 | tools: Add tool to add crc8 to a mac address | +0 | 1 reply | |
| 5/5 | tools: Add tool to add crc8 to a mac address | +0 | 1 reply | |
| 5/5 | tools: Add tool to add crc8 to a mac address | +0 | 1 reply |
Reviews trailers per patch
2 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Joe Hershberger |
|---|---|
| 1/5 | A-b |
| 2/5 | |
| 2/5 | |
| 2/5 | |
| 3/5 | |
| 3/5 | |
| 4/5 | R-b |
| 5/5 | |
| 5/5 | |
| 5/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v2 0/5] Retrieve MAC address from EEPROM
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
Signature · 1 line
2.6.2