WORK IN PROGRESS
Multiple SerDes configurations are possible in combination with the STKTxxxx starterkit. For details see the STKTxxxx Hardware User Guide. The SerDes configurations are set at boottime via the CPU Reset Configuration Word (RCW). The CPU reads the RCW from its boot media (e.g. NOR Flash, SD Card) and configures its SerDes Lanes and other settings accordingly.
(Hier vielleicht Verweis auf Figure 31-1. Supported SerDes Options aus dem T1040 reference manual. Oder gleich eine eigene Abbildung zeichnen die nur die auf dem STKTxxxx unterstützten Konfigurationen zeigt.)
Following RCWs resp. SerDes configurations are possible on the STKTxxxx and are implemented in the Board Support Package:
The deployable images are automatically built incorporating the selected RCW. The RCW can be selected by editing the file /opt/tq-powerarch-bsp/yocto/build/conf/local.conf
Herein, one RCW must be selected while the others are commented out (#), e.g.:
#FSL_RCW = "TQMT1042_SERDES86" #FSL_RCW = "TQMT1042_SERDES88" #FSL_RCW = "TQMT1042_SERDES8E" FSL_RCW = "TQMT1040_SERDES66"
Some RCWs / SerDes configurations also require a dedicated linux device tree.
The deployable images are automatically built incorporating the selected device tree. The device tree can be selected by editing the file /opt/tq-powerarch-bsp/yocto/build/conf/local.conf
Herein, one device tree must be selected while the others are commented out (#), e.g.:
#KERNEL_DEVICETREE = "fsl/tqmt1042.dtb" #KERNEL_DEVICETREE = "fsl/tqmt1042_serdes8e.dtb" KERNEL_DEVICETREE = "fsl/tqmt1040.dtb"
The TQMT104x Yocto BSP provides