Dear All,
I have started the ram console by enabling it in .config file.
I have followed these steps:
The snippet part of .config is
1.
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_LOGGER=y
CONFIG_ANDROID_RAM_CONSOLE=y
CONFIG_ANDROID_RAM_CONSOLE_ENABLE_VERBOSE=y
CONFIG_ANDROID_RAM_CONSOLE_ERROR_CORRECTION=y
CONFIG_ANDROID_RAM_CONSOLE_ERROR_CORRECTION_DATA_SIZE=128
CONFIG_ANDROID_RAM_CONSOLE_ERROR_CORRECTION_ECC_SIZE=16
CONFIG_ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE=8
CONFIG_ANDROID_RAM_CONSOLE_ERROR_CORRECTION_POLYNOMIAL=0x11d
# CONFIG_ANDROID_RAM_CONSOLE_EARLY_INIT is not set
and
2.
struct resource ram_res[] = {
{
// .start = 0x8ff00000,
.start = 0x80000000,
.end = 0xBFFFFFF,
//.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,
};
Added in board file(arch/arm/xxxx/xxxx.c) .
3. Also i have added this ram_console_dev ;
static struct platform_device *xxxxx_devices[] __initdata = {
&wlx_device,
&ram_console_dev,
};
In boot up time , getting error like :ram_console: failed to claim
resource 0.
Even i cant' see the proc/last_kmsg file.
I cant see enough help in google . Please help me on this and let me
know how to get help form this.
Thanks
Mac
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel