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

Re: [microblaze-uclinux] Kernel Compilation Error



Hi,

calayrac@univ-orleans.fr wrote:

> I try to port uClinx on Spartan IIE.
> I've downloaded the auto_uclinux_6_30b from John Web site.
> I've modified the design to fit in Spartan IIE LC 600. Mainly it consist in
> changing the constrain file (.ucf file in the /data project directory), repalce
> ddr RAM by SDRAM and reduce cache mamory to 8k.
> 
> Then I've compiled the design using EDK 7.1 SP3 environnement (Generate Netlist
> and Bistream).
> 
> I've then copied the auto-config.in from my Windows PC to the Linux one ine the
> directory :

You should run "dos2unix" on the auto-config.in file after transferring 
it from Windows.  CR/LF pairs are evil!

>    ~/uClinux-dist/linux-2.4.x/arch/microblaze/platform

The destination should be arch/microblaze/platform/uClinux-auto

> The from the uClinux-dist I've rune the make menuconfig with the following setting:
> 
>     --- Kernel is linux-2.4.x                              
>             (uClibc) Libc Version                                              
>                           
>             [*] Customize Kernel Settings (NEW)
> 
> 
> It comes out with the next option menu
>       Linux Kernel v2.4.29-uc1 Configuration
> 
> from wich I just select Exit and Save.

That all sounds right - but you should repeat it after putting the 
unixified auto-config.in file in the right place.

> So I've trie to run the make bzImage and obtain the followin error

> 
> Same error withe bzdisk and install
> 
> So I've try to do the make dep and the the make command but it comes out withe
> the next error message:

After make menuconfig, you should "make dep image" to build everything. 
    bzimage and bzdisk are not supported targets.

Try / confirm the above, and let us know how it goes.

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/