[Arm-netbook] Mele A2000 as a Server

Alejandro Mery amery at geeks.cl
Tue Jul 17 10:16:36 BST 2012


Hi Turl,

On 17 July 2012 07:47, Emilio López <turl at linux-sunxi.org> wrote:
> That branch causes a kernel panic if you actually use the GPU
>
> See here for the actual error, I got this using ramconsole
> http://paste.debian.net/179422/

uhm :(

>
> Something like this on the other hand works just fine, as the code
> pretty much remains unchanged when you do use the GPU, and should cause
> no memory loss if mali is disabled. The if logic could be moved into the
> code as an #if to keep it totally dynamic I suppose.
> http://paste.ubuntu.com/1095929/
>
> Also, for the record, I tried to move all the kernelspace mali
> allocation to the end of my 1GB RAM, and although kernel wise it seems
> to work fine, the userspace doesn't like it. At all. The kernel region
> address and size is hardcoded on the mali userspace libs :/

the actual goal is not merely to avoid allocating those 64M when mali
isn't going to be used, but to reserve it correctly. that is using
`memblock_reserve()` instead of mangling the atag_mem or meminfo.

Only once `memblock_reserve()` based allocation works we can give the
next step, choosing a different size or start address.

regards,
Alejandro Mery



More information about the arm-netbook mailing list