Difference between revisions of "Receivers:Xtrend Securityboard"

From OpenPLi Wiki
Jump to: navigation, search
(Created page with "Xtrend Reparatur mit SecureCRT ############################# Mit einem Terminal Programm wie Secure CRT kann man manche Fehler selber beheben. Wenn z.B. das Mainboard defekt...")
 
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
Xtrend Reparatur mit SecureCRT
 
Xtrend Reparatur mit SecureCRT
#############################
+
----
Mit einem Terminal Programm wie Secure CRT kann man manche Fehler selber beheben.
+
Source: http://www.xtrend-home.de/forum/board13-et9x00/board50-hardware/6338-security-board/#post59144<br />
  
Wenn z.B. das Mainboard defekt ist, kann man ein anderes Mainboard (Bei
+
'''NOTICE: The OpenPLi team can not confirm if the procedure is correct and will work.'''<br />
dem z.B. das Secboard defekt ist) einbauen. man muss nur dem neuen
 
mainboard die mac Adresse des defekten verpassen, schon läuft das
 
Secboard mit dem neuen Mainboard.
 
  
Auch ein Fehler beim Flashen des Bootloaders kann so behoben werden.
 
  
Hier die Befehle:
+
With a terminal program like Secure CRT you can fix some errors yourself.
  
1. Bootloader flash:
+
If e.g. the mainboard is defective, you can install a different mainboard (e.g. the secboard is defective). all you have to do is give the new mainboard the mac address of the defective, and the secboard will run with the new mainboard.
The image files must be placed on the root of USB stick.
 
After inserting the USB stick to your Xtrend and turning it on, click CTRL + C numerous times on Secure CRT,
 
then enter these commands:
 
  
flash –noheader usbdisk0:cfe.bin flash0.cfe
+
An error when flashing the boot loader can also be remedied in this way.
  
flash –noheader usbdisk0:splash.bin flash0.splash
+
Here are the commands:
  
reboot
 
  
 +
# Bootloader flash:
 +
The image files must be placed on the root of USB stick.
 +
After inserting the USB stick to your Xtrend and turning it on, click CTRL + C numerous times on Secure CRT,
 +
then enter these commands:
  
1.1 Image flash:
+
flash –noheader usbdisk0:cfe.bin flash0.cfe
 +
flash –noheader usbdisk0:splash.bin flash0.splash
 +
reboot
  
flash –forceerase –noheader usbdisk0:kernel.bin nandflash0.kernel
 
  
flash –forceerase –noheader usbdisk0:rootfs.bin nandflash0.rootfs
+
# Image flash:
  
reboot
+
flash –forceerase –noheader usbdisk0:kernel.bin nandflash0.kernel
 +
flash –forceerase –noheader usbdisk0:rootfs.bin nandflash0.rootfs
 +
reboot
  
CFE>unsetenv STARTUP
+
CFE>unsetenv STARTUP
  
 
If it don’t have mac address label, you have to read that in the CFE> mode. than you save that to the different location
 
If it don’t have mac address label, you have to read that in the CFE> mode. than you save that to the different location
  
CFE> ^C // click “ Ctrl+C “ as soon as it turn on STB
+
CFE> ^C // click “ Ctrl+C “ as soon as it turn on STB
 
+
CFE> ^C
CFE> ^C
+
CFE> printenv // Display the environment variables
 
 
CFE> printenv // Display the environment variables
 
  
 
Variable Name Value
 
Variable Name Value
  
-------------------- --------------------------------------------------
+
----
  
