Giter Site home page Giter Site logo

spedagadi / yocto-tinkerboard Goto Github PK

View Code? Open in Web Editor NEW
24.0 5.0 10.0 18.3 MB

Yocto Sources for Tinkerboard

Shell 5.52% BitBake 24.48% SourcePawn 1.27% C++ 2.43% Python 41.33% PHP 5.54% JavaScript 1.76% BlitzBasic 0.04% HTML 2.42% C 8.38% M4 0.40% Makefile 0.41% Lua 0.01% Assembly 1.69% Roff 4.09% ApacheConf 0.01% Perl 0.13% Nginx 0.02% CMake 0.01% Vim Script 0.07%
yocto tinkerboard

yocto-tinkerboard's Introduction

yocto-tinkerboard

Yocto OS sources for Asus Tinker board

Features

  • VPU - Hardware accelerated decoding & encoding
  • Gstreamer support for VPU
  • Mali Kernel & user space libraries (OpenCL is the best)
  • WiFi
  • Video processing libraries (FFMPEG, OpenCV etc.,)
  • Nodejs Webserver

You will have to edit build/conf/local.conf to enable/disable the modules you prefer.

Building Yocto OS

$ . ./setup-environment

$ bitbake core-image-sato

Rockchip's yocto instructions are here http://rockchip.wikidot.com/yocto-user-guide and have been hugely helpful. Rockchip linux group - https://github.com/rockchip-linux

yocto-tinkerboard's People

Contributors

spedagadi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

yocto-tinkerboard's Issues

Build Fail

Hello.

While I can build the native rockchip yocto build, I find it a bit lacking in terms of SSH etc.

I tried to build via your image but get the following issues:
`WARNING: /home/ben/yocto-tinkerboard-master/sources/meta-rockchip/recipes-kernel/linux/linux-rockchip_4.4.bb: Exception during build_dependencies for do_kernel_checkout
WARNING: /home/ben/yocto-tinkerboard-master/sources/meta-rockchip/recipes-kernel/linux/linux-rockchip_4.4.bb: Error during finalise of /home/ben/yocto-tinkerboard-master/sources/meta-rockchip/recipes-kernel/linux/linux-rockchip_4.4.bb
ERROR: ExpansionError during parsing /home/ben/yocto-tinkerboard-master/sources/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb
Traceback (most recent call last):
File "/home/ben/yocto-tinkerboard-master/sources/poky/bitbake/lib/bb/data_smart.py", line 386, in DataSmart.expandWithRefs(s='develop++git${SRCPV}', varname='PV'):
try:
> s = expand_var_regexp.sub(varparse.var_sub, s)
try:
File "/home/ben/yocto-tinkerboard-master/sources/poky/bitbake/lib/bb/data_smart.py", line 111, in VariableParse.var_sub(match=<_sre.SRE_Match object; span=(12, 20), match='${SRCPV}'>):
else:
> var = self.d.getVarFlag(key, "_content", True)
self.references.add(key)
File "/home/ben/yocto-tinkerboard-master/sources/poky/bitbake/lib/bb/data_smart.py", line 737, in DataSmart.getVarFlag(var='SRCPV', flag='_content', expand=True, noweakdefault=False, parsing=False):
cachename = var + "[" + flag + "]"
> value = self.expand(value, cachename)

File "/home/ben/yocto-tinkerboard-master/sources/poky/bitbake/lib/bb/data_smart.py", line 410, in DataSmart.expand(s='${@bb.fetch2.get_srcrev(d)}', varname='SRCPV'):
def expand(self, s, varname = None):
> return self.expandWithRefs(s, varname).value

File "/home/ben/yocto-tinkerboard-master/sources/poky/bitbake/lib/bb/data_smart.py", line 400, in DataSmart.expandWithRefs(s='${@bb.fetch2.get_srcrev(d)}', varname='SRCPV'):
except Exception as exc:
> raise ExpansionError(varname, s, exc) from exc

bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=73b042492c422888b9fbcf1d59eaaba4"; export SSH_AGENT_PID="1087"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/ben/yocto-tinkerboard-master/out/tmp/sysroots/x86_64-linux/usr/bin/python3-native:/home/ben/yocto-tinkerboard-master/sources/poky/scripts:/home/ben/yocto-tinkerboard-master/out/tmp/sysroots/x86_64-linux/usr/bin/arm-rk-linux-gnueabi:/home/ben/yocto-tinkerboard-master/out/tmp/sysroots/tinker-rk3288/usr/bin/crossscripts:/home/ben/yocto-tinkerboard-master/out/tmp/sysroots/x86_64-linux/usr/sbin:/home/ben/yocto-tinkerboard-master/out/tmp/sysroots/x86_64-linux/usr/bin:/home/ben/yocto-tinkerboard-master/out/tmp/sysroots/x86_64-linux/sbin:/home/ben/yocto-tinkerboard-master/out/tmp/sysroots/x86_64-linux/bin:/home/ben/yocto-tinkerboard-master/sources/poky/scripts:/home/ben/yocto-tinkerboard-master/sources/poky/bitbake/bin:/home/ben/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"; export HOME="/home/ben"; git -c core.fsyncobjectfiles=0 ls-remote git://github.com/rockchip-linux/gstreamer-rockchip.git failed with exit code 128, output:
fatal: Unable to look up github.com (port 9418) (Name or service not known)

Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.`

