Re: [PATCH v4 1/6] staging: media: wave5: Add vpuapi layer

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

 



Hi Dafna,

On Fri, 28 Jan 2022 at 04:49, Dafna Hirschfeld
<dafna.hirschfeld@xxxxxxxxxxxxx> wrote:
>
> Hi

> > I have some messy notes here of what I found out so far, some dumps of
> > the vendor driver running etc:
> > https://github.com/linux-chenxing/linux-chenxing.org/blob/master/ip/vdec.md
>
> I see that you test the content of 0x1f344000 with 'devmem', what make you test this specific address?

In the binary module from the vendor instead of getting the address
from DT they have hardcoded it in the ioremap() call to map the device
registers.
Just after that they add 0x800 to the resulting address resulting in
0x1f344800. I think they are trying to ioremap() at page alignment or
something but the registers actually start at 0x800.

Cheers,

Daniel



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux