[Openpvrsgx-devgroup] openpvrsgx-devgroup Digest, Vol 11, Issue 12

H. Nikolaus Schaller hns at goldelico.com
Mon Oct 19 09:28:49 CEST 2020


Hi Alif,
I have pushed the latest patches to the letux git. So there is a complete
tree which should also compile for DDK 1.17 and poulsbo (if configured):

https://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux-5.9.y

BR,
Nikolaus

> Am 18.10.2020 um 19:47 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
> 
> 
>> Am 18.10.2020 um 15:03 schrieb Alif Ilhan <alifilhan0 at gmail.com>:
>> 
>> Success! I could build cedarview kernel with choosing DDK version 1.14.
> 
> Cool!
> 
>> I will tell you tommorow what breaks and what works.
>> Thanks,
>> Alif
> 
> BR,
> Nikolaus
> 
>> 
>> On Sun, 18 Oct 2020, 4:00 p.m. , <openpvrsgx-devgroup-request at letux.org> wrote:
>> Send openpvrsgx-devgroup mailing list submissions to
>>         openpvrsgx-devgroup at letux.org
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         http://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup
>> or, via email, send a message with subject or body 'help' to
>>         openpvrsgx-devgroup-request at letux.org
>> 
>> You can reach the person managing the list at
>>         openpvrsgx-devgroup-owner at letux.org
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of openpvrsgx-devgroup digest..."
>> 
>> 
>> Today's Topics:
>> 
>>    1. Re: openpvrsgx-devgroup Digest, Vol 11, Issue 9
>>       (H. Nikolaus Schaller)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Sat, 17 Oct 2020 13:06:40 +0200
>> From: "H. Nikolaus Schaller" <hns at goldelico.com>
>> To: OpenPVRSGX Linux Driver Group <openpvrsgx-devgroup at letux.org>
>> Cc: Discussions about the Letux Kernel <letux-kernel at openphoenux.org>
>> Subject: Re: [Openpvrsgx-devgroup] openpvrsgx-devgroup Digest, Vol 11,
>>         Issue 9
>> Message-ID: <FE2B833E-5B8E-4E27-AC4F-A0F820F4A5E8 at goldelico.com>
>> Content-Type: text/plain; charset=us-ascii
>> 
>> Hi all,
>> just a quick note:
>> 
>> I have managed to also compile the Poulsbo (gma500) driver for ARCH=x86.
>> And forward port the CedarView and Poulsbo drivers from DDK 1.14.36999 to DDK 1.17.
>> So we can now also choose CONFIG_SGX_1.17.......=y
>> 
>> Well, the driver (not even the kernel) is tested in any way since I have no appropriate
>> hardware to do any tests (note: this is not a request to send me hardware but to keep
>> yours and help testing and developing :).
>> 
>> All this new code will be pushed in the next days, maybe right after v5.10-rc1.
>> 
>> Do you think announcements are appropriate for LKML or which other mailing lists?
>> 
>> BR and thanks for all support,
>> Nikolaus
>> 
>> 
>> > Am 17.10.2020 um 09:11 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
>> > 
>> > Hi Alif,
>> > 
>> >> Am 17.10.2020 um 05:02 schrieb Alif Ilhan <alifilhan0 at gmail.com>:
>> >> 
>> >> I don't use any private defconfigs.
>> > 
>> > Ok, so you use the default-default :)
>> > 
>> >> Just want to apply the CFLAGS so that I can optimize for Intel Atom CedarTrail linup. Like -m32 --march=atom --msse3 --mfpmath=sse 
>> >> etc. 
>> > 
>> > Ok.
>> > 
>> >> [ ] 64 bit kernel(I deselect it, so the kernel output is 32 bit)
>> >> Processor type and family (Intel Atom)
>> >> CONFIG_SGX=y
>> >> CONFIG_SGX_1.17.......=y
>> > 
>> > 1.17 doesn't work - there is the cedarview driver component missing. I think we can forward-port it.
>> > 
>> >> CONFIG_SGX_DRM=y
>> >> CONFIG_SGX_CEDARVIEW=y
>> > 
>> > ok.
>> > 
>> >> 
>> >> This gives me this output again:- 
>> >> 
>> >> 
>> >> alif at alif-Latitude-E5470:/media/alif/New-Volume/Android-Development/linux_openpvrsgx$ 
>> >> make ARCH=i386 "KCFLAGS=-m32 -march=atom -mtune=atom -msse3 
>> >> -mfpmath=sse" -j4
>> >>   HOSTCC  scripts/kconfig/conf.o
>> >>   HOSTLD  scripts/kconfig/conf
>> >> scripts/kconfig/conf  --syncconfig Kconfig
>> >> 
>> >> *** Error during sync of the configuration.
>> > 
>> > This comes from scripts/kconfig/conf.c
>> > 
>> > https://elixir.bootlin.com/linux/latest/source/scripts/kconfig/conf.c#L722
>> > 
>> > Most likely it is a file permission problem when this code tries to write
>> > the results of you config answers. Did you try to make clean?
>> > 
>> > What happens if you do
>> > 
>> > ls -ld .config .tmpconfig .tmpconfig.h include include/generated include/generated/autoconf.h include/config include/config/auto.conf
>> > 
>> > For me it says:
>> > 
>> > iMac:master hns$ ls -ld .config .tmpconfig .tmpconfig.h include include/generated include/generated/autoconf.h include/config include/config/auto.conf
>> > ls: .tmpconfig: No such file or directory
>> > ls: .tmpconfig.h: No such file or directory
>> > -rw-r--r--    1 hns  staff  188405 16 Okt 22:40 .config
>> > drwxr-xr-x   31 hns  staff    1054 12 Okt 18:25 include
>> > drwxr-xr-x  669 hns  staff   35700 16 Okt 22:55 include/config
>> > -rw-r--r--    1 hns  staff   55207 16 Okt 22:41 include/config/auto.conf
>> > drwxr-xr-x    3 hns  staff     476 16 Okt 22:55 include/generated
>> > -rw-r--r--    1 hns  staff   78483 16 Okt 22:41 include/generated/autoconf.h
>> > iMac:master hns$ 
>> > 
>> > There also may be an influcence by environment variable KCONFIG_AUTOHEADER.
>> > 
>> > BR,
>> > Nikolaus
>> > 
>> >> 
>> >> make[2]: *** [scripts/kconfig/Makefile:75: syncconfig] Error 1
>> >> make[1]: *** [Makefile:567: syncconfig] Error 2
>> >> make: *** [Makefile:677: include/config/auto.conf.cmd] Error 2
>> >> make: *** Deleting file 'include/config/auto.conf.cmd'
>> >> 
>> >> Thanks,
>> >> 
>> >> Alif
>> >> On Sat, 17 Oct 2020, 2:41 a.m. , <openpvrsgx-devgroup-request at letux.org> wrote:
>> >> Send openpvrsgx-devgroup mailing list submissions to
>> >>        openpvrsgx-devgroup at letux.org
>> >> 
>> >> To subscribe or unsubscribe via the World Wide Web, visit
>> >>        http://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup
>> >> or, via email, send a message with subject or body 'help' to
>> >>        openpvrsgx-devgroup-request at letux.org
>> >> 
>> >> You can reach the person managing the list at
>> >>        openpvrsgx-devgroup-owner at letux.org
>> >> 
>> >> When replying, please edit your Subject line so it is more specific
>> >> than "Re: Contents of openpvrsgx-devgroup digest..."
>> >> 
>> >> 
>> >> Today's Topics:
>> >> 
>> >>   1. Re: openpvrsgx-devgroup Digest, Vol 11, Issue 8 (Alif Ilhan)
>> >>   2. Re: openpvrsgx-devgroup Digest, Vol 11, Issue 8 - build for
>> >>      x86 / cedarview (H. Nikolaus Schaller)
>> >> 
>> >> 
>> >> ----------------------------------------------------------------------
>> >> 
>> >> Message: 1
>> >> Date: Fri, 16 Oct 2020 16:03:13 +0600
>> >> From: Alif Ilhan <alifilhan0 at gmail.com>
>> >> To: openpvrsgx-devgroup at letux.org
>> >> Subject: Re: [Openpvrsgx-devgroup] openpvrsgx-devgroup Digest, Vol 11,
>> >>        Issue 8
>> >> Message-ID:
>> >>        <CAPfpOrZ+BE6UxxPyOaUmGY4EPrtVym2OX5MyD7jAaq9=-5SbSA at mail.gmail.com>
>> >> Content-Type: text/plain; charset="utf-8"
>> >> 
>> >> Okay thank you. I will check out the code in my PC today and build it. Then
>> >> I will inform the bugs.
>> >> Thanks for the info
>> >> Alif
>> >> 
>> >> On Fri, 16 Oct 2020, 4:00 p.m. , <openpvrsgx-devgroup-request at letux.org>
>> >> wrote:
>> >> 
>> >>> Send openpvrsgx-devgroup mailing list submissions to
>> >>>        openpvrsgx-devgroup at letux.org
>> >>> 
>> >>> To subscribe or unsubscribe via the World Wide Web, visit
>> >>> 
>> >>> http://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup
>> >>> or, via email, send a message with subject or body 'help' to
>> >>>        openpvrsgx-devgroup-request at letux.org
>> >>> 
>> >>> You can reach the person managing the list at
>> >>>        openpvrsgx-devgroup-owner at letux.org
>> >>> 
>> >>> When replying, please edit your Subject line so it is more specific
>> >>> than "Re: Contents of openpvrsgx-devgroup digest..."
>> >>> 
>> >>> 
>> >>> Today's Topics:
>> >>> 
>> >>>   1. Re: openpvrsgx-devgroup Digest, Vol 11, Issue 6
>> >>>      (H. Nikolaus Schaller)
>> >>> 
>> >>> 
>> >>> ----------------------------------------------------------------------
>> >>> 
>> >>> Message: 1
>> >>> Date: Thu, 15 Oct 2020 16:01:06 +0200
>> >>> From: "H. Nikolaus Schaller" <hns at goldelico.com>
>> >>> To: OpenPVRSGX Linux Driver Group <openpvrsgx-devgroup at letux.org>
>> >>> Subject: Re: [Openpvrsgx-devgroup] openpvrsgx-devgroup Digest, Vol 11,
>> >>>        Issue 6
>> >>> Message-ID: <3027F737-11CE-464D-A61E-A3C05BB5D62F at goldelico.com>
>> >>> Content-Type: text/plain; charset=us-ascii
>> >>> 
>> >>> Hi Alif,
>> >>> 
>> >>>> Am 14.10.2020 um 17:54 schrieb Alif Ilhan <alifilhan0 at gmail.com>:
>> >>>> 
>> >>>> One more question. Which branch to use? I see there are branches like
>> >>> letux-pvrsrvkm-59-rc2 etc. I am currently trying with letux-pvrsrvkm
>> >>> (default). Did I choose the correct branch? I see more fresh activities in
>> >>> letux-pvrsrvkm-5.9-rc2
>> >>> 
>> >>> yes, the letux-pvrsrvkm branch is a little outdated (seems to be v5.6).
>> >>> 
>> >>> letux-pvrsrvkm-5.9-rc2 is the latest one.
>> >>> 
>> >>> Unfortunately this is a little confusing. The reason is that there are
>> >>> several
>> >>> feature branches which are merged into a single "complete" kernel. These
>> >>> feature-branches are rebased every now and then, so that we can remove
>> >>> patches
>> >>> which have arrived upstream or can follow API changes.
>> >>> 
>> >>> For the Letux project this is done almost automatically every week so there
>> >>> would be a letux-pvrsrvkm-5.9.0.
>> >>> 
>> >>> But this way of rapid rebase+merge gave a non-linear history between e.g.
>> >>> letux-pvrsrvkm-5.9-rc1 and letux-pvrsrvkm-5.9-rc2. This makes detection of
>> >>> changes and bisects too difficult.
>> >>> 
>> >>> So the current work-around is to rebase only once every major release. This
>> >>> will be letux-pvrsrvkm-5.10-rc1 or letux-pvrsrvkm-5.10-rc2 in ca. 2-3
>> >>> weeks.
>> >>> 
>> >>> Until then please try letux-pvrsrvkm-5.9-rc2 which should also be the
>> >>> (current)
>> >>> basis if you want to submit patches and fixes to this list.
>> >>> 
>> >>> If you need some bug fixes from upstream kernel (it is still a -rc) and try
>> >>> with latest linus/master, please do:
>> >>> 
>> >>>        git checkout letux-pvrsrvkm-5.9-rc2
>> >>>        git merge v5.9
>> >>> 
>> >>> If you fix something, please commit on top of this and do a git-format for
>> >>> your patches. I can then integrate them into the tree for everyones
>> >>> benefit.
>> >>> 
>> >>> BR and thanks,
>> >>> Nikolaus
>> >>> 
>> >>> 
>> >>>> 
>> >>>> On Wed, 14 Oct 2020, 4:00 p.m. , <openpvrsgx-devgroup-request at letux.org>
>> >>> wrote:
>> >>>> Send openpvrsgx-devgroup mailing list submissions to
>> >>>>        openpvrsgx-devgroup at letux.org
>> >>>> 
>> >>>> To subscribe or unsubscribe via the World Wide Web, visit
>> >>>> 
>> >>> http://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup
>> >>>> or, via email, send a message with subject or body 'help' to
>> >>>>        openpvrsgx-devgroup-request at letux.org
>> >>>> 
>> >>>> You can reach the person managing the list at
>> >>>>        openpvrsgx-devgroup-owner at letux.org
>> >>>> 
>> >>>> When replying, please edit your Subject line so it is more specific
>> >>>> than "Re: Contents of openpvrsgx-devgroup digest..."
>> >>>> 
>> >>>> 
>> >>>> Today's Topics:
>> >>>> 
>> >>>>   1. About PowerVR DDKs (Alif Ilhan)
>> >>>>   2. Re: About PowerVR DDKs (H. Nikolaus Schaller)
>> >>>> 
>> >>>> 
>> >>>> ----------------------------------------------------------------------
>> >>>> 
>> >>>> Message: 1
>> >>>> Date: Tue, 13 Oct 2020 22:17:58 +0600
>> >>>> From: Alif Ilhan <alifilhan0 at gmail.com>
>> >>>> To: openpvrsgx-devgroup at letux.org
>> >>>> Subject: [Openpvrsgx-devgroup] About PowerVR DDKs
>> >>>> Message-ID:
>> >>>>        <
>> >>> CAPfpOrZuci7T6S4VU4x8aE0uOJgfWXTisizsKp3fVF2UkmvQGA at mail.gmail.com>
>> >>>> Content-Type: text/plain; charset="utf-8"
>> >>>> 
>> >>>> I want to build this kernel with the PVR module for Intel Atom N2600. But
>> >>>> which DDK should I select? There are a lot of options like Ti, SUN4i,
>> >>>> Ingenic Generic. But which is appropiate for the SGX545?
>> >>>> 
>> >>>> Thanks,
>> >>>> Alif
>> >>>> -------------- next part --------------
>> >>>> An HTML attachment was scrubbed...
>> >>>> URL: <
>> >>> http://lists.goldelico.com/pipermail/openpvrsgx-devgroup/attachments/20201013/23a1c079/attachment.html
>> >>>> 
>> >>>> 
>> >>>> ------------------------------
>> >>>> 
>> >>>> Message: 2
>> >>>> Date: Tue, 13 Oct 2020 18:38:40 +0200
>> >>>> From: "H. Nikolaus Schaller" <hns at goldelico.com>
>> >>>> To: OpenPVRSGX Linux Driver Group <openpvrsgx-devgroup at letux.org>
>> >>>> Subject: Re: [Openpvrsgx-devgroup] About PowerVR DDKs
>> >>>> Message-ID: <E7A06234-D3B7-44A6-9839-4DBF27511AB5 at goldelico.com>
>> >>>> Content-Type: text/plain; charset=us-ascii
>> >>>> 
>> >>>> Hi Alif,
>> >>>> 
>> >>>>> Am 13.10.2020 um 18:17 schrieb Alif Ilhan <alifilhan0 at gmail.com>:
>> >>>>> 
>> >>>>> I want to build this kernel with the PVR module for Intel Atom N2600.
>> >>> But which DDK should I select? There are a lot of options like Ti, SUN4i,
>> >>> Ingenic Generic. But which is appropiate for the SGX545?
>> >>>> 
>> >>>> That is a good question :)
>> >>>> 
>> >>>> Well, there is no specific option for SGX545 but for different SoC.
>> >>>> The idea is to make a generic driver handle all SGX5 variants without
>> >>> configuration (only through device tree which describes the hardware).
>> >>>> 
>> >>>> Here is my .config for some OMAP processor:
>> >>>> 
>> >>>> iMac:master hns$ fgrep SGX .config
>> >>>> CONFIG_SGX=y
>> >>>> # CONFIG_PVRSGX_1_9_2188537 is not set
>> >>>> # CONFIG_PVRSGX_1_9_2253347 is not set
>> >>>> # CONFIG_PVRSGX_1_10_2359475 is not set
>> >>>> # CONFIG_PVRSGX_1_13_3341330 is not set
>> >>>> # CONFIG_PVRSGX_1_14_3699939 is not set
>> >>>> # CONFIG_PVRSGX_1_14_3759903 is not set
>> >>>> # CONFIG_PVRSGX_1_14_3841212 is not set
>> >>>> # CONFIG_PVRSGX_1_15_4564147 is not set
>> >>>> CONFIG_PVRSGX_1_17_4948957=y
>> >>>> # CONFIG_SGX_DEBUG is not set
>> >>>> CONFIG_SGX_DRM=y
>> >>>> CONFIG_SGX_OMAP=m
>> >>>> # CONFIG_SGX_GENERIC is not set
>> >>>> iMac:master hns$
>> >>>> 
>> >>>> I think your setup should have a CONFIG_SGX_CEDARVIEW for Intel.
>> >>>> It should become visible if your setup has CONFIG_MATOM=y and
>> >>> CONFIG_SGX=y.
>> >>>> I hope it has. If not, we have a bug with Makefile and Kconfig.
>> >>>> 
>> >>>> Please check with drivers/gpu/drm/pvrsgx/Makefile and Kconfig
>> >>>> 
>> >>>> Next is to choose some DDK version.
>> >>>> 
>> >>>> iMac:master hns$ find drivers/gpu/drm/pvrsgx/ -name '*cedarview*'
>> >>>> 
>> >>> drivers/gpu/drm/pvrsgx//1.13.3341330/eurasia_km/eurasiacon/build/linux2/pc_i686_cedarview_linux
>> >>>> 
>> >>> drivers/gpu/drm/pvrsgx//1.13.3341330/eurasia_km/services4/system/cedarview_linux
>> >>>> 
>> >>> drivers/gpu/drm/pvrsgx//1.14.3699939/eurasia_km/eurasiacon/build/linux2/pc_i686_cedarview_linux
>> >>>> 
>> >>> drivers/gpu/drm/pvrsgx//1.14.3699939/eurasia_km/services4/system/cedarview_linux
>> >>>> 
>> >>> drivers/gpu/drm/pvrsgx//1.14.3759903/eurasia_km/eurasiacon/build/linux2/pc_i686_cedarview_linux
>> >>>> 
>> >>> drivers/gpu/drm/pvrsgx//1.14.3759903/eurasia_km/services4/system/cedarview_linux
>> >>>> 
>> >>> drivers/gpu/drm/pvrsgx//1.14.3841212/eurasia_km/services4/system/cedarview_linux
>> >>>> iMac:master hns$
>> >>>> 
>> >>>> shows which DDKs should compile. Best is to start with
>> >>> CONFIG_PVRSGX_1_14_3699939.
>> >>>> 
>> >>>> This will be the first hurdle to jump over...
>> >>>> Then we will see what problem surfaces next.
>> >>>> 
>> >>>> BR and thanks,
>> >>>> Nikolaus
>> >>>> 
>> >>>> 
>> >>>> 
>> >>>> ------------------------------
>> >>>> 
>> >>>> Subject: Digest Footer
>> >>>> 
>> >>>> _______________________________________________
>> >>>> https://github.com/openpvrsgx-devgroup/linux_openpvrsgx
>> >>>> openpvrsgx-devgroup mailing list
>> >>>> openpvrsgx-devgroup at letux.org
>> >>>> http://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup
>> >>>> 
>> >>>> 
>> >>>> ------------------------------
>> >>>> 
>> >>>> End of openpvrsgx-devgroup Digest, Vol 11, Issue 6
>> >>>> **************************************************
>> >>>> _______________________________________________
>> >>>> https://github.com/openpvrsgx-devgroup/linux_openpvrsgx
>> >>>> openpvrsgx-devgroup mailing list
>> >>>> openpvrsgx-devgroup at letux.org
>> >>>> https://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup
>> >>> 
>> >>> 
>> >>> 
>> >>> ------------------------------
>> >>> 
>> >>> Subject: Digest Footer
>> >>> 
>> >>> _______________________________________________
>> >>> https://github.com/openpvrsgx-devgroup/linux_openpvrsgx
>> >>> openpvrsgx-devgroup mailing list
>> >>> openpvrsgx-devgroup at letux.org
>> >>> http://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup
>> >>> 
>> >>> 
>> >>> ------------------------------
>> >>> 
>> >>> End of openpvrsgx-devgroup Digest, Vol 11, Issue 8
>> >>> **************************************************
>> >>> 
>> >> -------------- next part --------------
>> >> An HTML attachment was scrubbed...
>> >> URL: <http://lists.goldelico.com/pipermail/openpvrsgx-devgroup/attachments/20201016/4ac9b73a/attachment-0001.htm>
>> >> 
>> >> ------------------------------
>> >> 
>> >> Message: 2
>> >> Date: Fri, 16 Oct 2020 22:41:17 +0200
>> >> From: "H. Nikolaus Schaller" <hns at goldelico.com>
>> >> To: OpenPVRSGX Linux Driver Group <openpvrsgx-devgroup at letux.org>
>> >> Cc: Discussions about the Letux Kernel <letux-kernel at openphoenux.org>
>> >> Subject: Re: [Openpvrsgx-devgroup] openpvrsgx-devgroup Digest, Vol 11,
>> >>        Issue 8 - build for x86 / cedarview
>> >> Message-ID: <3F12B991-4C09-4B95-B9C3-5B92A28F8E8A at goldelico.com>
>> >> Content-Type: text/plain; charset="us-ascii"
>> >> 
>> >> Hi Alif,
>> >> 
>> >>> Am 16.10.2020 um 12:03 schrieb Alif Ilhan <alifilhan0 at gmail.com>:
>> >>> 
>> >>> Okay thank you. I will check out the code in my PC today and build it. Then I will inform the bugs.
>> >>> Thanks for the info
>> >>> Alif
>> >> 
>> >> I have extended my cross-compile setup so that I can compile for "ARCH=x86".
>> >> You may wonder why I need to cross compile for intel, but my build host
>> >> machine runs macOS so I need a cross-compiler for intel.
>> >> 
>> >> It turned out that the code needs some minor tweaks so that it compiles
>> >> for x86. I have attached some patches to the letux-pvrsrvkm-5.9-rc2 branch.
>> >> 
>> >> BTW: which defconfig do you use? Do you use some from arch/x86/configs
>> >> or a private one?
>> >> 
>> >> For my build tests I have started with a copy of the i386_defconfig
>> >> (expanded) and then changed:
>> >> 
>> >> @@ -297,7 +297,7 @@ CONFIG_SCHED_OMIT_FRAME_POINTER=y
>> >> # CONFIG_M586 is not set
>> >> # CONFIG_M586TSC is not set
>> >> # CONFIG_M586MMX is not set
>> >> -CONFIG_M686=y
>> >> +# CONFIG_M686 is not set
>> >> # CONFIG_MPENTIUMII is not set
>> >> # CONFIG_MPENTIUMIII is not set
>> >> # CONFIG_MPENTIUMM is not set
>> >> @@ -316,7 +316,7 @@ CONFIG_M686=y
>> >> # CONFIG_MVIAC3_2 is not set
>> >> # CONFIG_MVIAC7 is not set
>> >> # CONFIG_MCORE2 is not set
>> >> -# CONFIG_MATOM is not set
>> >> +CONFIG_MATOM=y
>> >> CONFIG_X86_GENERIC=y
>> >> CONFIG_X86_INTERNODE_CACHE_SHIFT=6
>> >> CONFIG_X86_L1_CACHE_SHIFT=6
>> >> 
>> >> To enable building the SGX kernel module:
>> >> 
>> >> @@ -2849,6 +2849,7 @@ CONFIG_DRM_FBDEV_EMULATION=y
>> >> CONFIG_DRM_FBDEV_OVERALLOC=100
>> >> # CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
>> >> # CONFIG_DRM_DP_CEC is not set
>> >> +CONFIG_DRM_VM=y
>> >> 
>> >> #
>> >> # I2C encoder or helper chips
>> >> @@ -2910,8 +2911,29 @@ CONFIG_DRM_PANEL_BRIDGE=y
>> >> # CONFIG_DRM_CIRRUS_QEMU is not set
>> >> # CONFIG_DRM_GM12U320 is not set
>> >> # CONFIG_DRM_VBOXVIDEO is not set
>> >> -# CONFIG_SGX is not set
>> >> -# CONFIG_DRM_LEGACY is not set
>> >> +CONFIG_SGX=y
>> >> +# CONFIG_PVRSGX_1_9_2188537 is not set
>> >> +# CONFIG_PVRSGX_1_9_2253347 is not set
>> >> +# CONFIG_PVRSGX_1_10_2359475 is not set
>> >> +# CONFIG_PVRSGX_1_13_3341330 is not set
>> >> +CONFIG_PVRSGX_1_14_3699939=y
>> >> +# CONFIG_PVRSGX_1_14_3759903 is not set
>> >> +# CONFIG_PVRSGX_1_14_3841212 is not set
>> >> +# CONFIG_PVRSGX_1_15_4564147 is not set
>> >> +# CONFIG_PVRSGX_1_17_4948957 is not set
>> >> +# CONFIG_SGX_DEBUG is not set
>> >> +CONFIG_SGX_DRM=y
>> >> +CONFIG_SGX_CEDARVIEW=m
>> >> +# CONFIG_SGX_POULSBO is not set
>> >> +# CONFIG_SGX_GENERIC is not set
>> >> +CONFIG_DRM_LEGACY=y
>> >> +# CONFIG_DRM_TDFX is not set
>> >> +# CONFIG_DRM_R128 is not set
>> >> +# CONFIG_DRM_I810 is not set
>> >> +# CONFIG_DRM_MGA is not set
>> >> +# CONFIG_DRM_SIS is not set
>> >> +# CONFIG_DRM_VIA is not set
>> >> +# CONFIG_DRM_SAVAGE is not set
>> >> CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y
>> >> 
>> >> #
>> >> 
>> >> With these patches and settings I can successfully compile a kernel and
>> >> the resulting pvrsrvkm.ko looks like this:
>> >> 
>> >> iMac:master hns$ ls -l drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/pvrsrvkm_gma3600_sgx545_10141.ko
>> >> -rw-r--r--  1 hns  staff  5121748 16 Okt 20:10 drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/pvrsrvkm_gma3600_sgx545_10141.ko
>> >> iMac:master hns$ file drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/pvrsrvkm_gma3600_sgx545_10141.ko
>> >> drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/pvrsrvkm_gma3600_sgx545_10141.ko: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
>> >> iMac:master hns$ 
>> >> 
>> >> Since I have no matching hardware I can't check what needs to be done
>> >> to make the pvrsrvkm load during boot. On ARM or MIPS it is requested through
>> >> the device tree.
>> >> 
>> >> Well, for first tests you can do a modprobe and see if the kernel panics :)
>> >> 
>> >> BR and thanks,
>> >> Nikolaus
>> >> 
>> >> -------------- next part --------------
>> >> A non-text attachment was scrubbed...
>> >> Name: 0001-drm-pvrsgx-Makefile-fix-SGX_REV-and-TARGET_TYPE-for-.patch
>> >> Type: application/octet-stream
>> >> Size: 2854 bytes
>> >> Desc: not available
>> >> URL: <http://lists.goldelico.com/pipermail/openpvrsgx-devgroup/attachments/20201016/8fb0ffe5/attachment.obj>
>> >> -------------- next part --------------
>> >> A non-text attachment was scrubbed...
>> >> Name: 0002-gpu-pvr-1.14.3699939-cedarview-include-linux-version.patch
>> >> Type: application/octet-stream
>> >> Size: 1291 bytes
>> >> Desc: not available
>> >> URL: <http://lists.goldelico.com/pipermail/openpvrsgx-devgroup/attachments/20201016/8fb0ffe5/attachment-0001.obj>
>> >> -------------- next part --------------
>> >> A non-text attachment was scrubbed...
>> >> Name: 0003-gpu-pvr-1.14.3699939-compile-fix-for-x86.patch
>> >> Type: application/applefile
>> >> Size: 111 bytes
>> >> Desc: not available
>> >> URL: <http://lists.goldelico.com/pipermail/openpvrsgx-devgroup/attachments/20201016/8fb0ffe5/attachment.bin>
>> >> -------------- next part --------------
>> >> A non-text attachment was scrubbed...
>> >> Name: 0004-gpu-pvr-1.14.3699939-mutils-fix-compile-issues-with-.patch
>> >> Type: application/octet-stream
>> >> Size: 1758 bytes
>> >> Desc: not available
>> >> URL: <http://lists.goldelico.com/pipermail/openpvrsgx-devgroup/attachments/20201016/8fb0ffe5/attachment-0002.obj>
>> >> -------------- next part --------------
>> >> A non-text attachment was scrubbed...
>> >> Name: 0005-gpu-pvr-1.14.3699939-cedarview-sysutils-define-empty.patch
>> >> Type: application/octet-stream
>> >> Size: 1146 bytes
>> >> Desc: not available
>> >> URL: <http://lists.goldelico.com/pipermail/openpvrsgx-devgroup/attachments/20201016/8fb0ffe5/attachment-0003.obj>
>> >> -------------- next part --------------
>> >> A non-text attachment was scrubbed...
>> >> Name: 0006-gpu-pvr-1.14.3699939-cedarview-sysconfig-disable-acc.patch
>> >> Type: application/octet-stream
>> >> Size: 1331 bytes
>> >> Desc: not available
>> >> URL: <http://lists.goldelico.com/pipermail/openpvrsgx-devgroup/attachments/20201016/8fb0ffe5/attachment-0004.obj>
>> >> -------------- next part --------------
>> >> 
>> >> 
>> >> 
>> >> 
>> >> ------------------------------
>> >> 
>> >> Subject: Digest Footer
>> >> 
>> >> _______________________________________________
>> >> https://github.com/openpvrsgx-devgroup/linux_openpvrsgx
>> >> openpvrsgx-devgroup mailing list
>> >> openpvrsgx-devgroup at letux.org
>> >> http://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup
>> >> 
>> >> 
>> >> ------------------------------
>> >> 
>> >> End of openpvrsgx-devgroup Digest, Vol 11, Issue 9
>> >> **************************************************
>> >> _______________________________________________
>> >> https://github.com/openpvrsgx-devgroup/linux_openpvrsgx
>> >> openpvrsgx-devgroup mailing list
>> >> openpvrsgx-devgroup at letux.org
>> >> https://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup
>> > 
>> > _______________________________________________
>> > https://github.com/openpvrsgx-devgroup/linux_openpvrsgx
>> > openpvrsgx-devgroup mailing list
>> > openpvrsgx-devgroup at letux.org
>> > https://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup
>> 
>> 
>> 
>> ------------------------------
>> 
>> Subject: Digest Footer
>> 
>> _______________________________________________
>> https://github.com/openpvrsgx-devgroup/linux_openpvrsgx
>> openpvrsgx-devgroup mailing list
>> openpvrsgx-devgroup at letux.org
>> http://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup
>> 
>> 
>> ------------------------------
>> 
>> End of openpvrsgx-devgroup Digest, Vol 11, Issue 12
>> ***************************************************
>> _______________________________________________
>> https://github.com/openpvrsgx-devgroup/linux_openpvrsgx
>> openpvrsgx-devgroup mailing list
>> openpvrsgx-devgroup at letux.org
>> https://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup
> 



More information about the openpvrsgx-devgroup mailing list