CoolStream Tutorials

elgeneral

Registered
Messages
7,811
Firmware update via FTP - Howto

Here a small howto get new firmware updated via FTP.


1. Preparation Network

Method A (recommended):
In the router DHCP to ON, then the same in the HD1 under "Main Menu" -> "Settings" -> "Network" ... The HD1 and your PC will automatically reboot to get the correct LAN settings

Method b:
Manual setting of the LAN connection in under a) above menu
It is only the IP address and subnet important for a manual update via FTP

Example: Your router has the IP 192.168.1.1 and subnet 255.255.255.0 ... then lodge with the HD1 e.g. selbes an IP 192.168.1.111 and subnet 255.255.255.0 So
ditto then on the PC, but uses different IP ne as the router and the HD1 in the same address space ... e.g. 192.168.1.100


2. FTP Setup Connection

Used the TotalCommander as an FTP client, but there are indeed enough to others.
TC gibts here as a 30 days trial -> http://www.ghisler.com

See the FTP connection is then established as in the screenshot ... Of course you wear then add the IP of your HD1.
User root
Password is CoolStream

index.php

After "Connect" and the new software, for example Copy xxx.img "in the directory / tmp.
After the copy ftp connection can be separated again.


3. Software Updates

Menu button on the remote (FB) Press ... you get the following picture ... select "Service"
index.php


OK button and you should see the following menu:
index.php


now even the update mode to "manual / ftp" put
index.php


then go down to "search for software"
index.php


... OK and the new firmware should be found ... Select and confirm this ...

index.php

... The question with "Yes" or OK to confirm
index.php


... the fix is running ...
index.php


After the update, the box will restart automatically ... Have fun with the new firmware!

thanks to the author
 

elgeneral

Registered
Messages
7,811
Manual Image Update USB CoolStream HD1

Requirements:

- La connexion to PC is via a null modem cable
- On the PC with a terminal program such as Windows specific Hyperterm, with the parameters of 115200 baud, 8 data bits, 1 stop bit.
- The FAT format USB Memory
- In the USB, the uncompressed image not zip (gz, 7u or otherwise) in the directory


Step 1

The program screen terminal see this for example:

  • 1. U-Boot 2009.03-svn860 (Jun 03 2009 - 10:20:46) CoolStream HD1
  • 2. Chipset information
  • 3. Vendor: Conexant Type: CX2450x (Nevis) Revision: C0 Fuses: 7FFFC534
  • 4. Option: 00010000 max. clock: 550 MHz Core voltage: high |
  • 5. Clock information
  • 6. MPG0: 594,000 MHz MPG1: 594,000 MHz HD: AUD 593,407 MHz: 491,520 MHz
  • 7. PLL0: 432.000 MHz PLL1: 550.000 MHz PLL2: 533,333 MHz
  • 8. CPU: 550.000 MHz from PLL1
  • 9. Memory configuration
  • 10. Start | End | Type | Description
  • 11. 00000000 | 0FFFFFFF | RAM | System main memory bank # 0
  • 12. 10000000 | 17FFFFFF | RAM | System main memory bank # 1
  • 13. F0000000 | F0FFFFFF | FLASH | S29GL128P Spansion (128 Mbit / 8M x 16)
  • 14. F1000000 | F1FFFFFF | FLASH | S29GL128P Spansion (128 Mbit / 8M x 16)
  • 15. Serial number: 000-00000001 (00-000001)
  • 16. Network configuration
  • 17. MAC: Conexant VMAC rev. 07 address: 00-C5-5C-00-00-01
  • 18. PHY: IC Plus IP101 address: 09
  • 19. Hit any key to stop autoboot: 0
  • 20. HD1>


Step 2

Connect the USB and type the following in the Terminal program
usb start
This confirms the entry with the following response:
  • (Re) start USB ...
  • USB: ehci_hcd_init ();
  • HCCR init CX2450x HCor e8000100 and e8000140 hc_length 64
  • 10,011 NbrPorts Register 1
  • EHCI USB 1.00
  • scanning bus for devices ... 2 USB Device (s) found
  • scanning bus for storage devices ... 1 Storage Device (s) found
  • HD1>

Step 3

Now it has loaded the image file. Next to writing should be:


FATLA usb 0 0x0E000000 mtd2.img

In the above example, the file format is mtd2.img file to load. In the terminal program, the current progress of the download is performed by a variety of factors:
We will see the progress dots

  • reading mtd2.img
  • .................................................. ................................
  • .................................................. ................................
  • .................................................. ................................
  • .................................................. ................................
  • .................................................. ........................
  • 19237640 bytes read
  • HD1>


