[lkml]   [2012]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: CMA on arm from zero address
Hi Russell,

Russell King - ARM Linux wrote:
> On Wed, Feb 08, 2012 at 01:27:58PM +0100, Michal Simek wrote:
>> Hi,
>> I would like to setup CMA space at the beginning of ram because
>> I want to use remoteproc to run code on the second cpu which has to
>> use addresses 0x0 - 32MB.
>> I have changed textofs in arch/arm/Makefile but there is not possible
>> to setup all values which I would like to use.
> What a broken setup. Placing the kernel outside of the 16MB window
> effectively prevents you from using modules. Why do people come up
> with stupid things like this. Please stop. Put such things at the
> end of RAM instead and save the rest of the ARM community from this
> madness.

First of all I have found how to do it (by CONFIG_PHYS_OFFSET) so the problem is in QEMU.
Currently experimenting how to convince CMA to allocate that memory for my purpose.

That idea doesn't come from me!
The reason is that we want to run Linux on the first ARM core and the second cpu
will run any other RTOS. Linux remaps vectors to 0xffff0000 and the second
core has to use them at 0x0 address.
RTOS runs in real mode that's why I need to use ram at 0x0 address.


Michal Simek, Ing. (M.Eng)
w: p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux -
Microblaze U-BOOT custodian

 \ /
  Last update: 2012-02-08 14:23    [W:0.058 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site