RPI zero & RPI zero w

Added by Vitali K about 3 years ago

Hello everybody.
Many thanks to the creator of the Moivian, because only this distro, works well and quickly with IPTV on the Raspberry Pi.
Unfortunately, I can not start it on the PPi Zero W, but it fine works on the RPI Zero and RPI 2.
Does anyone have any answers to this?

p.s.Sorry for my english


Replies (19)

RE: RPI zero & RPI zero w - Added by Gregor Hoffleit about 3 years ago

I just was about to ask exactly the same question.

I fail to boot STOS on a RPi Zero W (Ver.1.1). I tried the current STOS image sd-2.4.21.img, as well as a few older images (sd-2.4.12.img and sd-2.3.7.img), as well as with an image built from the sources from Git.

With all of these images, not even the green LED on the Zero flashes. When I insert the card in a RPi 1 (Model B) or in a RPi 2, it boots fine into Movian. Just on the RPi Zero W, nothing happens at all.

In contrast, an Micro-SD card with Raspbian works fine on all three RPi's. It doesn't depend on th SD card either: The card that fails to boot STOS on the Zero worked fine with Raspbian on the Zero.

Looking at the archives, Movian seems to have worked on the Zero at some point - although I'm not completely sure about STOS. Any idea what's wrong now?

RE: RPI zero & RPI zero w - Added by alexey smirnov about 3 years ago

If Raspbian works:
1. Download http://deanbg.com/public/rpi/20160514-RPi2-Movian-5.0.177-Ubuntu.7z.
2.Extract this
3. Copy from the this mounting image 2 folders: stos and showtime to the root directory of Raspbian
4. Give them the right 777
5. Get library from here: http://deanbg.com/public/rpi/movian/lib/lib.zip and extract these in /usr/lib/ (only libstdc ++. So.6 goes into /usr /lib/arm-linux -gnueabihf /)
6.Make autostart /stos/mnt/showtime/bin/showtime
7.Reboot...
8.If it works, then we study further :)

RE: RPI zero & RPI zero w - Added by Vitali K about 3 years ago

alexey smirnov wrote:

If Raspbian works:
1. Download http://deanbg.com/public/rpi/20160514-RPi2-Movian-5.0.177-Ubuntu.7z.
2.Extract this
3. Copy from the this mounting image 2 folders: stos and showtime to the root directory of Raspbian
4. Give them the right 777
5. Get library from here: http://deanbg.com/public/rpi/movian/lib/lib.zip and extract these in /usr/lib/ (only libstdc ++. So.6 goes into /usr /lib/arm-linux -gnueabihf /)
6.Make autostart /stos/mnt/showtime/bin/showtime
7.Reboot...
8.If it works, then we study further :)

On the RPI Zero W don't work, I have "[email protected]:~# Illegal instruction" after /stos/mnt/showtime/bin/showtime

RE: RPI zero & RPI zero w - Added by alexey smirnov about 3 years ago

Vitali K wrote:
On the RPI Zero W don't work, I have "[email protected]:~# Illegal instruction" after /stos/mnt/showtime/bin/showtime

Well, I think that it's a matter of compilation
Andreas Smas writes:
"STOS, compatible with raspberry Pi 1, 2 and 3"
There is no Zero in this list!
Try to compile Zero yourself, or ask Andreas, or try OSMC.
OSMC supports Zero and IPTV

RE: RPI zero & RPI zero w - Added by alexey smirnov about 3 years ago

and further....
My image and image of Dean Kasabov compiled
under RPI2, and Zero and RPI1 are assembled with the same processor.
Try to launch the original https://movian.tv/downloads/stos on Zero.
If works, you should try:
or compile the Movian for RPI1,
or pull out showtime from the original Movian

RE: RPI zero & RPI zero w - Added by Vitali K about 3 years ago

alexey smirnov wrote:

and further....
My image and image of Dean Kasabov compiled
under RPI2, and Zero and RPI1 are assembled with the same processor.
Try to launch the original https://movian.tv/downloads/stos on Zero.
If works, you should try:
or compile the Movian for RPI1,
or pull out showtime from the original Movian

Alexey, the original Movian works great for RPI zero. The problem is in RPI zero W

RE: RPI zero & RPI zero w - Added by Vitali K about 3 years ago

alexey smirnov wrote:

What problems?

The problem is that there is nothing at all on the RPI zero W - it does not start

RE: RPI zero & RPI zero w - Added by alexey smirnov about 3 years ago

"Show me the magazine" - this is a bad idea.
I think:
Easy way for you: OSMC or LibreElec.
Wait, when will make movian for Zero w.
Or, try to insert showtime into the raspbian, which runs on Zero w.

RE: RPI zero & RPI zero w - Added by Vitali K about 3 years ago

alexey smirnov wrote:

Show me a log

If we are talking about the original Movian, then it does not even start, so there are no logs, if it is an assembly via Raspbian, then the logs in / stos / cache / showtime / log are not saved and the error "Illegal Learning".
I have 2 - RPI Zero 0 W; 1- RPI Zero 0, 1-RPI 2.
On your manual, I tried to run only on RPI Zero 0 W. For other, its no sense - they are running the original Movian.

...Unfortunately, OSMS and others are too slow to work, and with IPTV, the more
...And yes, I will try

RE: RPI zero & RPI zero w - Added by alexey smirnov about 3 years ago

