Trying to flash regular openwrt images to emmc partitions, but was only able to find instructions for bpi R3, not R4 lite. I tried it for R4 lite with files for openwrt standard v25 rc4, but could not boot from emmc partition after that.
Here are the instructions I followed, apart from partitioning, since that had already been done by banana-pi emmc installation image.
I wonder why you are mixing openwrt and immortalwrt. Installation steps may differ. Also R3 may be different to R4 and R4Lite when it comes to offsets on nand.
Why do you not start with openwrt sdcard image and install via uboot-menu?
The immortalwrt was just part of the install instructions for R3, I’m focusing on installing openwrt 25.12 rc4.
I have not found out how to use uart, and what you suggest about sdcard image and uboot-menu, I would have to find some instructions on how to do.
I was following the install instructions on docs.bananapi official website, but they only show how to write their pre-made image to emmc, not the offical openwrt files.
I tried to get uart going with usb-c console port and minicom, but I only get junk symbols when restarting router after it is found on ttyUSB0.
You have to configure uart to 115200 baud 8n1 flow control off in your application (minicom). Then you should see something useful and then use uboot meju to install other devices (nand first and then boot from this and install emmc).
I managed to get minicom working, and got into the uboot menu.
Everything works now, successfully installed to emmc from uboot menu while booting from nand.
Thanks for great help.
I was trying to install 25.12-rc4 too but when I did the upgrade via web-ui I got this message:
Device bananapi,bpi-r4-lite not supported by this image
upgrade: Supported devices: bananapi,bpi-r4-poe bananapi,bpi-r4-2g5
Signature check OK
Image check failed.
The uploaded image file **does not contain a supported format**. Make sure that you choose the generic image format for your platform.
how did you upgrade it? Is BPI-R4-Lite supported with the official OpenWRT build? I’m using the banana image, thanks