Re: Meta-raspberrypi - how to configure device tree for MCP251x
Sorry, I meant to add that I have tried adding the following to local.conf:toggle quoted message Show quoted text
RPI_EXTRA_CONFIG = ' \n \
dtparam=spi=on \n \
dtoverlay=mcp2515-can0,oscillator=16000000,interrupt=25 \n \
dtoverlay=mcp2515-can1,oscillator=16000000,interrupt=23 \n \
However, this did not make any difference to the interrupts.
Since then, I have manually changed mcp2515-can1-overlay.dts in the kernel build tree (after running bitbake - c do_configure virtual/kernel) and rebuilt the kernel / image. This does result in the interrupt mapping changing, and both CAN channels then operate correctly.
Does anyone know why RPI_EXTRA_CONFIG doesn’t appear to be taking effect?
You can tell you're getting older when your car insurance gets real cheap!