Difference between revisions of "Yocto-layer-for-radxa-boards"
Line 7: | Line 7: | ||
=== Introduction === | === Introduction === | ||
− | This guide describes how to build | + | This guide describes how to build Yocto images for Radxa boards on Ubuntu 16.04 PC. |
=== List of Radxa Boards supported === | === List of Radxa Boards supported === | ||
Line 13: | Line 13: | ||
* ROCK Pi E | * ROCK Pi E | ||
* ROCK Pi S | * ROCK Pi S | ||
− | |||
=== Getting the Source === | === Getting the Source === | ||
+ | cd ~ | ||
+ | mkdir yocto | ||
+ | cd yocto | ||
+ | git clone git://git.yoctoproject.org/poky -b thud | ||
+ | cd poky | ||
+ | git clone git://git.openembedded.org/meta-openembedded.git -b thud | ||
− | + | For meta-radxa, you can select the one from Github nishantpoorswani or Github Radxa. | |
+ | git clone https://github.com/nishantpoorswani/meta-radxa.git -b thud | ||
+ | #or | ||
+ | git clone https://github.com/radxa/meta-radxa.git -b thud | ||
+ | |||
+ | === Setting up the Environment === | ||
+ | |||
+ | ==== Setting proxy ==== | ||
+ | |||
+ | Set proxy for git, wget, curl. | ||
=== Building the Image === | === Building the Image === | ||
+ | ==== ROCK Pi E ==== | ||
+ | |||
+ | cd poky | ||
+ | cp meta-radxa/conf/bblayers.conf.sample build/conf/bblayers.conf | ||
+ | cp meta-radxa/conf/local.conf.sample build/conf/local.conf | ||
+ | source oe-init-build-env | ||
+ | |||
+ | Modify file build/conf/local.conf | ||
+ | |||
+ | MACHINE ?= "rockpi-e-rk3328" # uncomment this line | ||
+ | PACKAGE_CLASSES ?= "package_deb" # use deb package | ||
+ | |||
+ | source oe-init-build-env | ||
+ | |||
+ | After you source oe-init-build-env, the build environment script, the work directory become build. | ||
+ | |||
+ | bitbake -k radxa-minimal-image | ||
+ | |||
+ | ==== ROCK Pi S ==== | ||
+ | |||
+ | cd poky | ||
+ | cp meta-radxa/conf/bblayers.conf.sample build/conf/bblayers.conf | ||
+ | cp meta-radxa/conf/local.conf.sample build/conf/local.conf | ||
+ | source oe-init-build-env | ||
+ | |||
+ | Modify file build/conf/local.conf | ||
+ | |||
+ | MACHINE ?= "rockpi-s-rk3308" # uncomment this line | ||
+ | PACKAGE_CLASSES ?= "package_deb" # use deb package | ||
+ | |||
+ | source oe-init-build-env | ||
+ | |||
+ | After you source oe-init-build-env, the build environment script, the work directory become build. | ||
+ | |||
+ | bitbake -k radxa-minimal-image | ||
+ | |||
+ | === Downloads === | ||
+ | |||
+ | ==== Images ==== | ||
+ | |||
+ | * ROCK Pi E: https://dl.radxa.com/rockpie/images/yocto/ | ||
+ | * ROCK Pi S: https://dl.radxa.com/rockpis/images/yocto/ | ||
=== Working with Yocto System === | === Working with Yocto System === | ||
+ | ==== Login Details ==== | ||
+ | |||
+ | Username: root | ||
+ | Password: rock | ||
=== Troubleshooting === | === Troubleshooting === | ||
* Post your issue at the forum: https://forum.radxa.com/t/yocto-layer-for-radxa-boards/3559 | * Post your issue at the forum: https://forum.radxa.com/t/yocto-layer-for-radxa-boards/3559 |
Revision as of 12:40, 19 August 2020
Contents
Yocto Layer for Radxa Boards
Introduction
This guide describes how to build Yocto images for Radxa boards on Ubuntu 16.04 PC.
List of Radxa Boards supported
- ROCK Pi E
- ROCK Pi S
Getting the Source
cd ~ mkdir yocto cd yocto git clone git://git.yoctoproject.org/poky -b thud cd poky git clone git://git.openembedded.org/meta-openembedded.git -b thud
For meta-radxa, you can select the one from Github nishantpoorswani or Github Radxa.
git clone https://github.com/nishantpoorswani/meta-radxa.git -b thud #or git clone https://github.com/radxa/meta-radxa.git -b thud
Setting up the Environment
Setting proxy
Set proxy for git, wget, curl.
Building the Image
ROCK Pi E
cd poky cp meta-radxa/conf/bblayers.conf.sample build/conf/bblayers.conf cp meta-radxa/conf/local.conf.sample build/conf/local.conf source oe-init-build-env
Modify file build/conf/local.conf
MACHINE ?= "rockpi-e-rk3328" # uncomment this line PACKAGE_CLASSES ?= "package_deb" # use deb package
source oe-init-build-env
After you source oe-init-build-env, the build environment script, the work directory become build.
bitbake -k radxa-minimal-image
ROCK Pi S
cd poky cp meta-radxa/conf/bblayers.conf.sample build/conf/bblayers.conf cp meta-radxa/conf/local.conf.sample build/conf/local.conf source oe-init-build-env
Modify file build/conf/local.conf
MACHINE ?= "rockpi-s-rk3308" # uncomment this line PACKAGE_CLASSES ?= "package_deb" # use deb package
source oe-init-build-env
After you source oe-init-build-env, the build environment script, the work directory become build.
bitbake -k radxa-minimal-image
Downloads
Images
- ROCK Pi E: https://dl.radxa.com/rockpie/images/yocto/
- ROCK Pi S: https://dl.radxa.com/rockpis/images/yocto/
Working with Yocto System
Login Details
Username: root Password: rock
Troubleshooting
- Post your issue at the forum: https://forum.radxa.com/t/yocto-layer-for-radxa-boards/3559