Hi, I'm having some issues trying to compile a raspberry pi kernel to use for my EVAL-AD5370 board.
I've followed the following sites:
I've tried running this script : https://raw.githubusercontent.com/analogdevicesinc/wiki-scripts/master/linux/build_rpi_kernel_image.sh
But it keeps failing.
1. The git checkout rpi-4.19.y fails because that needs to be run from the linux-adi folder. I fixed that.
2. Then the script fails trying to make the adi_bcm2709_defconfig with some gcc-linaro Exec Format Errors and some Kconfig syntax and invalid options errors.
Any help would be greatly appreciated.
What arm-toolchain do you use?
I've started over with a new install and didn't use the script. I followed this blog post instead: https://linux.ime.usp.br/~marcelosc/2019/09/RaspberryPi-kernel-compilation
Now it looks like it's compiling.
Maybe this script : https://raw.githubusercontent.com/analogdevicesinc/wiki-scripts/master/linux/build_rpi_kernel_image.sh needs to be updated.