Tinker Board Forum

Full Version: yocto build error : u-boot-mkimage-native-1_2018.07-r0 error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I got yocto build error. how can i resolve this checksum error ?


Quote://
  1. repo init --repo-url=https:/ / github.com/rockchip-linux/repo -u https: // github.com/rockchip-linux/manifests -b yocto
  2. repo sync
  3. MACHINE=tinker-rk3288 DISTRO=rk-none . ./setup-environment -b build_rk_tiny
  4. bitbake rk-image-base
//


Quote:NOTE: Fetching uninative binary shim from http:// downloads.yoctoproject.org/releases/uninative/2.2/x86_64-nativesdk-libc.tar.bz2;sha256sum=e3b77208169bf1ac4e89496f3cdbf27695f5b18a2694a908a793390f28b67f83
Initialising tasks: 100% |#####################################################################################| Time: 0:00:01
Sstate summary: Wanted 946 Found 0 Missed 946 Current 0 (0% match, 0% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: apt-1.2.24-r0 do_fetch: Failed to fetch URL http:// archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_1.2.24.tar.xz, attempting MIRRORS if available
WARNING: firmware-rk-git-r0 do_populate_lic: firmware-rk: No generic license file exists for: proprietary-binary in any provider
WARNING: rk-binary-native-git-r0 do_populate_sysroot: File '/work/rk-yocto-bsp/build_rk_tiny/tmp/work/x86_64-linux/rk-binary-native/git-r0/recipe-sysroot-native/usr/bin/resource_tool' from rk-binary-native was already stripped, this will prevent future debugging!
ERROR: u-boot-mkimage-native-1_2018.07-r0 do_populate_lic: QA Issue: u-boot-mkimage-native: The LIC_FILES_CHKSUM does not match for file://Licenses/README;md5=30503fd321432fc713238f582193b78e
u-boot-mkimage-native: The new md5 checksum is a2c678cfd4a4d97135585cad908541c6
u-boot-mkimage-native: Here is the selected license text:
..
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
u-boot-mkimage-native: Check if the license information has changed in /work/rk-yocto-bsp/build_rk_tiny/tmp/work/x86_64-linux/u-boot-mkimage-native/1_2018.07-r0/git/Licenses/README to verify that the LICENSE value "GPLv2+" remains valid [license-checksum]
ERROR: u-boot-mkimage-native-1_2018.07-r0 do_populate_lic: Fatal QA errors found, failing task.
ERROR: u-boot-mkimage-native-1_2018.07-r0 do_populate_lic: Function failed: populate_lic_qa_checksum
ERROR: Logfile of failure stored in: /work/rk-yocto-bsp/build_rk_tiny/tmp/work/x86_64-linux/u-boot-mkimage-native/1_2018.07-r0/temp/log.do_populate_lic.11637
ERROR: Task (virtual:native:/work/rk-yocto-bsp/sources/poky/meta/recipes-bsp/u-boot/u-boot-mkimage_2018.07.bb:do_populate_lic) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1605 tasks of which 0 didn't need to be rerun and 1 failed.
In short there's a problem with the license. Or the downloaded file doesn't match the md5sum.
You might download the files and recalculate the checksum. Somewhere in the script there'll be a comparison to be modified.
(08-17-2018, 03:37 PM)Im4Tinker Wrote: [ -> ]In short there's a problem with the license. Or the downloaded file doesn't match the md5sum.
You might download the files and recalculate the checksum. Somewhere in the script there'll be a comparison to be modified.

I'm trying again like this

"repo init --repo-url=https://github.com/rockchip-linux/repo -u https://github.com/rockchip-linux/manifests -b yocto"
"MACHINE=tinker-rk3288 SDKMACHINE=i686 DISTRO=rk-x11"
"mkdir -p ./build_dir"
". ./setup-environment -b build_dir"

but still fails

What 's wrong ?



jhlim@jhlim-r8:/work/rk-yocto-bsp/yocto-tinkerboard/build_dir$ bitbake core-image-base
WARNING: Layer rockchip should set LAYERSERIES_COMPAT_rockchip in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer rockchip_extra should set LAYERSERIES_COMPAT_rockchip_extra in its conf/layer.conf file to list the core layer names it is compatible with.
NOTE: Your conf/bblayers.conf has been automatically updated.
WARNING: Layer rockchip should set LAYERSERIES_COMPAT_rockchip in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer rockchip_extra should set LAYERSERIES_COMPAT_rockchip_extra in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer rockchip should set LAYERSERIES_COMPAT_rockchip in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer rockchip_extra should set LAYERSERIES_COMPAT_rockchip_extra in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Host distribution "ubuntu-14.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |##########################################################################################################################| Time: 0:01:07
Parsing of 2371 .bb files complete (0 cached, 2371 parsed). 3336 targets, 101 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 4.4 of linux-rockchip not available (for item virtual/kernel)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-image)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-image-zimage)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-base)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-cryptomgr)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-nfc)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-ieee80211-crypt-tkip)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-nfs)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-cdc-wdm)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-hidp)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-michael-mic)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-crypto_algapi)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-ieee80211-crypt-wep)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-bnep)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-af-packet)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-ipv6)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-cdc-acm)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-aes-generic)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-nls-utf8)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-hci-vhci)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-input)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-unix)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-rtc-proc)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-rtc-sysfs)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-ieee80211-crypt-ccmp)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-ieee80211-crypt)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-rfcomm)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-ecb)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-sco)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-uinput)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-aes)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-l2cap)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-arc4)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-bluetooth)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-hci-uart)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-rtc-dev)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-binfmt-misc)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-tun)
NOTE: versions of linux-rockchip available: 4.4.103
NOTE: preferred version 4.4 of linux-rockchip not available (for item kernel-module-autofs4)
NOTE: versions of linux-rockchip available: 4.4.103

