AnsweredAssumed Answered

Build kernel Failed: arch/microblaze/kernel/head.S:68: Error:

Question asked by kcfarleysw on Jan 28, 2014
Latest reply on Jan 29, 2014 by elvisjohndowson

Engineer Zone:

 

Tried to follow Wiki on "Linux on the Xilinx ML605 Virtex6 FPGA development Board"

 

Got this error message trying to build kernel- make -j5 simpleImage.cf_xcomm_ml605

 

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

make[1]: *** [arch/microblaze/kernel/head.o] Error 1

 

Accomplished all steps to building kernel. When tried to build kernel got an error and didn't see generation of message:

 

Kernel: arch/microblaze/boot/simpleImage.cf_xcomm_ml605 is ready  (#1)

 

Seems like something is broken. Please advise.

Thanks,
Ken F

 

 

See Below:

 

  CC  kernel/itimer.o
  CC  arch/microblaze/kernel/unwind.o
  CC  arch/microblaze/kernel/cpu/cache.o
  CC  arch/microblaze/kernel/early_printk.o

  HZFILE  kernel/hz.bc

  CC  kernel/softirq.o
  CC  mm/mempool.o
  CC  arch/microblaze/kernel/cpu/cpuinfo.o
  CC  arch/microblaze/kernel/microblaze_ksyms.o
  CC  arch/microblaze/kernel/cpu/cpuinfo-pvr-full.o
  CC  kernel/resource.o
  CC  kernel/sysctl.o
  CC  arch/microblaze/kernel/cpu/cpuinfo-static.o
  CC  mm/oom_kill.o
  CC  arch/microblaze/kernel/module.o
  AS  arch/microblaze/kernel/misc.o
  AS  arch/microblaze/kernel/entry.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

make[1]: *** [arch/microblaze/kernel/head.o] Error 1

make[1]: *** Waiting for unfinished jobs....

  CC  mm/fadvise.o
  CC  arch/microblaze/kernel/cpu/mb.o
  CC  kernel/sysctl_binary.o
  CC  mm/maccess.o
  CC  arch/microblaze/kernel/cpu/pvr.o
  CC  mm/page_alloc.o
  CC  mm/page-writeback.o
  LD  arch/microblaze/kernel/cpu/built-in.o

make: *** [arch/microblaze/kernel] Error 2

make: *** Waiting for unfinished jobs....

Outcomes