Bug 9234

Summary: ext2.gz.u-boot build failed for core-image-sato-sdk rootfs
Product: [Yocto Project Subprojects] Sato Reporter: Zhenhua Luo <zhenhua.luo>
Component: satoAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Undecided    
Version: svn   
Target Milestone: ---   
Hardware: Other   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Zhenhua Luo 2016-03-10 10:19:44 UTC
When the master branch of poky is used for building ext2.gz.u-boot rootfs image for qemuarm target, the build failed as the following.

Build Configuration:
BB_VERSION        = "1.29.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0+snapshot-20160309"
TUNE_FEATURES     = "arm armv5 thumb dsp"
TARGET_FPU        = "soft"
meta              
meta-poky         
meta-yocto-bsp    = "master:5ac3dc76a5afc2ed35b1abfc8e330e0c580eadf0"

Failed Logs:  
| Image Name:   core-image-sato-sdk-qemuarm-2016
| Created:      Wed Mar  9 06:11:14 2016
| Image Type:   ARM Linux RAMDisk Image (gzip compressed)
| Data Size:    445885242 Bytes = 435434.81 kB = 425.23 MB
| Load Address: 00000000
| Entry Point:  00000000
| mkimage: Write error on /home/yocto/poky/qemuarm/tmp/deploy/images/qemuarm/core-image-sato-sdk-qemuarm-20160309120517.rootfs.ext2.u-boot: Bad address
| WARNING: /home/yocto/poky/qemuarm/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato-sdk/1.0-r0/temp/run.do_image_ext2.4861:1 exit 1 from 'mkimage -A arm -O linux -T ramdisk -C $2 -n core-image-sato-sdk-qemuarm-20160309120517 -d /home/yocto/poky/qemuarm/tmp/deploy/images/qemuarm/$1 /home/yocto/poky/qemuarm/tmp/deploy/images/qemuarm/$1.u-boot'
| ERROR: Function failed: do_image_ext2 (log file is located at /home/yocto/poky/qemuarm/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato-sdk/1.0-r0/temp/log.do_image_ext2.4861)
Comment 1 Richard Purdie 2016-03-10 15:57:48 UTC
qemuarm doesn't use uboot and has no configuration for it, hence this error isn't really surprising. This isn't a bug, the uboot image type wouldn't be expected to work for MACHINE=qemuarm.