Hello,
i'm working on support for this device in openwrt vanilla. I've created an openwrt fork https://github.com/kirdesde/openwrt/tree/openwrt-19.07.
My changes are based on https://github.com/gl-inet/openwrt/commit/b2ef49741602b306b910c77288edda8dc059031f (dts, patches and so on)
I've tried to integrate the code in the cortexa53 subtarget.
Almost everything is working, except the sysupgrade after the flashing my self compiled image.
Sysupgrade tries to flash a mtd device "firmware", but the mv1000 has an emmc.
Could not open mtd device: firmware
Can't open device for writing!
Is sysupgrade even supported for an emmc device? And why is sysupgrade trying to flash mtd?
Some info about the device:
blkid
/dev/loop0: LABEL="rootfs_data" UUID="adac8dc7-4593-4934-b6b2-3677a1f64f8b" TYPE="f2fs"
/dev/mmcblk0p1: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4" PARTUUID="15862674-01"
/dev/mmcblk0p2: TYPE="squashfs" PARTUUID="15862674-02"
/dev/mmcblk0p3: UUID="de9b7a74-7cd3-41bf-a15f-253d4dc693ee" TYPE="ext4"
/dev/mmcblk0p3 is empty and can be used for data.
cat /proc/partitions
major minor #blocks name
7 0 505856 loop0
31 0 960 mtdblock0
31 1 32 mtdblock1
31 2 32 mtdblock2
179 0 7634944 mmcblk0
179 1 16640 mmcblk0p1
179 2 524544 mmcblk0p2
179 3 7091200 mmcblk0p3
179 16 4096 mmcblk0boot1
179 8 4096 mmcblk0boot0
partitions defined in the dts
partition@0 {
label = "u-boot";
reg = <0 0xf0000>;
};
partition@f0000 {
label = "u-boot-env";
reg = <0Xf0000 0x8000>;
};
art: partition@f8000 {
label = "art";
reg = <0xf8000 0x8000>;
Maybe someone can lock in the code and point me in the right direction regarding the sysupgrade + emmc?
Thanks in advance
btw: the sysupgrade problem exists also with a self compiled image from https://github.com/gl-inet/openwrt/, but not with an official image from GL.Inet.