[#4379] Kernel build of USB gadget ethernet driver fails for CM-BF548
Submitted By: roger froysaa
Open Date
2008-08-21 09:51:32 Close Date
2008-09-03 23:56:56
Priority:
Medium Assignee:
Nobody
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Trunk kernel rev 5195
Category:
Drivers Board:
Bluetechnix CM
Processor:
BF548 Silicon Revision:
0.0???
Is this bug repeatable?:
Yes Resolution:
Rejected
Uboot version or rev.:
Toolchain version or rev.:
Trunk rev 2260
App binary format:
N/A
Summary: Kernel build of USB gadget ethernet driver fails for CM-BF548
Details:
Hi.
I use the trunk because of the new SDIO functionality.
I tried to build the USB gadget ethernet driver and got the following:
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `init':
drivers/usb/gadget/ether.c:(.init.text+0x171a): undefined reference to `usb_gadget_register_driver'
make: *** [.tmp_vmlinux1] Error 1
~/tmp/blackfin-svn/uclinux-dist/linux-2.6.x$ svn info
Path: .
URL: svn://firewall-sources.blackfin.uclinux.org:80/svn/linux-kernel/trunk
Repository Root: svn://firewall-sources.blackfin.uclinux.org:80/svn/linux-kernel
Repository UUID: 526b6c2d-f592-4532-a319-5dd88ccb003d
Revision: 5195
Node Kind: directory
Schedule: normal
Last Changed Author: vapier
Last Changed Rev: 5195
Last Changed Date: 2008-08-21 03:25:09 +0200 (Thu, 21 Aug 2008)
Although I used an older toolchain version, the 5195 kernel revision built ok without the gadget driver. The same error was seen on kernel rev 4804 before I tried to update.
(Attached config file)
/Roger
Follow-ups
--- roger froysaa 2008-09-01 11:32:57
Hmm, I found out what this was; I was building without hostside USB support.
Guess that's what I did on the BF537U. Anyway, I got it to work, so please close
this.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
usb_gadget_error_config application/octet-stream 28622 roger froysaa