RAM console init needs some platform stuff to be taken in to consideration.
That pstuff should be done at platform dev initialization [where memory
occupied by ram console needs to specify]
The occupied memory should be with-in that mem-mapped model of particular
h/w.

If you want you can find the sample code that init the ram_console
[platform spec]

static struct resource ram_console_resources[] = {
 {
               .start  = XXXX_BASE,
               .end   = XXXX_BASE + PAGE_SIZE - 1,
               .flags  = IORESOURCE_MEM,
   }
 };

static struct platform_device ram_console_device = {
        .name   = "ram_console,
        .id     = 0,
        .num_resources  = ARRAY_SIZE(ram_console_resources),
        .resource       = ram_console_resources,
};


struct platform_device *devices[] __initdata = {
 .......................................
........
ram_console_device,
};

Regards,
Jagan.

On Thu, Mar 8, 2012 at 12:06 AM, Vladimir Murzin <[email protected]> wrote:
>
> Hi!
>
> You can check progress for merging Android features to mainline on [1].
>
> [1] http://elinux.org/Android_Mainlining_Project
> Best wishes,
> Vladimir Murzin
>
> -----Original Message-----
> From: Vincent Li <[email protected]>
> Sender: [email protected]
> Date: Mon, 5 Mar 2012 14:44:34
> To: Android Linux Kernel Development<[email protected]>
> Reply-To: [email protected]
> Subject: [android-kernel] ram console for mainline kernel?
>
> Hi
>
> It appears someone already asked if there is plan to merge ram console
> to mainline kernel but no answer, the code is still under drivers/
> staging/android/. does ram console depend on specific hardware
> platform? if ram console merged in mainline, will it work without any
> special hardware requirement?
>
> Thanks
>
> Vincent
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-kernel
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-kernel

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to