Skip to content
Snippets Groups Projects
Commit 2fac7a82 authored by Hannes Schmelzer's avatar Hannes Schmelzer Committed by Tom Rini
Browse files

board/BuR/common: add 'brdefaulip_setup' function


Many B&R boards are equipped with an I2C-EEPROM where various
information can be stored.

Today there is only a single byte for 'board_id' used.

We write this 'board_id' into environment for later use during boot.

If the value != 0xFF, meaning the byte is programmed, we modify the
"brdefaultip" environment variable for setting an IP-Address based on
board_id.

Signed-off-by: default avatarHannes Schmelzer <hannes.schmelzer@br-automation.com>
parent 47656d98
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment