edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 37 forks source link

Move on to Thud #58

Closed htot closed 5 years ago

htot commented 5 years ago

This is a large upgrade with notable changes:

Not yet included:

alext-mkrs commented 5 years ago

Will check it out, some nasty flu knocked me out for the whole last week, just getting back on track.

htot commented 5 years ago

Get well!

kobylyanskiy commented 5 years ago

Hi @htot , Thank you for your work on Edison. I'm currently checking out your commits and have built new image. But since I'm not using connman, I want to know how to enable networking over USB on the lower level rather than using connmanctl. nmcli dev status says that usb0 connection is up, but I'm getting no luck to ping the device. It would be great if you could say whether it's a problem with powering on the gadget or something else.

htot commented 5 years ago

@kobylyanskiy If I understand correctly you installed networkmanager instead of connman and already read https://htot.github.io/meta-intel-edison/4.2-networking.html#gadget? (Note: I see now this section is a little broken, net1, net2, and net3 are placeholders for images. I'll fix that later)

My best guess is indeed powering on the gadget. Connman can also power on bluetooth and wifi as an alternative to rfkill. I'm not sure to how to power the gadget without connman. Maybe nmcli has similar functionality?

htot commented 5 years ago

@kobylyanskiy maybe this will power up: ip link set usb0 up

If that doesn't work, how are you configuring your host side? Do you see a usb device popping up as well?

htot commented 5 years ago

Heads up: I force pushed to fix the docs on gadget networking.

alext-mkrs commented 5 years ago

Looks generally okay to me by quick inspection. I'll test this out by building right away, as I anyway need a build for the mraa porting.

htot commented 5 years ago

There's some rough edges here and there. F.i. the udev script that creates the gadget should be powering up usb0, but it's too early. It needs a delay, or a 2nd udev event. Working on that.

htot commented 5 years ago

@alext-mkrs thanks for reviewing. I squashed that last commit and force pushed.