changes according to rpi and xmbc-imx