The linux kernel from LEDE does’t work on banana-pi R2 board so far, so we are using the banana-pi R2 Linux 4.4.70 kernel and LEDE file system to make this image.
How to use this image
Please note that this image is used to copy the bootable image from SD to EMMC, so it just works at u-boot phase. Finally the LEDE system will boot from EMMC, instead of SD card.
Download this image to your host PC
Copy it to your SD card by executing below command
dd if= of=/dev/
Move this SD card from host PC to R2 board
Power on this board by pressing power button a few seconds
Please turn power off and remove SD card when you see U-boot prompt
Before u-boot prompt occurs, all parts(pre-loader/u-boot/kernel image/ramdisk iamge) will be copied from SD card to EMMC.
Power on this board by press power button a few seconds
The LEDE system will boot successfually
Image
Baidu drive link:
MD5: e6483762a47336eab45beefcf030cd8f
Let me know if you have any question, and any suggestion is appreciated.
I think this problem is cuased by the wrong partition configuration, please follow below steps to correct it(please note that the ubuntu image on emmc will be damaged):
After the u-boot prompt “BPI-R2>” appears, please enter the command “emmc ecsd” to check partition configuration, on your board, the partition configuration should be 0h
[EXT_CSD] Partition config : 0h
Then run command “emmc pconf 0x48” to change it
Power off this board, remove SD card, and then power it on, the board will boot with lede test image which is stored in EMMC.
The ubuntu system you programmed to EMMC has been damaged yet, need to re-program it, so sorry for this.