[R64] Mainline OpenWRT image

I’ve managed to create an image from master branch which is able to persist settings after reboot.

Source: https://github.com/graphine27/openwrt/tree/r64-emmc

Select ext4 as target images, set 20MB kernel partition size, 100 MB rootfs size in menuconfig.

To flash fullimage (includes GPT, Preloader, ATF):

dd of=/dev/mmcblk0 bs=512 seek=0 if=openwrt-mediatek-mt7622-bpi_bananapi-r64-rootdisk-ext4-fullimage-emmc.img

To flash sysupgrade.bin (can also be used from luci, backup config works):

dd of=/dev/mmcblk0 bs=512 seek=4096 if=openwrt-mediatek-mt7622-bpi_bananapi-r64-rootdisk-ext4-sysupgrade-emmc.bin

1 Like

Source will be great :slight_smile:

As soon as I will have the build system generate correct image, right now it’s stitched together manually.

@frank-w Sources uploaded.

1 Like

How do I do it? I can compile it here, but I don’t know how to set it up. Can you give me some advice?