Re: jffs2 and unaligned access

2008-06-05 Thread Jon Smirl
On 5/7/08, Sascha Hauer <[EMAIL PROTECTED]> wrote: > On Wed, May 07, 2008 at 11:53:49AM +0100, David Woodhouse wrote: > > On Wed, 2008-05-07 at 12:27 +0200, Sascha Hauer wrote: > > > memcpy_from/to_io() use word aligned accesses on the io side of memory. > > > The MPC5200 local plus bus where ou

Re: jffs2 and unaligned access

2008-05-08 Thread Detlev Zundel
Hi, >>> memcpy_from/to_io() use word aligned accesses on the io side of >>> memory. >>> The MPC5200 local plus bus where our flashes are connected does not >>> allow unaligned accesses, so we have to use the io versions of memcpy. >> >> But this region of flash is marked as suitable for execute-in

Re: jffs2 and unaligned access

2008-05-07 Thread Segher Boessenkool
memcpy_from/to_io() use word aligned accesses on the io side of memory. The MPC5200 local plus bus where our flashes are connected does not allow unaligned accesses, so we have to use the io versions of memcpy. But this region of flash is marked as suitable for execute-in-place, otherwise the p

Re: jffs2 and unaligned access

2008-05-07 Thread Sascha Hauer
On Wed, May 07, 2008 at 11:53:49AM +0100, David Woodhouse wrote: > On Wed, 2008-05-07 at 12:27 +0200, Sascha Hauer wrote: > > memcpy_from/to_io() use word aligned accesses on the io side of memory. > > The MPC5200 local plus bus where our flashes are connected does not > > allow unaligned accesses,

Re: jffs2 and unaligned access

2008-05-07 Thread David Woodhouse
On Wed, 2008-05-07 at 12:27 +0200, Sascha Hauer wrote: > memcpy_from/to_io() use word aligned accesses on the io side of memory. > The MPC5200 local plus bus where our flashes are connected does not > allow unaligned accesses, so we have to use the io versions of memcpy. But this region of flash i