Hello Daniel
could you share the method about how to get sja1110_switch.bin and sja1110_uc.bin? how to build it, based on what SDK? i got one firmware binary from local FAE, but not sure what it is, i just name it as sja1110_uc.bin, and got below info:
s32g399ardb3 login: root
root@s32g399ardb3:~#
root@s32g399ardb3:~# dmesg |grep sja1110
[ 0.646777] gpio-345 (sja1110-rst-phy-t1): hogged as output/low
[ 0.652274] gpio-402 (sja1110-rst-core): hogged as output/low
[ 6.929116] sja1110: loading out-of-tree module taints kernel.
[ 6.929596] SPI driver sja1110 has no spi_device_id for nxp,sja1110-switch
[ 6.929601] SPI driver sja1110 has no spi_device_id for nxp,sja1110-uc
[ 6.929699] sja1110 spi5.0: probing uc
[ 6.929827] sja1110 spi5.1: probing switch
[ 6.930091] sja1110 spi5.1: Could not get GPIO from device tree
[ 6.930111] sja1110 spi5.1: [sja1110_post_probe_upload_worker] Trying to initialize switch
[ 6.930519] sja1110 spi5.1: Direct firmware load for sja1110_switch.bin failed with error -2
[ 6.930529] sja1110 spi5.1: request_firmware failed with -2
[ 6.930535] sja1110 spi5.0: [sja1110_post_probe_upload_worker] Trying to initialize uC
[ 6.934007] sja1110 spi5.0: [sja1110_init_hw] loaded fw 'sja1110_uc.bin'
[ 6.934016] sja1110 spi5.0: [sja1110_pre_uc_upload] Found firmware of size 126400
[ 6.934090] sja1110 spi5.0: [sja1110_pre_uc_upload] firmware appears to be valid
[ 6.934125] sja1110 spi5.0: [sja1110_pre_uc_upload] \xc2\xb5C not ready for download (Status=0x31)
[ 6.934213] sja1110 spi5.0: Uploading firmware...
[ 7.293332] sja1110 spi5.0: Upload successfully verified!
root@s32g399ardb3:~# ls /lib/firmware/
s32cc_hse_fw.bin s32g_pfe_class.fw s32g_pfe_util.fw sja1110_uc.bin
root@s32g399ardb3:~#