Try to insert showtime (for RPI1) into the raspbian, which runs on Zero w!

RE: RPI zero & RPI zero w - Added by Vitali K about 3 years ago

alexey smirnov wrote:

Try to insert showtime (for RPI1) into the raspbian, which runs on Zero w!

Of course, I will try. Thank you very much for your answers and suggestions.:)

RE: RPI zero & RPI zero w - Added by Gregor Hoffleit about 3 years ago

Try to insert showtime (for RPI1) into the raspbian, which runs on Zero w!

OK. I have a recent Raspbian running on a RPi Zero W. Now I took /stos/mnt/showtime/bin/showtime from a RPi 2 running a current Movian (based on the sd-2.4.21.img).

When I try to start this binary on Raspbian, I end up with this error about missing libvchostif.so:

# ./showtime
./showtime: error while loading shared libraries: libvchostif.so: cannot open shared object file: No such file or directory

This error occurs on the RPi Zero W (firmware up to date) as well as with an RPi 1.

Pardon my ignorance of Raspbian specifics, but I fail to understand where I should pick up this libvchostif.so shared library. It seems to be firmware specific?

RE: RPI zero & RPI zero w - Added by Gregor Hoffleit about 3 years ago

See earlier:
https://movian.tv/boards/23/topics/10897?r=10901#message-10901:
...
5. Get library from here: http://deanbg.com/public/rpi/movian/lib/lib.zip and extract these in /usr/lib/ (only libstdc ++. So.6 goes into /usr /lib/arm-linux -gnueabihf /)

Thanks, that made the trick. I hadn't tried this, because you were talking about RPi2 in that messsage and I thought these libraries were compiled for RPi2.

I can confirm that Movian starts on a RPi Zero W with the following:
  • A current Raspbian as base
  • The /stos tree taken from a STOS based system (based on sd-2.4.21.img - I took that from a working system running on an RPi2, so it contained a current Movian binary)
  • I extraced libvchostif.so and libvcfiled_check.so from http://deanbg.com/public/rpi/movian/lib/lib.zip, copied them to /usr/local/lib (and ran ldconfig). I ignored all the other libs from lib.zip
  • Furthermore I installed the libcec3 packages from within Raspbian instead of the one from lib.zip - your mileage may vary depending on the packages you've already installed in Raspbian.

Movian brought a notice about RT capabilities missing. The log contained this hint: "sudo setcap cap_sys_nice+ep /stos/mnt/showtime/bin/showtime", which resolved that issue.

Movian worked with this card both on a RPi Zero W as well as a RPi1.

But: Movian runs dog slow. The icons on the homepage came in one every few seconds. Thumbnails only showed up after many seconds. It felt like no cache was used. This was on the RPi Zero W as well as on the RPi1. On the same RPi1, the STOS based Movian flies in contrast.

There was no significant difference in speed whether I started Movian from within X11 or from the console.

Any idea on this?

RE: RPI zero & RPI zero w - Added by alexey smirnov about 3 years ago

My dear friend, the greatest genius Lenin wrote:
"Studying, studying, and learning again ..."
Ask Vitali K. :)

RE: RPI zero & RPI zero w - Added by Vitali K about 3 years ago

alexey smirnov wrote:

My dear friend, the greatest genius Lenin wrote:
"Studying, studying, and learning again ..."
Ask Vitali K. :)

Thank you, Alexey :) I can tell a lot about Lenin, but in fact, I also do not really care.
I can step by step tell what I did and what I have in the end.
1 - I've changed the distribution of Raspbyan on my RPI Zero W - instead of
RASPBIAN STRETCH LITE installed RASPBIAN JESSIE LITE
2 - Set root password
3 – Аs wrote Alexey:
1. Downloaded http://deanbg.com/public/rpi/20160514-RPi2-Movian-5.0.177-Ubuntu.7z.
2. Extracts this
4 - Using DiskInternals Linux The Reader under Windows extracts 2 folders: stos and showtime (can this be an mistake)
5 - Entered Root and copied these folders to the root
6 – Then Alexey again 
4. I gave them the right 777
5. Got library from here: http://deanbg.com/public/rpi/movian/lib/lib.zip and extract these in /usr/lib/ (only libstdc ++. So.6 goes into /usr /lib/arm-linux -gnueabihf /)
6.I did autostart /stos/mnt/showtime/bin/showtime (with rc.local)
7.Reboot..
7…..And nothing
?? WTF ?
Then, I tried it on RPI 2 and it started ... but I saw only the empty icons and could not do anything.
So I think your result (Gregor Hoffleit) is even better than mine,

It is clear that I did something wrong, but I need to dig further :) or wait the new Movian for the RPI Zero W

RE: RPI zero & RPI zero w - Added by Gregor Hoffleit about 3 years ago

Dear Vitaly, did you try to boot up Raspbian normally, and then start the showtime binary from a shell ("/stos/mnt/showtime/bin/showtime")? What happens?

For reference, I attach the showtime binary that starts on my Raspbian on both an RPi Zero W and RPi1 (and works on the RPi as well).

Maybe your error was to copy over all libraries from lib.zip? As I wrote, I used a plain Raspbian system with only libraries provided by Raspbian and only added libvchostif.so and libvcfiled_check.so from lib.zip, both of which were not present in Raspbian.

showtime.7z - Showtime binary extracted from a STOS system (RPi) (4.59 MB)

(1-19/19)