Rockchip USB revisited

Stefan Kalkowski stefan.kalkowski at genode-labs.com
Fri Mar 17 11:09:20 CET 2023


Hi Michael,

On Fri, Mar 17, 2023 at 10:48:25AM +0100, Michael Grunditz wrote:
> On Fri, 17 Mar 2023 at 10:39, Stefan Kalkowski
> <stefan.kalkowski at genode-labs.com> wrote:
> >
> > Hi Michael,
> >
> > On Tue, Mar 14, 2023 at 03:47:48PM +0100, Michael Grunditz wrote:
> > > > Do you generate the "dep" files automatically? I gave up and added all headers.
> > >
> > > Oh well.. I can't get rockchip kernel to build ( it does build by
> > > itself). I have injected my dts files into a64 kernel and I plan to
> > > skip phy init , only using ehci and uboot initiated hw.
> > >
> > > However build fails with this little message:
> > > LINK     a64_usb_host_drv
> > > cc1: fatal error:
> > > /home/micken/oldhome/micken/src/new/genode/depot/genodelabs/api/a64_linux/2023-03-14-z-x-x-x-x-x-x-x-x-
> > > x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x/src/linux/: No
> > > such file or directory
> >
> > I'm not quite sure what the problem is, but the very long
> > automatically generated depot package name indicates that your
> > observed problems have to do with the package build of your driver. As
> > said in the mail before, please try to develop the driver without
> > packaging to circumvent that class of problems in the first place.
> 
> 
> Thanks for replying.
> 
> I have more or less given up building from A64 driver. I need to have
> a custom kernel and that refuses to build. Having the driver in
> dde_linux works without problems, except for not building from
> "interactive". I need to do make drivers/usb_host.

As said before, please reconsider this decision in the light of the
quick disappearance of `repos/dde_linux/src/drivers/usb_host`.

> 
> How do I set the controller address for ehci?

It is set in the platform driver's devices ROM, e.g. in
`genode-imx/board/imx6q_sabrelite/devices`. Moreover, you have to
assign the devices to your driver within the platform driver's policy.
For an example, have a look at:
`genode-imx/repos/imx/recipes/raw/test_usb_host_drv-imx6q_sabrelite/drivers.config`

Regards
Stefan

> 
> /Michael
> 
> _______________________________________________
> Genode users mailing list
> users at lists.genode.org
> https://lists.genode.org/listinfo/users

-- 
Stefan Kalkowski
Genode labs

https://github.com/skalk | https://genode.org



More information about the users mailing list