have i killed my box ?

Domestos & Derivate
Big Ted
Interessierter
Interessierter
Beiträge: 36
Registriert: Sonntag 21. November 2004, 11:14

have i killed my box ?

Beitrag von Big Ted »

I have a nokia 2I bmon1.2 and spent most of yesterday trying to get it in to debug, i finally managed to get it to talk to boot loader using, and ppcboot, i type in the following
Type:
chorus 800000 [Enter].

cp 10000000 01000000 1000 [ ENTER ]

Nm 01000944 [ ENTER ]

0000000 [ ENTER ]

01000944: 00000000?
Press:
[ ESC ] [ ENTER ]

To turn off the Protection of the Flash Sectors:
prot off 1:0 [ ENTER ]

Changed RAM into the first sector copy:
cp 01000000 10000000 1000 [ ENTER ]

go 10000100 [Enter ] .

followed it exactly and then the box and pc did not reset just hung.


now when i turn it on i get no display on the lcd or tv screen.

the lcd lights up but no characters.

sorry to be asking questions on my first post.

any help would be great

Thanks
thomasn1985
Interessierter
Interessierter
Beiträge: 98
Registriert: Sonntag 3. Oktober 2004, 11:03

Beitrag von thomasn1985 »

This method you have used is only for nokia with bmon 1.0

You have killed the BMon.

:(
Lebe den Augenblick, denn er ist Einzigartig!
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

The flash has to be reprogrammed externally.
There are 10 types of people in the world: those who know binary and those who don't
Big Ted
Interessierter
Interessierter
Beiträge: 36
Registriert: Sonntag 21. November 2004, 11:14

Beitrag von Big Ted »

ok thanks, any info on how to program it externally, remove the two flash chips i presume and have them blown with hardware.
thanks again

Ted
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

Some information is spreaded in the board here, mostly in german.

It's not easy, so no simple HowTo available.
There are 10 types of people in the world: those who know binary and those who don't
Big Ted
Interessierter
Interessierter
Beiträge: 36
Registriert: Sonntag 21. November 2004, 11:14

Beitrag von Big Ted »

thank you for your reply. I have had a look with the search and can't find anything , i tried german phrases aswell, could you put a link to one of the pages that mention this so i know what to look for. or what to put in the search box. sorry to be a nussiance.
many thanks agian
Ted
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

It's spreaded all over this board, I don't have any links or search-phrases in my (limited) memory.

Anyway, it's nothing one does/learns on one boring weekend 8)
There are 10 types of people in the world: those who know binary and those who don't
Big Ted
Interessierter
Interessierter
Beiträge: 36
Registriert: Sonntag 21. November 2004, 11:14

Beitrag von Big Ted »

thanks man, I have found a few places that are helpful and a few sites that have the know how. if i can sort this i'll post a how to and how hard it is.
Ted
Big Ted
Interessierter
Interessierter
Beiträge: 36
Registriert: Sonntag 21. November 2004, 11:14

Beitrag von Big Ted »

I got this done a while ago but had given up due to problems, when the chips were reflashed they are now bmon 1.0, the old ones which I broken were 1.2, now the box boot into an image but can't read any of the scan files in it. it dosn't see the cables.xml and can't b altered very strange.
just wondering if the bmon makes a difference as to how the chip are read ?

thanks

ted
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

The Box needs another reflash with BMon 1.2 - one must not mix the versions.
There are 10 types of people in the world: those who know binary and those who don't
Big Ted
Interessierter
Interessierter
Beiträge: 36
Registriert: Sonntag 21. November 2004, 11:14

Beitrag von Big Ted »

ok thanks for that.
Big Ted
Interessierter
Interessierter
Beiträge: 36
Registriert: Sonntag 21. November 2004, 11:14

Beitrag von Big Ted »

can it be flashed like a new image or have i got to take the chips off the board again ?
thanks ted
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

It can be done on-board, but people tend to make a lot of errors during this progress. Without exactly knowing what he does, one shouldn't use this method.

I'll describe it in short terms anyway. You can't really "kill" the box, the worst result would be a killed BMon - and you already know what to do then ;)

