Closed gmacario closed 8 years ago
...
_generate_boot_image() {
local boot_part=$1
# Create boot partition image
...
# mkdosfs will sometimes use FAT16 when it is not appropriate,
# resulting in a boot failure from SYSLINUX. Use FAT32 for
# images larger than 512MB, otherwise let mkdosfs decide.
...
mcopy -i /var/jenkins_home/workspace/GENIVI/build_yocto_udooneo/gdp-src-build/tmp-glibc/work/udooneo-oe-linux-gnueabi/core-image-minimal/1.0-r0/boot.img -s /var/jenkins_home/workspace/GENIVI/build_yocto_udooneo/gdp-src-build/tmp-glibc/deploy/images/udooneo/zImage-udooneo.bin ::/zImage
# Copy boot scripts
for item in uEnv.txt m4clean.fw m4startup.fw; do
src=`echo $item | awk -F':' '{ print $1 }'`
dst=`echo $item | awk -F':' '{ print $2 }'`
mcopy -i /var/jenkins_home/workspace/GENIVI/build_yocto_udooneo/gdp-src-build/tmp-glibc/work/udooneo-oe-linux-gnueabi/core-image-minimal/1.0-r0/boot.img -s /var/jenkins_home/workspace/GENIVI/build_yocto_udooneo/gdp-src-build/tmp-glibc/deploy/images/udooneo/$src ::/$dst
done
...
However by inspecting http://dc7600-gm.solarma.it:9080/job/GENIVI/job/build_yocto_udooneo/ws/gdp-src-build/tmp-glibc/deploy/images/udooneo/
uEnv.txt
==> OKm4clean.fw
==> NOT FOUNDm4startup.fw
==> NOT FOUNDIn Jenkins project build_yocto_udooneo
> Build > Execute shell, try adding bitbake m4uploader
before bitbake core-image-minimal
Result: The following files will be created on http://dc7600-gm.solarma.it:9080/job/GENIVI/job/build_yocto_udooneo/ws/gdp-src-build/tmp-glibc/work/cortexa9hf-vfp-neon-oe-linux-gnueabi/m4uploader/0.1.1+gitAUTOINC+53738b91a7-r0/image/boot/
m4clean.fw
99.80 KBm4startup.fw
46.29 KBbut those files are not copied to http://dc7600-gm.solarma.it:9080/job/GENIVI/job/build_yocto_udooneo/ws/gdp-src-build/tmp-glibc/deploy/images/udooneo/
Next steps: git blame https://github.com/graugans/meta-udoo/blob/jethro/conf/machine/udooneo.conf
In Jenkins project build_yocto_udooneo > Build > Execute shell, try adding bitbake m4-firmware
just before bitbake core-image-minimal
Result: SUCCESS
Try reproducing on ies-genbld01-vm
Result: SUCCESS
Close via 7447eb0a14bfcba44be5b0d53905f931078bb395
NOTE: The workaround at commit https://github.com/gmacario/easy-jenkins/commit/7447eb0a14bfcba44be5b0d53905f931078bb395 may be removed once upstream bug https://github.com/graugans/meta-udoo/issues/3 is fixed
From https://github.com/gmacario/easy-jenkins/blob/master/docs/building-yocto-udooneo.md: