Skip to content

An OpenEmbedded/Yocto Project BSP layer for the ASUS Tinker Board Edge R machines

License

Notifications You must be signed in to change notification settings

mike-at-dusty/meta-asus-edge-r

Repository files navigation

meta-tinker-board-edger

Table of contents

  1. Introduction
  2. Dependencies
  3. List of Tinker Boards supported
  4. Using the meta-asus-edge-r layer
    1. Step 1:Fetching the Source
    2. Step 2:Setting up the Environment
    3. Step 3:Bblayers.conf Setup
    4. Step 4:Local.conf Setup
    5. Step 5:Building the Image
  5. Serial Console
  6. Login Details
  7. Networking
    1. Wifi Connectivity
    2. Bluetooth Connectivity
  8. Change Log
  9. Contributing
  10. Reporting Bugs
  11. Maintainers

Introduction

An OpenEmbedded/Yocto Project BSP layer for the ASUS Tinker Board Edge R machines

Dependencies

The meta-asus-edge-r layer depends on:

URI: git://git.yoctoproject.org/poky
branch: kirkstone

URI: git://git.openembedded.org/meta-openembedded
branch: kirkstone

URI: https://github.com/JeffyCN/meta-rockchip.git
branch: kirkstone

List of Tinker Boards supported

  1. ASUS Tinker Board Edge R

Using the meta-radxa layer

Step 1: Fetching the source

Fetch the source using the commands given below:


~ $ mkdir yocto
~ $ cd yocto
~/yocto $ git clone git://git.yoctoproject.org/poky -b kirkstone
~/yocto $ git clone git://git.openembedded.org/meta-openembedded -b kirkstone
~/yocto $ git clone https://github.com/JeffyCN/meta-rockchip.git -b kirkstone
~/yocto $ git clone https://github.com/mike-at-dusty/meta-asus-edge-r.git -b kirkstone

Step 2: Setting up the Environment


~/yocto $ source poky/oe-init-build-env

Step 3: Bblayers.conf Setup

  • You can simply copy the bblayers.conf.sample present in meta-asus-edge-r/conf folder to the build/conf folder and rename it to bblayers.conf
OR
  • Add the layers manually as given below to the bblayers.conf in the build/conf folder

  ${TOPDIR}/../poky/meta \
  ${TOPDIR}/../poky/meta-poky \
  ${TOPDIR}/../poky/meta-yocto-bsp \
  ${TOPDIR}/../meta-openembedded/meta-oe \
  ${TOPDIR}/../meta-openembedded/meta-filesystems \
  ${TOPDIR}/../meta-openembedded/meta-networking \
  ${TOPDIR}/../meta-openembedded/meta-python \
  ${TOPDIR}/../meta-rockchip \
  ${TOPDIR}/../meta-asus-edge-r \

Step 4: Local.conf Setup

  • You can simply copy the local.conf.sample present in meta-asus-edge-r/conf folder to the build/conf folder and rename it to local.conf
OR
  • Add the following lines in the build/conf/local.conf
MACHINE = "asus-edge-r"
DISTRO_FEATURES_append = " pam systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
PACKAGECONFIG:append_pn-systemd = " resolved networkd"

Step 5: Building the Image

  • If you wish to build a minimal image use the command given below:
~/yocto/poky/build $ bitbake -k edge-r-minimal-image
OR
  • If you wish to build a console image use the command given below:
~/yocto/poky/build $ bitbake -k edge-r-console-image
OR

At the end of a successful build, you should have an update.img image in tmp/deploy/images/asus-edge-r folder. The update.img can be directly flashed to emmc memory on the Edge R

Serial Console

The Serial Console for the ASUS Tinker Board Edge R is enabled on UART-0 (GPIO Pins 8 and 10).

Helpful Links:

Login Details

Username: root

Networking

Network Devices available:

  • Wifi
  • Ethernet
  • Bluetooth

Wifi Connectivity

  • Using Commandline Based GUI(nmtui) [Available on console image]

nmtui is a curses based GUI. You can start it by running the following command:

nmtui
  • Using Commandline Utility(nmcli) [Available on console image]

nmcli is a command-line tool for controlling NetworkManager and reporting network status.

List available devices

nmcli dev

Turn on Wifi

nmcli r wifi on

Scanning different devices

nmcli dev wifi

Connect to WiFi Hotspot

nmcli dev wifi connect "SSID" password "PASSWORD"

Note:You need to replace “SSID” and “Password” with your actual WiFi’s SSID and password.

Bluetooth Connectivity

  • Bluetooth on ASUS Tinker Board Edge R

Activating bluetooth:

hciconfig hci0 up

Check Bluetooth device:

 $ hciconfig
 hci0:    Type: Primary  Bus: USB
          BD Address: 3C:91:80:B7:A1:BC  ACL MTU: 1021:6  SCO MTU: 255:12
          UP RUNNING 
          RX bytes:1272 acl:0 sco:0 events:71 errors:0
          TX bytes:1086 acl:0 sco:0 commands:71 errors:0

Change Log

  • Initial creation of layer for ASUS Tink Board Edge R

Contributing

Please use github for pull requests: https://github.com/mike-at-dusty/meta-asus-edge-r/pulls

Reporting bugs

The github issue tracker (https://github.com/mike-at-dusty/meta-tinker-board-edger/issues) is being used to keep track of bugs.

Maintainers

About

An OpenEmbedded/Yocto Project BSP layer for the ASUS Tinker Board Edge R machines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published