BeagleBoardV-Ahead/Getting started

From Teknologisk videncenter
Jump to: navigation, search

Without SD-Card - new

Plug ethernet to your network and power up the board from either USB-micro or the power plug. 5 volt 2 amps at least in documentation. But use 3 amps PSU at least.

Locate Boards IP address

Locate BeagleV-Ahead IP address from your DHCP server or use nmap to locate the boards IP address.

  • nmap exists for Linux, Windows and Mac OS.
heth@h5:~$ nmap -sP 192.168.1.0/24
Starting Nmap 7.80 ( https://nmap.org ) at 2024-04-06 05:59 UTC
....
Nmap scan report for BeagleV.home (192.168.1.78)
Host is up (0.0012s latency).
...
Nmap done: 256 IP addresses (15 hosts up) scanned in 2.53 seconds

Connecting

Login as root - no password

heth@h5:~$ ssh -l root 192.168.1.78
Last login: Sat Apr  6 05:53:52 2024 from 192.168.1.84
root@BeagleV:~# uname -a
Linux BeagleV 5.10.113-yocto-standard #1 SMP PREEMPT Sat Jun 10 03:53:19 UTC 2023 riscv64 GNU/Linux
root@BeagleV:~# cat /etc/os-release
ID=thead-c910
NAME="THEAD C910 Release Distro"
VERSION="1.1.2"
VERSION_ID=1.1.2
PRETTY_NAME="THEAD C910 Release Distro 1.1.2"
BUILD_ID="20230609164851"
HOME_URL="https://occ.t-head.cn/"
root@BeagleV:~#

Flashing eMMC

Dowload latest Software Image from BeagleV-Ahead and follow instructions.

  1. unzip image
  2. install Android flash tools (See [https://docs.beagle.cc/latest/boards/beaglev/ahead/02-quick-start.html Quick Start)
  3. run ./fastboot_emmc.sh (In the unzipped image)
  4. When script report it is waiting - boot beagleV-Ahead with USB botton down, until process starts.
  5. Locate boards - perhaps new - IP address with nmap
  6. Login with username beagle and password temppwd

Upgrading image

# apt -y update
# apt -y upgrade
...
dpkg: error processing archive /tmp/apt-dpkg-install-YBdbXw/01-libusbgx2_0.2.0-2bbbio0~lunar+20230817_riscv64.deb (--unpack):
 trying to overwrite '/usr/lib/riscv64-linux-gnu/libusbgx.so.2.0.0', which is also in package libusbgx 0.2.0-git20210811.3-0~lunar+20221228
...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-YBdbXw/01-libusbgx2_0.2.0-2bbbio0~lunar+20230817_riscv64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

To resolve above issue see solution on BeagleV-Ahead and Other Ideas/Ubuntu Lunar/libusbgx

# dpkg -r libusbgx # remove the conflicting package
# apt --fix-broken install # continue upgrade
# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# shutdown -r now