BOOT_CONSOLE uart0
+
BOOT_CONSOLE uart0
LINUX_FFS_STARTAD 0
+
LINUX_FFS_STARTAD 0
LINUX_FFS_SIZE 0
+
LINUX_FFS_SIZE 0
SPLASH_PART_STARTAD 80000
+
SPLASH_PART_STARTAD 80000
SPLASH_PART_SIZE 200000
+
SPLASH_PART_SIZE 200000
STARTUPVERSION 1
+
STARTUPVERSION 1
ETH0_HWADDR XX:XX:XX:XX:XX:XX // you can see the MAC Address here
+
ETH0_HWADDR XX:XX:XX:XX:XX:XX // you can see the MAC Address here
LINUX_PART_STARTAD 0
+
LINUX_PART_STARTAD 0
LINUX_PART_SIZE 600000
+
LINUX_PART_SIZE 600000
DRAM0_SIZE 512
+
DRAM0_SIZE 512
DRAM1_SIZE 0
+
DRAM1_SIZE 0
FLASH_TYPE NOR
+
FLASH_TYPE NOR
FLASH_SIZE 4
+
FLASH_SIZE 4
CFE_VERSION 2.12.26
+
CFE_VERSION 2.12.26
CFE_BOARDNAME BCM97405B1
+
CFE_BOARDNAME BCM97405B1
CFE_MEMORYSIZE 128
+
CFE_MEMORYSIZE 128
*** command status = 0
+
*** command status = 0
CFE>
+
CFE>
  
  
2. replace IC (nor , nand flash )
+
# replace IC (nor , nand flash )
 
Turn off STB and than replace IC (nor , nand flash ) on the STB pcb.
 
Turn off STB and than replace IC (nor , nand flash ) on the STB pcb.
 
Take notice you don’t miss each nor flash (3 type:ET5X00,ET6X00,ET9X00)
 
Take notice you don’t miss each nor flash (3 type:ET5X00,ET6X00,ET9X00)
  
  
3. Writing MAC Address
+
# Writing MAC Address
 
Write MAC Address in the nor flash after you go to CFE> mode.
 
Write MAC Address in the nor flash after you go to CFE> mode.
  
CFE> help macprog2 // you can see function, use form of the macprog2 command
+
CFE> help macprog2 // you can see function, use form of the macprog2 command
  
 
SUMMARY
 
SUMMARY
Line 82: Line 79:
 
USAGE
 
USAGE
  
macprog2 <macaddress>
+
macprog2 <macaddress>
  
  
Line 88: Line 85:
 
This command programs board specific MAC addresses to the
 
This command programs board specific MAC addresses to the
  
flash. (ex. macprog2 00-01-FE-40-09-F2) // use form
+
flash. (ex. macprog2 00-01-FE-40-09-F2) // use form
*** command status = 0
+
*** command status = 0
CFE>
+
CFE>
CFE> macprog2 00-01-FE-40-09-F2 // write MAC Address in the STB
+
CFE> macprog2 00-01-FE-40-09-F2 // write MAC Address in the STB
Programming flash...done
+
Programming flash...done
*** command status = 0
+
*** command status = 0
  
 
Angaben ohne Gewähr, bitte nur bei bereits defekten Geräten ausprobieren!!!  
 
Angaben ohne Gewähr, bitte nur bei bereits defekten Geräten ausprobieren!!!  
Line 99: Line 96:
  
  
************************* Procedure provenant de ***********************************************************
+
====
 
+
Procedure provenant de  
 
http://www.digital-eliteboard.com/350284…tml#post2463444
 
http://www.digital-eliteboard.com/350284…tml#post2463444
  
*********************************************************** *****************************************************
+
----
 
 
 
Vorgehensweise : Wenn man das Secboard tauschen möchte weil es defekt ist oder, oder
 
Vorgehensweise : Wenn man das Secboard tauschen möchte weil es defekt ist oder, oder
  
 
Vorbereitung
 
Vorbereitung
1. Laptop oder Rechner ( incl. Win7 )
+
#Laptop oder Rechner ( incl. Win7 )
2. Serielles Kabel evtl. mit Serial USB Adapter
+
# Serielles Kabel evtl. mit Serial USB Adapter
3. Software Putty
+
# Software Putty
4. USB Stick mit einem IMAGE
+
# USB Stick mit einem IMAGE
  
 
LOS GEHT´S
 
