Myir AM437x Rico board support for Linux 4.1 kernel
Hello everybody,
I have been asked to help with Linux on Myir Rico board. I have decided to try actual stable kernel from Ti tree
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
branch ti-linux-4.1.y
instead of delivered dated 3.12.10 one to solve some issues and have chance to port possible enhancements to mainline.
I have successfully prepared environment which loads kernel over TFTP and boot actual Debian Jessie armhf from NFS export.
Because I have not found up to date device tree for this board I have analyzed delivered sources against best matching Ti kernel and then prepared DTS which works on the board and I want to know if somebody works on this support, can help to finish/better tune parameters and if there is chance that configs are included into mainline or some other public repository. Because I do not know who is working on this support and who is right maintainer I send only pointers to my files.
http://cmp.felk.cvut.cz/~pisa/arm/myir-rico/am437x-myir-ricoboard.dts
based on Ti am437x-gp-evm.dts
http://cmp.felk.cvut.cz/~pisa/arm/myir-rico/am437x-myir-ricoboard-hdmi.dts
based on Ti am437x-gp-evm-hdmi.dts
http://cmp.felk.cvut.cz/~pisa/arm/myir-rico/am437x-myir-ricoboard_defconfig
If there is interrest for discussion and inclusion, I send usual inlined GIT patches series.
As for DTS, I expect that the regulators section does not match correctly Rico board HW but it works for what client company needs
evm_v3_3d: fixedregulator-v3_3d
vtt_fixed: fixedregulator-vtt
Ethernet, serials, cameras, local MTD, SDcard and most of other devices works. SPI Flash does not work. I have not invested time to that.
The client needs to connect special camera (infrared) to the VPFE so I have spent some time on AM437x VPFE support enhancement.
I have added V4L2_PIX_FMT_Y10 pixel format and some minimal/stub implementation of vpfe_enum_frameintervals, vpfe_g_parm, vvpfe_s_parm, pfe_s_parm and I would be happy if my work can help to somebody other as well. But work has been driven strict deadline to provide working solution in one week so if there is interrest then most has to be rewritten/clean up.
Generally, I am quite pleased by Ti's Linux tree state and support. That week has been my first time with AM chips we used other archs (powerpc and multiple i.MXs for most of our other projects till now).
Probably off topic for these lists but what are suggested options for graphic configuration when Qt4/E or Qt5 is run on framebuffer. Is it better to use CONFIG_DRM_OMAP or CONFIG_FB_OMAP2 ? Is SGX driver available for 4.1 Linux kernel (reply offlist, please, if proprietary only)? Are there other possibilities how to use OMAP AM437xx hardware to accelerate video color and formats transformations? Can be VPFE planes used somehow to embed video in Qt application? I, personally, prefer strongly opensource only options but target company has probably minimal requirements in this area.
Thanks for feedback,
Pavel Pisa
e-mail: pisa-/N2ztlQkxE7Ub/[email protected]
www: http://cmp.felk.cvut.cz/~pisa
university: http://dce.fel.cvut.cz/
company: http://www.pikron.com/
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
+Tony, Tomi, linux-omap
Hi Pavel,
Quoted 14 lines · Pavel Pisa
Hello everybody,
I have been asked to help with Linux on Myir Rico board. I have decided to try actual stable kernel from Ti tree
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.gitbranch ti-linux-4.1.yinstead of delivered dated 3.12.10 one to solve some issues and have chance to port possible enhancements to mainline.
I have successfully prepared environment which loads kernel over TFTP and boot actual Debian Jessie armhf from NFS export.
Quoted 8 lines
Because I have not found up to date device tree for this board I have analyzed delivered sources against best matching Ti kernel and then prepared DTS which works on the board and I want to know if somebody works on this support, can help to finish/better tune parameters and if there is chance that configs are included into mainline or some other public repository. Because I do not know who is working on this support and who is right maintainer I send only pointers to my files.
Tony Lindgren is the OMAP platform maintainer and you must include linux-omap mailing list in in the discussion.
Quoted 11 lines
http://cmp.felk.cvut.cz/~pisa/arm/myir-rico/am437x-myir-ricoboard.dts
based on Tiam437x-gp-evm.dtshttp://cmp.felk.cvut.cz/~pisa/arm/myir-rico/am437x-myir-ricoboard-hdmi.dts
based on Tiam437x-gp-evm-hdmi.dtshttp://cmp.felk.cvut.cz/~pisa/arm/myir-rico/am437x-myir-ricoboard_defconfig
If there is interrest for discussion and inclusion, I send usual inlined GIT patches series.
Please send patches for the new board so that we can review.
Quoted 23 lines
As for DTS, I expect that the regulators section does not match correctly Rico board HW but it works for what client company needs
evm_v3_3d: fixedregulator-v3_3d
vtt_fixed: fixedregulator-vttEthernet, serials, cameras, local MTD, SDcard and most of other devices works. SPI Flash does not work. I have not invested time to that.
The client needs to connect special camera (infrared) to the VPFE so I have spent some time on AM437x VPFE support enhancement.
I have added
V4L2_PIX_FMT_Y10pixel format and some minimal/stub implementation ofvpfe_enum_frameintervals,vpfe_g_parm,vvpfe_s_parm,pfe_s_parmand I would be happy if my work can help to somebody other as well. But work has been driven strict deadline to provide working solution in one week so if there is interrest then most has to be rewritten/clean up.Generally, I am quite pleased by Ti's Linux tree state and support. That week has been my first time with AM chips we used other archs (powerpc and multiple i.MXs for most of our other projects till now).
Quoted 10 lines
Probably off topic for these lists but what are suggested options for graphic configuration when Qt4/E or Qt5 is run on framebuffer. Is it better to use
CONFIG_DRM_OMAPorCONFIG_FB_OMAP2? Is SGX driver available for 4.1 Linux kernel (reply offlist, please, if proprietary only)? Are there other possibilities how to use OMAP AM437xx hardware to accelerate video color and formats transformations? Can be VPFE planes used somehow to embed video in Qt application? I, personally, prefer strongly opensource only options but target company has probably minimal requirements in this area.
Tomi might be able to answer video related questions.
cheers,
-roger
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html