[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] building kernal
Hi Jun,
Yao, Jun wrote:
> I used this command to download scource from CVS server as your website suggested.
>
> cvs -z3 -d:pserver:anonymous@cvs.uclinux.org:/var/cvs co uClinux-dist
>
> Then I compared what I had on my computer with CVS website (http://cvs.uclinux.org/cgi-bin/cvsweb/uClinux-2.4.x/). Some directorires seem to be missing.
>
> Do I need to download all the missing files? And how?
Yes, you need everything. in the uClinux-dist and uClinux-2.4.x
directories, just do an update command
"cvs -z3 -d:pserver:anonymous@cv.suclinux.org:/var/cvs update"
It should pull down all the other stuff that was missing, without
repeating stuff you already have.
In my setup here I have a cron job that updates a pristine tree every
night from CVS, then I just make copies and working sets from that,
during the day. That way I can always get a fresh copy in a couple of
minutes, by using rsync to duplicate the pristine copy into a working
directory. Might be useful to consider.
Rgds,
John
>
> Jun
>
>
> Here are the files on in my uClinux-dist directory:
>
> [uClinux-dist]$ ls -al
> total 76
> drwxrwxr-x 7 jun jun 4096 Oct 28 12:19 .
> drwx------ 27 jun jun 4096 Oct 28 12:10 ..
> drwxrwxr-x 3 jun jun 4096 Oct 28 12:06 bin
> drwxrwxr-x 4 jun jun 4096 Oct 28 12:07 config
> -rw-rw-r-- 1 jun jun 401 Oct 28 12:19 config.in
> -rw-rw-r-- 1 jun jun 18007 Sep 19 2002 COPYING
> drwxrwxr-x 2 jun jun 4096 Oct 28 12:25 CVS
> drwxrwxr-x 4 jun jun 4096 Oct 28 12:06 Documentation
> drwxrwxr-x 9 jun jun 4096 Oct 28 12:09 freeswan
> lrwxrwxrwx 1 jun jun 16 Oct 28 12:18 linux-2.4.x -> ../uClinux-2.4.x
> -rw-rw-r-- 1 jun jun 9305 Feb 18 2004 Makefile
> -rw-rw-r-- 1 jun jun 4934 Feb 18 2004 README
> -rw-rw-r-- 1 jun jun 1743 Feb 18 2004 SOURCE
> [uClinux-dist]$
>
> Here is what they have at http://cvs.uclinux.org/cgi-bin/cvsweb/uClinux-2.4.x/
>
> Parent Directory
> Documentation/
> arch/
> crypto/
> drivers/
> fs/
> include/
> init/
> ipc/
> kernel/
> lib/
> mm/
> mmnommu/
> net/
> scripts/
> Makefile
> CREDITS
> MAINTAINERS
> Rules.make
> README
> REPORTING-BUGS
> COPYING
>
> -----Original Message-----
> From: John Williams [mailto:jwilliams@itee.uq.edu.au]
> Sent: Wed 10/27/2004 7:32 PM
> To: microblaze-uclinux@itee.uq.edu.au
> Cc:
> Subject: Re: [microblaze-uclinux] building kernal
> Hu Jun,
>
> Yao, Jun wrote:
>
>>Hi, I am pretty new to embedded linux. After obtained the source, I tried to configure a uClinux kernal by useing "make menuconfig" command. But I got something like this:
>>
>>$ make menuconfig
>>config/mkconfig > config.in
>>find: vendors: No such file or directory
>>find: vendors: No such file or directory
>>ERROR: you have no libc available in this directory.
>>make: *** [config.in] Error 1
>>$
>>
>>Is it because I forget to set the PATH right or I missed something?
>
>
> It looks like you are working with just the kernel, not the uClinux-dist.
>
> You need uClinux-dist and uClinux-2.4.x - create a synbolic link called
> linux-2.4.x from within uClinux-dist, to the uClinux-2.4.x directory.
> Then, run "make menuconfig" from within uClinux-dist.
>
> Regards,
>
> John
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@itee.uq.edu.au
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
>
>
--
Dr John Williams, Research Fellow,
Embedded Systems Group / Reconfigurable Computing
School of ITEE, The University of Queensland, Brisbane, Australia
(p) +61 7 33658305 (f) +61 7 33654999 (m) +61 403969243
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/