Bug 1389 - beagleboard: linux-yocto-rt_3.0 fails to compile
Summary: beagleboard: linux-yocto-rt_3.0 fails to compile
Status: VERIFIED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-configuration (show other bugs)
Version: unspecified
Hardware: Beagleboard Multiple
: Medium normal
Target Milestone: 1.1
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard: Path submitted to list (24-Aug-2011)
Depends on:
Blocks:
 
Reported: 2011-08-22 10:08 UTC by Darren Hart
Modified: 2011-09-22 11:51 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Hart 2011-08-22 10:08:29 UTC
Trying to compile linux-yocto-rt_3.0 fails for the beagleboard. This is not surprising as we haven't sync'd the 3.0 tree or the .config with something from TI (they were on 2.6.39 last I checked). This needs to be addressed, but releasing 2.6.37 for 1.1 may be required.

| drivers/built-in.o: In function `musb_init_controller':
| /build/poky/master/beagleboard/tmp/work/beagleboard-poky-linux-gnueabi/linux-yocto-rt-3.0+git18+06bf5bceee36e62a113a286393cf5adf4dea8f51_2+466d7df04560782632a282bd8172ee319d0b4886-r0/linux/drivers/usb/musb/musb_core.c:1982: undefined reference to `dma_controller_create'
Comment 1 Darren Hart 2011-08-22 10:09:51 UTC
Bruce, I'm marking this as Medium prio for post 1.1. Let me know if you have different plans for the non-rt Beagleboard BSP as we will want to align there.
Comment 2 Bruce Ashfield 2011-08-22 10:10:39 UTC
This is the right level/plan. Leaving the beagleboard on 2.6.37 is the primary plan for this BSP. But we'll have a look at this none the less, if only to accelerate the post 1.1 work.
Comment 3 Liming Wang 2011-08-23 08:07:20 UTC
Bruce, please try this patch:
diff --git a/meta/cfg/kernel-cache/bsp/beagleboard/beagleboard.cfg b/meta/cfg/kernel-cache/bsp/beagleboard/beagleboard.cfg
index 00485d2..0629e2d 100644
--- a/meta/cfg/kernel-cache/bsp/beagleboard/beagleboard.cfg
+++ b/meta/cfg/kernel-cache/bsp/beagleboard/beagleboard.cfg
@@ -281,6 +281,7 @@ CONFIG_USB_MUSB_SOC=y
 CONFIG_USB_MUSB_OTG=y
 CONFIG_USB_GADGET_MUSB_HDRC=y
 CONFIG_USB_MUSB_HDRC_HCD=y
+CONFIG_USB_MUSB_OMAP2PLUS=y
 CONFIG_USB_INVENTRA_DMA=y
Comment 4 Bruce Ashfield 2011-08-23 13:50:13 UTC
Thanks liming. Launching a build to test.
Comment 5 Bruce Ashfield 2011-08-24 05:36:48 UTC
This does fix the build. I'll push it out today.
Comment 7 Liming Wang 2011-09-12 22:58:24 UTC
Hi Darren,

This bug has been fixed, please help us to verify this bug and mark it "verified fixed", thanks a lot!
Comment 8 Darren Hart 2011-09-22 11:51:37 UTC
You still have to manually enable building beagleboard in the linux-yocto-rt_3.0.bbappend in meta-yocto, but it does build successfully. I have not been able to test the kernel on real hardware.