User Tools

Site Tools

Translations of this page:



git clone
cd bpi-r2_lede/
git checkout bpi-r2-on-lede-v1
make menuconfig

here “Target System” must be set to “MediaTek Ralink ARM” and in “Boot Loaders” the entry “u-boot-bpi_r2” must be selected with a ∗

build with:

make -j1 V=s

nach dem kompilieren liegen 2 img-Dateien im Ordner build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-mediatek_32/:

frank@Frank-Laptop:/media/data_ext/bpi-r2_lede$ ls -lh build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-mediatek_32/*.img
-rw-r--r-- 1 frank frank 67M Jan 16 12:03 build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-mediatek_32/mtk-bpi-r2-EMMC.img
-rw-r--r-- 1 frank frank 67M Jan 16 12:03 build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-mediatek_32/mtk-bpi-r2-SD.img

img-files are on my gdrive

Please note that lede currently not support hdmi-output (you will see only a purple screen).


  dd if=mtk-bpi-r2-SD.img of=/dev/sdx


  1. Copy EMMC image to a running system which is on SD card
  2. start system and look which mmcblk is the emmc: cat /proc/partitions (search for boot0 and this mmcblk [0|1] is the emmc)
  3. flash EMMC image to User Data Area of EMMC: dd if=mtk-bpi-r2-EMMC.img of=/dev/mmcblkX
  4. Unlock EMMC boot0 block: echo 0 > /sys/block/mmcblkXboot0/force_ro
  5. flash preloader to EMMC boot0 block: dd if=mtk-bpi-r2-EMMC.img of=/dev/mmcblkXboot0 bs=1M count=1
  6. Change the Partition configurion of EMMC to 48h: reboot the system which is running from SD, and enter the U-boot-console, run command “emmc pconf 48”
  7. Power off, remove SD card, and then power on R2 board.


By default lan-ports are bridged together with IP-address

Further configuration see here:


en/bpi-r2/lede.txt · Last modified: 2018/05/04 19:59 (external edit)