Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-08-2016, 01:05 AM   #1
LQ Newbie
Registered: Dec 2016
Posts: 6

Rep: Reputation: Disabled
compiling linux kernel for microblaze softcore virtex6

compiling linux kernel for microblaze stopped at below point I have configured linux kernel by menuconfig
here is the commands I used

export CROSS_COMPILE=/home/gnutools/microblazeel-unknown-linux-gnu/bin/microblazeel-unknown-linux-gnu-
make ARCH=microblaze clean
make ARCH=microblaze mrproper
make ARCH=microblaze menuconfig
make -j 8 ARCH=microblaze simpleImage.xilinx

AS arch/microblaze/kernel/mcount.o
CC arch/microblaze/kernel/kgdb.o
AS arch/microblaze/kernel/entry.o
LD arch/microblaze/kernel/built-in.o
AS arch/microblaze/kernel/head.o
arch/microblaze/kernel/head.S: Assembler messages:
arch/microblaze/kernel/head.S:68: Error: register expected, but saw 'rslr,r'
arch/microblaze/kernel/head.S:68: Error: register expected, but saw 'slr,r0'
arch/microblaze/kernel/head.S:68: Fatal error: invalid value for special purpose register
scripts/ recipe for target 'arch/microblaze/kernel/head.o' failed
make[1]: *** [arch/microblaze/kernel/head.o] Error 1
Makefile:959: recipe for target 'arch/microblaze/kernel' failed
make: *** [arch/microblaze/kernel] Error 2

Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2016-12-08 11-34-14.jpg
Views:	9
Size:	151.9 KB
ID:	23717  
Old 12-08-2016, 10:47 PM   #2
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
The only thing I could find remotely close to your make error was this post.

I used linux toolchain inside the xilinx installation directory(.../Xilinx/14.4/ISE_DS/EDK/gnu/microblaze/linux_toolchain) instead of git repository, and my problem go away

If something is broken I honestly don't know what it is and with make errors there could be an error in the file itself or an array things. Sorry I don't know more.

Look through the Microblaze WiKi

Linux for MicroBlaze
The kernel configuration needs to be modified to match the MicroBlaze settings as specified in <hardware project>/implementation/system.mhs:

Ensure that you have the 'Tools' required and 'Environment Variables'


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling linux kernel for microblaze softcore processor samirkuxd Linux - Kernel 3 12-06-2016 10:09 AM
MicroBlaze uclinux based system ravi_chobey Linux - Embedded & Single-board computer 2 05-06-2008 01:22 AM
LXer: Powerpc softcore FPGAs gain commercial Linux 2.6 LXer Syndicated Linux News 0 03-13-2007 08:01 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration