AnsweredAssumed Answered

To enable KVM support on P5040DS

Question asked by mani kanta on Jun 9, 2015
Latest reply on Jul 3, 2015 by Yiping Wang

Hi,

 

Good day,

 

Need your help in bringup KVM support in PowerPC5040ds,

 

freescale-p5040ds_defconfig” file  edited with these options, and generated .conf file using 'bitbake –c menuconfig linux’

CONFIG_VIRTUALIZATION=y

CONFIG_KVM=y

CONFIG_KVM_EXIT_TIMING=y

CONFIG_KVM_E500=y

CONFIG_E500=y

 

these values are visible in .config file, and tried to compile for kernel image using (‘bitbake linux’) following error pops up, I needs your help to solve this issue and to bringup KVM in Powerpc 5040ds, please do the needful.

 

+ cd /nobackup/users/VTKernel/celt/mv/tmp/work/freescale-p5040ds-mv-linux/linux-2.6.32-1412251630/linux-2.6.32

+ do_compile

+ mvl_kernel_do_compile

+ kernel_do_compile

+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE

+ oe_runmake include/linux/version.h 'CC=powerpc-montavista-linux-gnu-gcc ' 'LD=powerpc-montavista-linux-gnu-ld '

+ '[' xmake = x ']'

+ oenote make -j4 include/linux/version.h 'CC=powerpc-montavista-linux-gnu-gcc ' 'LD=powerpc-montavista-linux-gnu-ld '

+ echo NOTE: 'make -j4 include/linux/version.h CC=powerpc-montavista-linux-gnu-gcc  LD=powerpc-montavista-linux-gnu-ld '

NOTE: make -j4 include/linux/version.h CC=powerpc-montavista-linux-gnu-gcc  LD=powerpc-montavista-linux-gnu-ld

+ make -j4 include/linux/version.h 'CC=powerpc-montavista-linux-gnu-gcc ' 'LD=powerpc-montavista-linux-gnu-ld '

  CHK     include/linux/version.h

  UPD     include/linux/version.h

+ '[' None '!=' 2.6 ']'

+ oe_runmake dep 'CC=powerpc-montavista-linux-gnu-gcc ' 'LD=powerpc-montavista-linux-gnu-ld '

+ '[' xmake = x ']'

+ oenote make -j4 dep 'CC=powerpc-montavista-linux-gnu-gcc ' 'LD=powerpc-montavista-linux-gnu-ld '

+ echo NOTE: 'make -j4 dep CC=powerpc-montavista-linux-gnu-gcc  LD=powerpc-montavista-linux-gnu-ld '

NOTE: make -j4 dep CC=powerpc-montavista-linux-gnu-gcc LD=powerpc-montavista-linux-gnu-ld

+ make -j4 dep 'CC=powerpc-montavista-linux-gnu-gcc ' 'LD=powerpc-montavista-linux-gnu-ld '

scripts/kconfig/conf -s arch/powerpc/Kconfig

*** Warning: make dep is unnecessary now.

+ oe_runmake vmlinux 'CC=powerpc-montavista-linux-gnu-gcc ' 'LD=powerpc-montavista-linux-gnu-ld '

+ '[' xmake = x ']'

+ oenote make -j4 vmlinux 'CC=powerpc-montavista-linux-gnu-gcc ' 'LD=powerpc-montavista-linux-gnu-ld '

+ echo NOTE: 'make -j4 vmlinux CC=powerpc-montavista-linux-gnu-gcc  LD=powerpc-montavista-linux-gnu-ld '

NOTE: make -j4 vmlinux CC=powerpc-montavista-linux-gnu-gcc  LD=powerpc-montavista-linux-gnu-ld

+ make -j4 vmlinux 'CC=powerpc-montavista-linux-gnu-gcc ' 'LD=powerpc-montavista-linux-gnu-ld '

  CHK     include/linux/version.h

  CHK include/linux/utsrelease.h

  UPD include/linux/utsrelease.h

  SYMLINK include/asm -> include/asm-powerpc

  HOSTCC  scripts/kallsyms

  HOSTCC  scripts/dtc/checks.o

  HOSTCC  scripts/genksyms/genksyms.o

  CC      scripts/mod/empty.o

  HOSTCC  scripts/dtc/data.o

  SHIPPED scripts/dtc/dtc-lexer.lex.c

  SHIPPED scripts/genksyms/lex.c

 

 

Thanks and Regards

Manikantag

Outcomes