I have just upgraded my BananaPi from Lemaker's Lubuntu 3.4 kernel to the latest Armbian with kernel 4.9 and I can't enable 1-wire to read ds18b20. I suspect the enabling procedure has changed?
What I did was:
1. bin2fex /boot/script.bin > script.fex
2. vi script.fex
Appended this section exactly as it was on my previous Lemaker kernel 3.4:
gpio = 4
3. fex2bin script.fex > /boot/script.bin
5. echo 600000 > /sy