If you have modified the kernel, or the pre-built kernel is not the best for your platform, you can build your own kernel with the following steps:
- Clone the code from repository.
git clone https://github.com/ApolloAuto/apollo-kernel.git
cd apollo-kernel
- Add the ESD CAN driver source code according to ESDCAN-README.md.
- Build the kernel with the following command:
bash build.sh
- Install the kernel the same way as using a pre-built Apollo Kernel.