User Tools

Site Tools

This translation is older than the original page and might be outdated. See what has changed.



This is an old revision of the document!

Table of Contents


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


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


  1. Copy EMMC image to a running system which is on SD card
  2. Program EMMC image to User Data Area of EMMC: dd if=mtk-bpi-r2-EMMC.img of=/dev/mmcblk0
  3. Unlock EMMC boot0 block: echo 0 > /sys/block/mmcblk0boot0/force_ro
  4. Program preloader to EMMC boot0 block: dd if=mtk-bpi-r2-EMMC.img of=/dev/mmcblk0boot0 bs=1M count=1
  5. Change the Partition configurion of EMMC is 48h: reboot the system which is running SD, and enter the U-boot command line, run command emmc pconf 48
  6. Power off, remove SD card, and then power on R2 board.
en/bpi-r2/lede.1516119487.txt.gz · Last modified: 2020/08/29 17:14 (external edit)