Bill Gatliff wrote: > Paul: > > Paul Mundt wrote: > >> Hi Bill, fancy seeing you in this thread ;-) >> >> > > Heh, you need to talk to the guy at the door. He'll let anyone in, I'm > proof! :) > >> We want the 8051 blob in userspace if anything, there's little reason to >> tie this in to the module specifically, and it's handy to expose the >> interface for people that are specifically interested in loading in >> alternate code on the 8051. >> >> As far as including source for the 8051 code itself, that would be nice >> to have, but I doubt it's something the majority of users are going to >> care about. I've certainly never seen any. >> >> > > I totally agree on all points. But I hate blobs. If the source code is > around, I'd love to have it recorded somewhere even though we all know > that Kbuild and most users won't know what to do with it. Just In Case. > > Do we even know where this blob came from originally? > >> On that note, do you have a pointer to some of the various ALSA >> implementations that are floating around? I've only seen the OSS driver >> we had in CVS, and that provides a rather dysmal starting point.. >> >> > > Whaley sent me one just last week (hi Robert!). Given that, I don't > suppose he'd mind my forwarding the patch on. Not at all. BTW: we use this (moderately buggy) compiler to compile the 8051 code: http://sourceforge.net/project/showfiles.php?group_id=599 Between the bugs in the compiler and the absence of documentation in the SM501 manual about 8051 interrupts, etc. It was pretty difficult making this work. Don't try anything remotely like this with this compiler: u8 a, b; u32 c; c |= a << b; That's why all the registers are u8 instead of u32. > What makes it tricky to > do so is that the patch is against his highly-evolved sm501 driver > stack, so there will be some mending required. > > Yet another reason why we've all got to get all this stuff together. > The SM501 is a decent chip, and there's too few of us to go around > re-inventing the wheel. > > > > b.g. > -- Robert Whaley Applied Data Systems www.applieddata.net 434-244-9504 rwhaley@applieddata.net