Compiling modified linux kernel
Posted: 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."
It fails with the following errors:
I must be missing something basic. Googling didn't help me. Can anyone here help?
Thank you in advance!
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
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
Thank you in advance!