LOS GEHT´S
Line 135: Line 131:
 
Variable Name Value
 
Variable Name Value
  
-------------------- --------------------------------------------------
+
----
  
BOOT_CONSOLE uart0
+
BOOT_CONSOLE uart0
LINUX_FFS_STARTAD 0
+
LINUX_FFS_STARTAD 0
LINUX_FFS_SIZE 0
+
LINUX_FFS_SIZE 0
SPLASH_PART_STARTAD 80000
+
SPLASH_PART_STARTAD 80000
SPLASH_PART_SIZE 200000
+
SPLASH_PART_SIZE 200000
STARTUPVERSION 1
+
STARTUPVERSION 1
ETH0_HWADDR 00:00:00:00:00:00
+
ETH0_HWADDR 00:00:00:00:00:00
LINUX_PART_STARTAD 0
+
LINUX_PART_STARTAD 0
LINUX_PART_SIZE 600000
+
LINUX_PART_SIZE 600000
DRAM0_SIZE 512
+
DRAM0_SIZE 512
DRAM1_SIZE 0
+
DRAM1_SIZE 0
FLASH_TYPE NOR
+
FLASH_TYPE NOR
FLASH_SIZE 4
+
FLASH_SIZE 4
CFE_VERSION 2.12.26
+
CFE_VERSION 2.12.26
CFE_BOARDNAME BCM97405B1
+
CFE_BOARDNAME BCM97405B1
CFE_MEMORYSIZE 128
+
CFE_MEMORYSIZE 128
*** command status = 0
+
*** command status = 0
  
 
- nun schreiben wir die neue MACADRESSE in das MAINBOARD der Xtrend Box rein
 
- nun schreiben wir die neue MACADRESSE in das MAINBOARD der Xtrend Box rein
 
 
- mit dem Befehl : " macprog2 "
 
- mit dem Befehl : " macprog2 "
 
 
- macprog2 00-00-00-00-00-00 ( bitte darauf achten das die MACADRESSE mit Bindestriche sind )
 
- macprog2 00-00-00-00-00-00 ( bitte darauf achten das die MACADRESSE mit Bindestriche sind )
  
macprog2 00-00-00-00-00-00
+
macprog2 00-00-00-00-00-00
Programming flash...done
+
Programming flash...done
*** command status = 0
+
*** command status = 0
  
 
So nun nur noch neu starten mit Netzschalter aus und wieder ein .
 
So nun nur noch neu starten mit Netzschalter aus und wieder ein .
  
 
Jetzt freuen das unsere Box wieder startet.
 
Jetzt freuen das unsere Box wieder startet.

Latest revision as of 10:02, 16 July 2020

Xtrend Reparatur mit SecureCRT


Source: http://www.xtrend-home.de/forum/board13-et9x00/board50-hardware/6338-security-board/#post59144

NOTICE: The OpenPLi team can not confirm if the procedure is correct and will work.


With a terminal program like Secure CRT you can fix some errors yourself.

If e.g. the mainboard is defective, you can install a different mainboard (e.g. the secboard is defective). all you have to do is give the new mainboard the mac address of the defective, and the secboard will run with the new mainboard.

An error when flashing the boot loader can also be remedied in this way.

Here are the commands:


  1. Bootloader flash:

The image files must be placed on the root of USB stick. After inserting the USB stick to your Xtrend and turning it on, click CTRL + C numerous times on Secure CRT, then enter these commands:

flash –noheader usbdisk0:cfe.bin flash0.cfe
flash –noheader usbdisk0:splash.bin flash0.splash
reboot


  1. Image flash:
flash –forceerase –noheader usbdisk0:kernel.bin nandflash0.kernel
flash –forceerase –noheader usbdisk0:rootfs.bin nandflash0.rootfs
reboot
CFE>unsetenv STARTUP

If it don’t have mac address label, you have to read that in the CFE> mode. than you save that to the different location

CFE> ^C // click “ Ctrl+C “ as soon as it turn on STB
CFE> ^C
CFE> printenv // Display the environment variables

