Compiling modified linux kernel

Applications, development tools, FPGA, C, WEB
Post Reply
majtom
Posts: 19
Joined: Thu Nov 08, 2018 10:29 am

Compiling modified linux kernel

Post by majtom » Tue Jan 29, 2019 9:59 am

Hi,

I am new to RP and linux development and having some trouble.

I am trying to modify and compile a linux kernel. I followed the steps from this guide carefully:
https://redpitaya.readthedocs.io/en/lat ... ld-process

I modified the kernel configuration file in RedPitaya/tmp/linux-xlnx-branch-redpitaya-v2017.2/.config

However, I am not able to "make" anything, and I get errors at the first "make step".

At the point where the guide says: "To build everything a few make steps are required."

Code: Select all

 make -f Makefile.x86
schroot -c red-pitaya-ubuntu <<- EOL_CHROOT
make
EOL_CHROOT
make -f Makefile.x86 zip
It fails with the following errors:

Code: Select all

$ make -f Makefile.x86 
cp -r build/fpga/logic/dts tmp
error: pathspec 'Applications' did not match any file(s) known to git.
cat   tmp/dts/fpga.dts >> tmp/dts/system-top.dts
tools/dtc/dtc -@ -I dts -O dtb -o tmp/dts/devicetree.dtb -i tmp/dts -i fpga/dts tmp/dts/system-top.dts
Error: fpga/dts/memory.dtsi:5.1-2 syntax error
FATAL ERROR: Unable to parse input tree
Makefile.x86:187: recipe for target 'tmp/dts/devicetree.dtb' failed
make: *** [tmp/dts/devicetree.dtb] Error 1
I must be missing something basic. Googling didn't help me. Can anyone here help?

Thank you in advance!

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 4 guests