Dear KT, How do you take the start and end address , is it your ram start and ram end address as per your mem map.
This ram_console_dev structure , where you added so it is initialized.I added in board file . But i am getting the error like: ram_console: failed to claim resource 0 Can you please help me to know if any other modification is required. Regards Mac On Oct 12, 2:31 am, KT <ktlangs...@gmail.com> wrote: > Hi Y'all, > > I added the ram console as a platform device in my board file as below > (where the start address is the physical address of SDRAM on chip ):- > > ===================================================== > struct resource ram_res[] = { > { > .start = 0x8ff00000, > .end = 0x8fffffff, > .flags = IORESOURCE_MEM, > }, > > }; > > struct platform_device ram_console_dev = { > .name = "ram_console", > .id = -1, > .num_resources = ARRAY_SIZE(ram_res), > .resource = ram_res,}; > > ======================================================= > > The ram console is initialized and I see /proc/last_kmsg holding the > kernel log for the previous boot session. > > Now I would like to start ram console early and when I configure it as > such using 'make menuconfig', it asks for "Android Ram console virtual > address". > > Can anyone tell me how one can pass the virtual address of the > physical memory at config time?? > > Your help is much appreciated. > > Thanks, > KT -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel