Does anyone know what the boxes actually are/were?
Posts by joeuser
-
-
First do this with putty
QuoteThe 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....
Code
Display Moresetenv baudrate '115200' setenv board 'pdk7105' 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' setenv bootargs_enigma2 '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' setenv bootargs_flash 'console=ttyAS0,115200 rw ramdisk_size=6144 root=/dev/ram0 init=/linuxrc nwhwconf=device:eth0,hwaddr:00:80:E1:12:40:69 ip=192.168.0.69:192.168.3.119:192.168.3.1:255.255. 0.0:Spark:eth0:off stmmaceth=msglvl:0,phyaddr:1,watchdog:5000 bigphysarea=7000' setenv bootargs_spark 'console=ttyAS0,115200 rw ramdisk_size=6144 root=/dev/ram0 init=/linuxrc nwhwconf=device:eth0,hwaddr:00:80:E1:12:40:69 ip=192.168.0.69:192.168.3.119:192.168.3.1:255.255. 0.0:Spark:eth0:off stmmaceth=msglvl:0,phyaddr:1,watchdog:5000 bigphysarea=7000' setenv bootcmd_enigma2 'nboot.i 0x80000000 0 0x18000000 ;bootm 0x80000000' setenv bootcmd 'nboot.i 0x80000000 0 0x00100000 ;bootm 0x80000000' setenv bootcmd_spark 'nboot.i 0x80000000 0 0x00100000 ;bootm 0x80000000' setenv bootdelay '3' setenv bootfromnfs 'console=ttyAS0,115200 rw root=/dev/nfs nfsroot=192.168.40.19:/opt/target,nfsvers=2,rsize=4096,wsize=8192,tcp nwhwconf=device:eth0,hwaddr:00:80:E1:12:40:61 ip=192.168.40.61:192.168.40.19:192.168.3.1:255.255 .0.0:LINUX7167:eth0:off stmmaceth=msglvl:0,phyaddr:1,watchdog:5000 bigphysarea=7000' setenv boot_system 'enigma2' setenv erase_env 'mw.b $load_addr 0 0x20000;eeprom write $load_addr 0x000a0000 0x20000' setenv erase_kernel_enigma2 'nand erase 0x18000000 0x00800000' setenv erase_kernel 'nand erase 0x00100000 0x00a00000' setenv erase_userfs_enigma2 'nand erase 0x18800000 0x07700000' setenv erase_userfs 'nand erase 0x01400000 0x16c00000' setenv ethaddr '00:80:E1:12:06:38' setenv filesize '7700000' setenv fuseburned 'true' setenv gatewayip '192.168.40.1' setenv HOSTNAME 'LINUX7167' setenv ipaddr '192.168.40.63' setenv kernel_base ' 0x00100000' setenv kernel_base_enigma2 '0x18000000' setenv kernel_base_spark '0x00100000' setenv kernel_len '0x00a00000' setenv kernel_len_enigma2 '0x00800000' setenv kernel_len_spark '0x00a00000' setenv kernel_name_enigma2 'enigma2/uImage' setenv kernel_name 'spark/mImage' setenv kernel_name_spark 'spark/mImage' setenv kernelnfspath '192.168.40.19:/opt/target' setenv load_addr '0x80000000' setenv loadu_kernel_enigma2 'fatload usb 0 $load_addr uImage' setenv loadu_kernel 'fatload usb 0 $load_addr mImage' setenv loadu_kernel_spark 'fatload usb 0 $load_addr mImage' setenv loadu_uboot 'fatload usb 0 $load_addr u-boot.bin' setenv loadu_userfs_enigma2 'fatload usb 0 $load_addr e2jffs2.img' setenv loadu_userfs 'fatload usb 0 $load_addr userfsub.img' setenv loadu_userfs_spark 'fatload usb 0 $load_addr userfsub.img' setenv monitor_base '0' setenv monitor_len '0x00100000' setenv netmask '255.255.255.0' setenv rootfsnfspath '192.168.40.19:/opt/target' setenv serverip '192.168.40.19' setenv stderr 'serial' setenv stdin 'serial' setenv stdout 'serial' setenv tftp_kernel_enigma2 'tftp $load_addr uImage' setenv tftp_kernel_name_enigma2 'uImage' setenv tftp_kernel_name_spark 'mImage' setenv tftp_kernel_name 'uImage' setenv tftp_kernel_spark 'tftp $load_addr mImage' setenv tftp_kernel 'tftp $load_addr $tftp_kernel_name' setenv tftp_uboot 'tftp $load_addr u-boot.bin' setenv tftp_userfs_enigma2 'tftp $load_addr e2jffs2.img' setenv tftp_userfs_name 'e2jffs2.img' setenv tftp_userfs_name_enigma2 'e2jffs2.img' setenv tftp_userfs_name_spark 'userfsub.img' setenv tftp_userfs_spark 'tftp $load_addr userfsub.img' setenv tftp_userfs 'tftp $load_addr $tftp_userfs_name' setenv uboot_name 'u-boot.bin' setenv ubootnfspath '192.168.40.19:/opt/target' setenv update eeprom 'write $load_addr $monitor_base $monitor_len' setenv update_kernel_enigma2 'nand erase 0x18000000 0x00800000 ;nand write.i 0x80000000 0x18000000 $filesize' setenv update_kernel 'nand erase 0x00100000 0x00a00000 ;nand write.i 0x80000000 0x00100000 $filesize' setenv update_userfs_enigma2 'nand erase 0x18800000 0x07700000 ;nand write.jffs2 0x80000000 0x18800000 $filesize' setenv update_userfs 'nand erase 0x01400000 0x16c00000 ;nand write.yaffs2 0x80000000 0x01400000 $filesize' setenv userfs_base '0x01400000' setenv userfs_base_enigma2 '0x18800000' setenv userfs_base_spark '0x01400000' setenv userfs_len '0x16c00000' setenv userfs_len_enigma2 '0x07700000' setenv userfs_len_spark '0x16c00000' setenv userfs_name 'spark/userfsub.img' setenv userfs_name_enigma2 'enigma2/e2jffs2.img' setenv userfs_name_spark 'spark/userfsub.img' setenv write_kernel_enigma2 'nand write.i 0x80000000 0x18000000 $filesize' setenv write_kernel 'nand write.i 0x80000000 0x00100000 $filesize' setenv write_userfs_enigma2 'nand write.jffs2 0x80000000 0x18800000 $filesize' setenv write_userfs 'nand write.yaffs2 0x80000000 0x01400000 $filesize' setenv ywenv_version '1' setenv yw_version 'YW_1.1.005'
After typeto verify they are all set correctly, then type
to save them to flash.
Then you can typewhich 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
Code
Display More#EXTM3U #EXTINF:-1,Atlantic http://192.168.1.11:8001/1:0:1:2:1:9:5A0000:0:0:0: #EXTINF:-1,Pacific http://192.168.1.11:8001/1:0:1:4:1:9:5A0000:0:0:0: #EXTINF:-1,Movie http://192.168.1.11:8001/1:0:1:A:1:9:5A0000:0:0:0: #EXTINF:-1,HD SPORTS http://192.168.1.11:8001/1:0:1:B:1:9:5A0000:0:0:0: #EXTINF:-1,Spectrum http://192.168.1.11:8001/1:0:1:3:1:9:5A0000:0:0:0: #EXTINF:-1,CH 8 http://192.168.1.11:8001/1:0:1:8:1:9:5A0000:0:0:0: #EXTINF:-1,Fam/Pulse http://192.168.1.11:8001/1:0:1:9:1:9:5A0000:0:0:0: #EXTINF:-1,Guide http://192.168.1.11:8001/1:0:1:7:1:9:5A0000:0:0:0: #EXTINF:-1,News http://192.168.1.11:8001/1:0:1:5:1:9:5A0000:0:0:0: #EXTINF:-1,Sports http://192.168.88.11:8001/1:0:1:1:1:9:5A0000:0:0:0: #EXTINF:-1,Sports2 http://192.168.1.11:8001/1:0:1:6:1:9:5A0000:0:0:0:
-
Thanks for following up on your post, many users don't bother...
-
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:Codesetenv 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"
Then
That should save the settings so it will automatically boot next time to enigma2Then just:
(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
Diff
Display More--- ../openwebif.source/plugin/plugin.py 2015-02-10 14:44:34.000000000 +0100 +++ plugin.py 2015-06-09 16:52:19.512990673 +0200 @@ -69,6 +69,8 @@ 'iso-8859-9', 'iso-8859-10', 'iso-8859-16']) +config.OpenWebif.cifs_server = ConfigText(default = "Server", fixed_size = False) +config.OpenWebif.cifs_share = ConfigText(default = "Sharename", fixed_size = False) class OpenWebifConfig(Screen, ConfigListScreen): @@ -125,6 +127,8 @@ self.list.append(getConfigListEntry(_("Enable Parental Control"), config.OpenWebif.parentalenabled)) self.list.append(getConfigListEntry(_("Add service name to stream information"), config.OpenWebif.service_name_for_stream)) self.list.append(getConfigListEntry(_("Character encoding for EPG data"), config.OpenWebif.epg_encoding)) + self.list.append(getConfigListEntry(_("CIFS Server IP or Name"), config.OpenWebif.cifs_server)) + self.list.append(getConfigListEntry(_("CIFS Server Sharename"), config.OpenWebif.cifs_share)) self['config'].list = self.list self['config'].l.setList(self.list)
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/stream.py
Diff
Display More--- ../openwebif.source/plugin/controllers/models/stream.py 2015-02-10 14:44:34.000000000 +0100 +++ controllers/models/stream.py 2015-06-09 17:08:53.236647235 +0200 @@ -165,8 +165,17 @@ m = re.match('.+\:(\d+)$', ourhost) if m is not None: portNumber = m.group(1) - - response = "#EXTM3U \n#EXTVLCOPT--http-reconnect=true \n%s%s://%s:%s/file?file=%s%s\n" % ((progopt,proto, request.getRequestHostname(), portNumber, quote(filename), args)) + + if "cifs" in request.args: + filename = unquote(request.args['file'][0]) + if filename.startswith("/hdd"): + filename = filename[4:] + cifs_server = config.OpenWebif.cifs_server.value + cifs_share = config.OpenWebif.cifs_share.value + response = "#EXTM3U \n#EXTVLCOPT--http-reconnect=true \n%s\\\\%s\\%s/%s\n" % ((progopt, cifs_server, cifs_share, filename)) + else: + response = "#EXTM3U \n#EXTVLCOPT--http-reconnect=true \n%s%s://%s:%s/file?file=%s%s\n" % ((progopt,proto, request.getRequestHostname(), portNumber, quote(filename), args)) + request.setHeader('Content-Type', 'application/text') return response else:
/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....
-
Also, can you post the serial console output from the very beginning - from power on, while you are holding the "ok" button?Also from the serial console can you post the output from the command "printenv"?
-
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?
-
Ok, I looked more closely and see you are trying to boot to Spark. On my box, for Spark my bootargs has "bigphysarea=7000". Can you try it with this change?
-
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...
-
On HDMU it is usually in /usr/keys.
-
Did you look at the Amiko site??? http://amikostb.com/?q=product&id=7
-
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.
-
Hi again,
I'm really happy.
With this entry :streaming back to my box works.
With this entry :
I can watch the channel with VLC media player, streaming does not work.
One last question:
on my box, the picture and audio is not synchronous.
The audio is a little bit faster than the picture.
Can I shift the audo i.e. 1/4 second ????If you just change second one to:
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...