@deema sorry, this was caused by an omission in the commits I had pushed. I forced-pushed an update and also pushed to openwrt.git, the buildbot is munging on it in this moment:
Update: yet another small bug (caused by uncareful copy&paste on my end), caused the generated U-Boot for eMMC to contain the environment for SDMMC. Fixed now:
You can do that manually in the U-Boot shell as well. From within Linux you can write to the eMMC, but I haven’t tried writing to the boot0 hardware partition in that way (may require some extra locks to be broken).
Using the option to install to eMMC in the bootloader menu is the easiest way. If you don’t have serial access, you can trigger the installation on the next boot from within OpenWrt running from the SD Card like this:
Once this has completed, there will be images on downloads.openwrt.org containing both, the changes needed to select either SATA or PCIE1 at boot as well as fixed environment for eMMC installation.
Hello, i have a bpi-r64 (mt7622) with lede 17 snapshot instaled, i want to move to openwrt last stable 19. But i don’t understand how to install from scratch. Thanks for your reply.
Flash openwrt-mediatek-mt7622-bananapi_bpi-r64-sdcard.img to SD card (by Win32Diskimager for example). Boot from SD and flash loader by command “Install bootloader and recovery to eMMC.”. Reboot from eMMC and load sysupgrade image by tftp server (tftpd64 for example) . More information you can see there
Hi. I have solved my trouble with internet. When I power on my BPI with modem, internet appear not immediately with luci, but only after 30-40 sec. I have noted that fist time wan load with IP 192.168.100.2 but some time late it reconnect with IP witch gave modem. To speed up this process I have create script which reboot wan if it’s IP 192.168.100.2:
WANIP=$(/sbin/ifconfig wan | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')
BADIP="192.168.100.2"
if [ $WANIP = $BADIP ]
then
logger Wan Stop $WANIP
ifdown wan
sleep 10
ifup wan
logger Wan Start
fi
I putted it to: luci->system->startup->local startup
I’ve updated the OpenWrt snapshot image for the R64 one more time, now the sdcard.img comes gz compressed and already contains everything, no need to use dd on the command line.
Installation instructions are updated accordingly: