I have a banana pi w2 board with the default/preinstalled android+openwrt combo. I would like to change it to debian or ubuntu (I have some important tool for that), but I do not have any idea what to do. I dont need desktop environment the cli is more than enough to me. I would like to use the 2 stata and the gigabit erhernet interface, and if it is possible the emmc would betted than SD.
Hello,
you definitely need a cable for the debug uart and possibly a USB-c cable for flashing the spi-rom.
The best way to do this is to follow this tutorial.
Then boot from sd.
Using dd under linux transfer the image to the emmc memory.
After that poweroff.
Then remove sd-card.
reboot.
spi-rom first tries to load kernel and dt from sd and then emmc.
bootselect -sw stays on 1 in both cases
use debootstrap to create a new minimal debian root on a sata partition.
Thank you very much! It was really useful. Now I have debian, and it’s working very well. One question: what if i leave the linux fs on the emmc? Will it reduce the lifetime of my board? The 8GB is enough for me, and I think this memory much faster than the HDD.