Bug 9961 - intel-quark: 4.4.14 does not compile
Summary: intel-quark: 4.4.14 does not compile
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High normal
Target Milestone: 2.2 M2
Assignee: Saul Wold
QA Contact: David Rodriguez
URL:
Whiteboard: meta-intel blocker
Depends on:
Blocks:
 
Reported: 2016-07-16 06:59 UTC by Patrick Ohly
Modified: 2016-08-12 13:28 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Yocto Kernel Config (109.33 KB, application/octet-stream)
2016-07-19 23:35 UTC, Saul Wold
no flags Details
Ostro Kernel Config (117.71 KB, application/octet-stream)
2016-07-19 23:36 UTC, Saul Wold
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Ohly 2016-07-16 06:59:34 UTC
"meta-intel: linux-yocto/4.4: Update SRCREVs for v4.4.14 and drm forklift" (meta-intel rev: cb6b1f3f902168782714ab84d504309f46dd2f15) broke compilation of the kernel in Ostro OS on MACHINE=intel-quark. Other machines are okay:

https://github.com/ostroproject/ostro-os/pull/147 (set of new commits - only meta-intel seems relevant)
https://ostroproject.org/jenkins/job/build_intel-quark/2276/console (build failure)

00:10:07.542 |   CC [M]  drivers/misc/bmp085-i2c.o
00:10:07.542 | /var/lib/jenkins/ostro-worker-12-slot-2-ir78a/ostro-os/build/tmp-glibc/work-shared/intel-quark/kernel-source/drivers/mfd/pca9685-pwm.c: In function 'pca9685_update_prescale':
00:10:07.542 | /var/lib/jenkins/ostro-worker-12-slot-2-ir78a/ostro-os/build/tmp-glibc/work-shared/intel-quark/kernel-source/drivers/mfd/pca9685-pwm.c:83:7: error: 'struct pwm_device' has no member named 'period'
00:10:07.542 |     pwm->period = period_ns;
00:10:07.542 |        ^
00:10:07.542 | /var/lib/jenkins/ostro-worker-12-slot-2-ir78a/ostro-os/build/tmp-glibc/work-shared/intel-quark/kernel-source/drivers/mfd/pca9685-pwm.c:84:11: error: 'struct pwm_device' has no member named 'duty_cycle'
00:10:07.542 |     if (pwm->duty_cycle > 0) {
...
Comment 1 Saul Wold 2016-07-19 23:35:44 UTC
Created attachment 3296 [details]
Yocto Kernel Config
Comment 2 Saul Wold 2016-07-19 23:36:12 UTC
Created attachment 3297 [details]
Ostro Kernel Config
Comment 3 Saul Wold 2016-07-20 05:35:41 UTC
Can you please confirm your build environment, I built both Ostro-OS and Yocto Project's Poky with Meta-intel and was not able to reproduce this
Comment 4 Patrick Ohly 2016-07-20 06:57:36 UTC
To reproduce:
- checkout ostro-os master revision 9942ef6688005cf980bdfc1b438ccf94e22305c6 (updated just now, the kernel update and the workaround for it were still in testing until this morning)
- remove meta-ostro/fixes/meta-intel/recipes-kernel/linux/linux-yocto_4.4.bbappend
- configure for intel-quark
- build linux-yocto
Comment 5 Saul Wold 2016-07-30 01:09:46 UTC
patch in linux-yocto updated by SRCREV update here:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/?id=9fb7eb2884e47f9e744bdbb0bf9c717a25dec30a