
Dear Seb,
in message 1061989794.3350.68.camel@xerxes.hypercube you wrote:
YOU DID NOT READ THE DOCUMENTATION!!!
repeat(100);
Not exactly. Some parts (like internal revision code) are NOT printed on the module.
And these are found in flash, start address 0x1ffc0, I think.
Right.
I followed the instructions from the ppcboot howto on the denx website:
It seems you did so only partially.
BDI>md 0x1FFC0 0001ffc0 : 54514d38 36304c44 44424133 2d503530 TQM860LDDBA3-P50 0001ffd0 : 2e323033 20313032 32363132 32203030 .203 10226122 00 0001ffe0 : 44303933 30303238 38312034 00000000 D093002881 4.... 0001fff0 : 00000000 00000000 00000000 00000000 ................ 00020000 : ffffffff ffffffff ffffffff ffffffff ................
So the commands you need are:
=> setenv serial# TQM860LDDBA3-P50.300 10226122 4 => setenv ethaddr 00:D0:93:00:28:81 => saveenv
However, the rm der 0x200xxxxx lines produced an error.
You can ignore this error.
What do the rm der 0x2002000f and rm der 0x2006000f lines do?
Clearing/setting the SYSIE bit in the DER. The fast flash routines used by the BDI2000 use system calls, so these should not be trapped. This is probably no longer necessary with recent versions of the BDI2000 firmware.
rm modifies a general purpose/user defined register, but there is no register with the name DER or der in the tqm8xxL.cnf file; though if you look the init section of tqm8xxL.cnf:
Your BDI2000 config file probably includes a register definitions file "reg860.def" or so. This should contain lines like these:
... xer SPR 1 lr SPR 8 ctr SPR 9 dec SPR 22 pc SPR 26 ; is SRR0 srr1 SPR 27 eie SPR 80 eid SPR 81 der SPR 149 ictrl SPR 158 sprg0 SPR 272 sprg1 SPR 273 sprg2 SPR 274 sprg3 SPR 275 immr SPR 638 ...
This is where the definition of DER is coming from...
DER seems to be the debug enable register. Seems like the plan is to set some sort of system interrupt enable before erasing the flash with u-(ppc)boot on, after when the system is put back into debug enable. However, it doesn't work on my BDI.
Missing / broken / old version of reg860.def ?
Two modules, Mac addresses:
00:d0:93:00:7c:2b :
Installed Tue Feb 04 01:25:45 MET 2003 Serial Number: "TQM823LDBBA3-E50.305 10526419 4" MAC Address: "00:D0:93:00:7C:2B"
00:d0:93:00:c0:a4 :
Installed Fri Jul 11 17:22:28 MEST 2003 Serial Number: "TQM823LDBBA3-E50.308 10636757 4" MAC Address: "00:D0:93:00:C0:A4"
Best regards,
Wolfgang Denk