Re[3]: Omap4 DSS clocks
Alexander Shiyan
shc_work at mail.ru
Thu Mar 14 09:11:01 EDT 2013
> > On Thu, 2013-03-14 at 16:48 +0400, Alexander Shiyan wrote:
> > > > Barebox crashes while reading a DSS register:
> > > >
> > > > $ md 0x48040000
> > > > unable to handle paging request at address 0x48040000
> > > >
> > > > I suppose this is due to a turned off clock.
> > > >
> > > > Any hints?
> > >
> > > Probably this is a bug. I reproduced it.
> > >
> > > Try to specify start & end address, like:
> > > md -l 0x48040000-0x48040010
> >
> > I get the same effect: it crashes.
>
> OK. It seems rw_buf not initialized.
>
> So change line:
> static char *rw_buf;
> to
> static char *rw_buf[RW_BUF_SIZE];
Without asterisk, like:
static char rw_buf[RW_BUF_SIZE];
Sorry.
> in commands/mem.c
---
More information about the barebox
mailing list