The source code is at: https://github.com/garywangcn/bpi-r2_lede
Please clone the code to local and checkout the code from branch bpi-r2-on-lede-v1.
Follow the LEDE building instruction to compile the lede system, the target system is MediaTek Ralink ARM, the config file is attached.
Please download the image I built from below link http://pan.baidu.com/s/1nuXqAVJ
Boot with LEDE image
Step 1: Please program LEDE 2017-09-08 image to emmc by following BPI-R2 New image : Openwrt/LEDE 2017-09-08
Step 2: Boot the board from EMMC, and enter U-boot shell.
Step 3: Load build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-mediatek_32/uImage-mt7623n-bananapi-bpi-r2-initramfs from host pc(tftp 84000000 uImage-mt7623n-bananapi-bpi-r2-initramfs). Before loading image, you may need to set/ipaddr/netmask/serverip in uboot
Step 4: Program the image to EMMC by run command:
mmc dev 0 mmc write 84000000 1000 5800
IP Forwarding Performance based on hardware NAT
- PCIE is disabled because it may cause OS to be hang
- HDMI is not validated.