Finally got the time to sit down and do this re-installation.
Followed your procedure and it's all good. Booting now from internal with 9.2.
Thank you so much for your help.
Posts by WP2_Matt_EIRE13
-
-
Thanks for the explanation.
Is this the non standard location?
Since the Wetek Play 2 won't be able to play HDR or DV, I think I will keep it for its DVB-S tuner in a corner or my house as recommended at the beginning of this thread.
And since the SD latch is now broken, booting from SD is only an option if I put a thick piece of tape or something to hold it in permanently.
Any possibilities of using a USB stick? And shall I revert back to LE9 to have the tuner support?
-
-
I have been trying a whole lot of different procedures, it will only boot when the SD in held in, and when it manages to boot there's no control over whether it starts from EMMC or SD.
The instructions seem pretty straightforward and so far I don't see where I'm making a mistake:Codecd /storage wget https://chewitt.libreelec.tv/testing/LibreELEC-AMLGX.arm-10.0.0-wetek-play2.img.gz emmctool w LibreELEC-AMLGX.arm-10.0.0-wetek-play2.img.gz dd if=/storage/u-boot.bin.sd.bin-wetek-play2 of=/dev/mmcblk1
Then reboot without SD should have Llibreelec start from internal EMMC. Or is there something else to do?
FYI - I tried toggling boot loader with the remote's power button just in case as well
-
I wonder if there isn't something else going.
It booted from internal storage (SD card was out) and I checked the storage size in Kodi. All good.
I started my configuration then I decided to stop and powered the wetek play 2 off.It never booted back from eMMC the next time I powered it on.
Then I went through the procedure again, and the emmctool seems at times to modify incorrectly labels:
- emmctool w img-file
- emmctool u u-boot.bin-file
Reboot, impossible to boot from internal, re-insert SD card then boot prompt with error about not finding the partition with the LABEL LIBREELEC.
Re-flash the img onto the SD, boot again, SSH to the box, tried using DD for the u-boot, still nope.
What I've noticed is that the sector are not modified between emmctool w and emmctool u:
Zeroed: OK
Code
Display MoreLibreELEC:~ # emmctool z info: zeroing /dev/mmcblk1, be patient, this will take time dd: error writing '/dev/mmcblk1': No space left on device 7457+0 records in 7456+0 records out 7818182656 bytes (7.3GB) copied, 859.829173 seconds, 8.7MB/s info: zeroing complete LibreELEC:~ # dd if=/dev/mmcblk1 bs=512 count=1 | hexdump -C 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000200 1+0 records in 1+0 records out 512 bytes (512B) copied, 0.001390 seconds, 359.7KB/s
emmctool u
Code
Display MoreLibreELEC:~ # emmctool u u-boot.bin.sd.bin-wetek-play2 info: writing u-boot.bin.sd.bin-wetek-play2 to /dev/mmcblk1 444+0 records in 444+0 records out 444 bytes (444B) copied, 0.301864 seconds, 1.4KB/s 1792+0 records in 1792+0 records out 917504 bytes (896.0KB) copied, 2.308208 seconds, 388.2KB/s LibreELEC:~ # dd if=/dev/mmcblk1 bs=512 count=1 | hexdump -C 00000000 17 72 b3 b3 11 dc b8 45 2f d6 6c 50 f0 b2 4c 7f |.r.....E/.lP..L.| 00000010 19 2a 3b 4e 6b 90 61 1e 7f a3 1d 9f d9 93 ad f0 |.*;Nk.a.........| 00000020 06 61 a3 17 3d 5b 5c 6c 32 c9 bd 22 7b 09 a2 94 |.a..=[\l2.."{...| 00000030 33 dd e3 9e 6d 44 bc ec e8 da 8c c1 6d 39 b2 73 |3...mD......m9.s| 00000040 9a 55 8a d8 b1 e7 44 e3 b0 01 05 2b 0a a7 c0 3d |.U....D....+...=| 1+0 records in 1+0 records out 00000050 84 a3 dc f1 e7 98 de cf 72 6a 91 e0 a3 43 53 3e |........rj...CS>| 512 bytes (512B) copied, 00000060 98 de 16 49 c5 5a 2c 75 5c 32 a0 66 d9 60 a4 5e |...I.Z,u\2.f.`.^| 0.001555 seconds, 321.5KB/s 00000070 03 80 4f eb 18 2d ba 8b 97 4b 6b 3b 8e be 79 27 |..O..-...Kk;..y'| 00000080 9c 8f 70 61 e9 9d d6 45 cf 77 ac a8 d7 50 06 db |..pa...E.w...P..| 00000090 d0 56 c6 e8 83 80 73 1b cc de 56 5a 9d cf 81 39 |.V....s...VZ...9| 000000a0 5e f2 9b 47 8f 71 8d 5e e8 39 06 c0 89 0d 9b 59 |^..G.q.^.9.....Y| 000000b0 63 61 41 e6 e1 b5 01 ad 93 57 08 30 26 89 6a 84 |caA......W.0&.j.| 000000c0 7b 05 cc 0a 76 59 68 5f 92 6f 1f 1b 7c ba 74 df |{...vYh_.o..|.t.| 000000d0 1b b5 c5 fc 6a c7 aa fe 1e b2 2e 45 3b 98 c9 b7 |....j......E;...| 000000e0 9d 95 c1 14 ee 2a 73 80 99 92 9b 15 4c 0f f4 67 |.....*s.....L..g| 000000f0 c5 b9 63 2f 80 0d 2d 9f bf 5c e4 fb f4 ad b2 92 |..c/..-..\......| 00000100 43 73 a6 31 9d 19 b2 36 ab 4d 4b f7 5d 3f 5e 22 |Cs.1...6.MK.]?^"| 00000110 f9 c1 51 79 cf 7f 18 8e db fc 89 cf aa 3b 61 ed |..Qy.........;a.| 00000120 af 07 1e 4c 20 d0 83 cb 1e ce c2 7b 0e 20 9d 07 |...L ......{. ..| 00000130 e2 ee 80 b1 6d 99 3f 48 95 c9 18 3f 04 79 2c b3 |....m.?H...?.y,.| 00000140 81 4b 00 a1 1b 83 6d 39 51 2f b4 5f 50 51 66 32 |.K....m9Q/._PQf2| 00000150 40 e7 e3 ad 80 22 f6 15 eb 0e 55 f0 87 81 a3 08 |@...."....U.....| 00000160 cc a3 aa e8 26 17 21 78 46 d6 d7 96 27 3e c8 67 |....&.!xF...'>.g| 00000170 25 ab 15 a5 ce 0b ba b9 19 0f a9 a0 91 4d a9 5d |%............M.]| 00000180 f0 53 45 17 6a 67 8f b0 3d 66 47 64 a4 0f cc c9 |.SE.jg..=fGd....| 00000190 bb e1 6e 89 ec 29 42 05 38 ec a5 c9 39 4e 27 29 |..n..)B.8...9N')| 000001a0 a1 6c 40 0b d3 cf bc 10 36 03 75 da 12 41 a4 cd |[email protected]..| 000001b0 22 12 56 0e 3b 99 13 74 85 b8 3d be 00 00 00 00 |".V.;..t..=.....| 000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000200 LibreELEC:~ # emmctool i info: boot device is /dev/mmcblk0, U-boot version is 2021.07 info: emmc device is /dev/mmcblk1, U-boot version is 2021.07 Error: /dev/mmcblk1: unrecognised disk label Model: MMC 8WPD3R (sd/mmc) Disk /dev/mmcblk1: 7818MB Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags: LibreELEC:~ # parted -l Error: /dev/mmcblk1boot0: unrecognised disk label Model: Generic SD/MMC Storage Card (sd/mmc) Disk /dev/mmcblk1boot0: 4194kB Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags: Model: SD SP128 (sd/mmc) Disk /dev/mmcblk0: 128GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 4194kB 541MB 537MB primary fat16 boot, lba 2 541MB 128GB 127GB primary ext4 Error: /dev/mmcblk1boot1: unrecognised disk label Model: Generic SD/MMC Storage Card (sd/mmc) Disk /dev/mmcblk1boot1: 4194kB Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags: Error: /dev/mmcblk1: unrecognised disk label Model: MMC 8WPD3R (sd/mmc) Disk /dev/mmcblk1: 7818MB Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags:
emmctool w
Code
Display MoreLibreELEC:~ # emmctool w LibreELEC-AMLGX.arm-10.0.0-wetek-play2.img.gz info: writing LibreELEC-AMLGX.arm-10.0.0-wetek-play2.img.gz to /dev/mmcblk1 0+15506 records in 0+15506 records out 575668224 bytes (549.0MB) copied, 73.327126 seconds, 7.5MB/s info: resizing partition /dev/mmcblk1p2 to 100% info: unmounting /dev/mmcblk1p2 info: unmounting /dev/mmcblk1p1 info: checking filesystem e2fsck 1.45.6 (20-Mar-2020) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information STORAGE: 12/8192 files (0.0% non-contiguous), 5914/32768 blocks info: resizing filesystem resize2fs 1.45.6 (20-Mar-2020) Resizing the filesystem on /dev/mmcblk1p2 to 7106560 (1k) blocks. The filesystem on /dev/mmcblk1p2 is now 7106560 (1k) blocks long. info: remounting /dev/mmcblk1p2 to /var/media/STORAGE Model: MMC 8WPD3R (sd/mmc) Disk /dev/mmcblk1: 7818MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 4194kB 541MB 537MB primary fat16 boot, lba 2 541MB 7818MB 7277MB primary ext4 info: using boot=LABEL=EMMC_BOOT and disk=LABEL=EMMC_DISK info: unmounting /dev/mmcblk1p2 info: changing label values on partitions info: remounting /dev/mmcblk1p1 to /var/media/EMMC_BOOT info: remounting /dev/mmcblk1p2 to /var/media/EMMC_DISK info: changing label values in extlinux.conf /dev/mmcblk1p1: SEC_TYPE="msdos" LABEL_FATBOOT="EMMC_BOOT" LABEL="EMMC_BOOT" UUID="3008-3941" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="be3db885-01" /dev/mmcblk1p2: LABEL="EMMC_DISK" UUID="fe5c43a8-62fc-46a9-bb79-6ffe94c91a5b" BLOCK_SIZE="1024" TYPE="ext4" PARTUUID="be3db885-02" LABEL LibreELEC LINUX /KERNEL FDT /meson-gxbb-wetek-play2.dtb APPEND boot=LABEL=EMMC_BOOT disk=LABEL=EMMC_DISK quiet systemd.debug_shell=ttyAML0 console=ttyAML0,115200n8 console=tty0 LibreELEC:~ # dd if=/dev/mmcblk1 bs=512 count=1 | hexdump -C 1+0 records in 1+0 records out 512 bytes (512B) copied, 0.000132 seconds, 3.7MB/s 00000000 17 72 b3 b3 11 dc b8 45 2f d6 6c 50 f0 b2 4c 7f |.r.....E/.lP..L.| 00000010 19 2a 3b 4e 6b 90 61 1e 7f a3 1d 9f d9 93 ad f0 |.*;Nk.a.........| 00000020 06 61 a3 17 3d 5b 5c 6c 32 c9 bd 22 7b 09 a2 94 |.a..=[\l2.."{...| 00000030 33 dd e3 9e 6d 44 bc ec e8 da 8c c1 6d 39 b2 73 |3...mD......m9.s| 00000040 9a 55 8a d8 b1 e7 44 e3 b0 01 05 2b 0a a7 c0 3d |.U....D....+...=| 00000050 84 a3 dc f1 e7 98 de cf 72 6a 91 e0 a3 43 53 3e |........rj...CS>| 00000060 98 de 16 49 c5 5a 2c 75 5c 32 a0 66 d9 60 a4 5e |...I.Z,u\2.f.`.^| 00000070 03 80 4f eb 18 2d ba 8b 97 4b 6b 3b 8e be 79 27 |..O..-...Kk;..y'| 00000080 9c 8f 70 61 e9 9d d6 45 cf 77 ac a8 d7 50 06 db |..pa...E.w...P..| 00000090 d0 56 c6 e8 83 80 73 1b cc de 56 5a 9d cf 81 39 |.V....s...VZ...9| 000000a0 5e f2 9b 47 8f 71 8d 5e e8 39 06 c0 89 0d 9b 59 |^..G.q.^.9.....Y| 000000b0 63 61 41 e6 e1 b5 01 ad 93 57 08 30 26 89 6a 84 |caA......W.0&.j.| 000000c0 7b 05 cc 0a 76 59 68 5f 92 6f 1f 1b 7c ba 74 df |{...vYh_.o..|.t.| 000000d0 1b b5 c5 fc 6a c7 aa fe 1e b2 2e 45 3b 98 c9 b7 |....j......E;...| 000000e0 9d 95 c1 14 ee 2a 73 80 99 92 9b 15 4c 0f f4 67 |.....*s.....L..g| 000000f0 c5 b9 63 2f 80 0d 2d 9f bf 5c e4 fb f4 ad b2 92 |..c/..-..\......| 00000100 43 73 a6 31 9d 19 b2 36 ab 4d 4b f7 5d 3f 5e 22 |Cs.1...6.MK.]?^"| 00000110 f9 c1 51 79 cf 7f 18 8e db fc 89 cf aa 3b 61 ed |..Qy.........;a.| 00000120 af 07 1e 4c 20 d0 83 cb 1e ce c2 7b 0e 20 9d 07 |...L ......{. ..| 00000130 e2 ee 80 b1 6d 99 3f 48 95 c9 18 3f 04 79 2c b3 |....m.?H...?.y,.| 00000140 81 4b 00 a1 1b 83 6d 39 51 2f b4 5f 50 51 66 32 |.K....m9Q/._PQf2| 00000150 40 e7 e3 ad 80 22 f6 15 eb 0e 55 f0 87 81 a3 08 |@...."....U.....| 00000160 cc a3 aa e8 26 17 21 78 46 d6 d7 96 27 3e c8 67 |....&.!xF...'>.g| 00000170 25 ab 15 a5 ce 0b ba b9 19 0f a9 a0 91 4d a9 5d |%............M.]| 00000180 f0 53 45 17 6a 67 8f b0 3d 66 47 64 a4 0f cc c9 |.SE.jg..=fGd....| 00000190 bb e1 6e 89 ec 29 42 05 38 ec a5 c9 39 4e 27 29 |..n..)B.8...9N')| 000001a0 a1 6c 40 0b d3 cf bc 10 36 03 75 da 12 41 a4 cd |[email protected]..| 000001b0 22 12 56 0e 3b 99 13 74 85 b8 3d be 00 00 80 00 |".V.;..t..=.....| 000001c0 01 40 0c 03 e0 ff 00 20 00 00 00 00 10 00 00 03 |.@..... ........| 000001d0 e0 ff 83 fe c2 ff 00 20 10 00 00 e0 d8 00 00 00 |....... ........| 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00000200
dd u-boot file
Code
Display MoreLibreELEC:~ # dd if=/storage/u-boot.bin.sd.bin-wetek-play2 of=/dev/mmcblk1 1793+0 records in 1793+0 records out 918016 bytes (896.5KB) copied, 0.025546 seconds, 34.3MB/s LibreELEC:~ # emmctool i info: boot device is /dev/mmcblk0, U-boot version is 2021.07 info: emmc device is /dev/mmcblk1, U-boot version is 2021.07 Error: /dev/mmcblk1: unrecognised disk label Model: MMC 8WPD3R (sd/mmc) Disk /dev/mmcblk1: 7818MB Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags: LibreELEC:~ # dd if=/dev/mmcblk1 bs=512 count=1 | hexdump -C 1+0 records in 1+0 records out 512 bytes (512B) copied, 0.000126 seconds, 3.9MB/s 00000000 17 72 b3 b3 11 dc b8 45 2f d6 6c 50 f0 b2 4c 7f |.r.....E/.lP..L.| 00000010 19 2a 3b 4e 6b 90 61 1e 7f a3 1d 9f d9 93 ad f0 |.*;Nk.a.........| 00000020 06 61 a3 17 3d 5b 5c 6c 32 c9 bd 22 7b 09 a2 94 |.a..=[\l2.."{...| 00000030 33 dd e3 9e 6d 44 bc ec e8 da 8c c1 6d 39 b2 73 |3...mD......m9.s| 00000040 9a 55 8a d8 b1 e7 44 e3 b0 01 05 2b 0a a7 c0 3d |.U....D....+...=| 00000050 84 a3 dc f1 e7 98 de cf 72 6a 91 e0 a3 43 53 3e |........rj...CS>| 00000060 98 de 16 49 c5 5a 2c 75 5c 32 a0 66 d9 60 a4 5e |...I.Z,u\2.f.`.^| 00000070 03 80 4f eb 18 2d ba 8b 97 4b 6b 3b 8e be 79 27 |..O..-...Kk;..y'| 00000080 9c 8f 70 61 e9 9d d6 45 cf 77 ac a8 d7 50 06 db |..pa...E.w...P..| 00000090 d0 56 c6 e8 83 80 73 1b cc de 56 5a 9d cf 81 39 |.V....s...VZ...9| 000000a0 5e f2 9b 47 8f 71 8d 5e e8 39 06 c0 89 0d 9b 59 |^..G.q.^.9.....Y| 000000b0 63 61 41 e6 e1 b5 01 ad 93 57 08 30 26 89 6a 84 |caA......W.0&.j.| 000000c0 7b 05 cc 0a 76 59 68 5f 92 6f 1f 1b 7c ba 74 df |{...vYh_.o..|.t.| 000000d0 1b b5 c5 fc 6a c7 aa fe 1e b2 2e 45 3b 98 c9 b7 |....j......E;...| 000000e0 9d 95 c1 14 ee 2a 73 80 99 92 9b 15 4c 0f f4 67 |.....*s.....L..g| 000000f0 c5 b9 63 2f 80 0d 2d 9f bf 5c e4 fb f4 ad b2 92 |..c/..-..\......| 00000100 43 73 a6 31 9d 19 b2 36 ab 4d 4b f7 5d 3f 5e 22 |Cs.1...6.MK.]?^"| 00000110 f9 c1 51 79 cf 7f 18 8e db fc 89 cf aa 3b 61 ed |..Qy.........;a.| 00000120 af 07 1e 4c 20 d0 83 cb 1e ce c2 7b 0e 20 9d 07 |...L ......{. ..| 00000130 e2 ee 80 b1 6d 99 3f 48 95 c9 18 3f 04 79 2c b3 |....m.?H...?.y,.| 00000140 81 4b 00 a1 1b 83 6d 39 51 2f b4 5f 50 51 66 32 |.K....m9Q/._PQf2| 00000150 40 e7 e3 ad 80 22 f6 15 eb 0e 55 f0 87 81 a3 08 |@...."....U.....| 00000160 cc a3 aa e8 26 17 21 78 46 d6 d7 96 27 3e c8 67 |....&.!xF...'>.g| 00000170 25 ab 15 a5 ce 0b ba b9 19 0f a9 a0 91 4d a9 5d |%............M.]| 00000180 f0 53 45 17 6a 67 8f b0 3d 66 47 64 a4 0f cc c9 |.SE.jg..=fGd....| 00000190 bb e1 6e 89 ec 29 42 05 38 ec a5 c9 39 4e 27 29 |..n..)B.8...9N')| 000001a0 a1 6c 40 0b d3 cf bc 10 36 03 75 da 12 41 a4 cd |[email protected]..| 000001b0 22 12 56 0e 3b 99 13 74 85 b8 3d be 07 64 e7 a8 |".V.;..t..=..d..| 000001c0 d1 28 b4 a4 f7 70 b5 2d 73 2a 08 85 6b ac 53 8d |.(...p.-s*..k.S.| 000001d0 be a9 9b fa 42 ae 6e c7 66 ab 85 6d 10 6d 16 e1 |....B.n.f..m.m..| 000001e0 95 ca 85 8c 3a 3a ba ad 64 c2 32 cf 6e 85 5c 2c |....::..d.2.n.\,| 000001f0 2f f7 26 71 a5 94 39 0c 40 be 79 50 2b 8f 31 c0 |/.&[email protected]+.1.| 00000200
None of the 3 scenarios allow me to boot from internal for now. Not sure which wizardry occurred when it booted for just one time
-
Hooray!! I got it booting from internal storage after a dozen attempts. Thought there is no sound which is strange as when I booted from the SD sound was working perfectly out of the box. I'll try to figure it out.
Here the extract of what I did on my final attempt that worked:
Code
Display MoreLibreELEC:~ # Connection to 192.168.100.169 closed by remote host. Connection to 192.168.100.169 closed. matthew@Matthews-Mini ~ % ssh [email protected] [email protected]'s password: ############################################## # LibreELEC # # https://libreelec.tv # ############################################## LibreELEC (chewitt): 10.0.0 (AMLGX.arm) LibreELEC:~ # cd /storage/ LibreELEC:~ # emmctool z info: zeroing /dev/mmcblk1, be patient, this will take time dd: error writing '/dev/mmcblk1': No space left on device 7457+0 records in 7456+0 records out 7818182656 bytes (7.3GB) copied, 868.920964 seconds, 8.6MB/s info: zeroing complete LibreELEC:~ # emmctool u u-boot.bin.sd.bin-wetek-play2 info: writing u-boot.bin.sd.bin-wetek-play2 to /dev/mmcblk1 444+0 records in 444+0 records out 444 bytes (444B) copied, 1.291937 seconds, 343B/s 1792+0 records in 1792+0 records out 917504 bytes (896.0KB) copied, 1.326097 seconds, 675.7KB/s LibreELEC:~ # emmctool w LibreELEC-AMLGX.arm-10.0.0-wetek-play2.img.gz info: writing LibreELEC-AMLGX.arm-10.0.0-wetek-play2.img.gz to /dev/mmcblk1 0+15528 records in 0+15528 records out 575668224 bytes (549.0MB) copied, 74.178785 seconds, 7.4MB/s info: resizing partition /dev/mmcblk1p2 to 100% info: unmounting /dev/mmcblk1p2 info: unmounting /dev/mmcblk1p1 info: checking filesystem e2fsck 1.45.6 (20-Mar-2020) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information STORAGE: 12/8192 files (0.0% non-contiguous), 5914/32768 blocks info: resizing filesystem resize2fs 1.45.6 (20-Mar-2020) Resizing the filesystem on /dev/mmcblk1p2 to 7106560 (1k) blocks. The filesystem on /dev/mmcblk1p2 is now 7106560 (1k) blocks long. info: remounting /dev/mmcblk1p2 to /var/media/STORAGE Model: MMC 8WPD3R (sd/mmc) Disk /dev/mmcblk1: 7818MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 4194kB 541MB 537MB primary fat16 boot, lba 2 541MB 7818MB 7277MB primary ext4 info: using boot=LABEL=EMMC_BOOT and disk=LABEL=EMMC_DISK info: unmounting /dev/mmcblk1p2 info: changing label values on partitions info: remounting /dev/mmcblk1p1 to /var/media/EMMC_BOOT info: remounting /dev/mmcblk1p2 to /var/media/EMMC_DISK info: changing label values in extlinux.conf /dev/mmcblk1p1: SEC_TYPE="msdos" LABEL_FATBOOT="EMMC_BOOT" LABEL="EMMC_BOOT" UUID="3008-3941" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="be3db885-01" /dev/mmcblk1p2: LABEL="EMMC_DISK" UUID="fe5c43a8-62fc-46a9-bb79-6ffe94c91a5b" BLOCK_SIZE="1024" TYPE="ext4" PARTUUID="be3db885-02" LABEL LibreELEC LINUX /KERNEL FDT /meson-gxbb-wetek-play2.dtb APPEND boot=LABEL=EMMC_BOOT disk=LABEL=EMMC_DISK quiet systemd.debug_shell=ttyAML0 console=ttyAML0,115200n8 console=tty0 LibreELEC:~ # ls /var/media/EMMC_BOOT/ KERNEL SYSTEM.md5 KERNEL.md5 extlinux SYSTEM meson-gxbb-wetek-play2.dtb LibreELEC:~ # ls /var/media/EMMC_ EMMC_BOOT/ EMMC_DISK/ LibreELEC:~ # ls /var/media/EMMC_DISK/ lost+found LibreELEC:~ # cd /var/media/EMMC_DISK/ LibreELEC:/var/media/EMMC_DISK # cd ../EMMC_BOOT/ LibreELEC:/var/media/EMMC_BOOT # ls KERNEL SYSTEM.md5 KERNEL.md5 extlinux SYSTEM meson-gxbb-wetek-play2.dtb LibreELEC:/var/media/EMMC_BOOT # cat extlinux/extlinux.conf LABEL LibreELEC LINUX /KERNEL FDT /meson-gxbb-wetek-play2.dtb APPEND boot=LABEL=EMMC_BOOT disk=LABEL=EMMC_DISK quiet systemd.debug_shell=ttyAML0 console=ttyAML0,115200n8 console=tty0 LibreELEC:/var/media/EMMC_BOOT # lsblk -sh: lsblk: not found LibreELEC:/var/media/EMMC_BOOT # emmctool i info: boot device is /dev/mmcblk0, U-boot version is 2021.07 info: emmc device is /dev/mmcblk1, U-boot version is 2021.07 Model: MMC 8WPD3R (sd/mmc) Disk /dev/mmcblk1: 7818MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 4194kB 541MB 537MB primary fat16 boot, lba 2 541MB 7818MB 7277MB primary ext4 LibreELEC:/var/media/EMMC_BOOT # emmctool d info: rebinding d0074000.mmc Model: MMC 8WPD3R (sd/mmc) Disk /dev/mmcblk1: 7818MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 4194kB 541MB 537MB primary fat16 boot, lba 2 541MB 7818MB 7277MB primary ext4 LibreELEC:/ # cd /storage/ LibreELEC:~ # emmctool l info: using boot=LABEL=EMMC_BOOT and disk=LABEL=EMMC_DISK info: unmounting /dev/mmcblk1p1 info: unmounting /dev/mmcblk1p1 umount: can't unmount /dev/mmcblk1p1: Invalid argument info: unmounting /dev/mmcblk1p2 info: changing label values on partitions info: remounting /dev/mmcblk1p1 to /var/media/EMMC_BOOT info: remounting /dev/mmcblk1p2 to /var/media/EMMC_DISK info: changing label values in extlinux.conf /dev/mmcblk1p1: SEC_TYPE="msdos" LABEL_FATBOOT="EMMC_BOOT" LABEL="EMMC_BOOT" UUID="3008-3941" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="be3db885-01" /dev/mmcblk1p2: LABEL="EMMC_DISK" UUID="fe5c43a8-62fc-46a9-bb79-6ffe94c91a5b" BLOCK_SIZE="1024" TYPE="ext4" PARTUUID="be3db885-02" LABEL LibreELEC LINUX /KERNEL FDT /meson-gxbb-wetek-play2.dtb APPEND boot=LABEL=EMMC_BOOT disk=LABEL=EMMC_DISK quiet systemd.debug_shell=ttyAML0 console=ttyAML0,115200n8 console=tty0 LibreELEC:~ # emmctool i info: boot device is /dev/mmcblk0, U-boot version is 2021.07 info: emmc device is /dev/mmcblk1, U-boot version is 2021.07 Model: MMC 8WPD3R (sd/mmc) Disk /dev/mmcblk1: 7818MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 4194kB 541MB 537MB primary fat16 boot, lba 2 541MB 7818MB 7277MB primary ext4 LibreELEC:~ # Connection to 192.168.100.169 closed by remote host. Connection to 192.168.100.169 closed.
What is strange is dd did not work
Unless I miss-read, dd without options should not offset or seek. If the command is correct, I took an strace just in case if you need it.
I'll dig into the sound issue and will let you know.
Thanks a lot!
How can I send you beers or coffee over?
-
No worries, these things happen.
just so I don't do a mistake, what do you mean by write the "wetek-play2" image to an SD card and leave it connected? Are you referring to your builds? Today I couldn't boot back to the SD after the erasure. ( I did find a way to keep the SD in place by the way).
I'm off to bed as it is the time on this side of the world and will try to sort it out tomorrow with fresh eyes
Thanks again for your assistance -
I might of messed up something: blank display and cannot get to boot back to SD.
Though the output seemed ok...
Code
Display MoreLibreELEC-Wetek2:~ # cd /storage LibreELEC-Wetek2:~ # wget https://chewitt.libreelec.tv/testing/LibreELEC-AMLGX.arm-10.0.0-wetek-play2.img.gz Connecting to chewitt.libreelec.tv (138.68.75.163:443) LibreELEC-AMLGX.arm- 100% |**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************| 111M 0:00:00 ETA LibreELEC-Wetek2:~ # emmctool w LibreELEC-AMLGX.arm-10.0.0-wetek-play2.img.gz -sh: emmctool: not found LibreELEC-Wetek2:~ # wget https://github.com/LibreELEC/LibreELEC.tv/blob/23234b9faad1b2e4a1dc2b98930d62cbdf76a83a/projects/Amlogic/filesystem/usr/bin/emmctool Connecting to github.com (13.237.44.5:443) emmctool 100% |**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************| 191k 0:00:00 ETA LibreELEC-Wetek2:~ # ./emmctool w LibreELEC-AMLGX.arm-10.0.0-wetek-play2.img.gz ./emmctool: line 184: dtname: not found Your device is not supported! LibreELEC-Wetek2:~ # vi emmctool LibreELEC-Wetek2:~ # dtname -sh: dtname: not found LibreELEC-Wetek2:~ # /usr/bin/dtname -sh: /usr/bin/dtname: not found LibreELEC-Wetek2:~ # DTNAME=$(cat /proc/device-tree/compatible | cut -f1,2 -d',' | head -n 1) LibreELEC-Wetek2:~ # cat /proc/device-tree/compatible | cut -f1,2 -d',' | head -n 1 amlogic, Gxbb LibreELEC-Wetek2:~ # vi emmctool LibreELEC-Wetek2:~ # ./emmctool w LibreELEC-AMLGX.arm-10.0.0-wetek-play2.img.gz info: writing LibreELEC-AMLGX.arm-10.0.0-wetek-play2.img.gz to /dev/mmcblk1 0+13365 records in 0+13365 records out 575668224 bytes (549.0MB) copied, 70.344744 seconds, 7.8MB/s info: resizing partition /dev/mmcblk1p2 to 100% info: unmounting /dev/mmcblk1p2 info: unmounting /dev/mmcblk1p1 info: checking filesystem e2fsck 1.43.9 (8-Feb-2018) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information STORAGE: 12/8192 files (0.0% non-contiguous), 5914/32768 blocks info: resizing filesystem resize2fs 1.43.9 (8-Feb-2018) Resizing the filesystem on /dev/mmcblk1p2 to 7106560 (1k) blocks. The filesystem on /dev/mmcblk1p2 is now 7106560 (1k) blocks long. info: remounting /dev/mmcblk1p2 to /var/media/STORAGE Model: MMC 8WPD3R (sd/mmc) Disk /dev/mmcblk1: 7818MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 4194kB 541MB 537MB primary fat16 boot, lba 2 541MB 7818MB 7277MB primary ext4 info: using boot=LABEL=EMMC_BOOT and disk=LABEL=EMMC_DISK info: unmounting /dev/mmcblk1p2 info: changing label values on partitions info: remounting /dev/mmcblk1p1 to /var/media/EMMC_BOOT info: remounting /dev/mmcblk1p2 to /var/media/EMMC_DISK info: changing label values in extlinux.conf /dev/mmcblk1p1: SEC_TYPE="msdos" LABEL="EMMC_BOOT" UUID="3008-3941" TYPE="vfat" PARTUUID="be3db885-01" /dev/mmcblk1p2: LABEL="EMMC_DISK" UUID="fe5c43a8-62fc-46a9-bb79-6ffe94c91a5b" TYPE="ext4" PARTUUID="be3db885-02" LABEL LibreELEC LINUX /KERNEL FDT /meson-gxbb-wetek-play2.dtb APPEND boot=LABEL=EMMC_BOOT disk=LABEL=EMMC_DISK quiet systemd.debug_shell=ttyAML0 console=ttyAML0,115200n8 console=tty0
-
Thanks for this chewitt.
Is it only a simple dd to the eMMC from the downloaded img file or is there something more to do within bash of LE9.0.2 once booted? -
Tried all 3 USB ports with no luck. (used new USB key and tested with both the version 10 you shared and LE9.0.2).
Would the internal port be worth a try?
I tested holding the SD card in and it manages to boot on my previous install. The moment I let go, the SD is out and disconnected. However, using another SD card, I cannot boot your version 10.
Since the WeOS is out of date and rubbish, I'm thinking if I could get it working with latest, I could wipe the EMMC and run LE from internal only. The SD-Card slot repair is likely no worth the effort of trying to repair.
However, I'm not sure how I can achieve that install. Anything that can be done from the Android recovery loader?
-
oh no... The Micro SD card reader in the Play 2 broke: Cannot hold the SD in-place... And I'm failing to boot from USB drive.
-
Thanks for you answers so far. I read in depth also this Kodi post START HERE - Pick the right Kodi box (updated Dec 2020) where I think it might not be up to date with the current release.
I'm not too sure I understand how well the RPi4 handles HDR and heavy video format...
Here is an example of what the Wetek Play2 has no issue whatsoever to play, except outputting the correct colour space.Code
Display MoreStream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x1608, SAR 1:1 DAR 160:67, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: BPS-eng : 3164490 DURATION-eng : 02:32:35.438000000 NUMBER_OF_FRAMES-eng: 219511 NUMBER_OF_BYTES-eng: 3621536804 _STATISTICS_WRITING_APP-eng: mkvmerge v46.0.0 ('No Deeper Escape') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-27 19:47:20 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(fre): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 768 kb/s (default) Metadata: title : FR VFF : DTS 5.1 BPS-eng : 767999 DURATION-eng : 02:32:35.435000000 NUMBER_OF_FRAMES-eng: 858322 NUMBER_OF_BYTES-eng: 878921728 _STATISTICS_WRITING_APP-eng: mkvmerge v46.0.0 ('No Deeper Escape') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-27 19:47:20 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) Metadata: title : ENG VO : TRUEHD+ATMOS 7.1 BPS-eng : 4561252 DURATION-eng : 02:32:35.439000000 NUMBER_OF_FRAMES-eng: 10986526 NUMBER_OF_BYTES-eng: 5220033898 _STATISTICS_WRITING_APP-eng: mkvmerge v46.0.0 ('No Deeper Escape') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-27 19:47:20 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Plex embedded TV app, even with the pass (for HDR) failed miserably with the above and, my Panasonic TV cannot output the audio when that file is played from a USB key within its own video file app.
If you all tell me I will have some peace of mind with a RPi4 and LE, I found this that can be delivered to NZ from amazon bundled by CanaKit for not too much sur-charge.
Is LE10.0.0 "box" image for WP2 (vendor u-boot) only possible to install on the EMMC? -
Hello dear LibreELEC community,
I have been a so happy with my Wetek Play 2 and now it seems it is time to upgrade due to lack of support on that board (unless I didn't find the secret build!) and also the acquisition of a new TV 4K HDR / Dolby vision capable.
After browsing the forum here and the CoreELEC one as well, I am a bit lost as to what to pick TBH.It seems I will have to accept losing DVB-T/S capability built in, I do have on the other hand a USB DVB-T/C2 dongle.
I am now in New Zealand and that is also restricting a lot of sources of suppliers.
From my research so far to get HEVC 10Bit, 1Gbps LAN port and HDR support:
- Odroid N2 + seems old, expensive and hard to get. Supplier in South Korea has also a very limited warranty
- Building a PC or getting a NUC feels too expensive and I will be losing CEC capability ( I do like having only one remote )
- I could source from amazon US a Beelink GT king, but it seems sort of old and I read quite a few complaints about them
- Nvidia Shield Pro forces me to have Android TV, when I just want Kodi (Netflix, Amazon Prime and whatnot are built in my TV) so maybe too expensive for stuff I don't need.
- I never own a Raspberry Pi and I read a lot of good stuff about the PI4. All out of stock here in NZ or overpriced, could get it from Amazon US. I was surprised about the mini HDMI port though
- Then I checked all sort of Amlogic boards, Rockchip and Allwinner, but it's hard to figure out which will bring all the needed features, stability and won't break too soon.
So that's where my research ended so far, with nothing super convincing or a clear upgrade path that could last another 2 to 3 years.
Thank you for your advise,
Matt
-
Resurrecting this thread not to create a duplicate one.
I have re-installed official LE 8.2.5 for Wetek play 2, I see all the .fw files in /lib/firmware required as described here https://www.linuxtv.org/wiki/index.php/pinnacle_pctv_triplestick_t2_(292e) but the device is not created in /dev/dvb/adapterx.
My understanding was that since 8.2.0 the usb DVB drivers were included.
Did I get the wrong idea and need to stay on the community builds? -
Will it then be ported to the official LE release to support all the different DVB?
-
You can try running one of my builds to see if your USB tuner is supported by media_build drivers:
thread-2156.htmlInternal tuner won't work in my build but you should be able to tell if there's hope to add support to your device.
The tuner is detected with your build!!
Code
Display More[ 682.885606@0] usb 2-1: new high-speed USB device number 2 using dwc_otg [ 682.885788@0] dwc_otg: Indeed it is in host mode hprt0 = 00001101 [ 683.086750@0] usb 2-1: New USB device found, idVendor=2013, idProduct=025f [ 683.086795@0] usb 2-1: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 683.086824@0] usb 2-1: Product: PCTV 292e [ 683.086851@0] usb 2-1: Manufacturer: PCTV [ 683.086877@0] usb 2-1: SerialNumber: 0013887676 [ 683.149213@3] em28xx 2-1:1.0: New device PCTV PCTV 292e @ 480 Mbps (2013:025f, interface 0, class 0) [ 683.149227@3] em28xx 2-1:1.0: DVB interface 0 found: isoc [ 683.149370@3] em28xx 2-1:1.0: chip ID is em28178 [ 685.143914@3] em28xx 2-1:1.0: EEPROM ID = 26 00 01 00, EEPROM hash = 0xb40df604 [ 685.143936@3] em28xx 2-1:1.0: EEPROM info: [ 685.143951@3] em28xx 2-1:1.0: microcode start address = 0x0004, boot configuration = 0x01 [ 685.150494@3] em28xx 2-1:1.0: AC97 audio (5 sample rates) [ 685.150516@3] em28xx 2-1:1.0: 500mA max power [ 685.150533@3] em28xx 2-1:1.0: Table at offset 0x27, strings=0x146a, 0x1888, 0x0a7e [ 685.152157@3] em28xx 2-1:1.0: Identified as PCTV tripleStick (292e) (card=94) [ 685.152178@3] em28xx 2-1:1.0: dvb set to isoc mode. [ 685.160971@2] usbcore: registered new interface driver em28xx [ 685.166650@0] WARNING: You are using an experimental version of the media stack. [ 685.166650@0] As the driver is backported to an older kernel, it doesn't offer [ 685.166650@0] enough quality for its usage in production. [ 685.166650@0] Use it with care. [ 685.166650@0] Latest git patches (needed if you report a bug to [email protected]): [ 685.166650@0] a83dbc951051ded0ec728f65cc918b7320600b55 Remove unused stv6120 headers. [ 685.171634@0] em28xx 2-1:1.0: Binding DVB extension [ 685.198382@1] i2c i2c-3: Added multiplexed i2c bus 4 [ 685.198410@1] si2168 3-0064: Silicon Labs Si2168-B40 successfully identified [ 685.198426@1] si2168 3-0064: firmware version: B 4.0.2 [ 685.210546@1] si2157 4-0060: Silicon Labs Si2147/2148/2157/2158 successfully attached [ 685.210595@1] dvbdev: DVB: registering new adapter (2-1:1.0) [ 685.210618@1] em28xx 2-1:1.0: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)... [ 685.210644@1] dvbdev: dvb_create_media_entity: media entity 'Silicon Labs Si2168' registered. [ 685.217292@0] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered. [ 685.219189@2] si2168 3-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' [ 685.233860@0] em28xx 2-1:1.0: DVB extension successfully initialized [ 685.233887@0] em28xx: Registered (Em28xx dvb Extension) extension [ 685.249822@0] WARNING: You are using an experimental version of the media stack. [ 685.249822@0] As the driver is backported to an older kernel, it doesn't offer [ 685.249822@0] enough quality for its usage in production. [ 685.249822@0] Use it with care. [ 685.249822@0] Latest git patches (needed if you report a bug to [email protected]): [ 685.249822@0] a83dbc951051ded0ec728f65cc918b7320600b55 Remove unused stv6120 headers. [ 685.251424@0] em28xx 2-1:1.0: Registering input extension [ 685.261698@0] rc rc0: 2-1:1.0 IR as /devices/dwc2_a/usb2/2-1/2-1:1.0/rc/rc0 [ 685.295493@0] Registered IR keymap rc-pinnacle-pctv-hd [ 685.307875@0] input: 2-1:1.0 IR as /devices/dwc2_a/usb2/2-1/2-1:1.0/rc/rc0/input5 [ 685.308358@0] em28xx 2-1:1.0: Input extension successfully initalized [ 685.308366@0] em28xx: Registered (Em28xx Input Extension) extension [ 685.418698@0] si2168 3-0064: firmware version: B 4.0.11 [ 685.423173@0] si2157 4-0060: found a 'Silicon Labs Si2157-A30' [ 685.471132@0] si2157 4-0060: firmware version: 3.0.5 [ 685.471192@3] em28xx 2-1:1.0: DVB: adapter 0 frontend 0 frequency 0 out of range (42000000..870000000) [ 18.991445@3] si2168 3-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' [ 19.184830@3] si2168 3-0064: firmware version: B 4.0.11 [ 19.189464@3] si2157 4-0060: found a 'Silicon Labs Si2157-A30' [ 19.237331@3] si2157 4-0060: firmware version: 3.0.5 [ 19.237403@1] em28xx 2-1:1.0: DVB: adapter 0 frontend 0 frequency 0 out of range (42000000..870000000)
And it is working in TVHeadend.
-
Hello,
I just got a PCTV Triplestick 292e that does not work on my Wetek Play 2, most likely due to the kernel version 3.14 if I am correct, even though the FW files are present in /lib/firmwares.
I searched on the forum and on other websites such as linuxtv.org and it seems there are no workarounds to use this tuner on this device.I would like to know if the kernel used for Wetek Play 2 and Amlogic devices will soon be updated to 3.16+?
If that is unlikely to happen any time soon, has anyone got a solution or a workaround?I could also return the tuner, however, I found it difficult to clearly understand which USB tuner would work properly for DVB-T2, the geniatek for instance was several time reported as not being capable to do more than T1... And the availability of different brands of tuners in Ireland is very limited, even on Amazon for example...
Maybe we could try to consolidate a list of USB tuners that will work with the current kernel version and fw provided?
Having the embedded DVB-S2 tuner and a working USB DVB-T2 tuner would make my system complete.
Your help and advice will be greatly appreciated,
Thanks,
WP2_MattPS: Excellent work from kszaq, raybuntu and the libreelec team, I'm impressed.