Um das Image der Coolstream mit diesem Tool upzudaten, kopiert den im Download enhaltenen 
Kernel mtd1.img (Neo kernel.img) und das Image/Dateisystem mtd2.img (Neo sysroot.img) auf einen USB-Stick,
der in FAT32 formatiert ist.

Den USB-Stick an der Coolstream anschlieen, und die Coolstream mit dem PC mit einem Seriellen
Cable (RS232) verbinden (115000).
Dann das Programm "NXPHDloader" starten und den Anweisungen folgen,
um den Kernel und/oder das Image/Dateisystem zu laden.

Sollte das Updaten nicht klappen, einen anderen USB-Stick versuchen,
vielleicht wird dieser nicht vom Bootloader untersttzt.
Oder den Button serial/usb debug drcken und den Log kontrollieren. 

1) USB-Stick FAT32 formatieren
2) Die beiden Dateien draufkopieren
3) Dei Kabelverbindungen (Seriell) und den USB stecken
4) Loader und Kernel laden
5) Loader Image laden (sysroot)

6) NG 2.7 flashen
7) updateurl erneuern bzw. manuell von Stick oder aus Temp aktuelles NI vom 5.3.2017 flashen, Achtung, nicht das vom 4.4.2017!



read me:
NEVER USE NOT OFICIAL SOFTWARE, OR YOU DO IT ON YOUR OWN RISK

Coolstream Emergency Tool for Neo
---------------------------------



To 
Upgrade your Coolstream receiver please copy kernel.img (kernel) and sysroot.img.img (filesystem) on USB STICK (must be FAT32 Formated).

Insert USB STICK in Coolstream USB Port(front), connect serial Cable between PC and Coolstream STB, 
and start the program on your Windows PC following the Instructions to update Kernel and/or Filesystem. 
After the tool recognise your Coolstream please wait few seconds bevore push the button for kernel or filesys update.


Note: If the Update doesnt succeed just change to another USB STICK, maybe this one you have is not supported by our bootloader!
Or if you use some usb to serial Cable the communication in windows may disturbed, so remove and insert it again.


Manual Update
-------------

You can flash over serial direct from bootloader, set your serial port to 115 200 baud and press enter after power up,
you will get a prompt from the bootloader (dont forget to insert the usb stick with needed files):
Hdx>
there you have to use this command according to what you need to flash.

Kernel update:

-------------

HDx>usb start
HDx>fatload usb 0 0x0E000000 kernel.img


reading
kernel.img
......................................................................................................................................
...................................................................

2060560 bytes read
HDx>erase 0xF0080000 +0x00400000


............................
....
Erased 32 sectors
HDx>cp.b 0x0E000000 0xF0080000 0x00400000

Copy to Flash... ................................
done
HDx>re
to reset STB

Filesystem Update:

------------------

HDx> usb start                                                                  
(Re)start USB... 

USB:   ehci_hcd_init();                                                         
CX2450x init hccr e8000100 and hcor e8000140 hc_length 64 

    
USB EHCI 1.00                                                                   
scanning bus for devices... 2 USB Device(s) found   
                            
       scanning bus for storage devices... 1 Storage Device(s) found            
HDx> fatload usb 0 0x0E000000 sysroot.img  
  
reading sysroot.img                                                                 
.                                                               
                
................................................................................
.............................................................. 
      
19239496 bytes read   <-----here we must calculate and convert to HEX value, for example 23601412 / 4 =   5A0841                                                       

HDx> erase 0xF0480000 0xF1FFFFFF     
................................................................................
............................................
....................................
Erased 220 sectors                                                              
HDx> cp 0x0E000000 0xF0480000 0x5A0841                                                

Copy to Flash... ...............................................................
......................................................                          

done                                                                            
HDx> re      





