• 0
DeAndreHJ

Embedded Linux Tutorial - Zybo

Question

Hi, im currently using Vivado 2018.1 on Ubuntu 16.04.3. Im doing the tutorial Embedded Linux Tutorial - Zybo. Im currently compiling the Linux Kernel. However, I keep getting the errors below. Im new to the whole digilent, fpga and vivado thing. Sorry if i am unable to convey well enough in my message. 

 

[DeAndre@DeAndre Linux-Digilent-Dev-master-next]$ make ARCH=arm CROSS_COMPILE=arm-xilinx-linux-gnueabi-

scripts/kconfig/conf --silentoldconfig Kconfig

  CHK     include/config/kernel.release

  UPD     include/config/kernel.release

  WRAP    arch/arm/include/generated/asm/auxvec.h

  WRAP    arch/arm/include/generated/asm/bitsperlong.h

  WRAP    arch/arm/include/generated/asm/cputime.h

  WRAP    arch/arm/include/generated/asm/current.h

  WRAP    arch/arm/include/generated/asm/emergency-restart.h

  WRAP    arch/arm/include/generated/asm/errno.h

  WRAP    arch/arm/include/generated/asm/exec.h

  WRAP    arch/arm/include/generated/asm/hash.h

  WRAP    arch/arm/include/generated/asm/ioctl.h

  WRAP    arch/arm/include/generated/asm/ipcbuf.h

  WRAP    arch/arm/include/generated/asm/irq_regs.h

  WRAP    arch/arm/include/generated/asm/kdebug.h

  WRAP    arch/arm/include/generated/asm/local.h

  WRAP    arch/arm/include/generated/asm/local64.h

  WRAP    arch/arm/include/generated/asm/mcs_spinlock.h

  WRAP    arch/arm/include/generated/asm/msgbuf.h

  WRAP    arch/arm/include/generated/asm/param.h

  WRAP    arch/arm/include/generated/asm/parport.h

  WRAP    arch/arm/include/generated/asm/poll.h

  WRAP    arch/arm/include/generated/asm/preempt.h

  WRAP    arch/arm/include/generated/asm/resource.h

  WRAP    arch/arm/include/generated/asm/rwsem.h

  WRAP    arch/arm/include/generated/asm/scatterlist.h

  WRAP    arch/arm/include/generated/asm/sections.h

  WRAP    arch/arm/include/generated/asm/segment.h

  WRAP    arch/arm/include/generated/asm/sembuf.h

  WRAP    arch/arm/include/generated/asm/serial.h

  WRAP    arch/arm/include/generated/asm/shmbuf.h

  WRAP    arch/arm/include/generated/asm/siginfo.h

  WRAP    arch/arm/include/generated/asm/simd.h

  WRAP    arch/arm/include/generated/asm/sizes.h

  WRAP    arch/arm/include/generated/asm/socket.h

  WRAP    arch/arm/include/generated/asm/sockios.h

  WRAP    arch/arm/include/generated/asm/termbits.h

  WRAP    arch/arm/include/generated/asm/termios.h

  WRAP    arch/arm/include/generated/asm/timex.h

  WRAP    arch/arm/include/generated/asm/trace_clock.h

  WRAP    arch/arm/include/generated/asm/unaligned.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

  HOSTCC  scripts/basic/bin2c

  Generating include/generated/mach-types.h

  CC      kernel/bounds.s

  GEN     include/generated/bounds.h

  CC      arch/arm/kernel/asm-offsets.s

arch/arm/kernel/asm-offsets.c:53:2: error: #error Your compiler is too buggy; it is known to miscompile kernels

 #error Your compiler is too buggy; it is known to miscompile kernels

  ^

arch/arm/kernel/asm-offsets.c:54:2: error: #error and result in filesystem corruption and oopses.

 #error and result in filesystem corruption and oopses.

  ^

make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1

make: *** [prepare0] Error 2

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
13 hours ago, theUltimateSource said:

hello @DeAndreHJ

can you post your toolchain, writing in your terminal: "arm-" + 2x tab:

5b056cf96ec53_Screenshotfrom2018-05-1715-28-01.thumb.png.a28630bd66ff5ef547e00001adcab31e.png

couldn't do that. command not found. After multiple attempts, I decided to get the xilinx_zynq_defconfig file from the master branch of the Linux digilent dev zip online. Now, im facing problem booting it up on ramdisk. Im really sorry if I didn't convey my message well enough. To be honest, I am very lost now.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now