0

I'm trying to make a RPI3 buildroot image with CAN interface. So far I don't see any device in /sys/bus/spi/devices Please help

What I did are below

At the buildroot terminal "make raspberrypi3_defconfig" then enabled those below via "make xconfig" and "make linux-xconfig"

  • BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
  • BR2_PACKAGE_IPROUTE2
  • NET
  • CAN
  • CAN_DEV
  • SPI
  • CAN_MCP251X

After that I flashed sdcard.img to an SD card then I add those two lines below to config.txt dtparam=spi=on dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25

I expected to see spi0.0 but I don't see any device in /sys/bus/spi/devices

Can you please help? Thank you

deepsdog
  • 25
  • 5

0 Answers0