So, I don’t know how they deliver the BPI-R4 now. But mine didn’t have anything pre-installed. I downloaded the snapshot version (you don’t need it any more because 24.10 officially supports the BPI-R4) and wrote it to an SD card. Then I connected an FTDI-USB 3V3 adapter to the board and connected via Putty. Boot from the SD card and then select point 7. This should write the image to the NAND. If you don’t want this, then you have to go another way. But there are enough instructions for this.
just flash an sdcard with a OS you want (mainline openwrt also supports bpi-r4)…i would not rely on the old bpi-OS (afair modified openwrt 21.x with kernel 5.4)
Yes both switches are set to boot from sdcard. It boots fine from sdcard.
With both switches set to up nothing happens. No activity on any ports so I presume the BP4 came with nothing installed.
Also it would be goot connecting debug-uart
I hope that I would have mended this by the time I have ordered a debug-uart and had it delivered. because it would take weeks. Press or something you cannot get them locally here . In fact I can’t get anything electrical here.
to be frank, there should be a way of just copying an image of openWRT onto an SD card, booting off the SD card, and letting openWRT install onto an internal flash disc.
Afaik you can use fw_setenv from within openwrt userspace to allow uboot doing the stuff auromaticly,but without see anything imho no good way. Also you can manually install openwrt from running sdcard system
Their articles miss out some important steps.
I think I have put these down below, but am not too sure.
I think they want me to:
Boot from the OpenWrt SDcard image.
SSH into the server.
Run: fw_setenv bootcmd “env default bootcmd ; saveenv ; run ubi_init ; bootmenu 0”
→ Does this part install openwrt onto the NAND?
Turn the server off.
Change the dip switches on the side from “boot sdcard” to “boot nand disc”.
Turn the server on.
At this point the server might boot from somewhere and hopefully install the O/S onto the NAND disc ( This bit has lost be because the logic seems wrong).
However, the bananapi.org instructions really lost me:
Copy Nand boot OpenWrt image(mtk-bpi-r4-NAND-20231030.img) to USB disk.*
I think the Bananapi.org instructions presume that the BP4 comes pre-installed with an image, which was not the case for some of us as I have read on this forum.