Sinovoip BananaPi BPI-R4 update Wiki?

Hello,

I just build my BPI-R4 (with Wifi) and installed according to Wiki on a SD card, sofar it's fine.

I would like to use it from NAND or eMMC but I am not sure about which image from download I should use for which ?
There .fip and .bin for both.
Also is there any reason for having to put those in an usb stick rather than just scp the files to the BPI-R4 and then to the copy (examples instructions in Wiki would be tremendous).
Thank you very much.

Oh if I understand correctly I should flash the same image to nand (the openwrt-mediatek-filogic-bananapi_bpi-r4-sdcard.img ).
Right ?
From banana-pi's Wiki I tried without success.

mtd erase /dev/mtd0
Could not open mtd device: /dev/mtd0
Could not open mtd device: /dev/mtd0

Could anyone tell me how to to it (if possible without needing a serial console) ?
Thank you very much.

Please ignore banana-pi's Wiki when using OpenWrt from openwrt.org, the SinoVoip firmware is based on OpenWrt somehow, but it's very different. It's a "Raspbian vs. Debian" situation, just that (unfortunately) SinoVoip called their fork "OpenWrt" which is the source of the confusion...

Please refer to https://openwrt.org/inbox/toh/sinovoip/bananapi_bpi-r4 instead. Installation to SPI-NAND and eMMC works like on the BananaPi BPi-R3.

1 Like

Thank you very much Daniel,
I never thought that a simple

fw_setenv bootcmd "env default bootcmd ; saveenv ; run ubi_init ; bootmenu 0"

would in fact copy the content (more or less as the configs are partially copied but that's ok) of the sd card to the nand.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.