Re: [PATCH v2] char drivers: Ram oops/panic logger

2010-03-15 Thread Marco Stornelli
2010/3/15 Jamie Lokier ja...@shareable.org: Marco Stornelli wrote: Il 13/03/2010 00:31, Jamie Lokier ha scritto: I agree, but the bootloader should be aware of it. I mean, usually bootloaders at boot, reset the RAM, so you have to tell to the bootloader that you are using a piece of RAM as

Re: [PATCH v2] char drivers: Ram oops/panic logger

2010-03-14 Thread Jamie Lokier
Marco Stornelli wrote: Il 13/03/2010 00:31, Jamie Lokier ha scritto: That'd be fine if the kernel link scripts choose the address, as long as it's consistent between different compiles and similar configurations. That'd be a bit simpler than the admin having to know the memory map well

Re: [PATCH v2] char drivers: Ram oops/panic logger

2010-03-13 Thread Marco Stornelli
Il 13/03/2010 00:31, Jamie Lokier ha scritto: That'd be fine if the kernel link scripts choose the address, as long as it's consistent between different compiles and similar configurations. That'd be a bit simpler than the admin having to know the memory map well enough to choose an address.

Re: [PATCH v2] char drivers: Ram oops/panic logger

2010-03-13 Thread Marco Stornelli
Il 12/03/2010 23:48, Andrew Morton ha scritto: On Wed, 10 Mar 2010 13:15:25 +0100 Marco Stornelli marco.storne...@gmail.com wrote: 2010/3/10 Yuasa Yoichi yu...@linux-mips.org: 2010/3/10 Marco Stornelli marco.storne...@gmail.com: 2010/3/10 Yuasa Yoichi yu...@linux-mips.org: I meant with the

Re: [PATCH v2] char drivers: Ram oops/panic logger

2010-03-13 Thread Geert Uytterhoeven
On Fri, Mar 12, 2010 at 23:48, Andrew Morton a...@linux-foundation.org wrote: On Wed, 10 Mar 2010 13:15:25 +0100 Marco Stornelli marco.storne...@gmail.com wrote: 2010/3/10 Yuasa Yoichi yu...@linux-mips.org: 2010/3/10 Marco Stornelli marco.storne...@gmail.com: 2010/3/10 Yuasa Yoichi

Re: [PATCH v2] char drivers: Ram oops/panic logger

2010-03-12 Thread Jamie Lokier
Andrew Morton wrote: 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

Re: [PATCH v2] char drivers: Ram oops/panic logger

2010-03-10 Thread Marco Stornelli
2010/3/10 Yuasa Yoichi yu...@linux-mips.org: Hi, 2010/3/10 Marco Stornelli marco.storne...@gmail.com: 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