Re[2]: Omap4 DSS clocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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]; 
in commands/mem.c

---
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux