⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test_lom_arm7.htm

📁 这是我刚开始学习嵌入式ARM编译工作所找到的源代码工具
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML><HEAD><TITLE>无标题文档</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE type=text/css>.style1 {
	FONT-SIZE: 16px; COLOR: #0000ff; FONT-STYLE: italic
}
BODY {
	FONT-SIZE: 14px; COLOR: #000000
}
TD {
	FONT-SIZE: 14px; COLOR: #000000
}
TH {
	FONT-SIZE: 14px; COLOR: #000000
}
.style2 {
	COLOR: #003399
}
.style3 {
	COLOR: #ff0000
}
.style4 {
	COLOR: #0000ff
}
.style5 {
	COLOR: #006633
}
</STYLE>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV align=center>
<TABLE cellSpacing=0 cellPadding=0 width=781 border=0><!--DWLayoutTable-->
  <TBODY>
  <TR>
    <TD width=34 height=63>&nbsp;</TD>
    <TD width=431>&nbsp;</TD>
    <TD width=285>&nbsp;</TD>
    <TD width=31>&nbsp;</TD></TR>
  <TR>
    <TD height=13>&nbsp;</TD>
    <TD vAlign=top>
      <P class=style1 align=left>http://www.lomx.net - Linux On Module Project 
      </P></TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD vAlign=top colSpan=4 height=15>
      <HR>
    </TD></TR>
  <TR>
    <TD height=1363>&nbsp;</TD>
    <TD vAlign=top align=left colSpan=2>
      <H3 class=style5>1.在Win32系统下测试LOM-ARM7开发板</H3>
      <P>a)在硬盘上建立一个wtest目录,然后将光盘上wintest目录下的文件复制到硬盘上。</P>
      <P>b)主机的IP地址设置为192.168.168.100。</P>
      <P>c)主机的超级终端参数设置为19200,8,N,1;一定要将握手信号设置成N,否则只能接受到开发板的输出,按键却没反应。</P>
      <P>d)用串口和以太网电缆将开发板和主机连接起来。</P>
      <P>e)连接AC/DC 5V/800mA电源到开发板上,注意正负极性。</P>
      <P>f)运行主机上的超级终端程序,确保处于连接状态。</P>
      <P>g)接通开发板电源。</P>
      <P>h)如果开发板工作正常,显示如下:</P>
      <P class=style2>This program is base on the BIOS, rewrited by 
      www.dailzh.net <BR>uClinux BootLoader for SAMSUNG S3C4510B v1.0 <BR></P>
      <P class=style2>1 - Update FirmWare <BR>2 - Load uClinux to SDRAM </P>
      <P><SPAN class=style2>Enter your choice:</SPAN><SPAN class=style3>2</SPAN> 
      </P>
      <P>i)键入 "<SPAN class=style3>2</SPAN>",显示如下:</P>
      <P class=style2><BR>Mini TFTP Server 1.0 (IP : 192.168.168.101) - Load 
      uClinux image(RAM) <BR>Command: tftpcmd 192.168.168.101 69 put image.ram 
      <BR>Starting the TFTP download... <BR></P>
      <P>j)在主机上运行command/cmd命令启动控制台程序,在控制台程序窗口中键入:down 后按回车键。</P>
      <P>k)超级终端中显示:</P>
      <P><SPAN class=style2>................................................... 
      <BR>Boot uClinux? (y/n)<SPAN class=style3>y</SPAN></SPAN></P>
      <P>l)键入 "<SPAN class=style3>y</SPAN>",启动uClinux,显示如下:</P>
      <P class=style4>Linux version 2.4.20-uc0 (root@dailzh) (gcc version 2.95.3 
      <BR>20010315 (release)(ColdFire patches - 20010318 from http://f 
      <BR>(uClinux XIP and shared lib patches from http://www.snapgear.com/)) 
      #20 三 6月 1 <BR>8 00:58:31 CST 2003 <BR>Processor: Samsung S3C4510B 
      revision 6 <BR>Architecture: SNDS100 <BR>On node 0 totalpages: 4096 
      <BR>zone(0): 0 pages. <BR>zone(1): 4096 pages. <BR>zone(2): 0 pages. 
      <BR>Kernel command line: root=/dev/rom0 <BR>Calibrating delay loop... 
      49.76 BogoMIPS <BR>Memory: 16MB = 16MB total <BR>Memory: 14348KB available 
      (1615K code, 156K data, 40K init) <BR>Dentry cache hash table entries: 
      2048 (order: 2, 16384 bytes) <BR>Inode cache hash table entries: 1024 
      (order: 1, <BR>Mount-cache hash table entries: 512 (order: 0, 4096 bytes) 
      <BR>Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) 
      <BR>Page-cache hash table entries: 4096 (order: 2, 16384 bytes) <BR>POSIX 
      conformance testing by UNIFIX <BR>Linux NET4.0 for Linux 2.4 <BR>Based 
      upon Swansea University Computer Society NET3.039 <BR>Initializing RT 
      netlink socket <BR>Starting kswapd <BR>Samsung S3C4510 Serial driver 
      version 0.9 (2001-12-27) with no serial options en <BR>abled <BR>ttyS00 at 
      0x3ffd000 (irq = 5) is a S3C4510B <BR>ttyS01 at 0x3ffe000 (irq = 7) is a 
      S3C451 <BR>Blkmem copyright 1998,1999 D. Jeff Dionne <BR>Blkmem copyright 
      1998 Kenneth Albanowski <BR>Blkmem 1 disk images: <BR>0: BE558-1A5D57 
      [VIRTUAL BE558-1A5D57] (RO) <BR>RAMDISK driver initialized: 16 RAM disks 
      of 1024K size 1024 blocksize <BR>Samsung S3C4510 Ethernet driver version 
      0.1 (2002-02-20) &lt;mac@os.nctu.edu.tw&gt; <BR>eth0: 00:40:95:36:35:34 
      <BR>NET4: Linux TCP/IP 1.0 for NET4.0 <BR>IP Protocols: ICMP, UDP, TCP 
      <BR>IP: routing cache hash table of 512 buckets, 4Kbytes <BR>TCP: Hash 
      tables configured (established 1024 bind 1024) <BR>VFS: Mounted root 
      (romfs <BR>Freeing init memory: 40K <BR>Shell invoked to run file: /etc/rc 
      <BR>Command: hostname Samsung <BR>Command: /bin/expand /etc/ramfs.img 
      /dev/ram0 <BR>Command: /bin/expand /etc/ramfs2048.img /dev/ram1 
      <BR>Command: mount -t proc proc /proc <BR>Command: mount -t ext2 /dev/ram0 
      /var <BR>Command: mount -t ext2 /dev/ram1 /ramdisk <BR>Command: chmod 777 
      /ramdisk <BR>Command: mkdir /var/config <BR>Command: mkdir /var/tmp 
      <BR>Command: mkdir /var/log<BR>Command: mkdir /var/run<BR>Command: mkdir 
      /var/lock<BR>Command: ifconfig lo 127.0.0.1<BR>Command: route add -net 
      127.0.0.0 netmask 255.255.255.0 lo<BR>Command: ifconfig eth0 
      192.168.168.101 netmask 255.255.255.0 up<BR>Command: cat 
      /etc/motd<BR>Welcome to<BR>____ _ _<BR>/ __| ||_|<BR>_ _| | | | _ ____ _ _ 
      _ _<BR>| | | | | | || | _ \| | | |\ \/ /<BR>| |_| | |__| || | | | | |_| |/ 
      \<BR>| ___\____|_||_|_| |_|\____|\_/\_/<BR>| |<BR>|_|</P>
      <P class=style4>For further information 
      check:<BR>http://www.uclinux.org/</P>
      <P class=style4>Execution Finished, Exiting</P>
      <P class=style4>Sash command shell (version 1.1.1)<BR>/&gt;</P>
      <H3 class=style5>2.在Linux系统下测试开发板</H3>
      <P>a)在硬盘上建立一个ltest目录,然后将光盘上linuxtest目录下的文件复制到硬盘上。</P>
      <P>b)主机的IP地址设置为192.168.168.100。</P>
      <P>c)用串口和以太网电缆将开发板和主机连接起来。</P>
      <P>d)连接AC/DC 5V/800mA电源到开发板上,注意正负极性。</P>
      <P>e)主机上用root登录,执行 tip -l /dev/ttyS0 -s 19200 (/dev/ttyS0 对应串口1)。</P>
      <P>f)接通开发板电源。</P>
      <P>g)如果开发板工作正常,显示如下:</P>
      <P class=style2>This program is base on the BIOS, rewrited by 
      www.dailzh.net <BR>uClinux BootLoader for SAMSUNG S3C4510B v1.0 <BR></P>
      <P class=style2>1 - Update FirmWare <BR>2 - Load uClinux to SDRAM </P>
      <P><SPAN class=style2>Enter your choice:</SPAN><SPAN class=style3>2</SPAN> 
      </P>
      <P>h)键入 "<SPAN class=style3>2</SPAN>",显示如下:</P>
      <P><SPAN class=style2>Mini TFTP Server 1.0 (IP : 192.168.168.101) - Load 
      uClinux image(RAM) <BR>Command: tftpcmd 192.168.168.101 69 put image.ram 
      <BR>Starting the TFTP download... </SPAN></P>
      <P>i)在主机上另开一个终端串口,以root登录,键入:down 后按回车键。</P>
      <P>j)tip程序中显示:</P>
      <P><SPAN class=style2>................................................... 
      <BR>Boot uClinux? (y/n)<SPAN class=style3>y</SPAN></SPAN></P>
      <P>k)键入 "<SPAN class=style3>y</SPAN>",启动uClinux,显示如下:</P>
      <P>&nbsp;</P>
      <P class=style4>Linux version 2.4.20-uc0 (root@dailzh) (gcc version 2.95.3 
      <BR>20010315 (release)(ColdFire patches - 20010318 from http://f 
      <BR>(uClinux XIP and shared lib patches from http://www.snapgear.com/)) 
      #20 三 6月 1 <BR>8 00:58:31 CST 2003 <BR>Processor: Samsung S3C4510B 
      revision 6 <BR>Architecture: SNDS100 <BR>On node 0 totalpages: 4096 
      <BR>zone(0): 0 pages. <BR>zone(1): 4096 pages. <BR>zone(2): 0 pages. 
      <BR>Kernel command line: root=/dev/rom0 <BR>Calibrating delay loop... 
      49.76 BogoMIPS <BR>Memory: 16MB = 16MB total <BR>Memory: 14348KB available 
      (1615K code, 156K data, 40K init) <BR>Dentry cache hash table entries: 
      2048 (order: 2, 16384 bytes) <BR>Inode cache hash table entries: 1024 
      (order: 1, <BR>Mount-cache hash table entries: 512 (order: 0, 4096 bytes) 
      <BR>Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) 
      <BR>Page-cache hash table entries: 4096 (order: 2, 16384 bytes) <BR>POSIX 
      conformance testing by UNIFIX <BR>Linux NET4.0 for Linux 2.4 <BR>Based 
      upon Swansea University Computer Society NET3.039 <BR>Initializing RT 
      netlink socket <BR>Starting kswapd <BR>Samsung S3C4510 Serial driver 
      version 0.9 (2001-12-27) with no serial options en <BR>abled <BR>ttyS00 at 
      0x3ffd000 (irq = 5) is a S3C4510B <BR>ttyS01 at 0x3ffe000 (irq = 7) is a 
      S3C451 <BR>Blkmem copyright 1998,1999 D. Jeff Dionne <BR>Blkmem copyright 
      1998 Kenneth Albanowski <BR>Blkmem 1 disk images: <BR>0: BE558-1A5D57 
      [VIRTUAL BE558-1A5D57] (RO) <BR>RAMDISK driver initialized: 16 RAM disks 
      of 1024K size 1024 blocksize <BR>Samsung S3C4510 Ethernet driver version 
      0.1 (2002-02-20) &lt;mac@os.nctu.edu.tw&gt; <BR>eth0: 00:40:95:36:35:34 
      <BR>NET4: Linux TCP/IP 1.0 for NET4.0 <BR>IP Protocols: ICMP, UDP, TCP 
      <BR>IP: routing cache hash table of 512 buckets, 4Kbytes <BR>TCP: Hash 
      tables configured (established 1024 bind 1024) <BR>VFS: Mounted root 
      (romfs <BR>Freeing init memory: 40K <BR>Shell invoked to run file: /etc/rc 
      <BR>Command: hostname Samsung <BR>Command: /bin/expand /etc/ramfs.img 
      /dev/ram0 <BR>Command: /bin/expand /etc/ramfs2048.img /dev/ram1 
      <BR>Command: mount -t proc proc /proc <BR>Command: mount -t ext2 /dev/ram0 
      /var <BR>Command: mount -t ext2 /dev/ram1 /ramdisk <BR>Command: chmod 777 
      /ramdisk <BR>Command: mkdir /var/config <BR>Command: mkdir /var/tmp 
      <BR>Command: mkdir /var/log<BR>Command: mkdir /var/run<BR>Command: mkdir 
      /var/lock<BR>Command: ifconfig lo 127.0.0.1<BR>Command: route add -net 
      127.0.0.0 netmask 255.255.255.0 lo<BR>Command: ifconfig eth0 
      192.168.168.101 netmask 255.255.255.0 up<BR>Command: cat 
      /etc/motd<BR>Welcome to<BR>____ _ _<BR>/ __| ||_|<BR>_ _| | | | _ ____ _ _ 
      _ _<BR>| | | | | | || | _ \| | | |\ \/ /<BR>| |_| | |__| || | | | | |_| |/ 
      \<BR>| ___\____|_||_|_| |_|\____|\_/\_/<BR>| |<BR>|_|</P>
      <P class=style4>For further information 
      check:<BR>http://www.uclinux.org/</P>
      <P class=style4>Execution Finished, Exiting</P>
      <P class=style4>Sash command shell (version 1.1.1)<BR>/&gt;</P>
      <P>&nbsp;</P></TD>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD height=17>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR></TBODY></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -