layerscape: convert to python3 for rcw