* 2.6.38-rc1-git1 musb undefined references @ 2011-01-20 16:22 Sid Boyce 2011-01-21 3:22 ` Felipe Balbi 0 siblings, 1 reply; 5+ messages in thread From: Sid Boyce @ 2011-01-20 16:22 UTC (permalink / raw) To: linux-omap Cross compiling for Beagleboard on Ubuntu 11.04 x86_64. # make-kpkg --revision=0 --append-to-version=-custom --arch=armel --cross-compile=/opt/arm-2010q1/bin/arm-none-linux-gnueabi- kernel-image --initrd ====== making target debian/stamp/build/kernel [new prereqs: vars]====== This is kernel package version 12.036+nmu1. restore_upstream_debianization test ! -f scripts/package/builddeb.kpkg-dist || mv -f scripts/package/builddeb.kpkg-dist scripts/package/builddeb test ! -f scripts/package/Makefile.kpkg-dist || mv -f scripts/package/Makefile.kpkg-dist scripts/package/Makefile /usr/bin/make EXTRAVERSION=-rc1-git1-custom ARCH=arm \ CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-linux-gnueabi- zImage make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1' scripts/kconfig/conf --silentoldconfig Kconfig make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1' make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1' CHK include/linux/version.h CHK include/generated/utsrelease.h make[2]: `include/generated/mach-types.h' is up to date. CALL scripts/checksyscalls.sh CHK include/generated/compile.h LD fs/built-in.o LD lib/zlib_deflate/built-in.o LD lib/built-in.o LD vmlinux.o MODPOST vmlinux.o WARNING: modpost: Found 3 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 drivers/built-in.o: In function `musb_free': clkdev.c:(.text+0xf3d08): undefined reference to `dma_controller_destroy' drivers/built-in.o: In function `musb_probe': clkdev.c:(.init.text+0x64a8): undefined reference to `dma_controller_create' make[1]: *** [.tmp_vmlinux1] Error 1 make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1' make: *** [debian/stamp/build/kernel] Error 2 root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep OMAP2PLUS .config CONFIG_ARCH_OMAP2PLUS=y CONFIG_ARCH_OMAP2PLUS_TYPICAL=y # CONFIG_USB_MUSB_OMAP2PLUS is not set root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep MUSB .config CONFIG_USB_MUSB_HDRC=y # CONFIG_USB_MUSB_TUSB6010 is not set # CONFIG_USB_MUSB_OMAP2PLUS is not set CONFIG_USB_MUSB_AM35X=y # CONFIG_USB_MUSB_HOST is not set # CONFIG_USB_MUSB_PERIPHERAL is not set CONFIG_USB_MUSB_OTG=y CONFIG_USB_GADGET_MUSB_HDRC=y CONFIG_USB_MUSB_HDRC_HCD=y # CONFIG_MUSB_PIO_ONLY is not set # CONFIG_USB_MUSB_DEBUG is not set Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.38-rc1-git1 musb undefined references 2011-01-20 16:22 2.6.38-rc1-git1 musb undefined references Sid Boyce @ 2011-01-21 3:22 ` Felipe Balbi [not found] ` <20110121032236.GB2448-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Felipe Balbi @ 2011-01-21 3:22 UTC (permalink / raw) To: Sid Boyce; +Cc: linux-omap, linux-usb Hi, (please, keep also linux-usb@vger on the Cc list on any patch regarding drivers/usb) On Thu, Jan 20, 2011 at 04:22:01PM +0000, Sid Boyce wrote: > Cross compiling for Beagleboard on Ubuntu 11.04 x86_64. > # make-kpkg --revision=0 --append-to-version=-custom --arch=armel > --cross-compile=/opt/arm-2010q1/bin/arm-none-linux-gnueabi- > kernel-image --initrd > > ====== making target debian/stamp/build/kernel [new prereqs: vars]====== > This is kernel package version 12.036+nmu1. > restore_upstream_debianization > test ! -f scripts/package/builddeb.kpkg-dist || mv -f > scripts/package/builddeb.kpkg-dist scripts/package/builddeb > test ! -f scripts/package/Makefile.kpkg-dist || mv -f > scripts/package/Makefile.kpkg-dist scripts/package/Makefile > /usr/bin/make EXTRAVERSION=-rc1-git1-custom ARCH=arm \ > > CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-linux-gnueabi- zImage > make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1' > scripts/kconfig/conf --silentoldconfig Kconfig > make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1' > make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1' > CHK include/linux/version.h > CHK include/generated/utsrelease.h > make[2]: `include/generated/mach-types.h' is up to date. > CALL scripts/checksyscalls.sh > CHK include/generated/compile.h > LD fs/built-in.o > LD lib/zlib_deflate/built-in.o > LD lib/built-in.o > LD vmlinux.o > MODPOST vmlinux.o > WARNING: modpost: Found 3 section mismatch(es). > To see full details build your kernel with: > 'make CONFIG_DEBUG_SECTION_MISMATCH=y' > GEN .version > CHK include/generated/compile.h > UPD include/generated/compile.h > CC init/version.o > LD init/built-in.o > LD .tmp_vmlinux1 > drivers/built-in.o: In function `musb_free': > clkdev.c:(.text+0xf3d08): undefined reference to `dma_controller_destroy' > drivers/built-in.o: In function `musb_probe': > clkdev.c:(.init.text+0x64a8): undefined reference to `dma_controller_create' > make[1]: *** [.tmp_vmlinux1] Error 1 > make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1' > make: *** [debian/stamp/build/kernel] Error 2 > root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# I just compiled 2.6.38-rc1 and it doesn't fail for me. > root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep OMAP2PLUS .config > CONFIG_ARCH_OMAP2PLUS=y > CONFIG_ARCH_OMAP2PLUS_TYPICAL=y > # CONFIG_USB_MUSB_OMAP2PLUS is not set > root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep MUSB .config > CONFIG_USB_MUSB_HDRC=y > # CONFIG_USB_MUSB_TUSB6010 is not set > # CONFIG_USB_MUSB_OMAP2PLUS is not set > CONFIG_USB_MUSB_AM35X=y > # CONFIG_USB_MUSB_HOST is not set > # CONFIG_USB_MUSB_PERIPHERAL is not set > CONFIG_USB_MUSB_OTG=y > CONFIG_USB_GADGET_MUSB_HDRC=y > CONFIG_USB_MUSB_HDRC_HCD=y > # CONFIG_MUSB_PIO_ONLY is not set > # CONFIG_USB_MUSB_DEBUG is not set There's a bug on your .config, did you edit by hand ? AM35X doesn't have DMA support as of today, that's why we have: config MUSB_PIO_ONLY bool 'Disable DMA (always use PIO)' depends on USB_MUSB_HDRC default USB_MUSB_TUSB6010 || USB_MUSB_DA8XX || USB_MUSB_AM35X did you disable PIO only ? I know that's a bit fuzzy still, a few patches will be needed to clean up the entire MUSB Kconfig, I apologize for that. -- balbi ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20110121032236.GB2448-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>]
* Re: 2.6.38-rc1-git1 musb undefined references [not found] ` <20110121032236.GB2448-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org> @ 2011-01-21 6:03 ` Sid Boyce [not found] ` <4D3921CF.9070505-QgLWrMLu8clzjhtm8Ag3mw@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Sid Boyce @ 2011-01-21 6:03 UTC (permalink / raw) To: balbi-l0cyMroinI0 Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA On 21/01/11 03:22, Felipe Balbi wrote: > Hi, > > (please, keep also linux-usb@vger on the Cc list on any patch regarding > drivers/usb) > > On Thu, Jan 20, 2011 at 04:22:01PM +0000, Sid Boyce wrote: >> Cross compiling for Beagleboard on Ubuntu 11.04 x86_64. >> # make-kpkg --revision=0 --append-to-version=-custom --arch=armel >> --cross-compile=/opt/arm-2010q1/bin/arm-none-linux-gnueabi- >> kernel-image --initrd >> >> ====== making target debian/stamp/build/kernel [new prereqs: vars]====== >> This is kernel package version 12.036+nmu1. >> restore_upstream_debianization >> test ! -f scripts/package/builddeb.kpkg-dist || mv -f >> scripts/package/builddeb.kpkg-dist scripts/package/builddeb >> test ! -f scripts/package/Makefile.kpkg-dist || mv -f >> scripts/package/Makefile.kpkg-dist scripts/package/Makefile >> /usr/bin/make EXTRAVERSION=-rc1-git1-custom ARCH=arm \ >> >> CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-linux-gnueabi- zImage >> make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1' >> scripts/kconfig/conf --silentoldconfig Kconfig >> make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1' >> make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1' >> CHK include/linux/version.h >> CHK include/generated/utsrelease.h >> make[2]: `include/generated/mach-types.h' is up to date. >> CALL scripts/checksyscalls.sh >> CHK include/generated/compile.h >> LD fs/built-in.o >> LD lib/zlib_deflate/built-in.o >> LD lib/built-in.o >> LD vmlinux.o >> MODPOST vmlinux.o >> WARNING: modpost: Found 3 section mismatch(es). >> To see full details build your kernel with: >> 'make CONFIG_DEBUG_SECTION_MISMATCH=y' >> GEN .version >> CHK include/generated/compile.h >> UPD include/generated/compile.h >> CC init/version.o >> LD init/built-in.o >> LD .tmp_vmlinux1 >> drivers/built-in.o: In function `musb_free': >> clkdev.c:(.text+0xf3d08): undefined reference to `dma_controller_destroy' >> drivers/built-in.o: In function `musb_probe': >> clkdev.c:(.init.text+0x64a8): undefined reference to `dma_controller_create' >> make[1]: *** [.tmp_vmlinux1] Error 1 >> make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1' >> make: *** [debian/stamp/build/kernel] Error 2 >> root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# > > I just compiled 2.6.38-rc1 and it doesn't fail for me. > >> root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep OMAP2PLUS .config >> CONFIG_ARCH_OMAP2PLUS=y >> CONFIG_ARCH_OMAP2PLUS_TYPICAL=y >> # CONFIG_USB_MUSB_OMAP2PLUS is not set >> root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep MUSB .config >> CONFIG_USB_MUSB_HDRC=y >> # CONFIG_USB_MUSB_TUSB6010 is not set >> # CONFIG_USB_MUSB_OMAP2PLUS is not set >> CONFIG_USB_MUSB_AM35X=y >> # CONFIG_USB_MUSB_HOST is not set >> # CONFIG_USB_MUSB_PERIPHERAL is not set >> CONFIG_USB_MUSB_OTG=y >> CONFIG_USB_GADGET_MUSB_HDRC=y >> CONFIG_USB_MUSB_HDRC_HCD=y >> # CONFIG_MUSB_PIO_ONLY is not set >> # CONFIG_USB_MUSB_DEBUG is not set > > There's a bug on your .config, did you edit by hand ? AM35X doesn't have > DMA support as of today, that's why we have: > > config MUSB_PIO_ONLY > bool 'Disable DMA (always use PIO)' > depends on USB_MUSB_HDRC > default USB_MUSB_TUSB6010 || USB_MUSB_DA8XX || USB_MUSB_AM35X > > did you disable PIO only ? I know that's a bit fuzzy still, a few > patches will be needed to clean up the entire MUSB Kconfig, I apologize > for that. > I copied the .config from the Beagleboard and did "ARCH=arm make oldconfig". Thanks, I shall do "make omap2plus_defconfig". Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <4D3921CF.9070505-QgLWrMLu8clzjhtm8Ag3mw@public.gmane.org>]
* Re: 2.6.38-rc1-git1 musb undefined references [not found] ` <4D3921CF.9070505-QgLWrMLu8clzjhtm8Ag3mw@public.gmane.org> @ 2011-01-22 16:11 ` Sid Boyce [not found] ` <4D3B01CD.9030404-QgLWrMLu8clzjhtm8Ag3mw@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Sid Boyce @ 2011-01-22 16:11 UTC (permalink / raw) To: linux-omap-u79uwXL29TY76Z2rM5mHXA Cc: balbi-l0cyMroinI0, linux-usb-u79uwXL29TY76Z2rM5mHXA On 21/01/11 06:03, Sid Boyce wrote: > On 21/01/11 03:22, Felipe Balbi wrote: >> Hi, >> >> (please, keep also linux-usb@vger on the Cc list on any patch regarding >> drivers/usb) >> >> On Thu, Jan 20, 2011 at 04:22:01PM +0000, Sid Boyce wrote: >>> Cross compiling for Beagleboard on Ubuntu 11.04 x86_64. >>> # make-kpkg --revision=0 --append-to-version=-custom --arch=armel >>> --cross-compile=/opt/arm-2010q1/bin/arm-none-linux-gnueabi- >>> kernel-image --initrd >>> >>> ====== making target debian/stamp/build/kernel [new prereqs: vars]====== >>> This is kernel package version 12.036+nmu1. >>> restore_upstream_debianization >>> test ! -f scripts/package/builddeb.kpkg-dist || mv -f >>> scripts/package/builddeb.kpkg-dist scripts/package/builddeb >>> test ! -f scripts/package/Makefile.kpkg-dist || mv -f >>> scripts/package/Makefile.kpkg-dist scripts/package/Makefile >>> /usr/bin/make EXTRAVERSION=-rc1-git1-custom ARCH=arm \ >>> >>> CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-linux-gnueabi- zImage >>> make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1' >>> scripts/kconfig/conf --silentoldconfig Kconfig >>> make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1' >>> make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1' >>> CHK include/linux/version.h >>> CHK include/generated/utsrelease.h >>> make[2]: `include/generated/mach-types.h' is up to date. >>> CALL scripts/checksyscalls.sh >>> CHK include/generated/compile.h >>> LD fs/built-in.o >>> LD lib/zlib_deflate/built-in.o >>> LD lib/built-in.o >>> LD vmlinux.o >>> MODPOST vmlinux.o >>> WARNING: modpost: Found 3 section mismatch(es). >>> To see full details build your kernel with: >>> 'make CONFIG_DEBUG_SECTION_MISMATCH=y' >>> GEN .version >>> CHK include/generated/compile.h >>> UPD include/generated/compile.h >>> CC init/version.o >>> LD init/built-in.o >>> LD .tmp_vmlinux1 >>> drivers/built-in.o: In function `musb_free': >>> clkdev.c:(.text+0xf3d08): undefined reference to >>> `dma_controller_destroy' >>> drivers/built-in.o: In function `musb_probe': >>> clkdev.c:(.init.text+0x64a8): undefined reference to >>> `dma_controller_create' >>> make[1]: *** [.tmp_vmlinux1] Error 1 >>> make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1' >>> make: *** [debian/stamp/build/kernel] Error 2 >>> root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# >> >> I just compiled 2.6.38-rc1 and it doesn't fail for me. >> >>> root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep OMAP2PLUS .config >>> CONFIG_ARCH_OMAP2PLUS=y >>> CONFIG_ARCH_OMAP2PLUS_TYPICAL=y >>> # CONFIG_USB_MUSB_OMAP2PLUS is not set >>> root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep MUSB .config >>> CONFIG_USB_MUSB_HDRC=y >>> # CONFIG_USB_MUSB_TUSB6010 is not set >>> # CONFIG_USB_MUSB_OMAP2PLUS is not set >>> CONFIG_USB_MUSB_AM35X=y >>> # CONFIG_USB_MUSB_HOST is not set >>> # CONFIG_USB_MUSB_PERIPHERAL is not set >>> CONFIG_USB_MUSB_OTG=y >>> CONFIG_USB_GADGET_MUSB_HDRC=y >>> CONFIG_USB_MUSB_HDRC_HCD=y >>> # CONFIG_MUSB_PIO_ONLY is not set >>> # CONFIG_USB_MUSB_DEBUG is not set >> >> There's a bug on your .config, did you edit by hand ? AM35X doesn't have >> DMA support as of today, that's why we have: >> >> config MUSB_PIO_ONLY >> bool 'Disable DMA (always use PIO)' >> depends on USB_MUSB_HDRC >> default USB_MUSB_TUSB6010 || USB_MUSB_DA8XX || USB_MUSB_AM35X >> >> did you disable PIO only ? I know that's a bit fuzzy still, a few >> patches will be needed to clean up the entire MUSB Kconfig, I apologize >> for that. >> > > I copied the .config from the Beagleboard and did "ARCH=arm make > oldconfig". > Thanks, I shall do "make omap2plus_defconfig". > Regards > Sid. > "make omap2plus_defconfig" corrected the problem, kernel builds up to 2.6.38-rc1-git3 completed. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <4D3B01CD.9030404-QgLWrMLu8clzjhtm8Ag3mw@public.gmane.org>]
* Re: 2.6.38-rc1-git1 musb undefined references [not found] ` <4D3B01CD.9030404-QgLWrMLu8clzjhtm8Ag3mw@public.gmane.org> @ 2011-01-22 17:35 ` Felipe Balbi 0 siblings, 0 replies; 5+ messages in thread From: Felipe Balbi @ 2011-01-22 17:35 UTC (permalink / raw) To: Sid Boyce Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA, balbi-l0cyMroinI0, linux-usb-u79uwXL29TY76Z2rM5mHXA Hi, On Sat, Jan 22, 2011 at 04:11:57PM +0000, Sid Boyce wrote: > "make omap2plus_defconfig" corrected the problem, kernel builds up to > 2.6.38-rc1-git3 completed. Thanks, I'll try to cleanup the DMA stuff for next merge window. -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-01-22 17:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-20 16:22 2.6.38-rc1-git1 musb undefined references Sid Boyce
2011-01-21 3:22 ` Felipe Balbi
[not found] ` <20110121032236.GB2448-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2011-01-21 6:03 ` Sid Boyce
[not found] ` <4D3921CF.9070505-QgLWrMLu8clzjhtm8Ag3mw@public.gmane.org>
2011-01-22 16:11 ` Sid Boyce
[not found] ` <4D3B01CD.9030404-QgLWrMLu8clzjhtm8Ag3mw@public.gmane.org>
2011-01-22 17:35 ` Felipe Balbi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox