* Myir AM437x Rico board support (DTS) for Linux mainline 4.9 and 4.4 Ti Processor SDK 03.02.00.05 @ 2017-01-05 16:54 Pavel Pisa [not found] ` <201701051754.03159.ppisa-hnFyeMMZ0rvQT0dZR+AlfA@public.gmane.org> [not found] ` <cb3b5798-e82e-4bb4-932b-1c02ece5d3e4.sunny.guo@myirtech.com> 0 siblings, 2 replies; 4+ messages in thread From: Pavel Pisa @ 2017-01-05 16:54 UTC (permalink / raw) To: Tony Lindgren Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW, Dan Murphy, support-0A6ZgDe55FJWk0Htik3J/w, Tomi Valkeinen Hello Tony and others, I have found some personal time during holydays[*] and proceed furhers with RICO board support for perspective kernel versions. I have prepared a device tree which provides quite complete board support for the most of peripherals found on MyIR AM437x Ricoboard. I have tested the kernel on the real board which I have bought for myself to do testing and can contribute previous work to to mainline. LEDs, Ethernet, LEDs, SDcard, eMMC, onboard SPI NVM etc. works. Generally the AM437x mainline support is great except for SGX. It has been pleasant to work with it. I used TFTP boot and ramdisk overlay over NFS exported Debian Jessie RO chroot install. Only significant missing piece is HDMI support. I have put setup which I prepared for Ti kernels to device-tree. But mainline supports SII9022 HDMI encoder only by drivers/gpu/drm/bridge/sii902x.c but OMAP DSS changes "sil,sii9022" in device-tree to omapdss,sil,sii9022 which seems to be customized version found in Texas Instruments tree drivers/gpu/drm/omapdrm/displays/encoder-sii9022-video.c Do you know if there are some plans to support combination of this driver or include customized version in mainline for OMAP? I expect that non accelerated graphic with parallel LCD panel would work with 4.9 mainline kernel and the prepared device tree if #if 0 is changed to #if 1. The 4.9 mainline support files can be found there http://pikron.com/files/linux/rico/linux-4.9/am437x-myir-ricoboard.dts http://pikron.com/files/linux/rico/linux-4.9/am437x-myir-ricoboard.dtb http://pikron.com/files/linux/rico/linux-4.9/config-4.9-mainline-myir-ricoboard I would be happy if they can help others, some feedback and cooperation would be great as well. I would be happy to contribute DTS to mainline if it is found acceptable. I can prepare version without HDMI or complete DSS section if actual untested/able section is unacceptable. Because of missing HDMI support and attempt to test SGX accelerated support, I have tried official Ti Processor SDK image for AM437x (am437x-evm-linux-03.02.00.05). I have prepared DTS and tested it with my overlay enabled kernel and Debian and Ti root filesystems as well as with original Ti kernel. There are files for use with HDMI connected monitor files/linux/rico/linux-ti-4.4/am437x-myir-ricoboard-hdmi.dts files/linux/rico/linux-ti-4.4/am437x-myir-ricoboard-hdmi.dtb files/linux/rico/linux-ti-4.4/config-ti-4.4-myir-ricoboard and another set for parallel LCD panel (untested) files/linux/rico/linux-ti-4.4/am437x-myir-ricoboard.dts files/linux/rico/linux-ti-4.4/am437x-myir-ricoboard.dtb I have managed to build SGX driver for my kernel configuration and from the testing of Ti image it seem to be used same way as for original Ti kernel build. I have no luck with accelerated Xorg. But Ti release notes states that Xorg support is missing in 03.02.00.05. There is question if it is permanent status or if there is some change. Is there chance that Ti includes this prepared DTS in their kernel branch? For sure mainline 4.9 support is even more interesting for me and future. Best wishes, Pavel [*] Our company partner cares mainly (and may be pays something) for my work on maintenance of ancient MyIR Linux 3.12.10 kernel in their products. And MyIR company does not seem to really care about users and updates at all even if the enhancements are sent them for free. Typical experience but great thing about this board is that a schematic diagram is provided which makes possible to develop proper support. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <201701051754.03159.ppisa-hnFyeMMZ0rvQT0dZR+AlfA@public.gmane.org>]
* Re: Myir AM437x Rico board support (DTS) for Linux mainline 4.9 and 4.4 Ti Processor SDK 03.02.00.05 [not found] ` <201701051754.03159.ppisa-hnFyeMMZ0rvQT0dZR+AlfA@public.gmane.org> @ 2017-01-05 22:12 ` Tony Lindgren 2017-01-09 8:26 ` Tomi Valkeinen 1 sibling, 0 replies; 4+ messages in thread From: Tony Lindgren @ 2017-01-05 22:12 UTC (permalink / raw) To: Pavel Pisa Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW, Dan Murphy, support-0A6ZgDe55FJWk0Htik3J/w, Tomi Valkeinen, linux-omap-u79uwXL29TY76Z2rM5mHXA, Jyri Sarha Hi, * Pavel Pisa <ppisa-hnFyeMMZ0rvQT0dZR+AlfA@public.gmane.org> [170105 08:54]: > Hello Tony and others, > > I have found some personal time during holydays[*] and proceed > furhers with RICO board support for perspective kernel versions. > > I have prepared a device tree which provides quite complete > board support for the most of peripherals found on MyIR > AM437x Ricoboard. I have tested the kernel on the real board > which I have bought for myself to do testing and can contribute > previous work to to mainline. > > LEDs, Ethernet, LEDs, SDcard, eMMC, onboard SPI NVM etc. > works. Generally the AM437x mainline support is great except > for SGX. It has been pleasant to work with it. I used TFTP boot > and ramdisk overlay over NFS exported Debian Jessie RO chroot > install. OK nice. Please start sending the patches to linux-omap, linux-arm-kernel and devicetree mailing lists so we can start merging in the support :) > Only significant missing piece is HDMI support. I have put > setup which I prepared for Ti kernels to device-tree. > But mainline supports SII9022 HDMI encoder only by > > drivers/gpu/drm/bridge/sii902x.c > > but OMAP DSS changes "sil,sii9022" in device-tree > to omapdss,sil,sii9022 which seems to be customized > version found in Texas Instruments tree > > drivers/gpu/drm/omapdrm/displays/encoder-sii9022-video.c > > Do you know if there are some plans to support combination > of this driver or include customized version in mainline > for OMAP? > > I expect that non accelerated graphic with parallel > LCD panel would work with 4.9 mainline kernel and > the prepared device tree if #if 0 is changed to #if 1. > > The 4.9 mainline support files can be found there > > http://pikron.com/files/linux/rico/linux-4.9/am437x-myir-ricoboard.dts > http://pikron.com/files/linux/rico/linux-4.9/am437x-myir-ricoboard.dtb > > http://pikron.com/files/linux/rico/linux-4.9/config-4.9-mainline-myir-ricoboard Seems OK for the dts on a quick glance. Tomi and Jyri would know more about the HDMI support. > I would be happy if they can help others, some feedback > and cooperation would be great as well. I would be happy > to contribute DTS to mainline if it is found acceptable. Yeah let's do that first, then you can figure out the HDMI part. > I can prepare version without HDMI or complete DSS section > if actual untested/able section is unacceptable. > > Because of missing HDMI support and attempt to test SGX > accelerated support, I have tried official Ti > Processor SDK image for AM437x (am437x-evm-linux-03.02.00.05). > I have prepared DTS and tested it with my overlay enabled > kernel and Debian and Ti root filesystems as well as with > original Ti kernel. > > There are files for use with HDMI connected monitor > > files/linux/rico/linux-ti-4.4/am437x-myir-ricoboard-hdmi.dts > files/linux/rico/linux-ti-4.4/am437x-myir-ricoboard-hdmi.dtb > files/linux/rico/linux-ti-4.4/config-ti-4.4-myir-ricoboard > > and another set for parallel LCD panel (untested) > > files/linux/rico/linux-ti-4.4/am437x-myir-ricoboard.dts > files/linux/rico/linux-ti-4.4/am437x-myir-ricoboard.dtb > > I have managed to build SGX driver for my kernel configuration > and from the testing of Ti image it seem to be used same way > as for original Ti kernel build. > > I have no luck with accelerated Xorg. But Ti release notes > states that Xorg support is missing in 03.02.00.05. > > There is question if it is permanent status or if there is some > change. > > Is there chance that Ti includes this prepared DTS in their > kernel branch? > > For sure mainline 4.9 support is even more interesting > for me and future. No idea about the above really, but the basic support seem very much straight forward. Regards, Tony > [*] Our company partner cares mainly (and may be pays something) > for my work on maintenance of ancient MyIR Linux 3.12.10 kernel > in their products. And MyIR company does not seem to really > care about users and updates at all even if the enhancements > are sent them for free. Typical experience but great thing about > this board is that a schematic diagram is provided which makes > possible to develop proper support. > > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Myir AM437x Rico board support (DTS) for Linux mainline 4.9 and 4.4 Ti Processor SDK 03.02.00.05 [not found] ` <201701051754.03159.ppisa-hnFyeMMZ0rvQT0dZR+AlfA@public.gmane.org> 2017-01-05 22:12 ` Tony Lindgren @ 2017-01-09 8:26 ` Tomi Valkeinen 1 sibling, 0 replies; 4+ messages in thread From: Tomi Valkeinen @ 2017-01-09 8:26 UTC (permalink / raw) To: Pavel Pisa, Tony Lindgren Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW, Dan Murphy, support-0A6ZgDe55FJWk0Htik3J/w [-- Attachment #1.1: Type: text/plain, Size: 1672 bytes --] On 05/01/17 18:54, Pavel Pisa wrote: > Only significant missing piece is HDMI support. I have put > setup which I prepared for Ti kernels to device-tree. > But mainline supports SII9022 HDMI encoder only by > > drivers/gpu/drm/bridge/sii902x.c > > but OMAP DSS changes "sil,sii9022" in device-tree > to omapdss,sil,sii9022 which seems to be customized > version found in Texas Instruments tree > > drivers/gpu/drm/omapdrm/displays/encoder-sii9022-video.c > > Do you know if there are some plans to support combination > of this driver or include customized version in mainline > for OMAP? Yes, the plan is to get everything upstream. The short story is, omapdrm currently uses a custom model for the panel & encoder drivers, not the common DRM model. I'm reluctant to push more custom drivers into mainline, and so SiI9022 driver is only in the TI kernel for now. We'll be working on to getting omapdrm support DRM model, but I can't give you any schedule right away. The TI kernel's SiI9022 driver should be easily portable to your mainline based kernel, though. > I have managed to build SGX driver for my kernel configuration > and from the testing of Ti image it seem to be used same way > as for original Ti kernel build. > > I have no luck with accelerated Xorg. But Ti release notes > states that Xorg support is missing in 03.02.00.05. Unfortunately TI doesn't support SGX with X. There's some unofficial work on that, so perhaps one day we'll get it... I also think that Pyra board guys have SGX working with X, but that's not the same SGX version as on AM4, so I'm not sure if it's of any use here. Tomi [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <cb3b5798-e82e-4bb4-932b-1c02ece5d3e4.sunny.guo@myirtech.com>]
[parent not found: <cb3b5798-e82e-4bb4-932b-1c02ece5d3e4.sunny.guo-0A6ZgDe55FJWk0Htik3J/w@public.gmane.org>]
* Re: 回复:Myir AM437x Rico board support (DTS) for Linux mainline 4.9 and 4.4 Ti Processor SDK 03.02.00.05 [not found] ` <cb3b5798-e82e-4bb4-932b-1c02ece5d3e4.sunny.guo-0A6ZgDe55FJWk0Htik3J/w@public.gmane.org> @ 2017-01-09 19:37 ` Tony Lindgren 0 siblings, 0 replies; 4+ messages in thread From: Tony Lindgren @ 2017-01-09 19:37 UTC (permalink / raw) To: Sunny Cc: Pavel Pisa, Tomi Valkeinen, devicetree, linux-arm-kernel, Dan Murphy, linux-omap-u79uwXL29TY76Z2rM5mHXA, support-0A6ZgDe55FJWk0Htik3J/w Hi, * Sunny <sunny.guo-0A6ZgDe55FJWk0Htik3J/w@public.gmane.org> [170109 02:36]: > Hello Pavel and Tony, > > This is Sunny from MYIR , and working as the software manager on RICO board. Very glad to see the great work that Pavel has done ,and sincerely appriciated to all the contributions and share. > > Our Linux release is not in the mailline release currently, and updates is following TI official release , may with some latency due need some time to make the update on RICO . We are planning and working on next update on RICO linux which will happen on April to Linux 4.4 or above. > > I will look into detail and make some testings. We will talk to you later on how we can share and help the engineers to benefit from your contribution. Please let's coordinate the work on linux-arm-kernel and linux-omap mailing lists to avoid duplicate work. It seems the basic dts file is pretty much ready to go, then it's easy to make incremental patches to that. So maybe try to get get your engineers involved on the lists too? And if you want the community people to help then making few devices available to play with might get you some extra help. Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-01-09 19:37 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-01-05 16:54 Myir AM437x Rico board support (DTS) for Linux mainline 4.9 and 4.4 Ti Processor SDK 03.02.00.05 Pavel Pisa [not found] ` <201701051754.03159.ppisa-hnFyeMMZ0rvQT0dZR+AlfA@public.gmane.org> 2017-01-05 22:12 ` Tony Lindgren 2017-01-09 8:26 ` Tomi Valkeinen [not found] ` <cb3b5798-e82e-4bb4-932b-1c02ece5d3e4.sunny.guo@myirtech.com> [not found] ` <cb3b5798-e82e-4bb4-932b-1c02ece5d3e4.sunny.guo-0A6ZgDe55FJWk0Htik3J/w@public.gmane.org> 2017-01-09 19:37 ` 回复:Myir " Tony Lindgren
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).