I am trying to compile 150 Balbes source for a customer kernel. I would like to enable CAN, VCAN and SLCAN support in the kernel. I copied the config file from /boot to the Amlogic_s905-kernel directory as .config. I then ran make menuconfig and was able to select CAN, VCAN and SLCAN to enable those modules. I then ran make and it seemed to build fine. It took several hours so I went to sleep. I didn't find any errors in the morning and I was able to see the new files under /arch/arm64/boot. At that point I was a little confused on how to get the new kernel to emmc and boot it. I thought before I screw something up I would see if I could just build the modules with make modules. But I first ran make clean which deleted the kernel that I compiled. From what I could find after I compiled the modules there is no SLCAN.o so I think that must be built into the kernel?
Am I going about this right? I can build the kernel again but I am a little confused what I need to do after it is done. Any pointers will help me on the next steps.
Looking at my config I now have:
CONFIG_CAN=y
CONFIG_CAN_RAW=y
CONFIG_CAN_BCM=y
CONFIG_CAN_GW=y
# CAN Device Drivers
CONFIG_CAN_VCAN=y
# CONFIG_CAN_VXCAN is not set
CONFIG_CAN_SLCAN=y
CONFIG_CAN_DEV=y
CONFIG_CAN_CALC_BITTIMING=y