Re: [PATCH v2] char drivers: Ram oops/panic logger
From: Marco Stornelli
Date: Wed Mar 10 2010 - 07:15:33 EST
2010/3/10 Yuasa Yoichi <yuasa@xxxxxxxxxxxxxx>:
> 2010/3/10 Marco Stornelli <marco.stornelli@xxxxxxxxx>:
>> 2010/3/10 Yuasa Yoichi <yuasa@xxxxxxxxxxxxxx>:
>>> Hi,
>>>
>>> 2010/3/10 Marco Stornelli <marco.stornelli@xxxxxxxxx>:
>>>> Ramoops, like mtdoops, can log oops/panic information but in RAM.
>>>
>>> What is different from mtdoops + mtd-ram?
>>>
>>> Yoichi
>>>
>>
>> It can be used in a very easy way with persistent RAM for systems
>> without flash support. For this systems, with this driver, it's no
>> more needed add to the kernel the mtd subsystem with advantage in
>> footprint as I said in the description.
>
> right.
> But,
>
>> In addition, you can save
>> flash space and store this information only in RAM. I think it's very
>> useful for embedded systems.
>
> CONFIG_MTD_RAM uses only RAM.
> I think there's no big difference about this point.
>
I meant with the "classic" use of mtdoops, therefore with a flash
partition without use MTD_RAM. Using MTD_RAM, it's more or less the
same thing, with the exception of "where" you want deploy the log. For
example: if in your system you have got a nvram you can use it without
problem, you need to specify the address of the nvram to the module.
Very simple. I think it's a small driver but very useful, feedback
from other embedded guys are welcome.
Marco
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/