Posts by joeuser

    First do this with putty

    Quote

    The output will be long, so if you are using putty the first thing to do is right-click on the title bar (top part of the window) and select change settings. Then under window set "lines of scrollback" to something big like 2000. Then restart the stb and enter the command. After, right-click on the title bar and select "Copy All to Clipboard" - then you can paste everything...


    That way you can scroll up and down and see everything.


    Then enter the setenv commands by cutting and pasting, but only do 5-10 lines at a time to make sure they all work.


    Then enter the printenv command which will show you all your variables. If the last step was done right, you should see them all listed.


    Then enter the saveenv command to save the variables to flash. Otherwise they will be lost when you reboot.


    Then enter the reset command to restart the box.


    If Spark still does not boot, you can try to switch off in the back and switch back on while holding the "OK" button. The variables you set above should now enable it to work as usual. If not, cut and paste the whole putty terminal back here so we can see what is the problem.


    Re-flashing by serial is not setup by default for these boxes, the default is to flash from USB. But in any case, you need to set the environment variables that were lost and the way I wrote is the easiest way.

    I understand your ultimate goal, but only gave you the option to go back to enigma until box is fixed. :)


    I can give you the environment variables you need, but would like to see the full boot info to make sure what version of U-Boot you have. So, if you can do the putty changes I posted above and boot and "copy all" and paste the output here, I can post some possible fix...
    (the output you have already posted does not show the initial part of the boot process...)


    - - - Updated - - -


    Here are the commands to set your environment variables and save them. Probably only want to cut and past 5-10 at a time....


    After type

    Code
    printenv

    to verify they are all set correctly, then type

    Code
    saveenv

    to save them to flash.
    Then you can type

    Code
    reset

    which will restart the box. Even if it still does not boot to Spark, you should now be able to hold the "OK" button and flash from USB as usual... Of course if it still doesn't work, capture the complete boot with putty and post back here.

    Sorry, I am not normal watching these channels, only setup as a theoretical test. :)


    Tested today and the following still work. Did not test bwtv


    Yes from the command prompt (PDK7105>) type "printenv" without the quotes.


    The output will be long, so if you are using putty the first thing to do is right-click on the title bar (top part of the window) and select change settings. Then under window set "lines of scrollback" to something big like 2000. Then restart the stb and enter the command. After, right-click on the title bar and select "Copy All to Clipboard" - then you can paste everything...


    Ok, just looked closer at you output and you already typed the command ok. It looks like you have lost almost all of your environment settings! I will have to go into my box later tonight and retrieve all the settings you will need. For now if you want to boot back to enigma2, you can try the following.


    1. boot to the command prompt
    2. enter the following:

    Code
    setenv bootargs "console=ttyAS0,115200 rw root=/dev/mtdblock6 rootfstype=jffs2 init=/bin/devinit coprocessor_mem=4m@0x40000000,4m@0x40400000 printk=1 nwhwconf=device:eth0,hwaddr:00:80:E1:12:40:61 ip=172.100.100.249:172.100.100.174:172.100.100.174:255.255.0.0:Enigma2:eth0:off stmmaceth=msglvl:0,phyaddr:2,watchdog:5000 bigphysarea=6000"


    Code
    setenv bootcmd "nboot.i 0x80000000 0  0x18000000 ;bootm 0x80000000"


    Then

    Code
    saveenv


    That should save the settings so it will automatically boot next time to enigma2


    Then just:

    Code
    boot


    (If you make the changes for putty above first and capture everything again and post, it can help..)

    I made some changes to replace the transcoding option (which my alien does not use) to create a .m3u file with a CIFS link directly to the file on the server. ( from: http://<stb ip>:8002/hdd/movie/<filename> to: \\<cifs server>\<share>\<path>\<filename>)


    Not sure if I will have time tonight, but when I get a chance I will post the changes I made...


    - - - Updated - - -


    Sorry it took so long, but I had to make some small changes before posting my mod here....
    http://linuxsat-support.com/showthread.php?t=85202

    I have an Alien 2 with no internal HDD, so I use an NFS/CIFS server as an HDD replacement. The OpenWebif function to stream recordings (movies) works ok with this configuration, but all files are sent over the net from the NFS/CIFS server to the stb then back out again as a stream. Not a big load on the stb, but since it is connected via WIFI, it is a load on my (sometimes busy) network that I would rather avoid. So I made some mods to OpenWebif to create a .m3u file with a direct link to the NFS/CIFS server instead of an http link to the streaming port of the stb. ( from: http://<stb ip>:8002/hdd/movie/<filename> to: \\<cifs server>\<share>\<path>\<filename>)


    I made changes to three files,


    /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/plugin.py


    /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/stream.py


    /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/views/ajax/movies.tmpl

    Diff
    --- ../openwebif.source/plugin/controllers/views/ajax/movies.tmpl     2015-02-10 14:44:34.000000000 +0100
    +++ controllers/views/ajax/movies.tmpl 2015-06-04 03:32:32.055974249 +0200
    @@ -42,6 +42,7 @@
                                                    <a href="#" onclick="jumper8003('$quote($movie.filename)');" title="$tstrings['stream'] ($tstrings['transcoded']): $movie.eventname"><div class="ow_i ow_i_stream2"></div></a>
                                                    #else
                                                    <a target="_blank" href='/web/ts.m3u?file=$quote($movie.filename)' title="$tstrings['stream'] $movie.eventname"><div class="ow_i ow_i_stream1"></div></a>
    +                                               <a target="_blank" href='/web/ts.m3u?cifs=yes&file=$quote($movie.filename)' title="$tstrings['just_play'] $movie.eventname"><div class="ow_i ow_i_stream2"></div></a>
                                                    #end if
                                                    <br><br>
                                                    #set $w = $movie.lastseen



    Attached are the two .py files if you do not have the original .py files in your image.



    Steps if your image has the original .py files :


    (Assuming a basedir of /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/)


    1. Copy the existing plugin.py file to something like plugin.py.orig
    2. Copy the existing controllers/models/stream.py file to something like controllers/models/stream.py.orig
    3. Edit the .py files and make the changes listed above
    4. Rename the existing plugin.pyo file to something like plugin.pyo.orig
    5. Rename the existing controllers/models/stream.pyo file to something like controllers/models/stream.pyo.orig
    6. Copy the existing movies.tmpl file to something like movies.tmpl.orig
    7. Edit the existing movies.tmpl and make the changes listed above
    8. Restart enigma2 and the new .pyo files will be created
    9. Go to plugins -> OpenWebif and there should be two new options at the bottom to enter your CIFS server info.
    For Server, either enter your server's name or IP address (with no slashes)
    For Sharename, enter the name of the share on the server (with no slashes)
    10. Open the OpenWebif in your browser, select movies and there should be a new icon for CIFS.



    Steps if your image does not have the original .py files :


    (Assuming a basedir of /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/)


    1. Copy the downloaded plugin.py file to plugin.py
    2. Copy the downloaded stream.py file to controllers/models/stream.py
    3. Rename the existing plugin.pyo file to something like plugin.pyo.orig
    4. Rename the existing controllers/models/stream.pyo file to something like controllers/models/stream.pyo.orig
    5. Copy the existing controllers/views/ajax/movies.tmpl file to something like controllers/views/ajax/movies.tmpl.orig
    6. Edit the existing movies.tmpl and make the changes listed above
    7. Restart enigma2 and new .pyo files will be created
    8. Go to plugins -> OpenWebif and there should be two new options at the bottom to enter your CIFS server info.
    For Server, either enter your server's name or IP address (with no slashes)
    For Sharename, enter the name of the share on the server (with no slashes)
    9. Open the OpenWebif in your browser, select movies and there should be a new icon for CIFS.


    If something goes wrong, you can always remove any newly created .pyo files and rename the .orig files to .pyo and replace the modded movies.tmpl with the saved .orig file.


    NOTE! I did this on a box without a transcoding option, so I "stole" the icon/placement of the transcoding option to use for my mod. If your box has transcoding, some further mods would need to be made....

    I have not booted to Spark in a long time (maybe two years ago...) so I am not sure about those errors, but if Spark is expecting a bigger reserved area than it is given, it could cause it to crash.


    Also, can you post the serial console output from the very beginning - from power on, while you are holding the "ok" button?

    Which "same problem" since there are actually a few different problems listed in this thread?
    Do you have the output from the serial console?
    Have you tried to boot to Spark by using the commands in the link to the other thread?


    Flash by serial or flash from the serial console? You can flash by serial, but it is not as easy as USB, TFTP, or NFS.


    Your best bet is to try to first try to install the older version of Spark which contains a U-Boot, then upgrade Spark, then try installing an Enigma2 image.


    So you updated your post before I finished answering... :)


    Looks lie you do not have any of the same problems from this post - your box is booting ok into enigma2, but there is some problem with enigma2. What image did you flash? Is this first boot of the image, or was it working ok before and then stopped?

    Sorry, link gets redirected when it detects anonymous link. Try a google search for "amikostb AMIKO SHD-8000 CI CX LAN PVR" and it should point you to the right page. Under downloads there is a manual. Or go to the amikostb site and look under "Archive" for older models...

    I wasn't necessarily suggesting to use OpenWebif as the interface for streaming, just another tool to create playlist(s) of your bouquets - which is essentially all that TunerServer does. Of course if you have a lot of bouquets and they change often, TunerServer would make it easier to maintain a current set of playlists.


    I looked a little into options for universally sharing media around my network and did not find any great solutions. For now I just use one NFS/CIFS server where most of my media is stored. I can mount it and see all the media with various devices and various applications on each device. I also ended up making a mod to OpenWebif so that instead of streaming recorded media, it provides a CIFS link directly to the file on the server so the media does not have to go from the server to my stb then back out to my devices. My stb already mounts the server for all recordings, so through OpenWebif I can see the "movie" folder as well as all the other folders on the share which includes music, movies, etc.

    I am not sure exactly what you are trying to do with this plugin, but something similar can be done with OpenWebif. Under the Bouquet tab, if you click on the small TV icon next to the bouquet name, it will save a playlist with all the channels from the bouquet.

    I remember some app called big2small, but not sure if it has a signal meter...


    Box and meter can go anywhere in the world. (may need power adapter though...) As long as the LNB on the dish is standard and the dish is big enough for a good signal...

    If you are using enigma and have a tablet or phone or even laptop, you can try using an app for a signal meter. But would need to know more about you setup to suggest which ones to try...


    BTW - if the dish is really off, I use a very basic meter I picked up locally for less than 10£ to get it close, then an app on my phone or tablet to fine tune.


    If you just change second one to:

    Code
    <IP> #duplicate{dst=std{access=http,mux=ts,dst=:[COLOR='#FF0000']4321/[/COLOR]},dst=display}


    Then you can use the same entry on your box....


    There are lots of options for vlc to adjust audio, but maybe the easiest thing to try first is to increase the buffer. Got to Preferences -> select show settings all (bottom left) -> select Input /Codecs on the left -> on the right, scroll down and set Network caching (ms) to something like 2500, or higher. YOu can play with different values to see if you get better results...