[oe] [PATCH][meta-fsl-arm] 2.6.35 kernel build error with perl 5.22

Stephen Arnold stephen.arnold42 at gmail.com
Sat Aug 15 06:05:53 UTC 2015


When building fsl-image-machine-test for imx28-evk with n00b defaults
using the fsl-community-bsp repo manifest thing, it fails on the old
kernel in meta-fsl-arm/recipes-kernel/linux/linux-imx_2.6.35.3.bb.

There are a few things questionable/wrong here:

1) It uses the build host perl, which is why it fails here and not in
the upstream builder.

2) The dts file for the evk machine in 4.1 mainline looks complete
(along with several other imx28 machines) so why does it default to
such an old kernel?

3) Switching to newer kernel makes gst-fsl-plugins fail with the
"looking for kernel headers from user space" error because it can't
find the old framebuffer header (mxcfb.h).  It should depend on old
fsl kernel only.

4) The old kernel recipe should depend on perl-native.

The attached patch fixes the perl error in the the old kernel build
and the above test image completed fine with it.  Not an "official"
patch per se, just useful if you're stuck...

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001_fix_kernel_timeconst_perl_array_error.patch
Type: text/x-patch
Size: 312 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150814/08b41f53/attachment-0002.bin>


More information about the Openembedded-devel mailing list