http://forum.armbian.com/index.php/topic/691-banana-pro-testers-wanted-sata-drive-not-working-on-some-boards/
I simply revert my changes (have one config for all Bananas) back to kernel default until I get Banana PRO on my desk and do all tests.
1. Edit /boot/boot.cmd
2. Replace /boot/dtb/${fdtfile} with /boot/dtb/sun7i-a20-bananapro.dtb or sun7i-a20-bananapi-m1-plus.dtb
3. Save and recompile: mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
4. Reboot
That's ok - I don't rebuild images for every change since we achieve the same with apt-get upgrade.
I used following commands on my BananaPro board with legacy kernel and Ubuntu Trusty: ( Download link of used system image http://mirror.igorpecovnik.com/Armbian_4.5_Bananapi_Ubuntu_trusty_3.4.109_desktop.zip. Note: If this link should be different for BananaPi and for BananaPro it is not my fault :-) )
# based on previous posts I decided return back old kernel version 3.4.109 for bananapi because wifi driver is not working on latest kernel supplied with system image apt-get purge linux-firmware-image-sun7i -y rm /etc/modules -Rv # apt-get cannot remove this folder during uninstall procedure # removed 20.1.
rm /lib/firmware -Rv # apt-get cannot remove this folder during uninstall procedure # added 20.1. aptitude install linux-image-banana linux-headers-banana linux-firmware-image-banana linux-u-boot-bananapi -y
# generate encrypted wifi password and copy output to clipboard wpa_passphrase yourSSID yourpassword
# edit /etc/network/interfaces # remove "#" symbol like you can see in example below # replace "yourSSID" and "yourpassword" with your wifi SSID and ecrypted password nano /etc/network/interfaces
EXAMPLE: # Wired adapter #1 auto eth0 iface eth0 inet dhcp # hwaddress ether # if you want to set MAC manually # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838 # # Wired adapter #2 #auto eth1 # iface eth1 inet dhcp # hwaddress ether # if you want to set MAC manually # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838 # # Wireless adapter #1 auto wlan0 allow-hotplug wlan0 wpa-ssid yourSSID wpa-psk yourpassword # to generate proper encrypted key: wpa_passphrase yourSSID yourpassword # # Local loopback auto lo iface lo inet loopback