Build Configuration:
BB_VERSION           = "1.39.1"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-14.04"
TARGET_SYS           = "arm-rk-linux-gnueabi"
MACHINE              = "tinker-rk3288"
DISTRO               = "rk-x11"
DISTRO_VERSION       = "2.5+snapshot-20181002"
TUNE_FEATURES        = "arm armv7ve vfp neon vfpv4 callconvention-hard cortexa17"
TARGET_FPU           = "hard"
meta
meta-poky            = "HEAD:bdb49647874e18e7d60374b8973a307551b36a14"
meta-oe
meta-multimedia
meta-networking
meta-filesystems
meta-python          = "HEAD:d273070293cf646fb399167dccc1a1b18dc41cb6"
meta-browser         = "HEAD:3750e6a4e0315f798d98dc5e0ddc30709efe65be"
meta-qt5             = "HEAD:0c7eb257c3b0f03592e407e13c635d9e523fbcd0"
meta-rockchip        = "HEAD:226b2b3f4b584943cd1f0436cfae6285edbefe10"
meta-rockchip-extra  = "HEAD:a41cd8fdcd61baeefd601dd8b31b6966645aa403"

NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.org/releas...0f28b67f83
Initialising tasks: 100% |#######################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 1042 Found 0 Missed 1042 Current 0 (0% match, 0% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: apt-native-1.2.24-r0 do_fetch: Failed to fetch URL http://archive.ubuntu.com/ubuntu/pool/ma....24.tar.xz, attempting MIRRORS if available
WARNING: rk-binary-native-git-r0 do_fetch: Failed to fetch URL git://github.com/rockchip-linux/rkbin.git, attempting MIRRORS if available
ERROR: rk-binary-native-git-r0 do_fetch: Fetcher failure: Unable to find revision f64ded672836b47db3f6a0d04d8ccb4180fb3d55 in branch master even from upstream
ERROR: rk-binary-native-git-r0 do_fetch: Fetcher failure for URL: 'git://github.com/rockchip-linux/rkbin.git'. Unable to fetch URL from any source.
ERROR: rk-binary-native-git-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /work/rk-yocto-bsp/yocto-tinkerboard/build_dir/tmp/work/x86_64-linux/rk-binary-native/git-r0/temp/log.do_fetch.31377
ERROR: Task (/work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-rockchip/recipes-bsp/rk-binary/rk-binary-native_git.bb:do_fetch) failed with exit code '1'
WARNING: rk-binary-loader-git-r0 do_fetch: Failed to fetch URL git://github.com/rockchip-linux/rkbin.git, attempting MIRRORS if available
ERROR: rk-binary-loader-git-r0 do_fetch: Fetcher failure: Unable to find revision f64ded672836b47db3f6a0d04d8ccb4180fb3d55 in branch master even from upstream
ERROR: rk-binary-loader-git-r0 do_fetch: Fetcher failure for URL: 'git://github.com/rockchip-linux/rkbin.git'. Unable to fetch URL from any source.
ERROR: rk-binary-loader-git-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /work/rk-yocto-bsp/yocto-tinkerboard/build_dir/tmp/work/cortexa17hf-neon-vfpv4-rk-linux-gnueabi/rk-binary-loader/git-r0/temp/log.do_fetch.31654
ERROR: Task (/work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-rockchip/recipes-bsp/rk-binary/rk-binary-loader_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1332 tasks of which 0 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
  /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-rockchip/recipes-bsp/rk-binary/rk-binary-native_git.bb:do_fetch
  /work/rk-yocto-bsp/yocto-tinkerboard/sources/meta-rockchip/recipes-bsp/rk-binary/rk-binary-loader_git.bb:do_fetch
Summary: There were 10 WARNING messages shown.
Summary: There were 6 ERROR messages shown, returning a non-zero exit code.
In short there are many files missing to download. Congratulation for your resourcefulness.
(10-02-2018, 09:42 AM)Im4Tinker Wrote: [ -> ]In short there are many files missing to download. Congratulation for your resourcefulness.

Another thing to note here is, Its always better to download a stable branch (i.e. Rocko, Pyro) you can do that using "repo init --repo-url=https://github.com/rockchip-linux/repo -u https://github.com/rockchip-linux/manifests -b yocto -m rocko.xml" i can see you are using the master branch. Please try to use the rocko or pyro branch and check if it works. 

-Parker.