I'm trying to install OpenWrt to my EdgeRouter Pro.
I had success only with obsolete 17.0X.X releases.
All others attempts with 19/20/21/22 are finished with SQUASHFS error
and kernel panic
.
I tried to perform some manipulations from the openwrt initramfs live image and noticed that only 17.0X.X version can work with both FAT and ext3 filesystems on the /dev/mmcblk0
without errors.
E.g. here are checksums of kernel images on the first partitions:
root@LEDE:/# mkdir /p1
root@LEDE:/# mount /dev/mmcblk0p1 /p1
root@LEDE:/# md5sum /p1/vmlinux.64*
fd0f3b6941615d570a053a260f258360 /p1/vmlinux.64
8b7c9bda3a5cf1b8022bf825d665d6ac /p1/vmlinux.64.ubnt
These are the correct results, which are the same as what I get on my PC.
At this time each other initramfs gives me wrong results and sometimes errors:
#-- openwrt-22.03.0-rc1-octeon-ubnt_edgerouter-initramfs-kernel.bin
20ea1877d202cd35706200332ff471f5 /p1/vmlinux.64
8e5d63ed495562bd2522207e79448ed5 /p1/vmlinux.64.ubnt
#-- openwrt-22.03.0-rc1-octeon-generic-initramfs-kernel.bin
3439d24968d49ddbdc572e1c38e011ae /p1/vmlinux.64
badc551ea6d2b0d3daa508726b4b80c8 /p1/vmlinux.64.ubnt
#-- openwrt-19.07.9-octeon-er-initramfs-kernel.bin
[ 1177.333998] mmcblk0: response CRC error sending r/w cmd command, card status 0x900
[ 1177.341844] mmcblk0: response CRC error sending r/w cmd command, card status 0x900
[ 1177.349785] mmcblk0: response CRC error sending r/w cmd command, card status 0x900
[ 1177.357626] mmcblk0: response CRC error sending r/w cmd command, card status 0x900
[ 1177.365570] mmcblk0: response CRC error sending r/w cmd command, card status 0x900
[ 1177.373407] mmcblk0: response CRC error sending r/w cmd command, card status 0x900
[ 1177.472120] mmcblk0: response CRC error sending r/w cmd command, card status 0x900
[ 1177.479719] print_req_error: I/O error, dev mmcblk0, sector 19760
[ 1177.486195] mmcblk0: response CRC error sending r/w cmd command, card status 0x900
[ 1177.494043] mmcblk0: response CRC error sending r/w cmd command, card status 0x900
[ 1177.501985] mmcblk0: response CRC error sending r/w cmd command, card status 0x900
[ 1177.509833] mmcblk0: response CRC error sending r/w cmd command, card status 0x900
[ 1177.517775] mmcblk0: response CRC error sending r/w cmd command, card status 0x900
[ 1177.525622] mmcblk0: response CRC error sending r/w cmd command, card status 0x900
[ 1177.533227] print_req_error: I/O error, dev mmcblk0, sector 19768
Original firmware (EdgeMax) and OpenWrt 17.0X.X works good.
What's wrong with others OpenWrt releases? Or it is a hardware problem?