oe-alliance / ofgwrite

ofgwrite from Betacentauri: Based upon: mtd-utils-native-1.5.1
GNU General Public License v2.0
8 stars 16 forks source link

Problem flashing ET8500 #22

Closed AbuBaniaz closed 10 months ago

AbuBaniaz commented 10 months ago

I am trying to flash an image using Image manager in ViX 6.4 009 and get the error in attached log. Not sure if this is an image issue or ofgwrite issue.

Found /proc/mtd entries:
Device:   Size:     Erasesize:  Name:                   Image:
mtd0:     20000000  00020000    "complete"
mtd1:     00600000  00020000    "kernel"
mtd2:     0fa00000  00020000    "rootfs"
mtd3:     00600000  00020000    "kernel2"           ->  /media/hdd/imagebackups/imagerestore/et8500/kernel.bin <- User selected!!
mtd4:     0fa00000  00020000    "rootfs2"           ->  /media/hdd/imagebackups/imagerestore/et8500/rootfs.bin <- User selected!!
mtd5:     00400000  00010000    "spi0.0"
Using kernel mtd device: /dev/mtd3
Using rootfs mtd device: /dev/mtd4
Read /proc/cmdline
Kexec mode is:
Current rootfs is: ubi0:rootfs
Current kernel is:
Current root sub dir is:

Using /dev/mtd4 as rootfs device
Using /dev/mtd3 as kernel device
Flashing currently not running image
Couldn't determine kernel device size. Aborting

Enigma2_debug_2023-11-30_01-50-05.log

betacentauri commented 10 months ago

This fixes the problem: https://github.com/oe-alliance/ofgwrite/commit/259151e741d926336d4bdd37aa338fdd58e4440c I hope without negative side effects...