On 06.07.2017 15:43, kipade wrote:
> Might be? I have no puzzle of CMem。 OK, I will continue go search solutions
> for that.
> And, if I got it, I will come back for sharing solutions here.
> And, thank you, all
Are you writing kernel module ?
or you try to compile kernel with cmem module ?
On 06.07.2017 12:20, kipade wrote:
> [...] (I have a look at> the kerrnel source, every omap_bo_object [...]
> [...] I use arm 32bit cpu, with kernel 3.14
> Here I want to allocate a block of shared memory from a given physical
> address, such as 0x9000, 6M. [...]
it is well beyond
I reserved such memory as cma range, and Im sure it can be allocated via
cma, such as dma_alloc_writecombine*. I want to hard code the physical
address because I have to make sure such address can be access by
another ipu cores of the soc platform. I think this can be reserved via
a generic
On 06.07.2017 11:43, kipade wrote:
> In fact, I want to allocate a continous of pages from a given physical
> address for a shm object in
>
> shmem_file_setup, might i should write a customized shmem_file_setup2
> for this?
> I use arm 32bit cpu, with kernel 3.14
why do want this specific
In fact, I want to allocate a continous of pages from a given physical
address for a shm object in
shmem_file_setup, might i should write a customized shmem_file_setup2
for this?
在 2017年07月06日 17:30, Kamil Konieczny wrote:
>
> On 06.07.2017 11:04, kipade wrote:
>> I use arm 32bit cpu, with
cortex A15, omap5 platform
在 2017年07月06日 17:30, Kamil Konieczny wrote:
>
> On 06.07.2017 11:04, kipade wrote:
>> I use arm 32bit cpu, with kernel 3.14
> banana-pi ? nano-pi ? orange-pi ? odroid ?
>
> Is it memory region for system registers ?
>
>>> On 06.07.2017 05:08, kipade wrote:
Here I
On 06.07.2017 11:04, kipade wrote:
> I use arm 32bit cpu, with kernel 3.14
banana-pi ? nano-pi ? orange-pi ? odroid ?
Is it memory region for system registers ?
>> On 06.07.2017 05:08, kipade wrote:
>>> Here I want to allocate a block of shared memory from a given physical
>>> address, such
I use arm 32bit cpu, with kernel 3.14
在 2017年07月06日 16:53, Kamil Konieczny wrote:
>
> On 06.07.2017 05:08, kipade wrote:
>> Here I want to allocate a block of shared memory from a given physical
>> address, such as 0x9000, 6M. However, alloc_pages can't fit this
>> point. I had reserved enugh
On 06.07.2017 05:08, kipade wrote:
> Here I want to allocate a block of shared memory from a given physical
> address, such as 0x9000, 6M. However, alloc_pages can't fit this
> point. I had reserved enugh pages via cmem, there also have enough
> continous pages for such allocation