Update: issue solved. Me stupid: I started with adding a w1-gpio overlay in ArmbianEnv.txt and I forgot to remove that. After removing it works like a charm!! Excuse me ...
First thanks to everyone contributing to this forum and this specific topic!
I followed the tutorial of @nkahl above to use DS18B20 sensors for my BananaPi running ARMBIAN 5.31 with kernel 4.11.6-sunxi.
Unfortunately it doesn't work.
Is the following:
root@bananapi:/sys/bus/w1/devices# dmesg | grep w1
[ 12.679227] w1_master_driver w1_bus_master1: w1_search: max_slave_count 64 reached, will continue next search.
[ 65.428475] w1_master_driver w1_bus_master1: Family 0 for 00.800000000000.8c is not registered.
[ 129.013222] w1_master_driver w1_bus_master1: Family 0 for 00.400000000000.46 is not registered.
and
root@bananapi:/sys/bus/w1/devices# cat /sys/kernel/debug/pinctrl/1c20800.pinctrl/pinmux-pins |grep PH20
pin 244 (PH20): (MUX UNCLAIMED) (GPIO UNCLAIMED)
A 4k7 restore between 5V and data has been applied.
As a newbie I think pin PH20 hasn't been configured for Onewire, despite the onwire@0 block in the code @nkahl provided.