Difference between revisions of "BeagleBoardV-Ahead/Getting started"
From Teknologisk videncenter
m |
m (→Flashing eMMC) |
||
Line 42: | Line 42: | ||
#Locate boards - perhaps new - IP address with nmap | #Locate boards - perhaps new - IP address with nmap | ||
#Login with username '''beagle''' and password '''temppwd''' | #Login with username '''beagle''' and password '''temppwd''' | ||
+ | ==Upgrading image== | ||
+ | <source lang=bash> | ||
+ | # 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) | ||
+ | </source> | ||
+ | To resolve above issue see solution on [https://forum.beagleboard.org/t/beaglev-ahead-and-other-ideas-ubuntu-lunar-libusbgx/35697 BeagleV-Ahead and Other Ideas/Ubuntu Lunar/libusbgx] | ||
+ | <source lang=bash> | ||
+ | # 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 | ||
+ | </source> |
Revision as of 08:51, 6 April 2024
Contents
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.
- unzip image
- install Android flash tools (See [https://docs.beagle.cc/latest/boards/beaglev/ahead/02-quick-start.html Quick Start)
- run ./fastboot_emmc.sh (In the unzipped image)
- When script report it is waiting - boot beagleV-Ahead with USB botton down, until process starts.
- Locate boards - perhaps new - IP address with nmap
- 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