USB Network Gadget Configuration

41 views
Skip to first unread message

Joshua Park

unread,
Aug 14, 2020, 1:19:12 PM8/14/20
to BeagleBoard
Hello everyone,

I've built a pocket beagle Debian image following this tutorial and I have confirmed that software that is preinstalled in the Bone Debian images for pocket beagle that establish the network over USB (assigning the host computer 192.168.7.1 and itself 192.168.7.2) remains the same with the image that I built. However, the USB network does not work out of the box for the image that I built. Can anyone point me in the right direction on what to configure in order to get the USB network working?

Robert Nelson

unread,
Aug 14, 2020, 1:26:38 PM8/14/20
to Beagle Board
On Fri, Aug 14, 2020 at 12:19 PM Joshua Park <joshua....@gmail.com> wrote:
>
> Hello everyone,
>
> I've built a pocket beagle Debian image following this tutorial and I have confirmed that software that is preinstalled in the Bone Debian images for pocket beagle that establish the network over USB (assigning the host computer 192.168.7.1 and itself 192.168.7.2) remains the same with the image that I built. However, the USB network does not work out of the box for the image that I built. Can anyone point me in the right direction on what to configure in order to get the USB network working?

In the last year there has been a lot of churn in the boot script used
to enable the usb-gadget configuration..

For a board with normal ethernet, running:

git pull under /opt/scripts/ should be enough.. but for PocketBeagle..

HEre's a newer version of the RootFileSystem, just haven't pushed it
to the eewiki yet..

https://rcn-ee.net/rootfs/eewiki/minfs/debian-10.5-minimal-armhf-2020-08-02.tar.xz

Regards,

--
Robert Nelson
https://rcn-ee.com/

Joshua Park

unread,
Aug 14, 2020, 2:02:43 PM8/14/20
to BeagleBoard
Should the image built with the newer RootFileSystem have the USB network working out of the box?
Message has been deleted

Robert Nelson

unread,
Aug 14, 2020, 3:17:44 PM8/14/20
to Beagle Board
On Fri, Aug 14, 2020 at 1:42 PM Joshua Park <joshua....@gmail.com> wrote:
>
> I'm pretty sure the problem is that the scripts in /opt/scripts/boot are not running at startup. How does the pocket beagle image run those scripts at boot? I don't see a /etc/rc.local file.

It's a systemd service that loads them..

sudo systemctl status generic-board-startup.service

The Root File System's in eewiki are very basic. They rely on you
setting up what you want.

The beagleboard console images would be about the same size:

https://rcn-ee.net/rootfs/bb.org/testing/2020-08-10/buster-console/

With usb networking working out of the box for the pocketbeagle.
Reply all
Reply to author
Forward
0 new messages