[meta-mender-raspberrypi] warnings on u-boot do_patch

108 views
Skip to first unread message

Guillaume Khayat

unread,
Nov 27, 2018, 3:51:38 PM11/27/18
to Mender List mender.io
Out of nowhere, bitbake has started giving me the following warnings during u-boot's do_patch

bitbake u-boot

WARNING: bzip2-1.0.6-r5 do_fetch: Checksum mismatch for local file /home/ubuntu/poky/build/downloads/bzip2-1.0.6.tar.gz
Cleaning and trying again.
WARNING: bzip2-1.0.6-r5 do_fetch: Renaming /home/ubuntu/poky/build/downloads/bzip2-1.0.6.tar.gz to /home/ubuntu/poky/build/downloads/bzip2-1.0.6.tar.gz_bad-checksum_bb6639fad5666cfe31b46330395a3352
WARNING: bzip2-1.0.6-r5 do_fetch: Checksum failure encountered with download of http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz - will attempt other sources if available
WARNING: u-boot-1_2018.01-r0 do_patch: 
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:
    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0001-CONFIGS-rpi-enable-mender-requirements.patch
patching file configs/rpi_0_w_defconfig
Hunk #1 succeeded at 32 (offset -4 lines).
patching file configs/rpi_2_defconfig
Hunk #1 succeeded at 32 (offset -4 lines).
patching file configs/rpi_3_32b_defconfig
Hunk #1 succeeded at 34 (offset -5 lines).
patching file configs/rpi_3_defconfig
Hunk #1 succeeded at 34 (offset -5 lines).
patching file configs/rpi_defconfig
Hunk #1 succeeded at 32 (offset -4 lines).
patching file include/configs/rpi.h
Hunk #1 succeeded at 90 with fuzz 1 (offset 14 lines).
Now at patch 0001-CONFIGS-rpi-enable-mender-requirements.patch
WARNING: u-boot-1_2018.01-r0 do_provide_mender_defines: Found more than one dtb specified in KERNEL_DEVICETREE. Only one should be specified. Choosing the last one.
WARNING: sqlite-2.8.17-r7 do_fetch: Failed to fetch URL http://www.hwaci.com/sw/sqlite/sqlite-2.8.17.tar.gz, attempting MIRRORS if available
WARNING: setup-users-1.0-r0 do_package_qa: QA Issue: setup-users: /setup-users/home/spectre/.profile is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

I don't recall making any change that triggered this.

I'm running poky 2.5.1, with the latest sumo branch of meta-raspberry, meta-openembedded, menta-mender Here is my bitbake 
BB_VERSION           = "1.38.0"
BUILD_SYS            
= "x86_64-linux"
NATIVELSBSTRING      
= "universal"
TARGET_SYS           
= "aarch64-poky-linux"
MACHINE              
= "raspberrypi3-64"
DISTRO               
= "poky"
DISTRO_VERSION       
= "2.5.1"
TUNE_FEATURES        
= "aarch64"
TARGET_FPU           
= ""
meta                 
meta
-poky            
meta
-yocto-bsp       = "heads/yocto-2.5.1:24a833f40d837407baa4e8192f372d998a776b6c"
meta
-raspberrypi     = "sumo:2d40b000021bc8a9ef7f329ed0ad410f8d227b97"
meta
-oe              
meta
-multimedia      
meta
-python          
meta
-networking      = "sumo:2bb21ef27c4b0c9d52d30b3b2c5a0160fd02b966"
meta
-drax            = "master:9e7e911e61c0be33867103972b8e22b552a7aa80"
meta
-mender-core     
meta
-mender-raspberrypi = "sumo:9ea1cbe1b362f624e7dac4ea16cec253e19d0e9e"

The resulting image does not boot on my Raspberry Pi 3 B+.

Any idea what might be going on ?

Best,

Guillaume
Reply all
Reply to author
Forward
0 new messages