Applying ESD CAN patch
According to the screenshot above, in step 2, one has to apply the esdcan.patch before copying the files to the drivers/esdcan directory. After applying the patch, this is the following result: -
I have three queries: -
- Why to apply the patch?
- How to correctly apply the patch?
- Where to locate the drivers/esdcan directory?
Thanks
You can take a look at https://github.com/ApolloAuto/apollo-kernel/blob/master/linux/build.sh to get some ideas.
FYI: This project is not actively maintained anymore, and Linux kernel 4.4.32 is rather old as of Feb 2021. The updated doc for installing kernel for Apollo in the vehicle is https://github.com/ApolloAuto/apollo/blob/master/docs/howto/how_to_install_apollo_kernel.md. However, as the team didn't have ESDCAN driver for 5.x kernels, ESDCAN may not work on 5.x kernel described with this doc.