Hello,
we would like to upload a basic configuration to the switch during u-boot (when the kernel is loaded, the DSA driver will kick-in).
On the online resources I found some python scripts that generates a .hex file, that can be provided to another python script (sja1105_converter.py): this final script will generate a C source code with some binary data to be pushed to the switch through SPI.
The only problem is that the generated source code is referencing some libraries from NXP:
#include "NXP_SJA1105P_config.h"
#include "NXP_SJA1105P_spi.h"
and it is eventually using this function:
SJA1105P_gpf_spiWrite32()
Where can I find those libraries?
If they are not available to download, can I simply push all the generated configBurst0_X (that are uint32_t arrays of 64 entries each) through SPI?
Many thanks,
Marco