X96 Max+ and ceemmc -x failure

Hi. I have X96 max with s905x2 4g_1gbit. http://ix.io/4b6D
I have successfully installed CE on SD. When I tried to use the ceemmc tool I got this issue:


Install CoreELEC on eMMC.
Continue? [y]: y

Moved 'env' from offset 0x00004d400000, size 0x000000800000 to offset 0x000000400000
Moved 'misc' from offset 0x000051400000, size 0x000000800000 to offset 0x000000c00000
Moved 'logo' from offset 0x00004e400000, size 0x000000800000 to offset 0x000001400000
Moved 'dtbo' from offset 0x000052400000, size 0x000000800000 to offset 0x000001c00000

Starting to format the new 'CE_STORAGE' partition...
mke2fs 1.45.7 (28-Jan-2021)
Discarding device blocks: done
Creating filesystem with 15111168 4k blocks and 3784704 inodes
Filesystem UUID: 04334eb3-3b24-4e33-8680-b234f0034336
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424

Allocating group tables: done
Writing inode tables: done
Creating journal (65536 blocks): done
Writing superblocks and filesystem accounting information: done

Error opening file for writing '/dev/reserved'!
Failed to write the new partition table to eMMC!

ls -l

total 40
drwxr-xr-x    2 root     root          4096 Sep 21 21:48 backup
drwx------    2 root     root         16384 Aug  6  2021 lost+found
drwxrwxrwx    2 root     root          4096 Aug  6  2021 music
drwxrwxrwx    2 root     root          4096 Aug  6  2021 pictures
drwxrwxrwx    2 root     root          4096 Sep 21 20:11 screenshots
drwxrwxrwx    2 root     root          4096 Aug  6  2021 tvshows
drwxrwxrwx    2 root     root          4096 Aug  6  2021 videos
NowePudlo:~ # ls -l /sys.block
ls: /sys.block: No such file or directory
NowePudlo:~ # ls -l /sys/block
total 0
lrwxrwxrwx    1 root     root             0 Jan  1  2015 loop0 -> ../devices/virtual/block/loop0
lrwxrwxrwx    1 root     root             0 Jan  1  2015 loop1 -> ../devices/virtual/block/loop1
lrwxrwxrwx    1 root     root             0 Jan  1  2015 loop2 -> ../devices/virtual/block/loop2
lrwxrwxrwx    1 root     root             0 Jan  1  2015 loop3 -> ../devices/virtual/block/loop3
lrwxrwxrwx    1 root     root             0 Jan  1  2015 loop4 -> ../devices/virtual/block/loop4
lrwxrwxrwx    1 root     root             0 Jan  1  2015 loop5 -> ../devices/virtual/block/loop5
lrwxrwxrwx    1 root     root             0 Jan  1  2015 loop6 -> ../devices/virtual/block/loop6
lrwxrwxrwx    1 root     root             0 Jan  1  2015 loop7 -> ../devices/virtual/block/loop7
lrwxrwxrwx    1 root     root             0 Jan  1  2015 mmcblk0 -> ../devices/platform/ffe07000.emmc/mmc_host/emmc/emmc:0001/block/mmcblk0
lrwxrwxrwx    1 root     root             0 Jan  1  2015 mmcblk0boot0 -> ../devices/platform/ffe07000.emmc/mmc_host/emmc/emmc:0001/block/mmcblk0/mmcblk0boot0
lrwxrwxrwx    1 root     root             0 Jan  1  2015 mmcblk0boot1 -> ../devices/platform/ffe07000.emmc/mmc_host/emmc/emmc:0001/block/mmcblk0/mmcblk0boot1
lrwxrwxrwx    1 root     root             0 Jan  1  2015 mmcblk0rpmb -> ../devices/platform/ffe07000.emmc/mmc_host/emmc/emmc:0001/block/mmcblk0/mmcblk0rpmb
lrwxrwxrwx    1 root     root             0 Jan  1  2015 mmcblk1 -> ../devices/platform/ffe05000.sd2/mmc_host/sd/sd:59b4/block/mmcblk1

mount

devtmpfs on /dev type devtmpfs (rw,relatime,size=1901604k,nr_inodes=475401,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=763092k,nr_inodes=819200,mode=755)
/dev/mmcblk1p1 on /flash type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/loop0 on / type squashfs (ro,relatime)
/dev/mmcblk1p2 on /storage type ext4 (rw,noatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/debug type cgroup (rw,nosuid,nodev,noexec,relatime,debug)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /var type tmpfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=1907724k,nr_inodes=409600)
sunrpc on /run/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)

When I try this:

 mount -o remount,rw /flash
wget -O /flash.dtb.img "https://discourse.coreelec.org/uploads/short-url/j83hKWRQD6Og4LszyJoZ8uLVubu.dt
b"
Connecting to discourse.coreelec.org (116.203.16.118:443)
wget: can't open '/flash.dtb.img': Read-only file system

What should he do now? I don’t know if my device will start CE from SD? :frowning:

Use the nightly where this issue is fixed.

https://relkai.coreelec.org/

1 Like

It works. :slight_smile: Thank You man. You guys are doing a great job with CE. Should I now go back to the stable version on MMC?

1 Like