The indication of bytes read in this example 19237640

Step 4

Clear the area for the image in Flash. Serve this entry:

  • 0xF0480000 erase 0xF1FFFFFF

Here too, appears again with the points of progress:

  • .................................................. ................................
  • .................................................. ................................
  • .................................................. ................................
  • Erased 220 sectors
  • HD1>

Step 5

The (19237640 bytes) outlined above must be divided by 4. If that is the possibility redeondara up. 19237640 / 4 = 4,809,410 th
The decimal number must now become the hexadecimal representation. This will be achieved with the Windows Calculator in scientific mode to use. 4809410 decimal 0x4962C2 are hexadecimal. This value is required for the following final step.

Step 6

To enter the terminal program:

  • cp 0x0E000000 0xF0480000 0x4962C2

see
  • Copy to Flash ... .................................................. ...............
  • .................................................. ...............................
  • done
  • HD1>

At this point the Image is in Flash. :D

Now, to enter the Box should be "reset" from the terminal program.

Gracias Micha_R
 

juli13

Staff member
Administrator
Messages
10,198
backup and save image

backup and save image

at the moment, you can only save the image manually via telnet to /tmp folder
(PS: don´t use the function in gui ... this image backups will not work !)

read image:

telnet to your coolstream by typing the ip-adress in console
for example: telnet 192.168.1.100 (change ip to your needs)

then type:
cat /dev/mtd2 >/tmp/save.img

you found the image save.img in /tmp
you can save it per ftp to your pc

after all, please delete the image save.img in /tmp or reboot your coolstream HD 1


write image into flash
copy the image save.img per ftp to /tmp
Updatemodus = manuell (ftp)

Menu, Service, Software Update, search for new version (Updatemodus = manuell (ftp))
get the image and confirm with button, the flash will by delete and the image flashed.
after update, the coolstream HD 1 will automaticly rebootet.

enjoy
 

juli13

Staff member
Administrator
Messages
10,198
How to update an online image

How to update an online image

Preconditions:
Kernel and image in Coolstream HD 1 are behind 05.08.2009 (kernel was updatet)

1- Menu/ Service/ Software Update, search for new version (Updatemodus = internet)

2- Get the image and confirm with button, the flash will by delete and the image flashed.

3- after update, the coolstream HD 1 will automaticly rebootet.

Good work
 

elgeneral

Registered
Messages
7,811
Flashing kernel and image in the boot console

Requirements:

- pc is via a null modem cable connected to the box
- on pc running a terminal program, such as windows specific hyperterm or putty,
- with the parameters 115200 baud, 8 data bits, 1 stop bit, no parity, no handshake
- Image will not boot

Important:
mtd1.img is kernel
mtd2.img is the image!
most wanted only image (mtd2.img)

Time of the interruption with CTRL C just before loading Start_Neutrino

Tip of lucgas:
Freeing init memory: 116K
as quickly press CTRL + C
Boot process is interrupted

mtd1 and mtd2 copy into a USB-stick and USB-stick will be mounted.
Remember where the stick is mounted (by my it is sda1)
when no longer comes peep press Enter
it reappears promptly

eraseall /dev/mtd1
wait little time
cat /tmp/sda1/mtd1.img >/dev/mtd1

eraseall /dev/mtd2
wait a little bit more
cat /tmp/sda1/mtd2.img >/dev/mtd2

reboot :thum:

gracias a fritte
 

juli13

Staff member
Administrator
Messages
10,198
Preparing for the External formats howto video Cooli

I have here a small howto times handicrafts to convert various video files for the CoolStream Mpeg.ts into playable format.

Pause, coils ect. Does it not, unfortunately, picture quality, however, very handsome, and Dolby Digital sound is supported.

First, install the freeware program XMedia DOWNLOAD and Record.

After installing:

1. Open File

2. Select a video file

3. Profile: Custom

4. Select format: MPEG TS

Under Select Video Codec: Mpeg2

5. Track 1 Audio Codec: AC3

6. Destination folder for the file to be created Select

7. Add Job

8. Encode

9. In the selected target directory, a. Ts file is created, which then can the Cooli FP into / DVDs to be pushed.



index.php


After bumping into the coding window will appear.

index.php


A 1.35 GB file is required to encode with me for about 39 minutes.

In simple movie player on the Cooli: Play (foreign recordings / Multiformat choose).
TS file and select OK.

The film starts.

I reasonably hope to understand rübergebracht ....
 

juli13

Staff member
Administrator
Messages
10,198
CoolStream HD1 Satellite Setup Instructions

CoolStream HD1 Satellite Setup Instructions

Here you go

