LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-08-2016, 01:05 AM   #1
samirkuxd
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/Makefile.build:327: 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
tty@rom:~/$

---------------------------------------------------------------------------------------
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
Ztcoracat
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.
https://ez.analog.com/thread/39708

Quote:
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
https://forums.xilinx.com/t5/Embedde...or/td-p/412865

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
http://xilinx.wikidot.com/microblaze-linux

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'
http://www.wiki.xilinx.com/Build+kernel
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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