RB3 / DB845 kernel patch

Hi, I am trying to add a patch to the kernel.
I believe “Build from Source” is the approach to do it.
If yes, is there any update on the instructions for DB845? (https://www.96boards.org/documentation/consumer/dragonboard/dragonboard845c/build/).
Can I be using instructions for 820 at https://www.96boards.org/documentation/consumer/dragonboard/dragonboard820c/build/linux-kernel.md.html, with few modifications?
Thanks

The general gist of it will be quite similar. Obviously though, you will have to start with kernel source that supports the db845c, and go from there.

You should be able to find all the information you really need from here: http://releases.linaro.org/96boards/dragonboard845c/linaro/debian/latest/

** Don’t forget to read the notes below the files, everything is spelled out there in great detail!

Hello, I am following the instructions from here: https://releases.linaro.org/96boards/dragonboard845c/linaro/debian/latest/ to build kernel from source.
Downloaded GNU toolchain from here- https://developer.arm.com/-/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz

When I try to make defconfig, i get an error saying compiler not found.
When I do aarch64-linux-gnu-gcc --version, i see the an old version than what i installed(8.3-2019)
I have also set the path to toolchain.
Can someone please help me with whats wrong here.

You missed the “/bin/” in the CROSS_COMPILE variable.

Note that running the command through the PATH didn’t work because the path is evaluated from the start to the end, and you added your change to the end. The usual way to set something to the path is to set it first, so export PATH=/my/new/path:$PATH – but of course, the path doesn’t matter since you are using CROSS_COMPILE.

Also, please do not use pictures to convey logs. Copy/paste the TEXT. It both takes a lot less space, and is a lot easier to read. In essence, you went to a lot of trouble to make it inconvenient.