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