Due to the combination of having ordered an s905x box instead of a s905 one and having a few weeks off from work, I was wondering what is needed to get s905x supported.
I've had a quick look at the latest amlogic kernel tarball and that seems to have s90x (aka 'gxl') support:
koen@beast:/build/pkg/amlogic/arm-src-kernel-2016-05-04-bd1ff1c1cd$ grep mesongxl -irn ../drivers/amlogic/pinctrl/pinctrl_gxl.c:265:static struct meson_bank mesongxl_banks[] = {./drivers/amlogic/pinctrl/pinctrl_gxl.c:284:static struct meson_bank mesongxl_ao_banks[] = {./drivers/amlogic/pinctrl/pinctrl_gxl.c:291:static struct meson_domain_data mesongxl_domain_data[] = {./drivers/amlogic/pinctrl/pinctrl_gxl.c:294: .banks = mesongxl_banks,./drivers/amlogic/pinctrl/pinctrl_gxl.c:295: .num_banks = ARRAY_SIZE(mesongxl_banks),./drivers/amlogic/pinctrl/pinctrl_gxl.c:301: .banks = mesongxl_ao_banks,./drivers/amlogic/pinctrl/pinctrl_gxl.c:302: .num_banks = ARRAY_SIZE(mesongxl_ao_banks),./drivers/amlogic/pinctrl/pinctrl_gxl.c:583: .domain_data = mesongxl_domain_data,./drivers/amlogic/pinctrl/pinctrl_gxl.c:584: .num_domains = ARRAY_SIZE(mesongxl_domain_data),./arch/arm64/boot/dts/amlogic/gxl_pxp.dts:25:#include "mesongxl.dtsi"./arch/arm64/boot/dts/amlogic/gxl_p212.dts:25:#include "mesongxl.dtsi"./arch/arm64/boot/dts/amlogic/gxl_skt.dts:25:#include "mesongxl.dtsi"./arch/arm64/boot/dts/amlogic/mesongxl.dtsi:2: * arch/arm64/boot/dts/amlogic/mesongxl.dtsi
Sadly this is a tarball without git history, so comparing it against kszaqs tree will be tedious. If someone knows where a public git tree of that is located, please let me know.
Looking at the dtsi, the pin, clock and USB controllers are different from the s905:
koen@beast:/build/pkg/amlogic/arm-src-kernel-2016-05-04-bd1ff1c1cd$ grep -irn -- -gxl ../drivers/usb/phy/phy-aml-new-usb3.c:2: * phy-aml-gxl-usb3.c./drivers/usb/phy/phy-aml-new-usb3.c:17:#include <linux/amlogic/usb-gxl.h>./drivers/usb/phy/phy-aml-new-usb.c:13:#include <linux/amlogic/usb-gxl.h>./drivers/usb/phy/phy-aml-new-usb2.c:2:phy-aml-gxl-usb2.c./drivers/usb/phy/phy-aml-new-usb2.c:17:#include <linux/amlogic/usb-gxl.h>./drivers/usb/phy/phy-aml-new-usb.h:6:#include <linux/amlogic/usb-gxl.h>./drivers/amlogic/pinctrl/pinctrl_gxl.c:592: .compatible = "amlogic, pinmux-gxl",./drivers/amlogic/pinctrl/pinctrl_gxl.c:609: .name = "pinmux-gxl",./drivers/amlogic/amports/jpegenc.h:8:#define JPEGENC_DEVINFO_GXL "AML-GXL"./drivers/amlogic/amports/encoder.h:34:#define AMVENC_DEVINFO_GXL "AML-GXL"./drivers/amlogic/clk/Makefile:9: clk-gxbb.o clk-gxtvbb.o clk-gxl.o \./drivers/amlogic/clk/clk-gxl.c:2: * drivers/amlogic/clk/clk-gxl.c./arch/arm64/boot/dts/amlogic/gxl_pxp.dts:785: compatible = "amlogic, aml-gxl-usb2";./arch/arm64/boot/dts/amlogic/gxl_pxp.dts:792: compatible = "amlogic, aml-gxl-usb3";./arch/arm64/boot/dts/amlogic/mesongxl.dtsi:183: compatible = "amlogic, pinmux-gxl";
Once my m8sII arrives I can actually try to test the kernel on real hardware. So apart from kernel and u-boot work, what is needed to get s905x supported in LE? And more imporantly, is someone already working on that? The post in this forum imply that noone is working on it yet, but if someone is, please speak up