Source code
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.
Build
Follow the LEDE building instruction to compile the lede system, the target system is MediaTek Ralink ARM, the config file is attached.
Image
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 http://forum.banana-pi.org/t/bpi … -2017-09-08/3797/19
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
Known limitation
- PCIE is disabled because it may cause OS to be hang
- HDMI is not validated.
link from:
http://forum.banana-pi.org/t/bpi-r2-lede-source-code-for-hardware-nat/3940/2