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

H. Nikolaus Schaller hns at goldelico.com
Tue Oct 6 12:58:49 CEST 2020


Hi Alif,

> Am 06.10.2020 um 12:17 schrieb Alif Ilhan <alifilhan0 at gmail.com>:
> 
> Okay, can you tell the present status of SGX545 support?

It should be supported by the driver (there are Revision specific #defines and #ifdefs) but it is untested.
So there may be bugs in the Makefile and/or the code or SoC integration.

And we may run into the problem of not having appropriate user-space code.
What I had started a while ago was to experiment with qemu to run the ARM user-space code on a MIPS machine with SGX540 (jz4780).
But I didn't find time to continue these experiments.

> I want to test out the drivers. Is this GPU core significantly different than the other sgx cores?

There is the SGX544 inside e.g. Texas Instruments OMAP5/DRA7 and that one is running.
I think the main architectural changes were SGX 520 -> SGX 530 -> SX 540
There are minor releases SGX 531, SGX 535, SGX 543 (Sega, iPhone 4s), SGX 544, SGX 545.
This may denote some feature details of the SGX core.

Maybe this table also helps: https://en.wikipedia.org/wiki/PowerVR#Series5_(SGX)

> And willit move to the mainline kernel after sometime?

We hope so! It much depends on how much demand is there in the community. The more we are who want to have it in mainline, the more the maintainers see a reason to look at code.
And we hope by showing how a "universal" driver for mainline could look like to convince Imagination to become more open and helpful.

I could imagine that they hesitate to spend manpower to support the plethora of hardware devices which doesn't bring them new customers or revenue...

BR and thanks,
Nikolaus 

> 
> On Tue, 6 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. error while compiling kernel for Atom N2600 (Alif Ilhan)
>    2. Re: error while compiling kernel for Atom N2600
>       (H. Nikolaus Schaller)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 6 Oct 2020 11:51:06 +0600
> From: Alif Ilhan <alifilhan0 at gmail.com>
> To: openpvrsgx-devgroup at letux.org
> Subject: [Openpvrsgx-devgroup] error while compiling kernel for Atom
>         N2600
> Message-ID: <1a33e373-af4f-0016-a7e4-48e6217a5b75 at gmail.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> Hi,
> 
> I am trying to compile the kernel with SGX545 for Intel Atom CPU, but 
> not able to do so. I am getting this error output. Can you figure out 
> what's wrong?
> 
> The error:
> 
> 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.
> 
> 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
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 6 Oct 2020 08:17:32 +0200
> From: "H. Nikolaus Schaller" <hns at goldelico.com>
> To: OpenPVRSGX Linux Driver Group <openpvrsgx-devgroup at letux.org>
> Subject: Re: [Openpvrsgx-devgroup] error while compiling kernel for
>         Atom N2600
> Message-ID: <0DD09807-D272-44AD-9D20-D375D48A9315 at goldelico.com>
> Content-Type: text/plain; charset=us-ascii
> 
> Hi Alif,
> 
> > Am 06.10.2020 um 07:51 schrieb Alif Ilhan <alifilhan0 at gmail.com>:
> > 
> > Hi,
> > 
> > I am trying to compile the kernel with SGX545 for Intel Atom CPU, but not able to do so. I am getting this error output. Can you figure out what's wrong?
> > 
> > The error:
> > 
> > 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.
> > 
> > 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'
> 
> I haven't seen this error but
> 
> https://stackoverflow.com/questions/57777429/error-building-latest-linux-kernel-within-virtualbox-under-18-04-1-ubuntu/61169878#61169878
> 
> seems to indicate a file owner/permissions problem.
> 
> So please check that the whole tree (incl. local files - maybe include/config/auto.conf.cmd) is owned by you and has proper write permissions of the directory.
> 
> Then I am really curious what the next error message will be...
> We have not yet had somebody who owns an SGX545 so there may be bugs in our Makefiles or code.
> 
> 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 2
> **************************************************
> _______________________________________________
> 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