I need help for editing meson8b_odroidc.dts file. I dont know in which way I can add some information for kernel to recognize some SPI device. I need to add MCP251x device and I expect to get can0 . For that I applied patch for kernel and recompile it.
I compiled the kernel for c1+ according by https://wiki.odroid.com/odroid-c1/os_images/ubuntu/v2.2
There are my stages:
0. Buckup my eMmc flash drive to file on my desktop by dd command.
1. Clone by git the kernel for c1
2. Apply patch files for spi ( apart from 0008-ARM-dts-enable-mcp2515-for-XU3-XU4.patch this file)
3. Compile following the instruction.
I hope patches are work. Because I did same things for XU4. And can0 on XU4 appeared only after I changed dts file. But I have no idea how to change dts file for C1+ =(
I tried to change dts file in different ways but in vain... like this
Code: Select all
dtc -O dtb -o ./meson8b_odroidc.dtb ./meson8b_odroidc.dts Error: ./meson8b_odroidc.dts:38.17-18 syntax error FATAL ERROR: Unable to parse input tree