I am trying to get a ds18b20 1-wire temperature sensor working on my NEO3.
After I add the following line to “/boot/armbianEnv.txt” :-
overlays=w1-gpio
and reboot, I cannot SSH into the NEO3. The Network interface is down.
Watching the debug console, everything is going fine until:-
[ 10.711832] OF: /onewire@0: could not get #gpio-cells for /ethernet@ff540000
[ 10.712508] w1-gpio onewire@0: gpio_request_nable_pin) failed
[ 10.717827] dwmmc_rockchip ff500000.mmc: error -110 requesting status
[ OK ] Finished DietPi-PreBoot.
[ OK ] Reached target Network (Pre).
[ 10.771070] mmcblk0: recovery failed!
[ 10.771551] blk_update_request: I/O error, dev mmcblk0, sector 1106512 op 0x0:(READ) flags 0x8070
Starting Raise network interfaces...
[ 10.785656] dwmmc_rockchip ff500000.mmc: error -110 requesting status
[ 10.786339] mmcblk0: recovery failed!
[ 10.786839] bk_update_request: I/O error, dev mmcblk0, sector 774352 op 0x0:([ 10.800951] dwmms
[ 10.801575] mmcblk0: recovery failed!
[ 10.802160] blk_update_request: I/O error, dev mmcblk0, sector 1231280 opg 4 prio class 0
[ 10.817067] dwmmc_rockchip ff500000.mmc: error -110 requesting status
[ 10.817697] mmcblk0: recovery failed!
[ 10.818292] blk_update_request: I/O error, dev mmcblk0, sector 1106512 opx0 phys_seg 1 prio clas0
[ 10.832020] dwmmc_rockchip ff500000.mmc: error -110 requesting status
[ 10.832653] mmcblk0: recovery failed!
There is more of the same, then output stops.
Remove the overlays line and everything boots fine.
Any ideas?
Also, what is the parameter for the “param_w1_pin=”
I am using GPIO Header Pin 7, which is GPIO2_A2
I have updated the “fdtfile=” line in “/boot/armbianEnv.txt” to:-
fdtfile=rockchip/rk3328-nanopi-neo3-rev02.dtb
after doing this, pwmchip0 has turned up under /sys/class/pwm/
I think this can control the fan. I’ll check this out when I get a 2-pin JST ZHN connector.
Any help appreciated.
Regards,
John