On Fri, 28 Mar 2014 13:29:17 +0100
Olliver Schinagl <oli...@schinagl.nl> wrote:

> On 03/28/2014 11:42 AM, Siarhei Siamashka wrote:
> > I understand that setting up binary drivers and then running some 3D
> > accelerated applications while checking for memory corruption bugs at
> > the same time is not something that many people would enjoy (or even try
> > in the first place). And I had plans to try to simplify the test setup
> > since a long time ago. Finally here it is:
> >
> >      https://github.com/ssvb/lima-memtester
> >
> > Basically, that's just a single static binary with no dependencies.
> > It combines a memtester tool with a simple spinning textured cube
> > demo from the work-in-progress free open source Mali400 driver
> > project http://limadriver.org/
>
> That's amazing, we should prep a rootfs with all of that in it maybe 
> too? setting up lima + mali + god knows what may be a bit too much for 
> some right now, so having a pre-defined test rootfs might proove usefull...

Nah :) The whole point of doing this exercise was exactly that now:

1. The only runtime dependency of this lima-memtester tool is just a
   linux kernel with a mali kernel module. The users of linux-sunxi
   defconfigs already have it enabled. Even if some users have disabled
   mali support in their kernels, they are expected to have enough
   skills to enable it back.

2. The only build dependency is just a GCC compiler. And lazy or
   inexperienced users can even skip this step and download a static
   binary.

The choice of rootfs or distro should not matter at all. Just like
with a10-meminfo-static, you run this program and it gets the job
done without extra efforts and time consuming preparations.

The users get a basic smoke test for the 3D hardware (even if they
don't give rats about 3D support in general). And in the case if the
test fails, they will know that the dram clock/timings are likely not
good for their hardware.

By the way, this does not bring anything new to the table with regard
to mali400 gpu support. I'm using almost a year old public limadriver
snapshot. The only purpose for it here is to make mali400 hardware do
memory reads and writes for extra pressure on the memory controller.

-- 
Best regards,
Siarhei Siamashka

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to