User Tools

Site Tools



en:bpi-r2:lede

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:bpi-r2:lede [2018/01/16 10:28]
frank created
en:bpi-r2:lede [2020/08/29 17:14] (current)
Line 12: Line 12:
 </code> </code>
 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 ∗ 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:
 +<code bash>
 +make -j1 V=s
 +</code>
 +
 +nach dem kompilieren liegen 2 img-Dateien im Ordner build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-mediatek_32/:
 +<code bash>
 +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
 +</code>
 +
 +img-files are on my [[https://drive.google.com/drive/folders/1oP7jy1KrrIOifvImo2nQ59wx3_9hHkgk?usp=sharing|gdrive]]
 +
 +Please note that lede currently not support hdmi-output (you will see only a purple screen).
 +===== SD =====
 +
 +    dd if=mtk-bpi-r2-SD.img of=/dev/sdx
 +
 +
 +===== EMMC =====
 +
 +  - Copy EMMC image to a running system which is on SD card
 +  - start system and look which mmcblk is the emmc: cat /proc/partitions (search for boot0 and this mmcblk [0|1] is the emmc)
 +  - flash EMMC image to User Data Area of EMMC: dd if=mtk-bpi-r2-EMMC.img of=/dev/mmcblkX
 +  - Unlock EMMC boot0 block: echo 0 > /sys/block/mmcblkXboot0/force_ro
 +  - flash preloader to EMMC boot0 block: dd if=mtk-bpi-r2-EMMC.img of=/dev/mmcblkXboot0 bs=1M count=1
 +  - Change the Partition configurion of EMMC to 48h: reboot the system which is running  from SD, and enter the [[uboot|U-boot-console]], run command "emmc pconf 48"
 +  - Power off, remove SD card, and then power on R2 board.
 +
 +
 +===== Network-configuration =====
 +
 +By default lan-ports are bridged together with IP-address 192.168.1.1
 +
 +Further configuration see here:
 +https://wiki.openwrt.org/doc/uci/network
en/bpi-r2/lede.1516094905.txt.gz · Last modified: 2020/08/29 17:14 (external edit)