spedagadi / yocto-tinkerboard Goto Github PK
View Code? Open in Web Editor NEWYocto Sources for Tinkerboard
Yocto Sources for Tinkerboard
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.
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.
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
I tried playing a 1080p60fps video on the included player and it's clearly not hardware accelerated :S
Video (Big Buck Bunny):
http://bbb3d.renderfarming.net/download.html
http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.