Connecting BeagleV Fire to USB-C

Hi All,

I recently purchased a BeagleV fire and being used to the ease of Beaglebone Blacks and their Linux images I connected the Fire with USB-C and thought of going to the web interface. But I only have 3 leds on the board so I surmise the Fire board “beagleboard experience” is not there yet?

Is the same Beagleboard black ease of use (SD card images, cloud9 etc) to be expected in the near future?

Best,
Bas

1 Like

I don’t have the BeagleV board, what expreience are you looking for that is not on V.?

Pretty sure you can ssh into the board via a terminal then connect to it using Nautilus filemanager. Once configured for sftp file transfer just set a bookmark in Nautilus and your files are accessible, simple, safe and reliable.

Out of the box, the usb ethernet, usb serial should be active over type-c…

VSCode is not ported to risc-v yet, RedHat’s Cockpit is pre-installed, if you go to 192.168.7.2 the web url should point to Cockpit’s port…

Regards,

1 Like

I can SSH into the board via the debug pins. With the “beagleboard experience” I meant the ease of use of connecting the board with a USB cable, see an USB device appear, browse to 192.168.7.2 and discover the board.
I’ve used a lot of Beaglebone Black/Green/Blue in the past so I guess for some small quick task I got used to that.
SSH’ing no problemo.

1 Like

Hi @RobertCNelson

I tried that, but the usb ethernet is not usable. There is no USB device being recognised like with the BBB. I can use the debug port on the fire though.
btw, I literary just opened the box, attached the USB-C. No SD card or anything.

Ubuntu 23.04 BeagleV ttyGS0

BeagleBoard.org Ubuntu 23.04 Console Image 2023-10-19
Support: https://bbb.io/debian
default username:password is [beagle:temppwd]

Web console: https://BeagleV.localdomain:9090/

BeagleV login:

Correct, there should be an NCM device showing up on your pc… I’m picking up a production board on Wednesday this week, so i can verify what was actually flashed in production…

Regards,

thanks, no rush now I know i can at least SSH into the fire.
Best,
Bas

Okay, ended up in office today… Out of the box:

dmesg host:

[  383.540158] usb 3-1.3.3.1: new high-speed USB device number 11 using xhci_hcd
[  383.692740] usb 3-1.3.3.1: New USB device found, idVendor=1d6b, idProduct=0104, bcdDevice= 4.04
[  383.692755] usb 3-1.3.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  383.692760] usb 3-1.3.3.1: Product: BeagleBone
[  383.692763] usb 3-1.3.3.1: Manufacturer: BeagleBoard.org
[  383.692766] usb 3-1.3.3.1: SerialNumber: 1234BBBK5678
[  383.746360] cdc_ncm 3-1.3.3.1:1.0: MAC-Address: 00:04:a3:f1:e7:d8
[  383.746519] cdc_ncm 3-1.3.3.1:1.0 eth1: register 'cdc_ncm' at usb-0000:00:14.0-1.3.3.1, CDC NCM (NO ZLP), 00:04:a3:f1:e7:d8
[  383.746562] usbcore: registered new interface driver cdc_ncm
[  383.746825] cdc_acm 3-1.3.3.1:1.2: ttyACM0: USB ACM device
[  383.746848] usbcore: registered new interface driver cdc_acm
[  383.746850] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[  383.747795] usbcore: registered new interface driver cdc_wdm
[  383.748557] usbcore: registered new interface driver cdc_mbim
voodoo@la-i5-1135G7:~$ tio /dev/ttyACM0 
[10:26:25.516] tio v2.5
[10:26:25.516] Press ctrl-t q to quit
[10:26:25.517] Connected


BeagleBoard.org Ubuntu 23.04 Console Image 2023-10-19
Support: https://bbb.io/debian
default username:password is [beagle:temppwd]

Web console: https://BeagleV.localdomain:9090/

BeagleV login: beagle
Password: 
Last login: Tue Oct 24 07:00:34 UTC 2023 on ttyS0
beagle@BeagleV:~$ uname -r
6.1.33-linux4microchip+fpga-2023.06-20231019+
beagle@BeagleV:~$

USB Ethernet:

