UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor yjp1983
Visitor
4,955 Views
Registered: ‎05-11-2009

can not compile with the mmu

I'm a newer to Xilinx, and I port petalinux to fpga board.

I had port petalinux without(petalinux-v0.30-rc1.tar.gz ) mmu to board success,

 but i can't compile success when use this code(petalinux-mmu-v0.10.tar.gz),

the error is :

make all
make -C tools/ucfront
make[1]: Entering directory `/home/jinpeng/petalogix/petalinux-mmu-v0.10/software/petalinux-dist/tools/ucfront'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jinpeng/petalogix/petalinux-mmu-v0.10/software/petalinux-dist/tools/ucfront'
ln -sf /home/jinpeng/petalogix/petalinux-mmu-v0.10/software/petalinux-dist/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /home/jinpeng/petalogix/petalinux-mmu-v0.10/software/petalinux-dist/tools/ucfront/ucfront tools/ucfront-g++
ln -sf /home/jinpeng/petalogix/petalinux-mmu-v0.10/software/petalinux-dist/tools/ucfront/ucfront-ld tools/ucfront-ld
make ARCH=microblaze CROSS_COMPILE=mb-linux- -j4 -C linux-2.6.x  || exit 1
/bin/sh: line 1: 26071 Floating point exceptionmb-linux-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mcpu=v7.10.d -S -o /dev/null -xc /dev/null >/dev/null 2>&1
/bin/sh: line 1: 26074 Floating point exceptionmb-linux-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mno-xl-soft-mul -ffixed-r31 -fomit-frame-pointer -fno-stack-protector -S -o /dev/null -xc /dev/null >/dev/null 2>&1
/bin/sh: line 1: 26077 Floating point exceptionmb-linux-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mno-xl-soft-mul -ffixed-r31 -fomit-frame-pointer -Wdeclaration-after-statement -S -o /dev/null -xc /dev/null >/dev/null 2>&1
/bin/sh: line 1: 26079 Floating point exceptionmb-linux-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mno-xl-soft-mul -ffixed-r31 -fomit-frame-pointer -Wno-pointer-sign -S -o /dev/null -xc /dev/null >/dev/null 2>&1
make[1]: Entering directory `/home/jinpeng/petalogix/petalinux-mmu-v0.10/software/linux-2.6.x-petalogix'
/bin/sh: line 1: 26102 Floating point exceptionmb-linux-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -mcpu=v7.10.d -S -o /dev/null -xc /dev/null >/dev/null 2>&1
scripts/kconfig/conf -s arch/microblaze/Kconfig
.config:426:warning: symbol value '2.5' invalid for XILINX_MPMC_0_MEM_PART_CAS_B
.config:892:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_1_VALUE
.config:893:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_2_VALUE
.config:894:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_3_VALUE
.config:895:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_4_VALUE
.config:896:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_5_VALUE
.config:897:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_6_VALUE
.config:898:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_7_VALUE
#
# configuration written to .config
#
include/config/auto.conf:764:warning: symbol value '2.5' invalid for XILINX_MPMC_0_MEM_PART_CAS_B
include/config/auto.conf:1031:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_1_VALUE
include/config/auto.conf:1036:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_2_VALUE
include/config/auto.conf:1044:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_3_VALUE
include/config/auto.conf:1051:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_4_VALUE
include/config/auto.conf:1056:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_5_VALUE
include/config/auto.conf:1064:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_6_VALUE
include/config/auto.conf:1071:warning: symbol value '0x001' invalid for XILINX_MPMC_0_SKIP_7_VALUE
make[1]: Leaving directory `/home/jinpeng/petalogix/petalinux-mmu-v0.10/software/linux-2.6.x-petalogix'
/bin/sh: line 1: 26162 Floating point exceptionmb-linux-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mcpu=v7.10.d -S -o /dev/null -xc /dev/null >/dev/null 2>&1
/bin/sh: line 1: 26165 Floating point exceptionmb-linux-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mno-xl-soft-mul -ffixed-r31 -fomit-frame-pointer -fno-stack-protector -S -o /dev/null -xc /dev/null >/dev/null 2>&1
/bin/sh: line 1: 26168 Floating point exceptionmb-linux-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mno-xl-soft-mul -ffixed-r31 -fomit-frame-pointer -Wdeclaration-after-statement -S -o /dev/null -xc /dev/null >/dev/null 2>&1
/bin/sh: line 1: 26170 Floating point exceptionmb-linux-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mno-xl-soft-mul -ffixed-r31 -fomit-frame-pointer -Wno-pointer-sign -S -o /dev/null -xc /dev/null >/dev/null 2>&1
make[1]: Entering directory `/home/jinpeng/petalogix/petalinux-mmu-v0.10/software/linux-2.6.x-petalogix'
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CC      scripts/mod/empty.o
/bin/sh: line 1: 26281 Floating point exceptionmb-linux-gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mno-xl-soft-mul -ffixed-r31 -fomit-frame-pointer -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)" -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/empty.o scripts/mod/empty.c
make[3]: *** [scripts/mod/empty.o] Error 136
make[2]: *** [scripts/mod] Error 2
make[1]: *** [scripts] Error 2
make[1]: Leaving directory `/home/jinpeng/petalogix/petalinux-mmu-v0.10/software/linux-2.6.x-petalogix'
make: *** [linux] Error 1

 

 

I had seared on the net, but not get useful infomation, My god !!!

who can give me some suggestion?

best wishes!!!

 

Message Edited by yjp1983 on 05-12-2009 12:29 AM
0 Kudos
3 Replies
Visitor yjp1983
Visitor
4,943 Views
Registered: ‎05-11-2009

Re: can not compile with the mmu

when i use mb-linux-gcc, the following output:

 mb-linux-gcc -o main.o -c main.c
Floating point exception

 

and if i use microblaze-uclinux-gcc, it work ok,

 

Maybe I forgot something to set???

0 Kudos
Xilinx Employee
Xilinx Employee
4,929 Views
Registered: ‎09-10-2008

Re: can not compile with the mmu

None of our work on Microblaze with MMU and Linux from Xilinx is released to the public yet as we're still working on it.

 

You may need to go to the Petalogix mailing list for any support.  This work is still in progress so you need to understand you're not working with a production kernel and many things are still changing.

 

Sorry,

John

0 Kudos
Visitor yjp1983
Visitor
4,914 Views
Registered: ‎05-11-2009

Re: can not compile with the mmu

 

ok! i know! thanks.

0 Kudos