- The example in the PDF is an Astra (19.2E) / Hotbird (13.0E) configuration should be comprehensible for everyone, I hope.

After the sender scan it offers its services to manage Dreamset 226
 

juli13

Staff member
Administrator
Messages
10,198
yWeb CoolStream HD tutorial
All users of the Box CoolStream have provided access to the very well developed and yWeb for some very useful function - it is a control panel, on this we can control the box from anywhere in the world, we have an installed Internet browser.

To einzulogen at yWeb, should be typed in the address field of the browser and the Box IP wieter login (root) and password
(standard CoolStream). After Einlogen we see the following picture:

index.php


yWeb is divided into 6 areas: Boxcontrol Live / Timers, Tools, Settings, Extentions and info

index.php


In the first field as you see, we have the opportunity to see the channel list, to another channel umzuschlten and information.
index.php

Here, as you see, we have the possibility to remote control to turn off the box to restart or even put in the Stand By mode.
index.php


The next area we have the opportunity Sneden a text that will ausgestralt on the screen.

In the next sub-menu, we can control the box via a virtual remote control, we can also make a screenshot, even while working the pits (OSD, OSD + picture)
index.php
 

juli13

Staff member
Administrator
Messages
10,198
Video Timer programming via Web Interface

Video Timer programming via Web Interface

 

elgeneral

Registered
Messages
7,811
Image via telnet

At the moment, you can telnet in the old image by hand back into the / temp.

Connection with telnet:
eg: change telnet 192.168.1.100 (IP address if necessary)
cat / dev/mtd2> / tmp / sicherung.img

The ripped image is in the / tmp directory and can be saved to the PC from there via FTP,
then ripped the image please sicherung.img in / tmp, or restart CoolStream.


Importing image again (no guarantee)
For an update to copy the image into sicherung.img / tmp of the Box
and sets the update mode "internet" to "manual (ftp)"
and then select "Available Images / Files from.
Select Image, ggf confirm with colored button

Gracias fritte
 

elgeneral

Registered
Messages
7,811
Howto Smargo USB card reader

Information to Smargo usb card reader

The Smargo is a USB card reader that can be repeatedly connected via a USB hub to the Cooli to operate various smart about it.

In order to prepare for the Smargo CoolStream, it must be first installed on the PC, or to control the settings.

Installing the Smargo's on the PC.

Smargo without a smartcard on a PC USB port connected, it is reported that new USB hardware has been found.
Now navigate to the drivers from the download, and select the drivers for the operating system.

Should you still a Smargo lower FW version than the 1.13 have, then the Smargo erstmal will update on the latest version 1.13.

index.php


This tool uses the Smartreaderupgrade.exe,

Smargo on infected PCs> Upgrade.exe Start> Update
Now the Smargo should be updated to 1.13.


Configuring Smargos

To configure the Smargo to use the tool: Smartreader.exe
index.php

Smargo join again without a map on the PC and start the tool.
There are several configuration modes

Mode: Auto Switch / Fixed Here you can configure whether the firm Smargo literacy to use frequencies (necessary for various smart cards) or the auto-switch mode

Orgi: Visible / adjustable where it is taking fashion "fixed" set

Kernel: Normal or Dreambox kernel
(For me it is running at Cooli with Normal)

Fashion T-T-mode is protocol for transmission. The protocol, such as the smart card reader responds.

T = 0 -> character protocol
T = 1 -> block protocol

Will need different cards with different protocols:

Crpytoworks, Conax, Seca, ***, Viacces, Nagra use T = 0
Irdeto use T = 1
What one must not forget here, Newcs.xml adjust accordingly:
Cryptoworks, Conax, Seca = even
***, Viaccess = odd
Irdeto, Nagra probably does not matter, because T = 1 (Block Protocol)

EGT stands for "Extra Guard Time"
This is the time that can "be set between" two consecutive characters in the transfer of data to the card.
I've set EGT = 0 and running.

After all this was Configures click on "apply", the settings are transferred to the Smargo.
Thereafter, the Smargo can be connected to the Coostream, and the card server to start.


Gracias a 3ultra


here download NEWCS for CoolStream http://www.sat-universe.com/showthread.php?t=138762
 

juli13

Staff member
Administrator
Messages
10,198
Unpack & Repack mtd image

an mtd2 jffs2 image can be unpacked and repacked with a few commands

use the provided scripts as a sample, adjust at your needs

remember that both scripts are provided as-is, with no warranty at all

in order to run the scripts you need a linux box and a few modules related to jffs2 filesystem and block devices. Check your system and kernel configuration for buil-tin or modules support related to the needed modules/commands/filesystems.

