2007-10-26 16:22:11     adding kernel drivers for proprietary board

Document created by Aaronwu Employee on Aug 5, 2013
Version 1Show Document
  • View in full screen mode

2007-10-26 16:22:11     adding kernel drivers for proprietary board

Bill Fassler (UNITED STATES)

Message: 46045    I see you have decent wiki docs on how to alter the menuconfig and autoconf environments

when adding user applications and libraries, but I couldn't seem to find anything specific to

adding linux drivers, in our upcoming custom BF561 board I will at the very least have to update

the ethernet driver (which I already did in u-boot) and add a Wolfson sound chip set (since ADI

currently doesn't produce anything comparable to our needs).

 

I would assume the process would be similar but at first glance it didn't look like I could follow

the directions for adding libs or user apps and do it right.....

 

Bill

QuoteReplyEditDelete

 

 

2007-10-26 16:32:14     Re: adding kernel drivers for proprietary board

Mike Frysinger (UNITED STATES)

Message: 46046    i assume you mean you want to add your proprietary drivers to uclinux-dist and not the kernel right ?

 

while it should be possible, i dont think we have any documentation showing how ... all you should have to do is something like (typing off the top of my head so you may hit a typo :p):

 

# your normal obj-m / etc... syntax as documented in the wiki for declaring objects<->modules

obj-m := test.o

 

all: modules

 

modules clean:

    CFLAGS="" CPPFLAGS="" LDFLAGS="" \

    $(MAKEARCH_KERNEL) -C $(ROOTDIR)/$(LINUXDIR) SUBDIRS=$$PWD $@

 

romfs:

    $(ROMFSINST) -d -M test.ko misc/test.ko

 

.PHONY: all clean modules romfs

QuoteReplyEditDelete

 

 

2007-10-26 17:52:02     Re: adding kernel drivers for proprietary board

Bill Fassler (UNITED STATES)

Message: 46049    Well the 1836 sound driver seems to be in the kernel so that is where I

assumed the Wolfson sound driver belonged.  Wolfson provided me with source for a linux driver that looks like it was ported specifically

for the BF548.  It is all tagged with the open source GNU license. If that is the case it is unfortunate they didn't submit it to you folks, perhaps you would have included it already and I wouldn't have to do anything other than check a different configure box.

 

Bill

QuoteReplyEditDelete

 

 

2007-10-26 18:00:16     Re: adding kernel drivers for proprietary board

Mike Frysinger (UNITED STATES)

Message: 46050    if it is an open source driver then we can look at getting it integrated ...

QuoteReplyEditDelete

 

 

2007-10-29 10:17:19     Re: adding kernel drivers for proprietary board

Bill Fassler (UNITED STATES)

Message: 46093    I double checked and all files are marked free software and have the GPL license.

I am just getting started.  There is no doubt that you or someone else on your

team could accomplish this in a fraction of the time.  At first glance it looks like it was

originally written for the BF548-EZKIT and it also looks like it would integrate

easier to 2.6.22 (basically your trunk source) where we prefer to work on stable

releases (I am currently using 1.1 which is 2.6.19).

 

I am including the files in case you meant you may be willing to look into its'

integration now.  If you meant AFTER I get it working for BF561 then it may

be a few weeks yet and I won't be able to test it for at least a month when

our custom BF561 come in.

 

Regards,

Bill

WM8960 - Linux Driver for ADI Blackfin processor.zip

QuoteReplyEditDelete

 

 

2007-10-29 19:14:46     Re: adding kernel drivers for proprietary board

Mike Frysinger (UNITED STATES)

Message: 46128    nah, i'm not a sound guy ... all thumbs there i'm afraid

 

please open an item in the patch tracker and attach the zip there

QuoteReplyEditDelete

 

 

2008-01-24 15:45:01     Re: adding kernel drivers for proprietary board

Bill Fassler (UNITED STATES)

Message: 50117    We have the driver for this Wolfson integrated into our uClinux-dist for the BF561 here.  Since we haven't yet debugged it fully, I am holding off on passing it up to you guys.

 

We are designing another custom board based on the BF537-EZKIT and around here they are once again pushing for the Wolfson.  The price of the AD1836 is prohibitive for us, it is just too much of an overkill for our needs and from what I remember from the schematic review of our other custom board ADI said they had no compatible part to recommend.

 

Do you guys have a cheaper simple stereo audio chip that you have a uClinux driver for?

 

Bill

QuoteReplyEditDelete

 

 

2008-01-24 15:59:15     Re: adding kernel drivers for proprietary board

Mike Frysinger (UNITED STATES)

Message: 50120    i'm far from an audio/codec guy, but the only drivers we have are for parts that are on add-on cards / development boards ... which means we really only have drivers for the 1836/1980/1981/73311

QuoteReplyEditDelete

 

 

2008-01-24 16:15:26     Re: adding kernel drivers for proprietary board

Bill Fassler (UNITED STATES)

Message: 50121    Thanks.  I think the 1981 might be a possibility although it is still around 60% more in price than the Wolfson and for some reason our hardware guys seem to cringe at the AC 97 interface.

 

Bill

QuoteReplyEditDelete

 

 

2008-01-24 16:26:16     Re: adding kernel drivers for proprietary board

Michael Hennerich (GERMANY)

Message: 50122   

 

We only use SLOT-16 mode this makes the AC97 look like a TDM part, just like the AD1836. Contact your local FAE for competitive pricing.

 

-Michael

Attachments

    Outcomes