Download a yadd (you olny need "tftpboot/u-boot" for flashing now)

http://tuxbox.trale.de/atm/index.php?ac ... igma_LCars


Copy u-boot and your BMon-file (BMON.IMG) into the same directory (i.e. C:\FLASH).

Setup Bootmanager:
- Uncheck all Options
- Enter a IP for your Dbox
- Check "RARP-Server starten"
- Check "COM-Port" "Öffnen" - Speed 9600
- Check "BootP / TFTP - Server starten"
- Set "Bootfile für die DBox" to "C:\FLASH\u-boot"
- Klick on the "Start" button

- Power on the DBox, it should boot u-boot via network now.
- Press Strg+C as soon as u-boot starts up (ignore i2c-errors)
- uboot should show the "=>" prompt now
- Enter "rarpboot 120000 /C/FLASH/BMON.IMG" - the box should load the bmon via network
- Enter "protect off 10000000 1001ffff"
- Enter "erase 10000000 1001ffff" - this is the point of no return
- Enter "cp.l 120000 10000000 8000"

If everything went OK, your Dbox is back to live now. If not, its time for the soldering-iron ;)

P.S.: Kids, don't try this at home!
Big Ted
Interessierter
Interessierter
Beiträge: 36
Registriert: Sonntag 21. November 2004, 11:14

Beitrag von Big Ted »

thanks alot, i'll give it a go, now to try and find a bmon 1.2 image guess they are copyrighted so a bit few and far between.

Ted
Big Ted
Interessierter
Interessierter
Beiträge: 36
Registriert: Sonntag 21. November 2004, 11:14

Beitrag von Big Ted »

got a bmon 1.2 what size should it be mines' 128kb is this correct ?
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

1001ffff - 10000000 = 1ffff hex, 131071 decimal = 128kb

In short terms - 128kb ist correct :)
There are 10 types of people in the world: those who know binary and those who don't
Big Ted
Interessierter
Interessierter
Beiträge: 36
Registriert: Sonntag 21. November 2004, 11:14

Beitrag von Big Ted »

excellent, i'll give it a go and let you know how it all goes,

PS I hate soldering. . . .

Ted
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

Hmm, others make a living out of it ;)
There are 10 types of people in the world: those who know binary and those who don't
Big Ted
Interessierter
Interessierter
Beiträge: 36
Registriert: Sonntag 21. November 2004, 11:14

Beitrag von Big Ted »

got a problem, all went well until i typed this line,
cp.l 120000 10000000 8000

it then gave me the error, copy to flash . . flash not erased

daren't switch it off.

is it done or not ?

tia
gurgel
Tuxboxer
Tuxboxer
Beiträge: 2473
Registriert: Dienstag 8. Oktober 2002, 21:06

Beitrag von gurgel »

you have to set the jumpers XH4 and XH6 to remove the Bootblockprotection of the Flashmemory.
or did you use the ppcboot 0.6.4? If yes, DieMade should tell you howto load and start uboot with that.

Do not turn off the Box until it says "Flashing Done"!!
Zuletzt geändert von gurgel am Donnerstag 17. März 2005, 00:21, insgesamt 1-mal geändert.
Big Ted
Interessierter
Interessierter
Beiträge: 36
Registriert: Sonntag 21. November 2004, 11:14

Beitrag von Big Ted »

so is it safe to switch off, no used u-boot. so if nothing has been erased then nothing programed either ??

need to switch off and bridge solder points then.
gurgel
Tuxboxer
Tuxboxer
Beiträge: 2473
Registriert: Dienstag 8. Oktober 2002, 21:06

Beitrag von gurgel »

