Re: help bitbaking bootstrap-image on org.openembedded.oz354x

Dirk Opfer <[email protected]>
Newsgroups gmane.comp.handhelds.openzaurus.devel
Message-ID <[email protected]>
George Hartzell schrieb:
> Thanks for the fix!
>
> It would help me a lot if you said a few words about what the fix
> is/does and why it works.
>
> You've probably heard the addage:
>
>   Give a man a fish and you feed him for a day.  Teach a man to fish
>   and you feed him for a lifetime.
>
> I'm trying to understand how bitbake works, and issues like this are
> great opportunities for those of you who understand this stuff to pass
> on some info.  Once it's posted here people will read it, google will
> find it, etc....
>
>
> It looks like you just added a BOOTSTRAP_EXTRA_DEPENDS line for
> wlan-ng-modules.  I'd discovered that bitbaking that recipe by hand
> after task-bootstrap failed, then re-bitbaking task-bootstrap and/or
> bootstrap-image was enough to successfully build an image.
>
>   
> But it looks like the wlan-ng-modules recipe builds a
> wlan-ng-modules-usb ipk file.  If so, why do we still need to add
> wlan-ng-modules-usb to the BOOTSTRAP_EXTRA_RDEPENDS?
>
> Can someone say a few words about the relationship between DEPENDS and
> RDEPENDS?
>
>   

*DEPENDS* - what is needed to build it
R*DEPENDS* - what is needed to use it R-> runtime


> Even with my hacky work around, I still wasn't able to get wireless to
> work:
>
>   - I was using ifup wlan0 to bring up the interface.  That tries to
>     run usbctl, presumably to start up the hardware?
>
>   

>     I didn't have a usbctl though I was able to build one with the
>     wlan-ng-utils recipe.
>
>     But, it doesn't work, it exits after complaining 'No such file or
>     directory'.
>
>     I tried to look at the source for usbctl, but it seems to be
>     checked into the tree as a compiled binary.  What's up with that?
>
>     Running strings on the binary shows the path '/dev/usb/ohci',
>     which doesn't exist.
>
>     Have I missed a configuration step?
>
>     What is the proper way to bring up the wireless interface on a
>     tosa running a 2.6 kernel?
>
>   
usbctl is used to control the power of the specified port. But usbctl
works only with sharps 2.4 kernel. I need to implement this
functionality for the 2.6 kernel. Temporarily  remove these lines in
/etc/network/interfaces and the port is powered.
To use the usb host functionality you have to do a modprobe ohci-hcd first.

warning: the ohci-driver lacks pm functionality, so remove this modules
befor suspend.



Dirk


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.