samedi 18 juin 2016

Crosscompile Linux 3.15.3 for mips(el) vu solo2 Vlan module support (8021q)


i could already successfully crosscompile some binarys for mipsel vusolo2, ob ubuntu 14.04 32 bits with the toolchain mipsel-tuxbox-linux-gnu that i got from here http://shivanet.ro/tmp/mipsel-tuxbox-linux-gnu.tar.bz2. I did install copy the toolchain to the directory /opt/cross/mipsel-tuxbox-linux-gnu. Vusolo2 sat receiver runs linux 3.15.3 kernel, now i need vlan support (module 8021q). The idea ist to crosscompile the vlan module or the kernel if necessary and copy it to que box. What i did was download the sources for linux 3.15.3 then :

make ARCH=mips defconfig 
make ARCH=mips menuconfig

Selected vlan support (8021q) Then i issued the command with the path to my toolchain:

ARCH=mips CROSS_COMPILE=/opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gcc  make all 

not certain if i have to select make all or make modules, my toolchain is not found.

root@BM2LTSR66MSvex:/opt/linux-3.13.5# ARCH=mips CROSS_COMPILE=/opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gcc  make all
/bin/sh: 1: /opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gccgcc: not found
/bin/sh: 1: /opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gccgcc: not found
make: /opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gccgcc: Befehl nicht gefunden
/bin/sh: 1: /opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gccgcc: not found
/bin/sh: 1: /opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gccgcc: not found
scripts/kconfig/conf --silentoldconfig Kconfig
/bin/sh: 1: /opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gccgcc: not found
/bin/sh: 1: /opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gccgcc: not found
/bin/sh: 1: /opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gccgcc: not found
/bin/sh: 1: /opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gccgcc: not found
make: /opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gccgcc: Befehl nicht gefunden
  CHK     include/config/kernel.release
  UPD     include/config/kernel.release
  WRAP    arch/mips/include/generated/asm/cputime.h
  WRAP    arch/mips/include/generated/asm/current.h
  WRAP    arch/mips/include/generated/asm/emergency-restart.h
  WRAP    arch/mips/include/generated/asm/local64.h
  WRAP    arch/mips/include/generated/asm/mutex.h
  WRAP    arch/mips/include/generated/asm/parport.h
  WRAP    arch/mips/include/generated/asm/percpu.h
  WRAP    arch/mips/include/generated/asm/scatterlist.h
  WRAP    arch/mips/include/generated/asm/sections.h
  WRAP    arch/mips/include/generated/asm/segment.h
  WRAP    arch/mips/include/generated/asm/serial.h
  WRAP    arch/mips/include/generated/asm/trace_clock.h
  WRAP    arch/mips/include/generated/asm/preempt.h
  WRAP    arch/mips/include/generated/asm/ucontext.h
  WRAP    arch/mips/include/generated/asm/xor.h
  WRAP    arch/mips/include/generated/uapi/asm/auxvec.h
  WRAP    arch/mips/include/generated/uapi/asm/ipcbuf.h
  CHK     include/generated/uapi/linux/version.h
  UPD     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  CC      kernel/bounds.s
/bin/sh: 1: /opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gccgcc: not found
make[1]: *** [kernel/bounds.s] Fehler 127
make: *** [prepare0] Fehler 2

What ist the right way to inform make where my toolchain is? I noticed that make is looking for mipsel-tuxbox-linux-gnu-gccgcc instead of mipsel-tuxbox-linux-gnu-gcc. Thanks in advance, kindly Vento


Aucun commentaire:

Enregistrer un commentaire