Debug mode without Short-circuit HowTo

General information

On parts to the software mentioned here there is copyright of Sun, and/or Betaresearch. Making it available to download, and/or other spreading of this software (BR image or files from it) is forbidden.

Everything you do with your Box happens on own danger.
I do not take over any adhesion for any damage.

Needed implements:

A functioning NIC in the PC, a serial zero-modem, the Dbox2-Bootmanager and a file named minflsh.tar.gz.
This minflsh is unfortunately not freely available, since it receives files on those rights from Sun, and/or are appropriate from Betaresearch, for this reason we cannot make it available for download, and/or pass.
Please do not ask us.

Preparations:

Respects first that you your network map a firm IP assigned (autom. ones to refer out). If you do not know wich, simply follow this example:

IP address: 192.168.5.3
Subnet MASK: 255.255.255.0
(please use a address from the private sector (192.168.X.X) if you do not exact know what you are doing)

Also pay attention to the Settings of the serial interface in Windows.

Bit per second: 57600
Data bits: 8
Parity: None
Stop bit: 1
River price increase: None
Afterwards possibly a restart of Windows is necessary.

Unpacked then minflsh archives, best after C:\minflsh.

Now you need the current tuner.so , in flash.so rename and thus the existing flash.so in C:\minflsh\root\platform\drv replace.

The procedure:

With a Sagem with 1xIntel-Flash breaking of the update off is unnecessary, likewise if a BR version lower than 1.6 is installed on the box.
With such a box you can continue with the boot procedure.


At first you have to start an update of the BR-Software.

In addition there are several possibilities:

Normal update:

Go to Dbox internal (Dbox-Button) - > Settings, there is a point software updates.
If the Software tells you, you have allready the current version of the operating system installed, then you have to choose one of the other possibilities.

Card exchange:

Simply start the box with the "wrong" smartcard (cable - Sat).
Afterwards you can start the update.

flash erase

If you have no way to use another card (neighbour etc.), then you can do a "flash erase".
Move the box to deep-standy (or plug off), wait until "Start..." appears in the LCD and then press the arrow-down key at the Dbox until "flash erase" appears in the LCD. Do this twice (the start-assistent should not appear during this procedure), then there should appear a message in the LCD:
"Ihre Software konnte nicht ordnungs.....Drücken Sie OK um die Software zu akutalisieren."
At this point, press OK on the remote.
This method functioned usually on the first time, one does not have to usually repeat the procedure few times.

Antenna mark out.

Plug the antenna off an then start the box. The error message UD4 will appear in the LCD.
Do not press OK, simply plug off the box.
The plug the antenna in and start the box.
The box should introduce now a software update.

When the update runs:

Control LCD. There have to be 1-4 bars, (not the fast passing bars while loading..., but itself slowly of on the left of developing bars of the software update. With BN2.1 premiere there is in the LCD at this time)

Then plug off the box.

Plug off the antenna, some boxes do notanswer to RSH if the antenna is connected.
Now the box should start from minflsh and open RSH.

The boot procedure:

Then start the Dbox2-Bootmanager.

As Dbox2-IP take an IP address, the network fits on (if you followed my example take 192.168.5.7).

Rarp-Server starten: Ein
BootP/TftP-Server starten: Ein
Bootfile für die Dbox: C:\minflsh\kernel\os
NFS-Server starten: Ein
Root-Verzeichnis: C:\minflsh
Com-Port: Öffnen
Verbindungsgeschwindigkeit: 57600

Now press on Start and plug in the box.
Now the LCD should stop while lade....
Wait a little while, it can last up to 30secs till RSH works.
Change to the rider "RSH Client" and send help with the Send Cmd Button.
Afterwards following messages appear:
> help
and still some other lines.

If that does not happen and something of "timeout" comes instead,try breaking the update at another point (possibly with 5-9 bars)

Disabling write-protection

Now you have to disable the write-protection, the way to do differs from box to box. See in addition also: that HowTo

For boxes with 2 x Intel flash there is a new method, which develop that the plate makes redundant: Only briefly, (1 second) connect GND (its under the fixing bolts) with Pin12 of one flash-chip. You have to count for Pin12, Pin1 is a marked (thick point) in the appropriate corner of the Flash.
With the Sagem 1xI as well as with the 2xAMD boxes this method does not function unfortunately.

Enabling the Debug-Mode

If the necessary bridge is set, you execute the Script "enable_debug_mit_minflsh.txt" with the "Execute Script" Button of the boot manager.

After this a few lines and many error messages appears. That is normal. > umount /
> mount 192.168.5.3:C/minflsh/ /
C_INIT: mount 192.168.5.3:C/minflsh/ on /
;
;
;
;
; Und nun ins Terminalfenster (vorherige Seite) kucken!
;
;
;
;
> arun initactor -v -V -i 4
started aid = 10
INIT Version 0.9 loaded
INIT: library path: "LD_LIBRARY_PATH=/root/platform/nokia-dbox2/lib:/root/platform/lib:/root/lib:/usr/lib:/root/platform/mpc8xx-dbox2/lib:/root/platform/nokia-dbox2/lib"
INIT: start run level 2
INIT: execute "ddf"
INIT: time: 58 sec, 920000000 nsec
INIT: started aid = 11
INIT: execute "upgrade"
INIT: time: 62 sec, 820000000 nsec
INIT: afexec of upgrade failed - No such file or directory



At this point, the Network seems to be ok.
Now take a look at the com-terminal. If there is:


DebugEnabler (C) tmbinc, gillem +(sagem, amd, philips) 1,8 beta
bl-version: 1.0
product? at: 10000944
current state: tmb locked
flashrom type: 2x16 bit? yes. vendor: INTEL
unprotecting:
flashing NOW: DONE!
then everything is correct.

The exact expenditures are different from box to box, the last line is the important one. If there is flashing NOW: failed, you did not successfully disable the write-protection. If there is nothing, control the settings of the serial port and the zero-modem.

So, if everything suceeded, you ar now in the Debug mode.
Now plug off the box and remove all the bridges of the write-protection.
Turn off the bootmanager(Stop).
Now turn on the box, in the LCD will come many merry indications (BMon....etc.).
That is correct, this are the expenditures of the Debug mode.

After the debug-mode is enabled

Let the BR-Software do its update to the end.
Make sure that it still works correctly.

If is settled, read your Flash contents with the "Image auslesen" Button of the boot manager.
When allways the message nochmal, nochmal... is in the com-terminal, you can use this Tool.

If the image is successfully picked out, extract the ucodes with the "Dateien extrahieren" Button of the boot manager.
That's it. The box is in the Debug mode and the necessary files is secured. Now can start you a Yadd or flash a Linux Image, e.g. from the update side

Feedback

E-Mail

Further assistance

For problems you can visit the forum.
Or visit the IRC Channel # dbox2. As server you can use irc.freenet.de or another server from icrnet.

Copyright

Copyright (C) 2002 by Dietmar Hoelscher and DrImp


Home