Variable Name Value


BOOT_CONSOLE uart0
LINUX_FFS_STARTAD 0
LINUX_FFS_SIZE 0
SPLASH_PART_STARTAD 80000
SPLASH_PART_SIZE 200000
STARTUPVERSION 1
ETH0_HWADDR XX:XX:XX:XX:XX:XX // you can see the MAC Address here
LINUX_PART_STARTAD 0
LINUX_PART_SIZE 600000
DRAM0_SIZE 512
DRAM1_SIZE 0
FLASH_TYPE NOR
FLASH_SIZE 4
CFE_VERSION 2.12.26
CFE_BOARDNAME BCM97405B1
CFE_MEMORYSIZE 128
*** command status = 0
CFE>


  1. replace IC (nor , nand flash )

Turn off STB and than replace IC (nor , nand flash ) on the STB pcb. Take notice you don’t miss each nor flash (3 type:ET5X00,ET6X00,ET9X00)


  1. Writing MAC Address

Write MAC Address in the nor flash after you go to CFE> mode.

CFE> help macprog2 // you can see function, use form of the macprog2 command

SUMMARY

Program a specific MAC address.

USAGE

macprog2 <macaddress>


This command programs board specific MAC addresses to the

flash. (ex. macprog2 00-01-FE-40-09-F2) // use form
*** command status = 0
CFE>
CFE> macprog2 00-01-FE-40-09-F2 // write MAC Address in the STB
Programming flash...done
*** command status = 0

Angaben ohne Gewähr, bitte nur bei bereits defekten Geräten ausprobieren!!!


==

Procedure provenant de http://www.digital-eliteboard.com/350284…tml#post2463444


Vorgehensweise : Wenn man das Secboard tauschen möchte weil es defekt ist oder, oder

Vorbereitung

  1. Laptop oder Rechner ( incl. Win7 )
  2. Serielles Kabel evtl. mit Serial USB Adapter
  3. Software Putty
  4. USB Stick mit einem IMAGE

LOS GEHT´S

Serial Kabel anschließen von Box zum Rechner( wichtig in Windows Einstellungen "Bit per second 115200" - Putty öffnen - Serial auswählen und Speed auf 115200 einstellen - Putty starten - USB-Stick mit IMAGE in den Vorderen USB Anschluss der Xtrend Box Stecken - Box einschalten und gleich im Putty Fenster die Tasten Strg + C drücken einige male hintereinander - das Image flashen also an der Box ok drücken - warten ..... - wenn das IMAGE geflasht ist sieht man im Putty Fenster " CFE> "

SOWEIT SO GUT

- jetzt lesen wir uns die MACADRESSE aus mit " printenv " ( nur zur Sicherheit ) - CFE> printenv es steht dann soetwas da:

CFE> CFE> printenv Variable Name Value


BOOT_CONSOLE uart0
LINUX_FFS_STARTAD 0
LINUX_FFS_SIZE 0
SPLASH_PART_STARTAD 80000
SPLASH_PART_SIZE 200000
STARTUPVERSION 1
ETH0_HWADDR 00:00:00:00:00:00
LINUX_PART_STARTAD 0
LINUX_PART_SIZE 600000
DRAM0_SIZE 512
DRAM1_SIZE 0
FLASH_TYPE NOR
FLASH_SIZE 4
CFE_VERSION 2.12.26
CFE_BOARDNAME BCM97405B1
CFE_MEMORYSIZE 128
*** command status = 0

- nun schreiben wir die neue MACADRESSE in das MAINBOARD der Xtrend Box rein - mit dem Befehl : " macprog2 " - macprog2 00-00-00-00-00-00 ( bitte darauf achten das die MACADRESSE mit Bindestriche sind )

macprog2 00-00-00-00-00-00
Programming flash...done
*** command status = 0

So nun nur noch neu starten mit Netzschalter aus und wieder ein .

Jetzt freuen das unsere Box wieder startet.