the flashs have been erased! DO NOT STWICH OFF THE DBOX!
Zuletzt geändert von gurgel am Donnerstag 17. März 2005, 00:29, insgesamt 1-mal geändert.
gurgel
Tuxboxer
Tuxboxer
Beiträge: 2473
Registriert: Dienstag 8. Oktober 2002, 21:06

Beitrag von gurgel »

please post the complete log of the comterminal.
Big Ted
Interessierter
Interessierter
Beiträge: 36
Registriert: Sonntag 21. November 2004, 11:14

Beitrag von Big Ted »

debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.0 mID 01
debug: feID 7a gtxID 0b
debug: fpID 5a dsID 01-ec.f2.81.07.00.00-60
debug: HWrev X5 SWrev 0.81
debug: B/Ex/Fl(MB) 32/00/08
WATCHDOG reset enabled
dbox2:root> debug:
BOOTP/TFTP bootstrap loader (v0.3)
debug:
debug: Transmitting BOOTP request via broadcast
debug: Got BOOTP reply from Server IP 192.168.5.3, My IP 192.168.5.5
debug: Sending TFTP-request for file C/FLASH/u-boot
will verify ELF image, start= 0x800000, size= 141104
verify sig: 263
boot net: boot file has no valid signature
Branching to 0x40000


U-Boot 1.1.2 (Tuxbox) (Feb 27 2005 - 07:41:57)

CPU: PPC823ZTnnB2 at 67.200 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Nokia, BMon V1.0
Watchdog enabled
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
FB: i2c_write: i2c_doio failed (-1)
ready
LCD: ready
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
BOOTP broadcast 1
Using SCC ETHERNET device
TFTP from server 192.168.5.3; our IP address is 192.168.5.5
Filename 'C/FLASH/u-boot'.
Load address: 0x100000
Loading: *
Abort
*** ERROR: `serverip' not set
can't find logo
BOOTP broadcast 1
Using SCC ETHERNET device
TFTP from server 192.168.5.3; our IP address is 192.168.5.5
Filename 'C/FLASH/u-boot'.
Load address: 0x100000
Loading: *
Abort
*** ERROR: `serverip' not set
can't find logo

Options:
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select option (1-3), other keys to stop autoboot: 0
=> c<INTERRUPT>
=> <INTERRUPT>
=> rarpboot 120000 /C/FLASH/BMON.IMG
RARP broadcast 1
Using SCC ETHERNET device
TFTP from server 192.168.5.3; our IP address is 192.168.5.5
Filename '/C/FLASH/BMON.IMG'.
Load address: 0x120000
Loading: ##########################
done
Bytes transferred = 131072 (20000 hex)
=> protect off 10000000 1001ffff
.
Un-Protected 1 sectors
=> erase 10000000 1001ffff

done
Erased 1 sectors
=> cp.l 120000 10000000 8000
Copy to Flash... Flash not Erased
=> rarpboot 120000 /C/FLASH/BMON.IMG
RARP broadcast 1
Using SCC ETHERNET device
TFTP from server 192.168.5.3; our IP address is 192.168.5.5
Filename '/C/FLASH/BMON.IMG'.
Load address: 0x120000
Loading: ##########################
done
Bytes transferred = 131072 (20000 hex)
=> protect off 10000000 1001ffff
.
Un-Protected 1 sectors
=> erase 10000000 1001ffff

done
Erased 1 sectors
=> cp.l 120000 10000000 8000
Copy to Flash... Flash not Erased
gurgel
Tuxboxer
Tuxboxer
Beiträge: 2473
Registriert: Dienstag 8. Oktober 2002, 21:06

Beitrag von gurgel »

ok, the best way you do now, is to make a flash-reset.

drop the following pin uner the marked hole for a second to GND.
Bild
after that, erase the the flash again and enter the cp.l....
then it should work.

AND DO NOT TURN OFF THE DBOX, before Flash is not complete!