BPI-R2 新镜像: Openwrt/LEDE 2017-09-08

A new test image is available…

Summary


The linux kernel from LEDE does’t work on banana-pi R2 board so far, so we are using the banana-pi R2 Linux 4.4.70 kernel and LEDE file system to make this image.

How to use this image


Please note that this image is used to copy the bootable image from SD to EMMC, so it just works at u-boot phase. Finally the LEDE system will boot from EMMC, instead of SD card.

  1. Download this image to your host PC

  2. Copy it to your SD card by executing below command

    dd if= of=/dev/

  3. Move this SD card from host PC to R2 board

  4. Power on this board by pressing power button a few seconds

  5. Please turn power off and remove SD card when you see U-boot prompt

    Before u-boot prompt occurs, all parts(pre-loader/u-boot/kernel image/ramdisk iamge) will be copied from SD card to EMMC.

  6. Power on this board by press power button a few seconds

  7. The LEDE system will boot successfually

Image


Baidu drive link:

MD5: e6483762a47336eab45beefcf030cd8f

Let me know if you have any question, and any suggestion is appreciated.

link from:

第4步时,HDMI 显示屏就一直显示为没有文字的纯色么?

img放到SD卡上,也启动了,貌似也写到eMMC了,但是拨掉SD卡后不启动,一上电亮三个LED(不用按PWR了)。
部分日志如下:

U-Boot 2014.04-rc1 (Sep 05 2017 - 12:43:27)

g_nr_bank = 1.
g_total_rank_size = 0x80000000
DRAM:  2 GiB
WARNING: Caches not enabled
MMC:     emmc: 0,  sdcard: 1
dev_num = 1
***size=16384, offset=1048576, blk_start=2048, blk_cnt=32
In:    serial
Out:   serial
Err:   serial
Net:   Eth0
Uip activated
Hit any key to stop autoboot:  0
dev_num = 1
mmc1 is current device
dev_num = 1

MMC read: dev # 1, block # 25856, count 512 ... 512 blocks read: OK
dev_num = 0
mmc0 is current device
dev_num = 0

eMMC write: part # 1, block # 0, count 512 ... 512 blocks write: OK
dev_num = 1
mmc1 is current device
dev_num = 1

MMC read: dev # 1, block # 26368, count 512 ... 512 blocks read: OK
dev_num = 0
mmc0 is current device
dev_num = 0

MMC write: dev # 0, block # 640, count 512 ... 512 blocks write: OK
dev_num = 1
mmc1 is current device
dev_num = 1

MMC read: dev # 1, block # 4096, count 21760 ... 21760 blocks read: OK
dev_num = 0
mmc0 is current device
dev_num = 0

MMC write: dev # 0, block # 4096, count 21760 ... 21760 blocks write: OK
BPI-R2> ?

刚才看国外论坛里有个哥们儿好像也是一样的问题?

补充:
刚才摸了一下CPU,有温度,难道LEDE已经正常启动?但是串口控制台没有任何输出。

I think this problem is cuased by the wrong partition configuration, please follow below steps to correct it(please note that the ubuntu image on emmc will be damaged):

install the SD card with LEDE test image, we can get the image from link http://pan.baidu.com/s/1eS1pRCA6, also more information about this image in link http://forum.banana-pi.org/t/bpi-r2-new-image-openwrt-lede-2017-09-08/3797

Power on the R2 board,

After the u-boot prompt “BPI-R2>” appears, please enter the command “emmc ecsd” to check partition configuration, on your board, the partition configuration should be 0h

[EXT_CSD] Partition config : 0h

Then run command “emmc pconf 0x48” to change it

Power off this board, remove SD card, and then power it on, the board will boot with lede test image which is stored in EMMC.

The ubuntu system you programmed to EMMC has been damaged yet, need to re-program it, so sorry for this.

Please let me know if you have any question…

BPI-R2 LEDE source code for hardware NAT
http://forum.banana-pi.org/t/bpi-r2-lede-source-code-for-hardware-nat/3940/6

http://pan.baidu.com/s/1eS1pRCA6这个地址不能访问, 404error

  1. Copy it to your SD card by executing below command
    dd if= of=/dev/
    在执行这个步骤前需要格式化sd卡吗?

请问楼主,r2只能刷你提供的这个lede镜像吗?刷其他lede镜像可以吗?

我的板子也是不能启动,运行到uboot后就停下了,后来百度找到了方法,emmc ecsd查看所有的变量,其中Partition config的地址为0,需要更改一下。
emmc pconf 0x48,将地址改为0x48就可以了

1 个赞

你好,请问你的串口波特率设置是115200 8 n 1吗?有没有打印乱码,我在运行后串口打印一直是乱码,更改多个波特率也不起什么作用

波特率设置115200 8 n 1 ,串口打印一直是乱码,这是什么问题?