voodoo@la-i5-1135G7:~$ cat /proc/cmdline 
BOOT_IMAGE=/boot/vmlinuz-6.6.1-00001-gf4d500744e13 root=UUID=a1bafc42-d22c-487f-93cd-85477f36f27b ro i915.enable_psr=0 net.ifnames=0
voodoo@la-i5-1135G7:~$ sudo ifconfig -a eth1
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.7.1  netmask 255.255.255.0  broadcast 192.168.7.255
        inet6 fe80::286f:7007:3d41:ee4b  prefixlen 64  scopeid 0x20<link>
        ether 00:04:a3:f1:e7:d8  txqueuelen 1000  (Ethernet)
        RX packets 44  bytes 6157 (6.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 60  bytes 8708 (8.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

voodoo@la-i5-1135G7:~$ ssh beagle@192.168.7.2
The authenticity of host '192.168.7.2 (192.168.7.2)' can't be established.
ED25519 key fingerprint is SHA256:7pYt3M2EHOt0J33JexLxYcUfXM7qBsTUefnKLC95dus.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.7.2' (ED25519) to the list of known hosts.
Ubuntu 23.04

BeagleBoard.org Ubuntu 23.04 Console Image 2023-10-19
Support: https://bbb.io/debian
default username:password is [beagle:temppwd]

beagle@192.168.7.2's password: 
X11 forwarding request failed on channel 0
Last login: Tue Oct 24 07:03:34 2023
beagle@BeagleV:~$

I sudo apt updated && upgraded and after reboot I looked thru the logs on the web interface.
Don’t know if this sheds some light.

I’ve switched to a linux VM and a PC because in Windows 10 I cannot get any information. So connecting the fire with an USB-C cable to the VM/PC.

  • logging into the BeagleFire shell through USB works like with the debug port.
  • plugging the BeagleFire into my network lets me access Cockpit

restarted VM and BeagleFire without the Ethernet cable and here’s the output.

dmesg host (VM, but similar on bulky PC):

[  186.548274] usb 1-2: new high-speed USB device number 3 using xhci_hcd
[  186.925610] usb 1-2: New USB device found, idVendor=1d6b, idProduct=0104, bcdDevice= 4.04
[  186.925626] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  186.925627] usb 1-2: Product: BeagleBone
[  186.925628] usb 1-2: Manufacturer: BeagleBoard.org
[  186.925629] usb 1-2: SerialNumber: 1234BBBK5678
[  186.988989] cdc_acm 1-2:1.2: ttyACM0: USB ACM device
[  186.989019] usbcore: registered new interface driver cdc_acm
[  186.989021] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[  186.996588] usbcore: registered new interface driver cdc_ether
[  187.052188] cdc_ncm 1-2:1.0: MAC-Address: 00:04:a3:bf:bc:5d
[  187.052551] cdc_ncm 1-2:1.0 eth1: register 'cdc_ncm' at usb-0000:00:0c.0-2, CDC NCM (NO ZLP), 00:04:a3:bf:bc:5d
[  187.052833] usbcore: registered new interface driver cdc_ncm
[  187.060869] usbcore: registered new interface driver cdc_wdm
[  187.066366] usbcore: registered new interface driver cdc_mbim
$ sudo ifconfig -a eth1
[sudo] password for bas: 
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 00:04:a3:bf:bc:5d  txqueuelen 1000  (Ethernet)
        RX packets 41  bytes 5549 (5.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
$ tio /dev/ttyACM0
[20:38:49.503] tio v2.6
[20:38:49.503] Press ctrl-t q to quit
[20:38:49.514] Connected

BeagleBoard.org Ubuntu 23.04 Console Image 2023-10-19
Support: https://bbb.io/debian
default username:password is [beagle:temppwd]

Web console: https://BeagleV.localdomain:9090/

BeagleV login: beagle
Password: 
Last login: Tue Nov 14 19:24:29 UTC 2023 on ttyGS0

beagle@BeagleV:~$ uname -r
6.1.33-linux4microchip+fpga-2023.06-20231019+

BeagleV-fire:

beagle@BeagleV:~$ dmesg | grep usb
[    0.324186] usbcore: registered new interface driver usbfs
[    0.330393] usbcore: registered new interface driver hub
[    0.336396] usbcore: registered new device driver usb
[    3.470735] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    3.476557] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    3.484858] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    3.493181] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.500448] usb usb1: Product: MUSB HDRC host driver
[    3.505456] usb usb1: Manufacturer: Linux 6.1.33-linux4microchip+fpga-2023.06-20231019+ musb-hcd
[    3.514272] usb usb1: SerialNumber: musb-hdrc.1.auto
[    3.529103] mpfs-musb 20201000.usb: Registered MPFS MUSB driver
[    3.633935] usbcore: registered new interface driver usbhid
[    3.639564] usbhid: USB HID core driver
[   24.031282] usb0: HOST MAC 00:04:a3:bf:bc:5d
[   24.031324] usb0: MAC 00:04:a3:bf:bc:5e
[   30.666035] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
beagle@BeagleV:~$ dmesg | grep eth
[    3.441801] macb 20110000.ethernet eth0: Cadence GEM rev 0x0107010c at 0x20110000 irq 53 (00:04:a3:bf:bc:5b)
[    3.457081] macb 20112000.ethernet eth1: Cadence GEM rev 0x0107010c at 0x20112000 irq 57 (00:04:a3:bf:bc:5a)
[   14.173641] macb 20112000.ethernet eth1: validation of sgmii with support 00000000,00000000,00006280 and advertisement 00000000,00000000,00004280 failed: -EINVAL
[   14.175065] macb 20112000.ethernet eth1: Could not attach PHY (-22)
[   14.188121] macb 20110000.ethernet eth0: PHY [20110000.ethernet-ffffffff:00] driver [Generic PHY] (irq=POLL)
[   14.188166] macb 20110000.ethernet eth0: configuring for phy/sgmii link mode
[   14.189352] macb 20110000.ethernet: gem-ptp-timer ptp clock registered.
[   18.929084] using random self ethernet address
[   18.929120] using random host ethernet address

