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

Re: [microblaze-uclinux] Kernel Compilation Error (2)



Hi Christophe,

calayrac@univ-orleans.fr wrote:

> 
>>After make menuconfig, you should "make dep image" to build everything. 
>>    bzimage and bzdisk are not supported targets. 
> 
> I then run the make dep image and its comes out with the following error 
> message 
> 
>     [ -d /home/alayrac/uClinux-dist/images ] || mkdir 
>     home/alayrac/uClinux-dist/images 
>     make ARCH=microblaze CROSS_COMPILE=mb- -C     
>     /home/alayrac/uClinux-dist/vendors/Insight/mbvanilla_net/. image 
>     make[1]: Entering directory   
>     `/home/alayrac/uClinux-dist/vendors/Insight/mbvanilla_net' 
>     [ -d /home/alayrac/uClinux-dist/images ] || mkdir -p 
>     /home/alayrac/uClinux-dist/images 
>     mb-flthdr /home/alayrac/uClinux-dist/romfs/bin/* 
>     Cannot open /home/alayrac/uClinux-dist/romfs/bin/* 
>     mb-flthdr /home/alayrac/uClinux-dist/romfs/lib/lib[0-9].so 
>     Cannot open /home/alayrac/uClinux-dist/romfs/lib/lib[0-9].so 
>     for i in  ; do \ 
>         [ ! -f /home/alayrac/uClinux-dist/romfs/$i ] || mb-flthdr -r   
>     /home/alayrac/uClinux-dist/romfs/$i ; \ 
>     done 
>     for i in /home/alayrac/uClinux-dist/romfs/bin/* ; do \ 
>         mb-flthdr -z $i; \ 
>     done 
>     Cannot open /home/alayrac/uClinux-dist/romfs/bin/* 
>     genromfs -v -V "ROMdisk" -f /home/alayrac/uClinux-dist/images/romfs.img -
> d     
>     /home/alayrac/uClinux-dist/romfs 
>     make[1]: *** [image] Erreur de segmentation 
>     make[1]: Leaving directory 
>     `/home/alayrac/uClinux-dist/vendors/Insight/mbvanilla_net' 
>     make: *** [image] Erreur 2 
> 
> I did not know if I should manually create the romfs and romfs/bin directories 
> in my uClinux-dist directory or if the problem comes from somewhere else. 

No - these are automatically created.

I think you have chosen the wrong vendors/board combination in the 
initial menuconfig.  You should choose Xilinx as the vendor, and 
uClinux-auto as the platform.  Then do a "make clean dep all", and see 
how you go.

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/