Post Go back to editing

Compiling a linux kernel for AD5360

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:

https://wiki.analog.com/resources/tools-software/linux-build/generic/raspberrypi

https://linux.ime.usp.br/~marcelosc/2019/09/RaspberryPi-kernel-compilation

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.