Log says it all, either the allocation handler of kgsl is bad or the new pmem is not working well with the kernel, mostly the first one as if it was pmem, other android stuff would complain as well, check dmesg for pmem output and load some printk(s) in the kgsl memory allocation handler to see what is happening
securecrt, I hope the following commits will help you
commit 1
commit 2
commit 3
commit 4
I/Adreno ( 125): open(/dev/kgsl-3d0) failed: errno 38. Function not implemented
That seems to be a problem ?
Maybe this seems like a strange proposal, but have you considered trying to boot a desire cm9 rom ( build with HWA implementation ) with your initrd.gz and zimage on our HD2 ?
Our hardware is quite similar..
your suggestion is good . I have sent you the latest kernel to your email. hope you can do some test. I am too tired today.
---------- Post added at 01:42 AM ---------- Previous post was at 01:40 AM ----------
!!!! you might have included the new pmem but you haven't used it in board file, look at my previous response and the commit's linked for further help.
running from haret can be either a very good or a very bad idea because of the fact windows mobile and haret may initialize hardware differently than just spl + mag/lk
the pmem should be used in the board file.
static struct android_pmem_platform_data mdp_pmem_pdata = {
.name = "pmem",
.start = MSM_PMEM_MDP_BASE,
.size = MSM_PMEM_MDP_SIZE,
/* .no_allocator = 0,*/
.allocator_type = PMEM_ALLOCATORTYPE_BITMAP,
.cached = 1,
};
static struct android_pmem_platform_data android_pmem_adsp_pdata = {
.name = "pmem_adsp",
.start = MSM_PMEM_ADSP_BASE,
.size = MSM_PMEM_ADSP_SIZE,
/* .no_allocator = 0,*/
.allocator_type = PMEM_ALLOCATORTYPE_BITMAP,
.cached = 1,
};
static struct android_pmem_platform_data android_pmem_venc_pdata = {
.name = "pmem_venc",
.start = MSM_PMEM_VENC_BASE,
.size = MSM_PMEM_VENC_SIZE,
/* .no_allocator = 0,*/
.allocator_type = PMEM_ALLOCATORTYPE_BITMAP,
.cached = 1,
};