OpenWrt Forum Archive

Topic: wgt634u: dump of some byte from CFE.

The content of this topic has been archived on 6 Sep 2015. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi there,

I'm still trying to understand why my wgt refuses to boot from flash (while it does from network).
Could you do some experiments for me please ? (it won't alter anything)

You need a serial console attached:
- CTRL-C to stop the booting process
- type 'load -elf flash0.os:

it should print something like this:

Loader:elf Filesys:raw Dev:flash0.os File: Options:(null)
***************************
****  MAC Client V1.0  ****
***************************
et0macaddr value :flag =0 value=00-0f-b5-12-34-56
et1macaddr value :flag =0 value=00-0f-b5-65-43-21
MAC exist at least one
system ethernet mac exist and not default....
Skip mac client process.....
Loading: 0x80001000/3732 Entry at 0x80001000
*** command status = 0

- type 'd 0x80001000'
it should print something like this:

80001000: 3C0A8030 21440000 3C058000 24A51130  0..<..D!...<0..$
80001010: 3C068000 24C61E94 8CA80000 AC880000  ...<...$........
80001020: 20A50004 20840004 00A6082A 1420FFFA  ... ... *..... .
80001030: 00000000 40108001 24111C00 02308824  .......@...$$.0.
80001040: 12200018 00000000 00118A82 24080002  .. ............$
80001050: 02288804 24120380 02509024 001291C2  ..(....$$.P.....
80001060: 26520001 3408E000 01104024 00084342  ..R&...4$@..BC..
80001070: 24130040 01139804 02530019 00004012  @..$......S..@..
80001080: 02280019 00009012 4080E000 4080E800  ..(........@...@
80001090: 3C088000 01124821 BD010000 1509FFFE  ...<!H..........
800010A0: 01114021 00009821 0000A021 3C080038  !@..!...!...8..<
800010B0: 01104024 11000018 00000000 000844C2  $@...........D..
800010C0: 24130002 01139804 3C080007 01104024  ...$.......<$@..
800010D0: 00084402 25140001 3C0801C0 01104024  .D.....%...<$@..
800010E0: 00084582 24150040 0115A804 02950019  .E..@..$........
800010F0: 00004012 02680019 0000A012 4080E000  .@....h........@
*** command status = 0

Could you please post your result please ?
I don't need a lot of sample, just one from a working/booting wgt would be enough.
Thanks in advance

CFE> load -elf flash0.os:
Loader:elf Filesys:raw Dev:flash0.os File: Options:(null)
***************************
****  MAC Client V1.0  ****
***************************
et0macaddr value :flag =0 value=00-00-co-ff-ee-00
et1macaddr value :flag =0 value=00-00-co-ff-ee-00
MAC exist at least one
system ethernet mac exist and not default....
Skip mac client process.....
Loading: 0x80001000/3732 Entry at 0x80001000
*** command status = 0
CFE> d 0x80001000
80001000: 3C0A8030 21440000 3C058000 24A51130  0..<..D!...<0..$
80001010: 3C068000 24C61E94 8CA80000 AC880000  ...<...$........
80001020: 20A50004 20840004 00A6082A 1420FFFA  ... ... *..... .
80001030: 00000000 40108001 24111C00 02308824  .......@...$$.0.
80001040: 12200018 00000000 00118A82 24080002  .. ............$
80001050: 02288804 24120380 02509024 001291C2  ..(....$$.P.....
80001060: 26520001 3408E000 01104024 00084342  ..R&...4$@..BC..
80001070: 24130040 01139804 02530019 00004012  @..$......S..@..
80001080: 02280019 00009012 4080E000 4080E800  ..(........@...@
80001090: 3C088000 01124821 BD010000 1509FFFE  ...<!H..........
800010A0: 01114021 00009821 0000A021 3C080038  !@..!...!...8..<
800010B0: 01104024 11000018 00000000 000844C2  $@...........D..
800010C0: 24130002 01139804 3C080007 01104024  ...$.......<$@..
800010D0: 00084402 25140001 3C0801C0 01104024  .D.....%...<$@..
800010E0: 00084582 24150040 0115A804 02950019  .E..@..$........
800010F0: 00004012 02680019 0000A012 4080E000  .@....h........@
*** command status = 0

(Last edited by dacb on 3 Apr 2006, 22:56)

ok thanks dacb

The discussion might have continued from here.