So first off i'd like to say I'm completely new to linux development so there are a lot of things i just don't know. So if you answer you might want to word your answers for a 5 year old :smileywink:.
Long story short we have a prototype board that we changed the ddr3 to lpddr2, but for some reason the starting address changed and the opengl is broken. I'm not really sure which piece of the vivante i need to look at. Any opengl app we try to run just causes a seg fault, we suspect its the ddr change. Most of the work has been outsourced but they are not going to finish in time so I wanted to try helping.
Solved! Go to Solution.
If your address range starts at 0x80000000 you'll have to change phys_baseaddr for GPU device in platform-viv_gpu.c to 0x80000000.
You'll also have to update some VPU/IPU files, but I believe that is handled already in latest BSP releases.
If your address range starts at 0x80000000 you'll have to change phys_baseaddr for GPU device in platform-viv_gpu.c to 0x80000000.
You'll also have to update some VPU/IPU files, but I believe that is handled already in latest BSP releases.
There's also one more thing you have to change. in the memory reserve function you have to make sure to add the offset to the new space.
if(imx6_gpu_pdata.reserved_mem_size) {
phys = memblock_alloc_base(imx6q_gpu_pdata.reserved_mem_size,
SZ_4K, (SZ_2G + SZ_1G));
...
}
for reference
Kevin
We are sorry for getting back to you so late. Are you still stuck with the issue? If you have somehow to resolved the
issue, can we close the discussion? If you still need help, please feel free to reply with an update to this discussion.
Thanks,
Yixing
I'm all set, I actually forgot I had this reqeust and opened another by mistake. The other one has a solution. So I'm not sure how to look up previous posts which... leads me to make more posts