Closed yidingalan closed 7 years ago
Don't have one to test, sorry.
Did you write the overlay file for dw1000 (rpi2) from scratch or is there a good template to follow? I want to get it working on compute module. It will be using the same interface SPI0
You can decompile an existing device tree using dtc and base it on that.
So I was testing this on PI2 and I followed your compiling instructions. When I run RHOST=pi2-a RANR=1 make rstart
, it gave me this error
scp dw1000.ko pi2-a:
ssh: Could not resolve hostname pi2-a: Name or service not known
lost connection
Makefile:27: recipe for target 'rload' failed
make: *** [rload] Error 1
Do I need to change the hostname to my own one? I tried that and still got an error:
Cannot find device "dw0"
Makefile:36: recipe for target 'rstart' failed
make: *** [rstart] Error 1
The only thing I changed in the MAKEFILE is the KERNELDIR
hi @nyrocron Just wondering if this driver/overlay file will work for RPI compute module