--last lines of dmesg---
[   12.715586] at24 1-0050: 4096 byte 24c32 EEPROM, writable, 32 bytes/write
[   13.040781] mc: Linux media interface: v0.10
[   13.516964] videodev: Linux video capture interface: v2.00
[   14.011279] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   14.053447] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   14.173641] macb 20112000.ethernet eth1: validation of sgmii with support 00000000,00000000,00006280 and advertisement 00000000,00000000,00004280 failed: -EINVAL
[   14.175065] macb 20112000.ethernet eth1: Could not attach PHY (-22)
[   14.188121] macb 20110000.ethernet eth0: PHY [20110000.ethernet-ffffffff:00] driver [Generic PHY] (irq=POLL)
[   14.188166] macb 20110000.ethernet eth0: configuring for phy/sgmii link mode
[   14.188915] pps pps0: new PPS source ptp0
[   14.189352] macb 20110000.ethernet: gem-ptp-timer ptp clock registered.
[   16.834705] systemd-journald[144]: Oldest entry in /var/log/journal/9d792b6d0c9042fab4a55d8ecf7f5a6c/system.journal is older than the configured file retention duration (1month), suggesting rotation.
[   16.834776] systemd-journald[144]: /var/log/journal/9d792b6d0c9042fab4a55d8ecf7f5a6c/system.journal: Journal header limits reached or header out-of-date, rotating.
[   17.086818] systemd-journald[144]: Failed to read journal file /var/log/journal/9d792b6d0c9042fab4a55d8ecf7f5a6c/user-1000.journal for rotation, trying to move it out of the way: Device or resource busy
[   18.929084] using random self ethernet address
[   18.929120] using random host ethernet address
[   23.670986] imx219_probe()
[   23.678483] imx219_identify_module()
[   23.678763] imx219 1-0010: failed to read chip id 219
[   23.684034] imx219: probe of 1-0010 failed with error -5
[   24.031282] usb0: HOST MAC 00:04:a3:bf:bc:5d
[   24.031324] usb0: MAC 00:04:a3:bf:bc:5e
[   24.137116] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   24.165490] Bridge firewalling registered
[   25.021688] Initializing XFRM netlink socket
[   30.666035] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready