Hi Shankar, I did some experiment like that a while back, it seems to work. As I also recall, you might have to reserve up to 8MB for each region, and might have also created 4 of those in order to boot successfully.
It is just my memory and I am no expert in this. Regards, Neil --- On Thu, 9/10/09, Shankar Ganesh <shankargane...@gmail.com> wrote: From: Shankar Ganesh <shankargane...@gmail.com> Subject: [android-porting] PMEM device To: android-porting@googlegroups.com Date: Thursday, September 10, 2009, 1:23 AM Hi , I am trying to create PMEM device in the kernel. I added the device as follows : / board.c static struct android_pmem_platform_data android_pmem_hwc_pdata = { .name = "pmem_hwc", .start = PMEM_HWC_BASE, .size = _PMEM_HWC_SIZE, .no_allocator = 0, .cached = 0, }; Is that this Base address and size of this memory region should have been reserved while booting the linux with mem = ( TOTALSIZE - x ) ? Inputs on this front will be highly helpful . -- With Regards, ShankarGanesh K . "The most beautiful thing we can experience is the mysterious. It is the source of all true art and science." --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---