Sspemail 16160362 学习资料
常用的 U-boot命令详解
帮助与环境变量
U-boot发展到现在,他的命令行模式已经非常接近 Linux下的 shell了,在我编译的 U-boot-2009.11中的命令行模
式模式下支持“Tab”键的命令补全和命令的历史
记录
混凝土 养护记录下载土方回填监理旁站记录免费下载集备记录下载集备记录下载集备记录下载
功能。而且如果你输入的命令的前几个字符和别的命令不重复,那么
你就只需要打这几个字符即可,比如我想看这个 U-boot的版本号,命令就是“ version”,但是在所有的命令中没有其他任
何一个的命令是由“v”开头的,所以只需要输入“v”即可。
TX-2440A> version
U-Boot 1.1.6 (Jan 18 2010 - 10:05:35)
TX-2440A> v
U-Boot 1.1.6 (Jan 18 2010 - 10:05:35)
TX-2440A> base
Base Address: 0x00000000
TX-2440A> ba
Base Address: 0x00000000
由于 U-boot支持的命令实在太多,一个一个细讲不现实,也没有必要。所以下面我挑一些烧写和引导常用命令介绍一
下,其他的命令大家就举一反三,或者“help”吧!
(1) 获取帮助
命令:help 或 ?
功能:查看当前 U-boot版本中支持的所有命令。
TX-2440A> help
? - alias for 'help'
autoscr - run script from memory
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
boot_noos - boot User Program
Sspemail 16160362 学习资料
boot_zImage - boot Linux 's zImage
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
chpart - change active partition
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
date - get/set/reset date & time
dcache - enable or disable data cache
echo - echo args to console
erase - erase FLASH memory
flinfo - print FLASH memory information
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
help - print online help
icache - enable or disable instruction cache
iminfo - print header information for application image
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loadx - load binary file over serial line (xmodem mode)
Sspemail 16160362 学习资料
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
menu - display a menu, to select the items to do something
mm - memory modify (auto-incrementing)
mtdparts- define flash/nand partitions
mtest - simple RAM test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sleep - delay execution for some time
tftpboot- boot image via network using TFTP protocol
usbslave - get file from host(PC)
version - print monitor version
如果你想获取某条命令的更详细的帮助,可以使用:
help <你想要查的指令>
或者 ? <你想要查的指令> ,
Sspemail 16160362 学习资料
甚至 h <你想要查的指令缩写>。
以 bootp指令为例:
TX-2440A> help bootp
bootp [loadAddress] [bootfilename]
TX-2440A> ? bootp
bootp [loadAddress] [bootfilename]
TX-2440A> h bootp
bootp [loadAddress] [bootfilename]
(2)环境变量与相关指令
(environment variables,简称 ENV)
和 shell类似,U-Boot也有环境变量。一些 U-boot默认的环境变量如下:
环 境 变 量 解 释 说 明
bootdelay 执行自动启动(bootcmd中的命令)的等候秒数
baudrate 串口控制台的波特率
netmask 以太网的网络掩码
ethaddr 以太网的MAC地址
bootfile 默认的下载文件名
bootargs 传递给 Linux内核的启动参数
bootcmd 自动启动时执行命令
serverip TFTP服务器端的 IP地址
ipaddr 本地的 IP地址
stdin
标准
excel标准偏差excel标准偏差函数exl标准差函数国标检验抽样标准表免费下载红头文件格式标准下载
输入设备,一般是串口
stdout 标准输出,一般是串口,也可是 LCD(VGA)
stderr 标准出错,一般是串口,也可是 LCD(VGA)
要看到你的板上的 ENV值可使用 printenv命令,例如我的板子:
TX-2440A> printenv
Sspemail 16160362 学习资料
bootargs=noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
bootcmd=nboot 0x32000000 kernel; bootm 0x32000000
bootdelay=0
baudrate=115200
ethaddr=1a:2b:3c:4d:5e:6f
ipaddr=125.223.119.10
serverip=125.223.119.42
netmask=255.255.255.0
stdin=serial
stdout=serial
stderr=serial
mtdids=nand0=nandflash0
mtdparts=mtdparts=nandflash0:1m@0(bios),128k(params),4m(kernel),-(root)
partition=nand0,0
mtddevnum=0
mtddevname=bios
filesize=0
filesize+1=0
fileaddr=30000000
Environment size: 465/131068 bytes
你会发现有些有的 ENV我没有,还有一个“tekkaman”的 ENV。原因是如果你没有设置这个环境变量就不会打印出,
你也可以自己定义 ENV,并在命令中使用${ENV}来调用它。同时你也可以删除这个 ENV。设置 ENV的命令是 setenv,
格式为:
setenv name value
第 1个参数是环境变量的名称。
第 2个参数是要设置的值,如果没有第 2个参数,
表
关于同志近三年现实表现材料材料类招标技术评分表图表与交易pdf视力表打印pdf用图表说话 pdf
示删除这个环境变量。
例如:我先将”tekkaman”参数删除,再设置,最后在一个命令串中调用。
TX-2440A> setenv sspemail 2010
Sspemail 16160362 学习资料
TX-2440A> printenv sspemail
sspemail=2010
TX-2440A> setenv sspemail echo "I am Tekkaman Ninja!"
TX-2440A> printenv sspemail
sspemail=echo I am Tekkaman
TX-2440A> echo I Love Linux ;${sspemail}
I Love Linux
I am sspemail
当你设置了 ENV,它只保存在内存中,如果你要它保存在存放 ENV的固态存储器中,请使用:saveenv。
TX-2440A> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
如果在启动的时候会看到U-boot打印出:“Warning - bad CRC, using default environment”,说明U-boot没
有在存放 ENV的固态存储器中找到有效的 ENV,只好使用你在编译的时候定义的默认 ENV。如果U-boot存放 ENV的固
态存储器的驱动是 OK的,那么只要运行 saveenv就可以把默认 ENV写入固态存储器,下次启动就不会有这个警告了。
ENV可以放在许多固体存储器中,对于mini2440来说 Nor Flash、Nand Flash或 EEPROM都可以,就看你如何
配置了(include/configs下的配置文件)。例如:
Nor Flash:
#define CONFIG_ENV_IS_IN_FLASH 1
#define CONFIG_ENV_OFFSET 0X40000
#define CONFIG_ENV_SIZE 0x20000 /* Total Size of Environment Sector */
Nand Flash:
#define CONFIG_ENV_IS_IN_NAND 1
#define CONFIG_ENV_OFFSET 0X40000
#define CONFIG_ENV_SIZE 0x20000 /* Total Size of Environment Sector */
EEPROM:
#define CONFIG_ENV_IS_IN_EEPROM 1 /* use EEPROM for environment vars */
#define CONFIG_ENV_OFFSET 0x000 /* environment starts at offset 0 */
#define CONFIG_ENV_SIZE 0x400 /* 1KB */
CONFIG_ENV_OFFSET是在整个存储器中的偏移地址;
CONFIG_ENV_SIZE是指其使用的大小。
注意 CONFIG_ENV_OFFSET和 CONFIG_ENV_SIZE 的设置,不要覆盖了其他分区。
Sspemail 16160362 学习资料
串口、网络、Flash 命令
(3)串口传输命令
命令:
loadb - load binary file over serial line (kermit mode)
loadx - load binary file over serial line (xmodem mode)
loady - load binary file over serial line (ymodem mode)
功能:以不同的协议从串口获取文件.。
格式基本都为:
load? [ off ] [ baud ]
第 1个参数是下载到 SDRAM的地址,如果不填,就是用默认配置:CONFIG_SYS_LOAD_ADDR
第 2个参数是波特率,一般不填,用默认的 115200.
在windows下的超级终端可以用这些协议发送文件,但是在 ubuntu下基本只能用 kermit协议。一下使用 C-kermit
来发送一个文件到mini2440。
TX-2440A> loadb
## Ready for binary (kermit) download to 0x37000000 at 115200 bps...
上面已经启动了 U-boot的 kermit传输协议,这时按下 Ctrl + \ , 再按 c, 切换到 C-kermit的命令行模式,输入命
令:send <文件路径>,回车。
TX-2440A> loadb
## Ready for binary (kermit) download to 0x30008000 at 115200 bps...
(Back at MAGI-Linux)
----------------------------------------------------
C-Kermit 8.0.211, 10 Apr 2004, for Linux
Copyright (C) 1985, 2004,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/home/tekkaman/桌面/) C-Kermit>send /home/tekkaman/development/share/zImage.img
C-kermit就开始传送,并且显示一个传送界面,并动态显示传送进度。
Sspemail 16160362 学习资料
C-Kermit 8.0.211, 10 Apr 2004, MAGI-Linux
Current Directory: /home/tekkaman/��~L�~]�
Communication Device: /dev/ttyUSB0
Communication Speed: 115200
Parity: none
RTT/Timeout: 01 / 02
SENDING: /home/tekkaman/development/share/zImage.img => zImage.img
File Type: BINARY
File Size: 2277540
Percent Done: 19 /////////-
...10...20...30...40...50...60...70...80...90..100
Estimated Time Left: 00:03:35
Transfer Rate, CPS: 8536
Window Slots: 1 of 1
Packet Type: D
Packet Count: 557
Packet Length: 1000
Error Count: 0
Last Error:
Last Message:
X to cancel file, Z to cancel group,
to resend last packet,
E to send Error packet, ^C to quit immediately, ^L to refresh screen.
传送完毕后,输入 c ,回到 U-boot的串口界面。
TX-2440A> loadb
## Ready for binary (kermit) download to 0x30008000 at 115200 bps...
(Back at MAGI-Linux)
----------------------------------------------------
C-Kermit 8.0.211, 10 Apr 2004, for Linux
Copyright (C) 1985, 2004,
Sspemail 16160362 学习资料
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/home/tekkaman/桌面/) C-Kermit>send /home/tekkaman/development/share/zImage.img
(/home/tekkaman/桌面/) C-Kermit>c
Connecting to /dev/ttyUSB0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
## Total Size = 0x0022c0a4 = 2277540 Bytes
## Start Addr = 0x30008000
(4)网络命令
只要你的网卡驱动没问
题
快递公司问题件快递公司问题件货款处理关于圆的周长面积重点题型关于解方程组的题及答案关于南海问题
,那么你就可以通过网络来传输文件到开发板,这可比串口快多了。你可以直接用交叉网线连
接开发板和电脑,也可以用普通直连网线连接路由器,再连到电脑,不过记得配置好网络,关闭防火墙哦。
先测试网络是否通了,现在开发板使用 ping 命令,看看是否可以 ping通电脑:
TX-2440A> ping 192.168.1.100
dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:08:11:18:12:27
operating at 100M full duplex mode
Using dm9000 device
host 192.168.1.100 is alive
如果出现:
TX-2440A> ping 192.168.1.100
dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:08:11:18:12:27
Sspemail 16160362 学习资料
operating at 100M full duplex mode
Using dm9000 device
ping failed; host 192.168.1.100 is not alive
这样无法 ping通的事,可能是:
1、U-boot网卡驱动有问题
2、U-boot网络协议延时配置有问题
3、网络参数配置问题,比如 IP等,Host和 Target都有可能有问题。Host最好关闭 IPv6。
实在找不到原因,用Wireshark抓包看看。
如果网络畅通,下面就可以使用下面的命令从 tftp目录或者 nfs目录下载文件到 SDRAM了。
命令:
dhcp - boot image via network using DHCP/TFTP protocol
rarpboot- boot image via network using RARP/TFTP protocol
nfs - boot image via network using NFS protocol
tftpboot- boot image via network using TFTP protocol
bootp - boot image via network using BOOTP/TFTP protocol
这几个命令的格式都是:<指令> [目的 SDRAM地址] [[主机 IP:]文件名]
注意:
要使用 dhcp、rarpboot或 bootp 等功能要路由器或Host的支持。
如果没有输入[目的 SDRAM地址],系统就是用编译时定义的 CONFIG_SYS_LOAD_ADDR作为目的 SDRAM地址
如果 tftpboot和 nfs命令没有定义[主机 IP:],则使用 ENV中的 serverip
其它命令必需定义[主机 IP:],否则会使用提供动态 IP服务的主机 IP作为[主机 IP:]。
使用范例:
Sspemail 16160362 学习资料
TX-2440A> nfs 0x30008000 192.168.1.100:/home/tekkaman/development/share/u-boot.bin
dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:08:11:18:12:27
operating at 100M full duplex mode
Using dm9000 device
File transfer via NFS from server 192.168.1.100; our IP address is 192.168.1.101
Filename '/home/tekkaman/development/share/u-boot.bin'.
Load address: 0x30008000
Loading: ###################################################
done
Bytes transferred = 256220 (3e8dc hex)
TX-2440A> tftp u-boot.bin
dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:08:11:18:12:27
operating at 100M full duplex mode
Using dm9000 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.101
Filename 'u-boot.bin'.
Load address: 0x30008000
Loading: T ##################
done
Bytes transferred = 256220 (3e8dc hex)
TX-2440A> dhcp 192.168.1.100:u-boot.bin
dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:08:11:18:12:27
operating at 100M full duplex mode
BOOTP broadcast 1
Sspemail 16160362 学习资料
BOOTP broadcast 2
DHCP client bound to address 192.168.1.101
Using dm9000 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.101
Filename 'u-boot.bin'.
Load address: 0x30008000
Loading: ##################
done
Bytes transferred = 256220 (3e8dc hex)
TX-2440A> bootp 192.168.1.100:u-boot.bin
dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:08:11:18:12:27
operating at 100M full duplex mode
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.1.101
Using dm9000 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.101
Filename 'u-boot.bin'.
Load address: 0x30008000
Loading: ##################
done
Bytes transferred = 256220 (3e8dc hex)
TX-2440A> rarpboot 192.168.1.100:u-boot.bin
我的路由器没有开 rarp协议,所以 rarpboot 无法使用,要使用 dhcp或 bootp 也是要路由或Host支持的。
(5)Nand Flash操作指令
常用的 Nand Flash指令如下:
指令 功能
Sspemail 16160362 学习资料
nand info 显示可使用的 Nand Flash
nand device [dev] 显示或设定当前使用的 Nand Flash
nand read addr off size Nand Flash读取命令,从 Nand的 off 偏移地址
处读取size 字节的数据到SDRAM的 addr地址。
nand write addr off size Nand Flash烧写命令,将 SDRAM的 addr地址
处的 size 字节的数据烧写到 Nand的 off 偏移地
址。
nand write[.yaffs[1]] addr off size 烧写 yaffs 映像专用的命令,.yaffs1 for 512+16
NAND
nand erase [clean] [off size] Nand Flash檫除命令,擦除 Nand Flash的 off 偏
移地址处的 size 字节的数据
nand bad 显示 Nand Flash的坏块
nand dump[.oob] off 显示 Nand Flash中的数据(16进制)
nand scrub 彻底擦除整块 Nand Flash中的数据,包括 OOB。
可以擦除软件坏块标志。
nand markbad off 标示 Nand的 off 偏移地址处的块为坏块
使用范例:
TX-2440A> nand info
Device 0: NAND 128MiB 3,3V 8-bit, sector size 128 KiB
TX-2440A> nand device 0
Device 0: NAND 128MiB 3,3V 8-bit... is now current device
TX-2440A> nand read 0x30008000 0x60000 200000
NAND read: device 0 offset 0x60000, size 0x200000
2097152 bytes read: OK
TX-2440A> nand bad
Device 0 bad blocks:
030a0000
030c0000
030e0000
07ee0000
TX-2440A> nand markbad 0x500000
block 0x00500000 successfully marked as bad
TX-2440A> nand bad
Device 0 bad blocks:
00500000
030a0000
Sspemail 16160362 学习资料
030c0000
030e0000
07ee0000
TX-2440A> nand scrub
NAND scrub: device 0 whole chip
Warning: scrub option will erase all factory set bad
There is no reliable way to recover them.
Use this command only for testing purposes if you
are sure of what you are
Really scrub this NAND flash?
Erasing at 0x2f4000008000000 -- 0% complete.
NAND 128MiB 3,3V 8-bit: MTD Erase failure: -5
NAND 128MiB 3,3V 8-bit: MTD Erase failure: -5
NAND 128MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0x7ea000008000000 -- 0% complete.
NAND 128MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0x7fe000008000000 -- 0% complete.
OK
TX-2440A> nand bad
Device 0 bad blocks:
030a0000
030c0000
030e0000
07ee0000
TX-2440A> nand dump 0x8000
Page 00008000 dump:
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
(略)
OOB:
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
Sspemail 16160362 学习资料
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
TX-2440A> tftp u-boot.bin
dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:08:11:18:12:27
operating at 100M full duplex mode
Using dm9000 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.101
Filename 'u-boot.bin'.
Load address: 0x30008000
Loading: T ##################
done
Bytes transferred = 256220 (3e8dc hex)
TX-2440A> nand write 0x30008000 0 40000
NAND write: device 0 offset 0x0, size 0x40000
Writing at 0x2000000020000 -- 100% is complete. 262144 bytes written: OK
TX-2440A> nand dump 0x8000
Page 00008000 dump:
00 00 53 e1 01 00 00 2a 15 40 e0 e3 19 00 00 ea
(略)
60 30 97 e5 03 00 54 e1 f6 ff ff ba 00 40 a0 e3
OOB:
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff
Sspemail 16160362 学习资料
ff ff ff ff ff ff ff ff
65 a9 6b f3 ff 33 fc 30
f3 33 cf 33 0f f0 ff 00
cc 0f 59 55 57 96 a5 5b
nboot 指令也是一条 Nand Flash 读取指令,它是将 Nand Flash 的 offset 偏移地址的内核映像读取到 SDRAM的
loadAddr位置。它会自动读取到内核映像(使用mkimage处理过的)的结束,所以不用给出读取大小。
格式:nboot loadAddr dev offset
使用范例:
Sspemail 16160362 学习资料
TX-2440A> tftp 192.168.1.100:zImage.img
dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:08:11:18:12:27
operating at 100M full duplex mode
Using dm9000 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.101
Filename 'zImage.img'.
Load address: 0x30008000
Loading: T #################################################################
#################################################################
done
Bytes transferred = 2277540 (22c0a4 hex)
TX-2440A> nand erase 0x100000 300000
NAND erase: device 0 offset 0x100000, size 0x300000
Erasing at 0x3e000001800000 -- 0% complete.
OK
TX-2440A> nand write 0x30008000 0x100000 300000
NAND write: device 0 offset 0x100000, size 0x300000
Writing at 0x3e000000020000 -- 100% is complete. 3145728 bytes written: OK
TX-2440A> nand device 0
Device 0: NAND 128MiB 3,3V 8-bit... is now current device
TX-2440A> nboot 30008000 0 0x100000
Loading from NAND 128MiB 3,3V 8-bit, offset 0x100000
Image Name: tekkaman
Created: 2010-03-29 12:59:51 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2277476 Bytes = 2.2 MB
Load Address: 30008000
Entry Point: 30008040
Sspemail 16160362 学习资料
TX-2440A> bootm 30008000
## Booting kernel from Legacy Image at 30008000 ...
Image Name: tekkaman
Created: 2010-03-29 12:59:51 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2277476 Bytes = 2.2 MB
Load Address: 30008000
Entry Point: 30008040
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.33.1 (tekkaman@MAGI-Linux) (gcc version 4.3.2
(crosstool-NG-1.6.1-tekkaman) ) #5 Mon Mar 29 20:58:50 CST 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: MINI2440
(略)
Sspemail 16160362 学习资料
内存/寄存器操作指令、NorFlash
(6) 内存/寄存器操作指令
nm 修改内存值 (指定地址)
格式: nm [.b, .w, .l] address
mm 修改内存值(地址自动加一)
格式: mm [.b, .w, .l] address
md 显示内存值
格式: md [.b, .w, .l] address [# of objects]
mw 用指定的数据填充内存
格式: mw [.b, .w, .l] address value [count]
cp 内存的拷贝(包括内存与 Nor Flash间的数据拷贝)
格式:cp [.b, .w, .l] source target count
上面是查看和修改内存值的指令,可以查看和修改 SDRAM和寄存器值。
[.b, .w, .l]代表了查看和修改形式:bit、word、long
使用范例:
TX-2440A> md.b 0x30008000 20
30008000: cc 33 fe 33 cc b3 4c 33 ac 33 de 33 5c 13 cc 33 .3.3..L3.3.3\..3
30008010: cc 32 cc 31 dc 33 cf 33 cc 33 4e 33 8f 13 cc 33 .2.1.3.3.3N3...3
TX-2440A> md.w 0x30008000 20
30008000: 33cc 33fe b3cc 334c 33ac 33de 135c 33cc .3.3..L3.3.3\..3
30008010: 32cc 31cc 33dc 33cf 33cc 334e 138f 33cc .2.1.3.3.3N3...3
30008020: 338c 33cd 33cc 7bcc 3bcc 33cc 135e 734c .3.3.3.{.;.3^.Ls
30008030: 7bdc 37cc 31dc 33c4 038c 33e8 77cc 13cc .{.7.1.3...3.w..
TX-2440A> md.l 0x30008000 20
30008000: 33fe33cc 334cb3cc 33de33ac 33cc135c .3.3..L3.3.3\..3
30008010: 31cc32cc 33cf33dc 334e33cc 33cc138f .2.1.3.3.3N3...3
30008020: 33cd338c 7bcc33cc 33cc3bcc 734c135e .3.3.3.{.;.3^.Ls
30008030: 37cc7bdc 33c431dc 33e8038c 13cc77cc .{.7.1.3...3.w..
30008040: 234c77ce 33dc339c 33ec3ece f3cc36ec .wL#.3.3.>.3.6..
30008050: 37dc33cc 73cc3f5c 17dd314c 33cc62e8 .3.7\?.sL1...b.3
Sspemail 16160362 学习资料
30008060: b6cc33dc 33c233cc 33cc32cc 33cc3f68 .3...3.3.2.3h?.3
30008070: 73cc31cc b3cc33cc 33cc37c9 33df13cc .1.s.3...7.3...3
TX-2440A> nm 0x30008000
30008000: 33fe33cc ? 12345678
30008000: 12345678 ? 34567890
30008000: 34567890 ? q
TX-2440A> nm.b 0x30008000
30008000: 90 ? 11
30008000: 11 ? 12
30008000: 12 ? q
TX-2440A> mm 0x30008000
30008000: 34567812 ? 54321123
30008004: 334cb3cc ? 12345678
30008008: 33de33ac ? 21234543
3000800c: 33cc135c ? q
TX-2440A> md.b 0x30008000 20
30008000: 23 11 32 54 78 56 34 12 43 45 23 21 5c 13 cc 33 #.2TxV4