linux-mips
[Top] [All Lists]

about the uMon

To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Subject: about the uMon
From: "taoyong" <taoyong2002cncq@yahoo.com.cn>
Date: Wed, 21 Jul 2004 11:04:52 +0800
Organization: cqu-swcims
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: taoyong2002cncq@yahoo.com.cn
Sender: linux-mips-bounce@linux-mips.org
Hi linux-mips@linux-mips.org,
    
       We use the CSB350 (CPU is A1100) and use the uMon ,too.  There are some 
questions after our zImage is tftped to the RAM. the reason may be the file 
format of the zImage.
Would you please tell us your zImage is an ELF file or other file format?


[root@server tftpboot]# file zImage
zImage: ELF 32-bit LSB MIPS-I executable, MIPS, version 1 (SYSV), statically 
linked, not stripped


uMON>tfs ls
 Name                        Size   Location   Flags  Info
 boot                          52  0xbf953f4c  e      
 hello                       8938  0xbf95632c  e      
 monrc                        322  0xbf953d1c  e      envsetup
 netcfg                       322  0xbf9539dc  e      envsetup
 zImage                    347336  0xbf8fecac  e      
 zImage2                   685692  0xbf9ffd5c  e      

Total: 6 items listed (1042662 bytes).
uMON>tfs run zImage
Command not found: .ELF..
Terminating script 'zImage' at line 1
uMON>
uMON>
uMON>tfs cp zImage 0xa0300000
uMON>dm 0xa0300000
a0300000: 7f 45 4c 46 01 01 01 00   00 00 00 00 00 00 00 00   .ELF............
a0300010: 02 00 08 00 01 00 00 00   00 00 00 81 34 00 00 00   ............4...
a0300020: 90 38 05 00 01 01 00 00   34 00 20 00 03 00 28 00   .8......4. ...(.
a0300030: 0b 00 08 00 00 00 00 70   00 60 00 00 00 60 00 81   .......p.`...`..
a0300040: 00 60 00 81 18 00 00 00   18 00 00 00 04 00 00 00   .`..............
a0300050: 04 00 00 00 01 00 00 00   00 10 00 00 00 00 00 81   ................
a0300060: 00 00 00 81 70 4b 00 00   70 4b 00 00 05 00 00 00   ....pK..pK......
a0300070: 00 10 00 00 01 00 00 00   00 60 00 00 00 60 00 81   .........`...`.. 
       





Best regards,

> Yong Tao 
> Insitute of Manufacture Engineering of Chongqing University,
> Chongqing,
> China 
> 400030
> tel:(+8623)65111224-108
>     (+86)13752931429





<Prev in Thread] Current Thread [Next in Thread>