consider this as a base (alfa-beta----whatever!), all of this refers to mtd2 (jffs2) image updates

unpack-img.sh

Code:
#!/bin/sh

if [ $# -ne 2 ]; then
 echo "use: unpack-img.sh <image> <folder>"
 exit
fi

echo "unpacking image: "$1
gotit=$(file $1|grep -c jffs2)
if [ $gotit -ne 1 ]; then
 echo "not a valid jffs2 image file"
 exit
fi

echo "==================================="
echo "cleanup target folder"
rm -rf $2
echo "create target folder"
mkdir $2

echo "==================================="
echo "cleanup temp folder"
umount tmp.jffs2 &>/dev/null
sleep 1
rm -rf tmp.jffs2 
echo "create temp folder"
mkdir tmp.jffs2

export loop=$(losetup -f)
echo "==================================="
echo "setting up loop device: "$loop
losetup $loop $1

echo "==================================="
echo "loading modules"
modprobe jffs2
modprobe mtdblock

echo "==================================="
echo "setting up block device"
modprobe block2mtd block2mtd=$loop,131072

sleep 5
echo "==================================="
echo "mounting jffs2 image on: "$2
mount -t jffs2 -o ro /dev/mtdblock0 tmp.jffs2

echo "==================================="
echo "copying data to target folder"
cp -a tmp.jffs2/* $2
echo "copying hidden files (.) to target folder"
cp --recursive tmp.jffs2/.[a-zA-Z0-9]* $2

sleep 1

echo "==================================="
umount tmp.jffs2
rmmod block2mtd
losetup -d $loop

echo "done!"
echo "<"$1"> copied to <"$2">"

build-img.sh


Code:
#!/bin/sh

if [ $# -ne 2 ]; then
 echo "usage: build-img.sh <folder> <image>"
 exit
fi

echo "building image from folder: "$1
gotit=$(file $1|grep -c directory)
if [ $gotit -ne 1 ]; then
 echo $1" -> not a folder"
 exit
fi

echo "==================================="
echo "cleanup target image"
rm -rf $2

echo "==================================="
echo "build jffs2 image file"
mkfs.jffs2 --root=$1 --output=$2 --eraseblock=131072 -l -p


echo "done!"
echo "<"$2"> image built from <"$1">"

That's all!
Good luck
 

juli13

Staff member
Administrator
Messages
10,198
Her´s a small HowTo connect Coolstream via telnet.

We describe for example how mgcamd can be startet via telnet and how to see a log in telnet window.



install putty

type IP and port of your Coolstream and click on OPEN:

index.php

in new black window type:
1 ps

index.php


as result we will see all running processes
index.php

start mgcamd:
1 /var/emu/mgcamd

index.php


here´s for example a log after mgcamd connects to sever ... in this case by using newcamd-protocol
index.php

to stop mgcamd type:

1 killall mgcamd
 

elgeneral

Registered
Messages
7,811
HowTo StinkyLiunx for CoolStream HD1


Preparation:
Starts StinkyLinux and sign in as Bentutzer slightly!
Click below on the 4th symbol (terminal - command line)
Source
Code:
[LIST]
[*]mkdir archives 
[*]mkdir CoolStream 
[*]cd CoolStream 
[*]git clone git: / / gitorious.org / neutrino-hd / build system-cs.git cs-neutrino 
[*]cd cs-neutrino 
[*]ln-sf $ HOME / Archive download 
[*]make cross tool 
[*]make preqs 
[*]make bootstrap 
[*]make neutrino 
[*]make skeleton 
[*]make rootfs
[/LIST]


1. We create a directory named "archives", arrive later in this directory the files to the project from the Internet to load. We create this directory outside of our actual project directory, so we do so we if we want to make it new all the time the files do not need to load down a second time. This saves time and bandwidth.

2.coolstream is our real project directory in this directory will play out later all

3. That is now the real "checkout", where the source code of the CoolStream build system into our local project directory will be transferred. The parameter

4. make cross tool generates the entire surroundings Cross incl all Libs that we need so

5. make preqs (prerequisites) checks for us the whole SVN's / Gits, bringing practical from the sources that we need so

6. make bootstrap copied some Libs and modules and creates some directories - these are needed to compile

7. make neutrino "builds" is the real neutrino

8. skeleton make the directory structure created as we need it later

9. make rootfs now copies everything together so that we all we need in a directory (build_tmp / rootfs) have

with mkfs.jffs2-p-e 128KiB-r build_tmp / rootfs-o mtd2.img we can now generate an image (flash at your own risk!)

Errors and suggestions are happy times!

Gracias a BOFHell
 
Top