Also could I also ask the question that would it be possible to build a 'rk-none' version of your build with QT5 as I believe this setup would see the most use, with addition of the cross-complier. How would one achieve this?

System OS: Tried Ubuntu 16.04 and Debian 9. 2.1

Flash_tool dd:writing,Input/output error

Hello.

I'm trying to use the ./flash_tool.sh and I go nothing but "dd: writing to '/dev/sdb/: Input/output error" after about 6%

After that, the SD card is unreadable and requires re-formating.

Is there some way to fault find this? I have tried two new cards 8GB and 16GB Micro SDHC but the same issue is there.

Is there also any other programs I need on my system to run the flash_tool script successfully?

System Info: Ubuntu 16.04 LTS 3GB RAM running for VirtualBox. The SD card interface is done from a Transcend Memory card to USB reader/writer.

Thank you for your time.

is this project Alive ?

hi sat8 !

https://tinkerboarding.co.uk/forum/thread-1579.html?highlight=Yocto+build
http://rockchip.wikidot.com/yocto-user-guide

I am tring to build .. but i got error

jhlim@jhlim-r8:/work/rk-yocto-bsp/yocto-tinkerboard/build$ bitbake core-image-base
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools-native SRC_URI entry remove-selinux-android.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools-native SRC_URI entry use-capability.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools-native SRC_URI entry use-local-socket.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools-native SRC_URI entry preserve-ownership.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools-native SRC_URI entry mkbootimg-Add-dt-parameter-to-specify-DT-image.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools-native SRC_URI entry remove-bionic-android.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools-native SRC_URI entry define-shell-command.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools-native SRC_URI entry implicit-declaration-function-strlcat-strlcopy.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools-native SRC_URI entry android-tools-adbd.service: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools SRC_URI entry remove-selinux-android.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools SRC_URI entry use-capability.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools SRC_URI entry use-local-socket.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools SRC_URI entry preserve-ownership.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools SRC_URI entry mkbootimg-Add-dt-parameter-to-specify-DT-image.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools SRC_URI entry remove-bionic-android.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools SRC_URI entry define-shell-command.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools SRC_URI entry implicit-declaration-function-strlcat-strlcopy.patch: file could not be found
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb: Unable to get checksum for android-tools SRC_URI entry android-tools-adbd.service: file could not be found
ERROR: ExpansionError during parsing /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb0:00:00
Traceback (most recent call last):
File "/work/rk-yocto-bsp/yocto-tinkerboard/sources/poky/bitbake/lib/bb/data_smart.py", line 386, in DataSmart.expandWithRefs(s='develop++git${SRCPV}', varname='PV'):
try:
> s = expand_var_regexp.sub(varparse.var_sub, s)
try:
File "/work/rk-yocto-bsp/yocto-tinkerboard/sources/poky/bitbake/lib/bb/data_smart.py", line 111, in VariableParse.var_sub(match=<_sre.SRE_Match object; span=(12, 20), match='${SRCPV}'>):
else:
> var = self.d.getVarFlag(key, "_content", True)
self.references.add(key)
File "/work/rk-yocto-bsp/yocto-tinkerboard/sources/poky/bitbake/lib/bb/data_smart.py", line 737, in DataSmart.getVarFlag(var='SRCPV', flag='_content', expand=True, noweakdefault=False, parsing=False):
cachename = var + "[" + flag + "]"
> value = self.expand(value, cachename)

File "/work/rk-yocto-bsp/yocto-tinkerboard/sources/poky/bitbake/lib/bb/data_smart.py", line 410, in DataSmart.expand(s='${@bb.fetch2.get_srcrev(d)}', varname='SRCPV'):
def expand(self, s, varname = None):
> return self.expandWithRefs(s, varname).value

File "/work/rk-yocto-bsp/yocto-tinkerboard/sources/poky/bitbake/lib/bb/data_smart.py", line 400, in DataSmart.expandWithRefs(s='${@bb.fetch2.get_srcrev(d)}', varname='SRCPV'):
except Exception as exc:
> raise ExpansionError(varname, s, exc) from exc

bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Unable to resolve 'develop' in upstream git repository in git ls-remote output for github.com/rockchip-linux/gstreamer-rockchip.git

WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-rockchip/recipes-kernel/linux/linux-rockchip_4.4.bb: Exception during build_dependencies for do_kernel_checkout
WARNING: /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-rockchip/recipes-kernel/linux/linux-rockchip_4.4.bb: Error during finalise of /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-rockchip/recipes-kernel/linux/linux-rockchip_4.4.bb

Summary: There were 20 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.