Re: kexec on e300 core / mpc5121

2009-08-06 Thread Scott Wood
On Thu, Aug 06, 2009 at 02:20:50AM +0200, Kenneth Johansson wrote: > > > Before you turn off the cache you need to flush out all dirty data. best > > > done by simply reading in 32kb of crap from somewhere. otherwise you are > > > sure to loose at least the stack and you do not want that. > > > >

Re: kexec on e300 core / mpc5121

2009-08-06 Thread Kumar Gala
On Aug 5, 2009, at 5:49 PM, Kenneth Johansson wrote: On Wed, 2009-08-05 at 01:06 +0200, Sebastian Andrzej Siewior wrote: I've tried kexec on e300 core which should be easy since it is possible to disable the MMU on that core. However it does not work. Is it not possible to disable the mmu

Re: kexec on e300 core / mpc5121

2009-08-06 Thread Sebastian Andrzej Siewior
* Kenneth Johansson | 2009-08-06 02:20:50 [+0200]: >> > Is it not possible to disable the mmu on all cpu's that have one ?? >> >> No, on e500 for example it is always on. You can use large pages with >> identity maps to make it seem like it's off, though. > >why do something like that ? on e50

Re: kexec on e300 core / mpc5121

2009-08-05 Thread Kenneth Johansson
On Wed, 2009-08-05 at 18:47 -0500, Scott Wood wrote: > On Thu, Aug 06, 2009 at 12:49:45AM +0200, Kenneth Johansson wrote: > > On Wed, 2009-08-05 at 01:06 +0200, Sebastian Andrzej Siewior wrote: > > > I've tried kexec on e300 core which should be easy since it is possible > > > to disable the MMU on

Re: kexec on e300 core / mpc5121

2009-08-05 Thread Scott Wood
On Thu, Aug 06, 2009 at 12:49:45AM +0200, Kenneth Johansson wrote: > On Wed, 2009-08-05 at 01:06 +0200, Sebastian Andrzej Siewior wrote: > > I've tried kexec on e300 core which should be easy since it is possible > > to disable the MMU on that core. However it does not work. > > Is it not possible

Re: kexec on e300 core / mpc5121

2009-08-05 Thread Kenneth Johansson
On Wed, 2009-08-05 at 01:06 +0200, Sebastian Andrzej Siewior wrote: > I've tried kexec on e300 core which should be easy since it is possible > to disable the MMU on that core. However it does not work. Is it not possible to disable the mmu on all cpu's that have one ?? > Once I disable the MMU,

Re: kexec on e300 core / mpc5121

2009-08-05 Thread Sebastian Andrzej Siewior
* Sebastian Andrzej Siewior | 2009-08-05 01:06:06 [+0200]: [long mail] >Does someone have an idea? Issue fixed, it was the ipic. The missing data while disabling the caches was my fault because I invalidated the caches before I've flushed them. Sebastian ___

kexec on e300 core / mpc5121

2009-08-04 Thread Sebastian Andrzej Siewior
I've tried kexec on e300 core which should be easy since it is possible to disable the MMU on that core. However it does not work. Once I disable the MMU, I can't access my MBAR and print chars on the serial port. Is this "normal" or do I have still some caches on? After I've setup two BATs one for