[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] USB



Hi,

What USB hardware does the mb-uclinux work with? Can it do host and/or
device mode?

Steve Spano, President
Finger Lakes Engineering
15 West Main Street, Suite A
P.O. Box 28
Dryden, Ny 13053
(V) 607-277-1614 x223
(C) 607-342-1150
www.FL-ENG.com - FLE's Main Website 
www.FLEDEVFORUM.com - FLE's Developer Forum

-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John
Williams
Sent: Tuesday, October 03, 2006 5:14 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] USB

Hi Martin, Johann,

This was partially fixed some time ago in the CVS - see
linux-2.4.x/include/utsname.h:

http://cvs.uclinux.org/cgi-bin/cvsweb.cgi/uClinux-2.4.x/include/linux/ut
s.h?rev=1.2;content-type=text%2Fplain

However, the rest of the fix didn't make it into the tree - sorry about
that.  I've just applied them now, if you do a CVS update in
arch/microblaze, it will pick up the tiny changes to Makefile and
platforms/Rules.mak

Regards,

John


Dr. Johann Pfefferl wrote:
> Hello,
> 
> you have to replace the UTS_SYSNAME in line 312 with
> 
> __stringify(UTS_SYSNAME)
> 
> . But I think that overall the UTS_SYSNAME isn't created correctly on
> the microblaze platform.
> 
> Hans
> 
> Steiner Martin <Martin.Steiner@xxxxxxxxxxxx> wrote:
> 
>>Hello,
>>
>> 
>>
>>I tried to compile mb-uClinux with USB support targeting the ML403
>>board. 
>>
>>The cvs and mb-toolchain were downloaded about a week ago.
>>
>>
>>
>>The following error occurs during 'make all' (see below for more
>>details):
>>
>>hcd.c:312: error: `uClinux' undeclared (first use in this function)
>>
>> 
>>
>>There is a thread describing basically the same error, but without a
>>specific solution.
>>http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/11
/m
>>sg00245.html
>>
>> 
>>
>>I appreciate your help!
>>
>> 
>>
>>Martin
>>
>> 
>>
>>******************************************************* Error during
>>"make all"
>>
>>mb-gcc -D__KERNEL__
>>-I/home/elnexo/uclinux-cvs/uClinux-dist/linux-2.4.x/include -Wall
>>-Wstrict-prototypes 
>>-Wno-trigraphs -O1 -g -fno-strict-aliasing -fno-common
>>-DPLATFORM=uclinux-auto 
>>-O2 -fno-builtin -DNO_MM -DNO_FPU -D__ELF__ -DMAGIC_ROM_P TR
>>-DUTS_SYSNAME="uClinux" 
>>-D__linux__ -I/home/elnexo/mbtoolchain/bin/../lib/gcc/
>>microblaze/3.4.1/./include 
>>-mxl-soft-div -mno-xl-soft-mul   -nostdinc -iwithprefi x include
>>-DKBUILD_BASENAME=hcd  
>>
>>
>>
>>-DEXPORT_SYMTAB -o hcd.o -c hcd.c
>>
>>hcd.c: In function `rh_string':
>>
>>hcd.c:312: error: `uClinux' undeclared (first use in this function)
>>
>>hcd.c:312: error: (Each undeclared identifier is reported only once
>>
>>hcd.c:312: error: for each function it appears in.)
>>
>>hcd.c: At top level:
>>
>>hcd.c:1434: warning: 'hcd_operations' defined but not used
>>
>>hcd.c:1445: warning: 'hcd_irq' defined but not used
>>
>>make[4]: *** [hcd.o] Error 1
>>
>>make[4]: Leaving directory
>>`/home/elnexo/uclinux-cvs/uClinux-dist/linux-2.4.x/dri vers/usb'
>>
>>make[3]: *** [first_rule] Error 2
>>
>>make[3]: Leaving directory
>>`/home/elnexo/uclinux-cvs/uClinux-dist/linux-2.4.x/dri vers/usb'
>>
>>make[2]: *** [_subdir_usb] Error 2
>>
>>make[2]: Leaving directory
>>`/home/elnexo/uclinux-cvs/uClinux-dist/linux-2.4.x/dri vers'
>>
>>make[1]: *** [_dir_drivers] Error 2
>>
>>make[1]: Leaving directory
>>`/home/elnexo/uclinux-cvs/uClinux-dist/linux-2.4.x'
>>
>>make: *** [linux] Error 1
>>
>>**********************************************************************
**
>>*
>>
>> 
>>
> 
> 


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/





___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/