EdgeRouter ER-8 MMC support is broken

lede-17.01.7 was the latest working version for EdgeRouter ER-8
I wonder why I haven't found any reports about this.

Starting from 18.06.0 till 19.07.9 trying to cat /dev/mmcblk0p1 | md5sum it gives lot's of errors:

mmcblk0: response CRC error sending r/w cmd command, card status 0x900
print_req_error: I/O error, dev mmcblk0, sector 2056

Starting from 21.02.0 till 23.05.0 it gives different results without errors:
(I found this because of squashfs errors (decompression failed, data probably corrupt)

root@OpenWrt:~# dd status=none if=/dev/mmcblk0p1 iflag=direct bs=4M | md5sum 
3722c6b59b1d46d9c0be08f40ea347ce  -
root@OpenWrt:~# dd status=none if=/dev/mmcblk0p1 iflag=direct bs=4M | md5sum 
555ce388342ba6b40983ec747b45037a  -
root@OpenWrt:~# dd status=none if=/dev/mmcblk0p1 iflag=direct bs=4M | md5sum 
162cea5bf3f299ba412bbc6653477e38  -
root@OpenWrt:~# dd status=none if=/dev/mmcblk0p1 iflag=direct bs=4M | md5sum 
5f2436c6af801fa20d5308a6431d455a  -

I tried to compare changes in device tree but

# find /proc/device-tree/soc@0/mmc@1180000002000 -type f -exec md5sum {} \;

gives the same results on 17.01.7 and on 23.05.0

I tried to compare changes between v17.01.7 and v18.06.0 (the first release mmc support was broken) but there are no changes in 150-mmc-octeon-add-host-driver-for-octeon-mmc-controller.patch

soc@0/mmc@1180000002000/mmc-slot@0/spi-max-frequency gives 52000000 on all versions of openwrt I tested and original firmware.
But quartz near emmc has 50.000 inscription:


Could this be an issue?

Any help is much appreciated.

If you don’t hear anyone else in a empty room for 6years, then you are pretty much the only one in the room…

Even though Edgerouter is fine routers and I have a ER4 myself (at least for now) they are a steady dying device.

Was the ER-8 ever supported?

Looking through the edgerouter commits on the openwrt git:

There's a single mention of MMC support for the ER8 (Wrong Name) in 2015 and nothing else.
If we go to the Wiki, there's a broken entry for the Edgerouter:

Plus another for the Edgerouter Pro

But there's builds up to 24.10.1 for the edgerouter

ah, found the git report:

Not true I have both an EdgeRouter and an EdgeRouter Pro that were last used with OpenWrt 19.07.4. There are images available for 24.10.1 at edgerouter-squashfs-sysupgrade.tar, but I haven't tried them yet. I'd have to dig the devices out of my closet to confirm if the latest still functions. Both devices use the same image.

1 Like

For those who didn't follow the github side:

I created a patch to hopefully fixes the issue.

Builds are available at: https://tmp.sur5r.net/openwrt-ubnt/

Please test and report back. If possible, please test whether sysupgrade works as expected (see #16238).

Remember not to use ASU/OWUT as that will revert you back to a non-patched build.

Working out the details for all 3 builds took longer than expected, so I couldn't test all upgrade scenarios myself yet.

1 Like