cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ganyfun
Visitor
Visitor
4,172 Views
Registered: ‎09-12-2010

Error When build kernel Image

Jump to solution

Hi every body !

 

I want to port Linux on Microblaze, I follow the website : http://xilinx.wikidot.com it guide clearly about porting Linux on microblaze. Step by step I follow it :

 + generate xilinx.dts

+ download http://xilinx.wikidot.com/mb-gnu-tools

+ download http://git.xilinx.com/linux-2.6-xlnx.git master 

 

But when I build the kernel with the command follow:

                           > make ARCH=microblaze simpleImage.xilinx

I have the problem:

 

make: microblaze-unknown-linux-gnu-gcc: Command not found
scripts/kconfig/conf --silentoldconfig Kconfig
make: microblaze-unknown-linux-gnu-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
/bin/sh: microblaze-unknown-linux-gnu-gcc: command not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2

 

I don't know where I was wrong ? I did set the path to access tools and setup the environment variable for the Linux kernel build process with the following commands:

         export PATH=<dir where the tools are untarred>/microblaze-unknown-linux-gnu/bin:$PATH

        export CROSS_COMPILE=microblaze-unknown-linux-gnu-

 

Thanks for your help!


0 Kudos
1 Solution

Accepted Solutions
vneethv
Participant
Participant
5,143 Views
Registered: ‎05-31-2010

make sure you can find microblaze-unknown-linux-gnu-gcc in the bin directory and its working by compiling a simple c file.

View solution in original post

3 Replies
vneethv
Participant
Participant
5,144 Views
Registered: ‎05-31-2010

make sure you can find microblaze-unknown-linux-gnu-gcc in the bin directory and its working by compiling a simple c file.

View solution in original post

ganyfun
Visitor
Visitor
4,141 Views
Registered: ‎09-12-2010

thanks you so much, I really find the problem of it 

0 Kudos
taghlaoui
Visitor
Visitor
2,717 Views
Registered: ‎04-28-2014

hi

please  can you help me more , I cant resolve this problem

0 Kudos