PEEPFT-13 configs: PCM-057: add support for AM5749, 48, 46, and 29 SOMsAdditionally, remove PCM-057.ini as it is no longer needed.
Signed-off-by: Matt McKee <mmckee@phytec.com>
PEEPFT-13 phytec_eeprom_flashtool.py: generalize sysfs EEPROM filepathThis commit forces the script to convert PHYTEC i2c_bus and i2c_dev
configuration values to string whether struct or yaml reads the
values as ints or strings. This allows for the configuration files
to use hex values for the I2C bus and device address without error.
Signed-off-by: Matt McKee <mmckee@phytec.com>
PEEPFT-13 phytec_eeprom_flashtool.py: return bytes literals for default MAC addressIn the transition from Python 2 to Python 3, the method for
counting bits in the MAC address was changed. This method
requires the default/fallback MAC address to be returned as
a bytes literal or the script will fail.
Signed-off-by: Matt McKee <mmckee@phytec.com>
COPYING.MIT: add license fileWe distribute the tool under MIT license, so it has the same license as
the BSP. As it gets bundled with the BSP this will minimize the impact
on customers having this software in their stack.
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
configs: change PCM-057 configuration file from .ini to .ymlChange PCM-057 configuration file format, to fit with the updated script.
Signed-off-by: Janine Hagemann <j.hagemann@phytec.de>
phytec-eeprom-flashtool.py: Generalize the scriptGeneralize the script to insure functionality with future boards.
Also make the 'mac' property variable.
Signed-off-by: Janine Hagemann <j.hagemann@phytec.de>
phytec-eeprom-flashtool.py: Remove mod_version variablemod_version is not used at the configuration file.
Signed-off-by: Janine Hagemann <j.hagemann@phytec.de>
phytec-eeprom-flashtool.py: Remove header variableheader is useless because we will use bit set as checksum.
Signed-off-by: Janine Hagemann <j.hagemann@phytec.de>
configs: change configuration file from .ini to .ymlChange PCL-066 configuration file format, because yaml is better align
with current testing methods and improve maintenance.
Signed-off-by: Janine Hagemann <j.hagemann@phytec.de>
phytec-eeprom-flashtool.py: Update to python3Move from python2 to python3 because python2 will be EOL in 2020.
Signed-off-by: Janine Hagemann <j.hagemann@phytec.de>