{"id":5,"date":"2008-07-10T00:36:19","date_gmt":"2008-07-10T04:36:19","guid":{"rendered":"httpss:\/\/www.powenko.com\/blog\/?p=5"},"modified":"2008-07-10T00:59:12","modified_gmt":"2008-07-10T04:59:12","slug":"arm9-yc2440-f-learning-1","status":"publish","type":"post","link":"https:\/\/www.powenko.com\/wordpress\/?p=5","title":{"rendered":"ARM9, YC2440-F Learning 1"},"content":{"rendered":"<h2>Offical<\/p>\n<h2>\nhttpss:\/\/www.yctek.com\/<\/p>\n<h2>References<\/h2>\n<li>YC-2440-SBC\u6587\u4ef6\u7cfb\u7edf\u66f4\u65b0  httpss:\/\/blog.chinaunix.net\/u\/27904\/showart_283410.html<\/li>\n<li>YC2440-SBC\u7684nfs\u542f\u52a8 httpss:\/\/blog.chinaunix.net\/u\/27904\/showart_264374.html<\/li>\n<h3>YC2440-SBC\u7684nfs\u542f\u52a8<\/h3>\n<p>\u6628\u5929\u662f\u4e86\u4e00\u4e0b\u901a\u8fc7nfs\u6765\u542f\u52a8\u7cfb\u7edf\u3002\u6211\u5728\u666e\u901a\u7528\u6237\u4e0b\u89e3\u538b\u6587\u4ef6\u7cfb\u7edf\uff0c\u5e76\u4e14\u8bbe\u7f6e\u4e86nfs\u3002\u7136\u540e\u8fdb\u5165vivi\u8bbe\u7f6e\u542f\u52a8\u53c2\u6570\u5982\u4e0b\uff1a<br \/>\nparam set linux_cmd_line &#8220;console=ttySAC0 root=\/dev\/nfs nfsroot=192.168.0.1:\/home\/nfs\/s3c2440_recover ip=192.168.0.12:192.168.0.1:192.168.0.1:255.255.255.0::eth0:off&#8221;<br \/>\n\u7136\u540e\u8f93\u5165boot\u6765\u542f\u52a8\u3002\u7ed3\u679c\u5728\u6700\u540e\u63d0\u793a\uff1a<br \/>\nIP-Config: Complete:<br \/>\ndevice=eth0, addr=192.168.0.12, mask=255.255.255.0, gw=192.168.0.1,<br \/>\nhost=192.168.0.12, domain=, nis-domain=(none),<br \/>\nbootserver=192.168.0.1, rootserver=192.168.0.1, rootpath=<br \/>\nLooking up port of RPC 100003\/2 on 192.168.0.1<br \/>\nLooking up port of RPC 100005\/1 on 192.168.0.1<br \/>\nVFS: Mounted root (nfs filesystem).<br \/>\nFreeing init memory: 176K<br \/>\nWarning: unable to open an initial console.<br \/>\n\u540e\u6765bbs\u4e0a\u7684\u7248\u4e3b\u544a\u8bc9\u6211\u8981\u7528root\u7528\u6237\u89e3\u538b\u6587\u4ef6\u7cfb\u7edf\u3002\u6211\u7167\u7740\u505a\u4e86\uff0c\u679c\u7136\u80fd\u591f\u542f\u52a8\u4e86\u3002<\/p>\n<p>\u901a\u8fc7nfs\u542f\u52a8\u7cfb\u7edf\u5c31\u53ef\u4ee5\u5f88\u5bb9\u6613\u6d4b\u8bd5\u81ea\u5df1\u7684\u5404\u79cd\u5e94\u7528\u7a0b\u5e8f\uff0c\u4ee5\u53caqt\u662f\u5426\u7f16\u8bd1\u6210\u529f\u3002<\/p>\n<h3>\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7684\u91cd\u88c5<\/h3>\n<p>\u4eca\u5929\u7ec8\u4e8e\u6536\u5230\u4e862440\u7684\u5f00\u53d1\u677f\u3002\u4eca\u5929\u60f3\u5f04\u660e\u767d\u5982\u4f55\u70e7\u5f55\u7cfb\u7edf\u3002\u6536\u5f55\u4e86\u4e00\u4e9b\u6587\u7ae0\u5982\u4e0b\uff1a<br \/>\nhttpss:\/\/niuyi.21ic.org\/user1\/2177\/archives\/2006\/20251.html<\/p>\n<p>\u4ece\u4e09\u4e2a\u661f\u671f\u524d\u63a5\u5230\u624b\u4e0a\u8fd9\u4e2a\u9879\u76ee\u5230\u4eca\u5929\uff0c\u6ca1\u6709\u4e00\u523b\u4e0d\u60f3\u7740\u80fd\u9996\u5148\u590d\u6d3bSBC2410X\u5f00\u53d1\u677f\u3002\u56e0\u4e3a\u5bf9\u5f00\u53d1\u677f\u662f\u7b2c\u4e00\u6b21\u63a5\u89e6\uff0c\u5bf9\u5728Linux\u4e0b\u9762\u7684\u5d4c\u5165\u5f00\u53d1\u4e5f\u662f\u7b2c\u4e00\u6b21\u63a5\u89e6\u3002\u5176\u4e2d\u7684\u8bb8\u591a\u6982\u5ff5\u6ca1\u6709\u4e00\u4e2a\u9c9c\u660e\u7684\u8ba4\u8bc6\uff0c\u5982\u4f55\u4ea4\u53c9\u7f16\u8bd1\uff0c\u600e\u6837\u4e92\u76f8\u5207\u6362\u7ec8\u7aef\uff0cminicom\u5982\u4f55\u7528\uff0c\u4f46\u5173\u952e\u7684\u8fd8\u662f\u7b2c\u4e00\u6b65\uff0c\u600e\u6837\u8ba9\u5b83\u5148\u590d\u6d3b\u8d77\u6765\u3002\u76ee\u6807\u4e00\u6b65\u6b65\u5728\u63a5\u8fd1\u4e2d\uff0c\u867d\u7136\u81ea\u5df1\u5df2\u5728\u4e0d\u65ad\u5730\u5b8c\u5584\u5404\u65b9\u9762\u7684\u6761\u4ef6\uff0c\u4f46\u63a5\u624b\u8fd9\u79cd\u4e8c\u624b\u6d3b\u6700\u70e6\u7684\u5c31\u662f\u90a3\u4e9b\u201c\u63a5\u70b9\u201d\uff0c\u4e5f\u7684\u786e\u5728\u8fd9\u7b2c\u4e00\u4e2a\u201c\u63a5\u70b9\u201d\u5904\u5403\u4e86\u4e2a\u5413\u9a6c\u5a01\u3002\u677f\u5b50\u7cfb\u7edf\u7684\u6574\u4e2a\u91cd\u88c5\u8fc7\u7a0b\u770b\u8d77\u6765\u5f88\u7b80\u5355\uff0c\u5c31\u4ee5\u4e0b\u51e0\u6b65\uff1a<\/p>\n<p>1: \u7528\u5f00\u53d1\u5546\u9644\u5e26\u7684\u70e7\u5199FLASH\u5de5\u5177\uff0c\u901a\u8fc7\u677f\u5b50\u4e0a\u7684JTAG\u53e3\u548cPC\u4e0a\u7684\u5e76\u884c\u53e3\u5c06\u5f15\u5bfc\u7a0b\u5e8fVIVI\u5199\u5165FLASH\u7684\u5934\u4e00\u4e2a\u5757\uff080 Block\uff09\u3002\u7531\u4e8e\u7cfb\u7edf\u662f\u4ece\u5730\u57400x0000\u5f15\u5bfc\u7684\uff0c\u6240\u4ee5\u5efa\u8bae\u628aVIVI\u5199\u5230\u6b64\u5904\u3002\u5f53\u7136\u5199\u5230\u5176\u5b83\u5730\u65b9\u4e5f\u53ef\u4ee5\u987a\u5229\u542f\u52a8\uff08\u8bd5\u8fc7\uff0c\u5176\u539f\u7406\u5e94\u8be5\u662f\u57280x0000\u5904\u5199\u5165\u4e00\u8df3\u8f6c\u5730\u5740\uff0c\u6240\u4ee5\u53ef\u4ee5\u987a\u5229\u5f15\u5bfc\uff09\uff0c\u4f46\u540e\u7eed\u7684\u5de5\u4f5c\uff0c\u6bd4\u5982\u5199\u5165\u5185\u6838\u5c31\u4e0d\u597d\u5b89\u6392\u4e86\u3002 #Jflash-s3c2410 vivi \/t=5 vivi\uff1a\u5728Jflash-s3c2410\u547d\u4ee4\u540c\u5904\u7684\u76ee\u5f55\u4e0b\uff0c\u6211\u7684vivi\u6587\u4ef6\u540d\uff0c\u4e5f\u53ef\u4ee5\u662f\u5176\u5b83\u540d\u5b57 \/t=5\uff1a\u8868\u660e\u6211\u4f7f\u7528\u7684\u662f64M\u7684\u4e09\u661fNand Flash\u3002 \u8f93\u5165\u56de\u8f66\u540e\u4f1a\u4ea7\u751f\u76f8\u5e94\u63d0\u793a\uff0c\u6309\u63d0\u793a\u8fdb\u884c\u3002<\/p>\n<p>2: \u6253\u5f00minicom\uff08minicom\u63d0\u524d\u8981\u914d\u7f6e\u597d\uff0c\u6211\u8fd9\u91cc\u4e5f\u662f\u6309\u8bf4\u660e\u4e66\u8fdb\u884c\u7684\u914d\u7f6e\uff0c\u4f46\u6211\u67e5\u8fc7\u8bb8\u591a\u4ea7\u54c1\u7684\uff0c\u8fd9\u91cc\u7684\u914d\u7f6e\u662f\u4e00\u6837\u7684\uff0c\u5e94\u8be5\u662fVIVI\u5f00\u53d1\u5546\u7edf\u4e00\u4e86\u3002115200 8N1 \u65e0\u786c\u4ef6\u63e1\u624b\uff0c\u8fd8\u6709\u4e00\u70b9\u8bf7\u7559\u5fc3\uff0c\u5c31\u662fminicom\u9ed8\u8ba4\u7684\u662fttyS1\uff08\u4e32\u53e32\uff09\uff0c\u800c\u6211\u4eec\u7684PC\u4e00\u822c\u63a5\u7684\u662fttyS0\uff08\u4e32\u53e31\uff09\uff09 #minicom<\/p>\n<p>3: \u542f\u52a8\u5f00\u53d1\u677f\uff0c\u5728\u542f\u52a8\u540c\u65f6\u6309\u4f4f\u7a7a\u683c\uff0c\u8fdb\u5165\u201cvivi&gt;\u201d\u63d0\u793a\u7b26\u540e\u518d\u677e\u624b\u3002\u8f93\u5165 #load flash vivi x \u8f93\u5165\u540e\u7acb\u5373\u6309ctrl+a &amp;&amp; s\uff0c\u9009\u62e9xmodem\uff0c\u8f93\u5165\u6216\u9009\u62e9\u8981\u4f20\u8f93\u7684\u6587\u4ef6\uff08\u7528\u4e0a\u4e0b\u65b9\u5411\u952e\u79fb\u52a8\uff0c\u7528SPACE\u6765\u9009\u62e9\uff0c\u6700\u597d\u5c06\u6587\u4ef6\u62f7\u5230root\u76ee\u5f55\u4e0b\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5\u901a\u8fc7minicom\u7684\u8def\u5f84\u8bbe\u7f6e\u6765\u6539\u53d8\u9ed8\u8ba4\u6253\u5f00\u7684\u6587\u4ef6\u5939\uff09\u3002\u6ce8\uff1a\u8be5\u52a8\u4f5c\u4e00\u5b9a\u8981\u5feb\uff0c\u5982\u679c\u8fd8\u63d0\u793a\u201cACK \uff1aGet xxxx xxxx xx\u201d\uff0c\u5219\u662f\u5df2\u7ecf\u53d1\u751f\u8fde\u63a5\u8d85\u65f6\u4e86\u3002\u53ef\u4ee5\u5728vivi\u4e0b\u4f7f\u7528param set xmodem_time_initout 2000000\u548cparam set xmodem_timeout 3000000\u6765\u8bbe\u7f6exmodem\u7684\u521d\u59cb\u5316\u65f6\u95f4\u548c\u7b49\u5f85\u8d85\u65f6\u65f6\u95f4\u5c31\u53ef\u4ee5\u4e86\u3002\uff08\u4e5f\u770b\u8fc7\u6709\u7684\u5730\u65b9\u8bf4\u8981\u8bbeparam set xmodem 1\uff0c\u4f46\u5b9e\u9645\u53d1\u73b0\u8be5\u53c2\u6570\u5728\u76ee\u524d\u7684\u4f7f\u7528\u73af\u5883\u4e2d\u4e0d\u7528\u91cd\u8bbe\uff0c\u800c\u4e14\u53d1\u73b0\u5b9e\u9645\u8d77\u5173\u952e\u4f5c\u7528\u7684\u662fxmodem_timeout\uff0c\u53ef\u4ee5\u7528param show\u6765\u67e5\u770b\u8be5\u53c2\u6570\u7684\u9ed8\u8ba4\u65f6\u95f4\uff0c\u597d\u8c61\u6574\u6570\u8868\u793a\u7684\u5355\u4f4d\u662fus\uff09<\/p>\n<p>4\uff1a\u70e7\u5b8c\u540e\uff0c\u7528param set linux_cmd_line &#8220;console=ttyS0 root=\/dev\/nfs nfsroot=192.168.0.22:\/NFS\/share\/Dir ip=192.168.0.32:192.168.0.1:192.168.0.1:255.255.255.0:matrix4.arm9.net:eth0:off&#8221; \u8bbe\u7f6e\u542f\u52a8\u53c2\u6570\uff08\u521a\u5f00\u59cb\u662f\u901a\u8fc7NFS\u542f\u52a8\u7684\u7cfb\u7edf\uff09\u3002\u5176\u4e2dnfsroot\u5f88\u597d\u7406\u89e3\uff0c\u5b83\u6307\u7684\u662f\u4f60\u5728\u5c40\u57df\u7f51\u4e2d\u7684PC\u4e3b\u673aIP\u53caNFS\u5171\u4eab\u76ee\u5f55<\/p>\n<p>ip\u7684\u7b2c\u4e00\u9879\u662f\u76ee\u6807\u677f\u7684\u4e34\u65f6IP\uff08\u4e0d\u8981\u4e0e\u5c40\u57df\u7f51\u5185\u5176\u5b83IP\u51b2\u7a81\uff09\uff0c<\/p>\n<p>\u7b2c\u4e8c\u9879\u662fboot server\u7684IP\uff08\u5b9e\u9645\u5e94\u7528\u4e2d\u53d1\u73b0\u597d\u8c61\u6ca1\u4ec0\u4e48\u7528\uff09<\/p>\n<p>\u7b2c\u4e09\u9879\u662f\u76ee\u6807\u677f\u4e0a\u7684GW\u7f51\u5173\u8bbe\u7f6e<\/p>\n<p>\u7b2c\u56db\u9879\u662f\u63a9\u7801\uff0c<\/p>\n<p>\u7b2c\u4e94\u9879\u662f\u4e3b\u673a\u540d\uff0c<\/p>\n<p>\u7b2c\u516d\u9879\u662f\u7f51\u5361eth0\uff0coff\u7684\u53c2\u6570\u4e0d\u77e5\u9053\u662f\u4ec0\u4e48\u610f\u601d\uff0c\u4f46\u5bf9\u6574\u4e2a\u542f\u52a8\u5e94\u8be5\u6ca1\u4ec0\u4e48\u5927\u7684\u5f71\u54cd\u3002<\/p>\n<p>5\uff1a\u8bbe\u7f6e\u597d\u540e\uff0c\u7528boot\u542f\u52a8\u76ee\u6807\u677f\uff0c\u6b64\u5904\u4e00\u5b9a\u8981\u6ce8\u610fPC\u4e3b\u673a\u7684NFS\u76ee\u5f55\u53ef\u4ee5\u52a0\u8f7d\uff0c\u53ef\u4ee5\u5148\u81ea\u8eab\u52a0\u8f7d\u4e00\u4e0b\uff0c\u770b\u770b\u60c5\u51b5\uff0c\u53e6\u5916\uff0c\u8981\u6ce8\u610f\u5173\u6389\u9632\u706b\u5899\u3002<\/p>\n<p>\u4f46\u4ee5\u4e0a\u5404\u6b65\u4e2d\uff0c\u6bcf\u4e00\u6b65\u7684\u5c0f\u7ec6\u8282\u5982\u679c\u6ca1\u6709\u8fdb\u884c\u5230\u90fd\u4f1a\u4e0d\u77e5\u6240\u63aa\u3002\u6211\u5c31\u662f\u8fd9\u6837\u3002\u53ea\u80fd\u901a\u8fc7\u4e0d\u65ad\u5730\u4e0a\u7f51\u518d\u4e0a\u7f51\u6765\u5bfb\u6c42\u7b54\u6848\uff08\u4e00\u76f4\u5f88\u82e6\u7684\u5c31\u662f\u8fd9\u4e9b\u4e8b\u6ca1\u6709\u4eba\u6307\u5bfc\uff0c\u5982\u679c\u6709\u4e9b\u4eba\u505a\u8fc7\u4e86\u8bf4\u4e00\u4e0b\uff0c\u53ef\u4ee5\u534a\u4e2a\u5c0f\u65f6\u5c31\u641e\u5b9a\uff0c\u6211\u8db3\u8db3\u82b1\u4e86\u4e09\u5929\u65f6\u95f4\uff0c\u624d\u8fdb\u884c\u4e86\u4e0a\u9762\u7684\u51e0\u6b65\uff09<\/p>\n<p>\u7ecf\u8fc7\u4ee5\u4e0a\u5404\u6b65\u540e\uff0c\u4e00\u822c\u662f\u6ca1\u95ee\u9898\u4e86\uff08\u4ece\u7f51\u4e0a\u5176\u4ed6\u4eba\u7684\u5b9e\u8df5\u7ecf\u9a8c\u4e2d\uff0c\u611f\u89c9\u8fd9\u51e0\u6b65\u8bb8\u591a\u4eba\u57fa\u672c\u4e0a\u6ca1\u82b1\u4ec0\u4e48\u529f\u592b\uff09\uff0c\u4f46\u6211\u7684\u7cfb\u7edf\u8fd8\u662f\u542f\u52a8\u4e0d\u4e86\uff0c\u603b\u505c\u5728 Uncompressing Linux&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;. done, booting the kernel. \u8fd9\u4e2a\u95ee\u9898\u6211\u53c8\u627e\u4e86\u4e24\u5929\u3002\u7531\u4e8e\u6ca1\u6709\u7ecf\u9a8c\uff0c\u6211\u4e00\u76f4\u5728\u627e\u662f\u4e0d\u662f\u4ee5\u524d\u7684\u5404\u6b65\u6709\u6ca1\u6ce8\u610f\u5230\u7684\u5730\u65b9\uff0c\u662f\u4e0d\u662fparam set \u4e2d\u7684IP\u8bbe\u7f6e\u6709\u95ee\u9898\uff0c\u6240\u4ee5\u4e0d\u65ad\u7684\u70e7\u7247\u5b50\uff0c\u52a0\u8f7dkernel\uff0c\u8bbe\u7f6e\u53c2\u6570\u3002\u4f46\u5b9e\u9645\u7684\u95ee\u9898\u662f\u6211\u7684PC\u4e3b\u673a\uff08\u4e0d\u662fNFS\u7684\u7cfb\u7edf\u95ee\u9898\uff0c\u6211\u53ef\u4ee5MOUNT\uff09\uff0c\u5728\u521a\u52a0\u8f7d\u5b8ckernel\u540e\uff0c\u91cd\u542f\u4e86\u4e00\u4e0b\u6211\u7684FC5\uff0c\u4e00\u5207\u5c31\u597d\u4e86\u3002\uff08\u6211\u662f\u5728\u6ca1\u529e\u6cd5\u540e\uff0c\u6253\u7b97\u5207\u6362\u6211\u7684FC5\u5230WINXP\u53bb\u7528\u8d85\u7ea7\u7ec8\u7aef\u91cd\u65b0\u52a0\u8f7dkernel\u65f6\uff0c\u4e00\u5207OK \u7684\uff09\u3002\u8865\uff1a\u4eca\u5929\u53c8\u78b0\u5230\u8be5\u95ee\u9898\uff0c\u53bb\u6389\u4e86\u70e7flash\u7684JTAG\u7ebf\u540e\uff0c\u5c31\u4e00\u5207OK<\/p>\n<p>\u4e0b\u9762\u5c31\u8981\u5f00\u59cb\u771f\u6b63\u7684\u7f16\u7a0b\u4e86\uff0c\u53c8\u4e00\u5ea7\u5927\u5c71\u8981\u7ffb\uff01<\/p>\n<p>httpss:\/\/blog.sina.com.cn\/u\/566aaf26010003a6<\/p>\n<p>ARM9\u7cfb\u7edf\u70e7\u5199(\u5f85\u7f16\u8f91)<\/p>\n<p>1\u3002\u70e7\u5199vivi\uff08windows\u4e0b\uff09 \u63a5\u597d\u5e76\u884c\u53e3 \u4e0e jtag\u53e3 \u7ebf<\/p>\n<p>a\u3002\u5f00\u59cb\u83dc\u5355- \u8fd0\u884c&#8211;\u8f93\u5165 \u201ccmd\u201d\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3002<\/p>\n<p>b\u3002 \u8f93\u5165 \u201ce\uff1a\u201d \u56de\u8f66 \u201ccd \\Jflash\\Windows\u201d \u56de\u8f66 \u3002\u8fdb\u5165\\Jflash\\Windows\u76ee\u5f55<\/p>\n<p>c\u3002\u5c06\u8981\u70e7\u5199\u7684vivi\u955c\u50cf\u6587\u4ef6\u590d\u5236\u5230e\uff1a\\Jflash\\Windows\u76ee\u5f55 \uff0c\u8bbe\u540d\u4e3avivi-yaffs-v5<\/p>\n<p>d\u3002\u5728\u547d\u4ee4\u63d0\u793a\u7b26 \u4e2d\u8f93\u5165 \u201csjf2410 \/f:vivi-yaffs-v5\u201d \u56de\u8f66<\/p>\n<p>e.\u4f60\u4f1a\u770b\u5230\u9009\u62e9\u83dc\u5355 [SJF Main Menu] 0:K9S1208 program 1:28F128J3A program 2:Memory Rd\/Wr 3:Exit \u9009\u62e90 \u56de\u8f66<\/p>\n<p>f.0 \u56de\u8f66<\/p>\n<p>g.0 \u56de\u8f66<\/p>\n<p>h.\u70e7\u5199\u5b8c\u4e86,\u9009\u62e9 3\u63a8\u51fa<\/p>\n<p>2.\u70e7\u5199linux\u5185\u6838(windows\u4e0b) \u8fde\u63a5\u597d\u4e3b\u673a\u4e0esbc2410\u7684\u4e32\u53e3\u8fde\u7ebf\u3002<\/p>\n<p>a.\u6253\u5f00\u5f00\u59cb-\u9644\u4ef6-\u901a\u8baf-\u8d85\u7ea7\u7ec8\u7aef.\u65b0\u5efa\u8fde\u63a5,\u968f\u4fbf\u8d77\u4e2a\u540d\u5b57arm\uff0c\u786e\u5b9a.<\/p>\n<p>b\u3002\u8fde\u63a5\u65f6\u4f7f\u7528com1,\u786e\u5b9a\u3002<\/p>\n<p>c\u3002\u6bcf\u79d2\u4f4d\u6570115200\uff0c\u6570\u636e\u4f4d8\uff0c\u5947\u5076\u6821\u9a8c \u65e0\uff0c\u505c\u6b62\u4f4d 1\uff0c\u6d41\u91cf\u63a7\u5236 \u65e0\uff0c\u786e\u5b9a\u3002<\/p>\n<p>d\u3002\u5f53\u6240\u6709\u7684\u8fde\u63a5\u53c2\u6570\u90fd\u8bbe\u7f6e\u597d\u4ee5\u540e\uff0c\u6253\u5f00\u76ee\u6807\u677f\u7535\u6e90\u5f00\u5173\uff0c\u5c31\u4f1a\u770b\u5230 vivi \u7684\u542f\u52a8\u4fe1\u606f\uff0c\u5f53 Linux \u542f\u52a8\u4ee5\u540e\uff0c \u8d85\u7ea7\u7ec8\u7aef\u5c31\u76f8\u5f53\u4e8e\u865a \u62df\u7ec8\u7aef\uff0c\u4f60\u5c31\u80fd\u901a\u8fc7\u5b83\u6765\u64cd\u4f5c\u76ee\u6807\u677f\u4e86\u3002<\/p>\n<p>e\u3002\u6309\u4f4f\u7a7a\u683c\u952e \uff0c\u91cd\u8d77sbc2410 \uff0c\u4fbf\u53ef\u4ee5 \u8fdb\u5165vivi\u63d0\u793a\u7b26 \u3002<\/p>\n<p>f.\u8f93\u5165 load kernel x \uff0c\u56de\u8f66 \u3002<\/p>\n<p>g\u3002\u9009\u83dc\u5355\u4e2d\u7684\u4f20\u9001\uff0c\u53d1\u9001\u6587\u4ef6\uff0c\u9009\u5185\u6838\u6587\u4ef6 kernel-yaffs-v5 \uff0c\u9009\u62e9 xmodem\u534f\u8bae \uff0c \u53d1\u9001\u3002<\/p>\n<p>h\u3002\u53d1\u9001\u5b8c\u6bd5\uff0c\u5185\u6838\u5df2\u70e7\u597d\u3002\u4e0d\u8fc7\u6ca1\u6709\u6587\u4ef6\u7cfb\u7edf\uff0c\u8fd9\u662f\u91cd\u8d77sbc2410\u4f1a\u63d0\u793a\u627e\u4e0d\u5230\u6587\u4ef6\u7cfb\u7edf\u3002<\/p>\n<p>3\u3002\u5199linux\u6587\u4ef6\u7cfb\u7edf\uff08linux\u4e0b\uff09<\/p>\n<p>a\u3002\u91cd\u8d77\u7535\u8111\uff0c\u8fdb\u5165 linux\u3002<\/p>\n<p>b\u3002\u6253\u5f00\u7ec8\u7aef\uff08\u4e3b\u673a\u4e0a\u7684\uff0c\u547d\u4ee4\u884c\u8f93\u5165\u7684\u4e1c\u897f\uff09\uff0c\u8f93\u5165&#8221;minicom&#8221;,\u56de\u8f66\u3002\uff08\u82e5\u662f\u7b2c\u4e00\u6b21\u4f7f\u7528minicom\u5219\u8981\u914d\u7f6e\u4e00\u4e0b\uff0c\u89c1 httpss:\/\/www.arm9.net\/term_guide.asp#hypertrm\uff09<\/p>\n<p>c\u3002\u6309\u4f4f\u7a7a\u683c\u952e \uff0c\u91cd\u8d77sbc2410 \uff0c\u4fbf\u53ef\u4ee5 \u8fdb\u5165vivi\u63d0\u793a\u7b26 \u3002<\/p>\n<p>d\u3002\u5c06\u4e0b\u9762\u6587\u5b57\u590d\u5236\u5230vivi\u63d0\u793a\u7b26\u4e0b\uff0c\u6309\u56de\u8f66\u3002 param set linux_cmd_line &#8220;console=ttyS0 root=\/dev\/nfs nfsroot=192.168.0.1:\/friendly-arm\/root ip=192.168.0.69:192.168.0.1:192.168.0.1:255.255.255.0:matrix4.arm9.net:eth0:off&#8221; e\u3002\u8f93\u5165 para save\uff0c\u56de\u8f66\u3002<\/p>\n<p>f\u3002\u5728\u5f00\u542f\u4e00\u4e2a\u7ec8\u7aef\uff08\u4e3b\u673a\u4e0a\u7684\uff0c\u547d\u4ee4\u884c\u8f93\u5165\u7684\u4e1c\u897f\uff09\uff0c\u8f93\u5165 ifconfig eth0 192.168.0.1 \uff0c\u56de\u8f66\u3002\uff08\u4fee\u6539\u672c\u5730ip \u4e3a192.168.0.1\uff09<\/p>\n<p>g\u3002\u8f93\u5165 lokkit \uff0c\u6253\u5f00\u9632\u706b\u5899\u8bbe\u7f6e\uff0c\u9009\u62e9 no firewall,ok.<\/p>\n<p>h.\u8f93\u5165 cd \/mnt\/cdrom\/SBC-2410X\/SBC-2410X-Linux \u8fdb\u5165\u5149\u76d8\u76ee\u5f55\u3002\uff08\u5fc5\u987b\u63d2\u5165\u4e86\u5149\u76d8\uff09\u3002<\/p>\n<p>i\u3002\u8f93\u5165 cat exports&gt;&gt;\/etc\/exports<\/p>\n<p>j.\u8f93\u5165 \/etc\/init,d\/nfs start \u542f\u52a8nfs\u670d\u52a1\u3002<\/p>\n<p>k\u3002\u5173\u6389\u7b2c\u4e8c\u4e2a\u7ec8\u7aef\uff0c\u56de\u5230\u7b2c\u4e00\u4e2a\u8fdb\u5165vivi\u63d0\u793a\u7b26\u7684\u7ec8\u7aef\u3002<\/p>\n<p>l\u3002\u8f93\u5165boot\uff0csbc2410 \u5c06\u91cd\u8d77\u3002<\/p>\n<p>m\u3002\u7b49\u63d0\u793a\u201cpress enter to active the consle\u201d\u65f6 \u6309\u56de\u8f66\uff0c\u8fdb\u5165\u63d0\u793a\u7b26\u72b6\u6001\uff0c\u6b64\u65f6\u5df2\u901a\u8fc7nfs\u6210\u529f\u542f\u52a8\u7cfb\u7edf\u3002<\/p>\n<p>n\uff0c\u8f93\u5165bk6448 \u91cd\u65b0 \u70e7\u5199vivi \u5185\u6838\uff0c\u4f7f\u5176\u652f\u6301640*480lcd\u663e\u793a<\/p>\n<p>o\u3002\u8f93\u5165reboot\uff0c\u56de\u8f66\u3002<\/p>\n<p>p\u3002\u7b49\u4e00\u4e0b\uff0c\u6309\u4f4f\u7a7a\u683c\u952e\uff0c\u624b\u52a8\u8ba9sbc2410\u91cd\u8d77\uff08\u6309sbc2410\u7248\u4e0a\u7684\u590d\u4f4d\u952e\u3002\uff09<\/p>\n<p>q\u3002\u8fdb\u5165vivi\u63d0\u793a\u7b26\uff0c\u91cd\u65b0\u6267\u884cd\u3002e\u3002\u4e24\u6b65\u3002\u7136\u540e\u8f93\u5165boot\u3002<\/p>\n<p>r\u3002\u7b49\u4e00\u56de\uff0c\u6309\u56de\u8f66\uff0c\u8fdb\u5165\u63d0\u793a\u7b26\u72b6\u6001\uff0c\u8f93\u5165 bs6448 \u5212\u5206\u6d88\u534f\u6587\u4ef6\u7cfb\u7edf\uff0c \u652f\u6301640*480lcd\u663e\u793a\uff0c\u4e14\u5e26\u6709qtopia\uff0cleds \u7b49\u4f8b\u5b50\u7a0b\u5e8f\u3002<\/p>\n<p>s\u3002\u6309\u4f4f\u7a7a\u683c\u952e\uff0c\u91cd\u8d77sbc2410\uff08\u6309sbc2410\u7248\u4e0a\u7684\u590d\u4f4d\u952e\u3002\uff09,\u8fdb\u5165vivi\u63d0\u793a\u7b26\u3002\u8f93\u5165 para reset ,\u56de\u8f66\u3002para save \uff0c\u56de\u8f66\u3002<\/p>\n<p>t\u3002\u8f93\u5165boot\uff0c\u56de\u8f66\u3002<\/p>\n<p>\u539f\u6587\u5730\u5740 httpss:\/\/www.xxx.com<\/p>\n<h3>QTE\u4e0e\u89e6\u6478\u5c4f<\/h3>\n<p>QTE\u89e6\u6478\u5c4f\u52a0\u8f7d\u6709\u4e24\u79cd\u65b9\u6cd5\uff1a<\/p>\n<p>\uff08<span style=\"font-family: AR PL ZenKai Uni,serif;\">1<\/span>\uff09<span style=\"font-family: AR PL ZenKai Uni,serif;\">QTE<\/span>\u672c\u8eab\u89e6\u6478\u5c4f\u52a0\u8f7d\uff1b<\/p>\n<p>\u4e3b\u8981\u6ce8\u610f\u4e09\u4e2a\u5185\u5bb9\uff1a<\/p>\n<ol type=\"i\">\n<li>\u7f16\u8bd1<span style=\"font-family: AR PL ZenKai Uni,serif;\">QTE<\/span>\u65f6\uff0c\u5728\u5176\u81ea\u5b9a\u4e49\u914d\u7f6e\u6587\u4ef6\uff08\u4f4d\u4e8e<span style=\"font-family: AR PL ZenKai Uni,serif;\">QTDIR\/src\/tools\/qconfig-XXX.h<\/span>\uff0c\u5176<span style=\"font-family: AR PL ZenKai Uni,serif;\">XXX<\/span>\u4e3a\u81ea\u5b9a\u4e49\u7684\u540d\u5b57\uff0c\u8be5\u7279\u5f81\u5b57\u53ef\u4ee5\u5728<span style=\"font-family: AR PL ZenKai Uni,serif;\">configure<\/span>\u65f6\u7528<span style=\"font-family: AR PL ZenKai Uni,serif;\">-qconfig XXX<\/span>\u6307\u5b9a\uff09\u6240\u5e94\u52a0\u7684\u5185\u5bb9\uff1a\n<p><span style=\"font-family: AR PL ZenKai Uni,serif;\">#define QT_QWS_IPAQ<\/span><\/p>\n<p><span style=\"font-family: AR PL ZenKai Uni,serif;\">#define QT_QWS_IPAQ_RAW<\/span><\/p>\n<p>\u53bb\u6389\u9f20\u6807\u81ea\u52a8\u8bc6\u522b\u529f\u80fd \uff1a<span style=\"font-family: AR PL ZenKai Uni,serif;\">#define QT_NO_QWS_MOUSE_AUTO<\/span><\/p>\n<p>\u53bb\u6389\u4e0d\u7528\u7684\u9f20\u6807\u9a71\u52a8\uff0c\uff08\u5728\u5b9e\u9645\u4e2d\uff0c\u8fd9\u4e00\u6b65\u53ef\u4ee5\u4e0d\u8981\uff0c\u4f46\u5bf9\u4e8e\u7f29\u51cf<span style=\"font-family: AR PL ZenKai Uni,serif;\">QTE<\/span>\u7684\u5927\u5c0f\u5f88\u6709\u5e2e\u52a9\uff09\uff0c\u65b9\u6cd5\u4e3b\u8981\u662f\u5728<span style=\"font-family: AR PL ZenKai Uni,serif;\">configure<\/span>\u65f6\u8bbe\u7f6e\u914d\u7f6e\u53c2\u6570\u4e3a<span style=\"font-family: AR PL ZenKai Uni,serif;\">-no-mouse-pc -no-mouse-bus -no-mouse-yopy -no-mouse-vr41xx <\/span>\u3002<\/p>\n<p>\u4ee5\u8be5\u7f16\u8bd1\u597d\u7684<span style=\"font-family: AR PL ZenKai Uni,serif;\">QTE<\/span>\u5e93\u4e3a\u57fa\u7840\uff0c\u7f16\u8bd1\u5e94\u7528\u7a0b\u5e8f\uff1b<\/li>\n<li>\u5728\u76ee\u6807\u673a\u4e0a\uff0c\u8981\u5c06\u89e6\u6478\u5c4f\u9a71\u52a8\u94fe\u63a5\u597d\u3002\u5728<span style=\"font-family: AR PL ZenKai Uni,serif;\">QTE3.0<\/span>\u7684\u7248\u672c\u4e2d\uff0c\u5982\u679c\u5b9a\u4e49\u4e86\u4e0a\u8ff0\u7684\u4e24\u4e2a<span style=\"font-family: AR PL ZenKai Uni,serif;\">IPAQ<\/span>\u76f8\u5173\u7684\u5b8f\uff0c\u5176\u9ed8\u8ba4\u6253\u5f00\u8bbe\u5907\u6587\u4ef6<span style=\"font-family: AR PL ZenKai Uni,serif;\">\/dev\/h3600_tsraw<\/span>\u3002\u5982\u679c\u53ea\u5b9a\u4e49<span style=\"font-family: AR PL ZenKai Uni,serif;\">QT_QWS_IPAQ<\/span>\uff0c\u5219\u6253\u5f00\u8bbe\u5907\u6587\u4ef6\u4e3a<span style=\"font-family: AR PL ZenKai Uni,serif;\">\/dev\/h3600_ts<\/span>\u3002<\/li>\n<li>\u5728\u76ee\u6807\u673a\u4e0a\uff0c\u8bbe\u5b9a\u73af\u5883\u53d8\u91cf\uff1a<span style=\"font-family: AR PL ZenKai Uni,serif;\">QWS_MOUSE_PROTO=linuxtp:\/dev\/h3600_tsraw<\/span>\u3002<\/li>\n<\/ol>\n<p>\uff08<span style=\"font-family: AR PL ZenKai Uni,serif;\">2<\/span>\uff09\u4f7f\u7528<span style=\"font-family: AR PL ZenKai Uni,serif;\">tslib<\/span>\u65b9\u6cd5\uff1b<\/p>\n<ul>\n<li>\u7f16\u8bd1<span style=\"font-family: AR PL ZenKai Uni,serif;\">TSLIB1.3<\/span>\uff1a\n<ul>\n<li>\u8fdb\u884c\u5982\u4e0b\u64cd\u4f5c<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<ul>\n<li>\n<ul>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">#.\/autogen.sh #<\/span>\u751f\u6210<span style=\"font-family: AR PL ZenKai Uni,serif;\">configure<\/span>\u6587\u4ef6<\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">CC= $ARM_TOOL_PATH\/arm-linux-gcc<\/span><\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">CXX= $ARM_TOOL_PATH\/arm-linux-g++ <\/span><\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">.\/configure &#8211;host=arm-linux &#8211;target=arm-linux &#8211;disable-inputapi &#8211;prefix=$PWD\/build <\/span><\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">make<\/span><\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">make install<\/span><\/li>\n<\/ul>\n<\/li>\n<li>\u5c06<span style=\"font-family: AR PL ZenKai Uni,serif;\">build<\/span>\u7684\u6574\u4e2a\u76ee\u5f55\u62f7\u8d1d\u5230\u76ee\u6807\u673a\uff0c\u7136\u540e\u5728\u76ee\u6807\u673a\u505a\u5982\u4e0b\u8bbe\u5b9a\uff0c\u4fee\u6539<span style=\"font-family: AR PL ZenKai Uni,serif;\">\/etc\/profile<\/span>\u6587\u4ef6\uff0c\u5728\u5176\u4e2d\u52a0\u5165\u4ee5\u4e0b\u73af\u5883\u53d8\u91cf\u7684\u8bbe\u7f6e\n<ul>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export V_ROOT=\/xxx\/xxx\/build #<\/span>\u76ee\u6807\u673a\u4e0a<span style=\"font-family: AR PL ZenKai Uni,serif;\">build<\/span>\u6240\u5728\u7684\u8def\u5f84<\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export TSLIB_TSEVENTTYPE=H3600 #<\/span>\u8bbe\u5b9a\u7c7b\u578b\u4e3a<span style=\"font-family: AR PL ZenKai Uni,serif;\">H3600<\/span>\uff0c\u5176\u4e3b\u8981\u662f\u5bf9\u7740<span style=\"font-family: AR PL ZenKai Uni,serif;\">tslib<\/span>\u4e2d\u7684\u8bbe\u5907\u7ed3\u6784\u4f53\u5b9a\u4e49\uff0c\u8be5\u5b9a\u4e49\u8981\u4e0e\u89e6\u6478\u5c4f\u9a71\u52a8\u4e2d\u7684\u4e00\u81f4<\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export TSLIB_CONSOLEDEVICE=none #<\/span>\u8bbe\u5b9a\u63a7\u5236\u53f0\u8bbe\u5907\u4e3a<span style=\"font-family: AR PL ZenKai Uni,serif;\">none<\/span>\uff0c\u5426\u5219\u9ed8\u8ba4\u4e3a<span style=\"font-family: AR PL ZenKai Uni,serif;\">\/dev\/tty<\/span>\u3002\u5728<span style=\"font-family: AR PL ZenKai Uni,serif;\">tslib1.3<\/span>\u6e90\u7801\u4e2d\uff0c\u53ea\u8981\u4e0d\u662f<span style=\"font-family: AR PL ZenKai Uni,serif;\">none<\/span>\uff0c\u5b83\u5c31\u4f1a\u6253\u5f00<span style=\"font-family: AR PL ZenKai Uni,serif;\">$(TSLIB_CONSOLEDEVICE)1<\/span>\uff0c\u9ed8\u8ba4\u7684\u4e3a<span style=\"font-family: AR PL ZenKai Uni,serif;\">\/dev\/tty1<\/span>\u7684\u8bbe\u5907\uff0c\u7136\u540e\u4ece\u4e2d\u8bfb\u53d6<span style=\"font-family: AR PL ZenKai Uni,serif;\">console<\/span>\u7684\u53ef\u7528\u8bbe\u7f6e\u3002\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u51fa\u73b0\u201c<span style=\"font-family: AR PL ZenKai Uni,serif;\">open consoledevice: No such file or directory KDSETMODE: Bad file descriptor\u201d<\/span>\u7684\u9519\u8bef<\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export TSLIB_FBDEVICE=\/dev\/fb0 #<\/span>\u6307\u5b9a\u5e27\u7f13\u51b2\u8bbe\u5907<\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export TSLIB_TSDEVICE=\/dev\/touchscreen\/0raw #<\/span>\u6307\u5b9a\u89e6\u6478\u5c4f\u8bbe\u5907\u8282\u70b9\u6587\u4ef6<\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export TSLIB_CALIBFILE=$V_ROOT\/etc\/pointercal #<\/span>\u6307\u5b9a\u89e6\u6478\u5c4f\u6821\u51c6\u6587\u4ef6<span style=\"font-family: AR PL ZenKai Uni,serif;\">pintercal<\/span>\u7684\u5b58\u653e\u4f4d\u7f6e<\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export TSLIB_CONFFILE=$V_ROOT\/etc\/ts.conf #<\/span>\u6307\u5b9a<span style=\"font-family: AR PL ZenKai Uni,serif;\">TSLIB<\/span>\u914d\u7f6e\u6587\u4ef6\u7684\u4f4d\u7f6e<\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export TSLIB_PLUGINDIR=$V_ROOT\/share\/ts\/plugins #<\/span>\u6307\u5b9a\u89e6\u6478\u5c4f\u63d2\u4ef6\u6240\u5728\u8def\u5f84<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u7f16\u8bd1<span style=\"font-family: AR PL ZenKai Uni,serif;\">TSLIB1.4<\/span>\uff08<span style=\"font-family: AR PL ZenKai Uni,serif;\">TSLIB07072006<\/span>\uff09\n<ul>\n<li>\u8fdb\u884c\u5982\u4e0b\u64cd\u4f5c\uff1a\n<ul>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">echo &#8220;ac_cv_func_malloc_0_nonnull=yes&#8221; &gt; tslib\/arm-linux.autogen #<\/span>\u4e3a\u4e86\u9632\u6b62\u51fa\u73b0<span style=\"font-family: AR PL ZenKai Uni,serif;\">undefined reference to `rpl_malloc&#8217; <\/span>\u9519\u8bef<\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">CONFIG_SITE=arm-linux.autogen .\/configure CC=arm-linux-gcc CXX=arm-linux-g++ &#8211;host=arm-s3c2410-linux-gnu &#8211;target=arm-s3c2410-linux-gnu &#8211;disable-input &#8211;disable-arctic2 &#8211;disable-mk712 &#8211;disable-collie &#8211;disable-corgi &#8211;disable-ucb1x00 &#8211;disable-linear-h2200 &#8211;with-gnu-ld &#8211;prefix=$PWD\/build<\/span><\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">make<\/span><\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">make install<\/span><\/li>\n<\/ul>\n<\/li>\n<li>\u5c06<span style=\"font-family: AR PL ZenKai Uni,serif;\">build<\/span>\u7684\u6574\u4e2a\u76ee\u5f55\u62f7\u8d1d\u5230\u76ee\u6807\u673a\uff0c\u7136\u540e\u5728\u76ee\u6807\u673a\u505a\u5982\u4e0b\u8bbe\u5b9a\uff0c\u4fee\u6539<span style=\"font-family: AR PL ZenKai Uni,serif;\">\/etc\/profile<\/span>\u6587\u4ef6\uff0c\u5728\u5176\u4e2d\u52a0\u5165\u4ee5\u4e0b\u73af\u5883\u53d8\u91cf\u7684\u8bbe\u7f6e\u3002\u5176\u89e3\u91ca\u7c7b\u4e0a\uff0c\u4e0d\u540c\u4e8e<span style=\"font-family: AR PL ZenKai Uni,serif;\">TSLIB1.3<\/span>\u7684\u662f\uff0c<span style=\"font-family: AR PL ZenKai Uni,serif;\">TLIB1.4<\/span>\u901a\u8fc7\u914d\u7f6e\u6587\u4ef6<span style=\"font-family: AR PL ZenKai Uni,serif;\">ts.conf<\/span>\u4e2d<span style=\"font-family: AR PL ZenKai Uni,serif;\">module_raw h3600<\/span>\u8bed\u53e5\u6765\u52a0\u8f7d\u5bf9\u5e94\u7684\u8bbe\u5907\u7ed3\u6784\u4f53\u5b9a\u4e49\u3002\u5df2\u5e9f\u9664\u4e86<span style=\"font-family: AR PL ZenKai Uni,serif;\">TSLIB_TSEVENTTYPE<\/span>\u5b8f\u3002\n<ul>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export V_ROOT=\/xxx\/xxx\/build <\/span><\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export TSLIB_TSDEVICE=\/dev\/touchscreen\/0raw<\/span><\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export TSLIB_CALIBFILE=\/etc\/pointercal<\/span><\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export TSLIB_CONFFILE=$V_ROOT\/etc\/ts.conf<\/span><\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export TSLIB_PLUGINDIR=$V_ROOT\/lib\/ts<\/span><\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export TSLIB_CONSOLEDEVICE=none<\/span><\/li>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">export TSLIB_FBDEVICE=\/dev\/fb0<\/span><\/li>\n<\/ul>\n<\/li>\n<li>\u4e00\u4e2a\u503c\u5f97\u6ce8\u610f\u7684\u95ee\u9898\u662f\uff1a<span style=\"font-family: AR PL ZenKai Uni,serif;\">TSLIB1.4<\/span>\u5728<span style=\"font-family: AR PL ZenKai Uni,serif;\">ts_config<\/span>\u51fd\u6570\u4e2d\u901a\u8fc7<span style=\"font-family: AR PL ZenKai Uni,serif;\">while((p=fgets(buf,BUFF_SIZE,f))!=NULL)<\/span>\u6765\u52a0\u8f7d<span style=\"font-family: AR PL ZenKai Uni,serif;\">ts.conf<\/span>\u4e2d\u7684\u8bed\u53e5\uff0c\u800c<span style=\"font-family: AR PL ZenKai Uni,serif;\">buf<\/span>\u53ea\u6709<span style=\"font-family: AR PL ZenKai Uni,serif;\">512byte<\/span>\u3002\u6240\u4ee5\u5bf9\u4e8e<span style=\"font-family: AR PL ZenKai Uni,serif;\">ts.conf<\/span>\u6ca1\u6709\u7528\u7684\u5b9a\u4e49\u8bed\u53e5\uff0c\u8bf7\u5c06\u5176\u5220\u9664\uff0c\u4ee5\u9632\u6b62\u8bef\u53d1\u751f\u6bb5\u9519\u8bef\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u4ee5<span style=\"font-family: AR PL ZenKai Uni,serif;\">TSLIB<\/span>\u5e93\u4e3a\u57fa\u7840\uff0c\u7f16\u8bd1<span style=\"font-family: AR PL ZenKai Uni,serif;\">QTE<\/span>\u3002\n<ul>\n<li><span style=\"font-family: AR PL ZenKai Uni,serif;\">QTE2.3.10<\/span>\u76f4\u63a5\u652f\u6301<span style=\"font-family: AR PL ZenKai Uni,serif;\">-tslib<\/span>\u9009\u9879\u5f00\u5173\u7684\u5e94\u7528\u3002\u4e0d\u7528\u4fee\u6539\u4efb\u4f55\u6587\u4ef6\u3002\u53ef\u4ee5\u901a\u8fc7\u7f51\u4e0a\u6240\u8bf4\u7684\u62f7\u8d1d<span style=\"font-family: AR PL ZenKai Uni,serif;\">tslib.h<\/span>\u5934\u6587\u4ef6\u53ca\u5e93\u6587\u4ef6\u5230<span style=\"font-family: AR PL ZenKai Uni,serif;\">QTE<\/span>\u76f8\u5173\u76ee\u5f55\u6765\u8fdb\u884c\u7f16\u8bd1\uff08\u5bf9\u4e8e<span style=\"font-family: AR PL ZenKai Uni,serif;\">tslib1.4<\/span>\uff0c\u8fd8\u8981\u62f7\u8d1d<span style=\"font-family: AR PL ZenKai Uni,serif;\">tslib_private.h<\/span>\uff09\u3002\u4e5f\u53ef\u4ee5\u5728<span style=\"font-family: AR PL ZenKai Uni,serif;\">.\/configure<\/span>\u8fdb\u6307\u5b9a<span style=\"font-family: AR PL ZenKai Uni,serif;\">-L&lt;path to tslib library&gt; -I&lt;path to tslib header&gt;<\/span>\u6765\u9632\u6b62\u51fa\u73b0\u627e\u4e0d\u5230\u76f8\u5e94\u5e93\u6587\u4ef6 \u7684\u9519\u8bef\u3002\uff08\u5bf9\u4e8e<span style=\"font-family: AR PL ZenKai Uni,serif;\">tslib1.4<\/span>\uff0c\u5e94\u8be5\u8fd8\u52a0\u4e0a<span style=\"font-family: AR PL ZenKai Uni,serif;\">-lts<\/span>\u9009\u9879\uff09\u3002<\/li>\n<li>\u5bf9\u4e8e\u5176\u5b83\u7248\u672c\u7684<span style=\"font-family: AR PL ZenKai Uni,serif;\">QTE<\/span>\uff0c\u53ef\u4ee5\u901a\u8fc7\u5728<span style=\"font-family: AR PL ZenKai Uni,serif;\">QTE<\/span>\u6587\u4ef6\u5939\u8def\u5f84\u4e0b\u6267\u884c<span style=\"font-family: AR PL ZenKai Uni,serif;\">grep -lir &#8216;tslib&#8217; *<\/span>\u6765\u67e5\u770b\u662f\u5426\u6709\u5bf9<span style=\"font-family: AR PL ZenKai Uni,serif;\">tslib<\/span>\u7684\u652f\u6301\uff0c\u5982\u679c\u6ca1\u6709\u5219\u9700\u8981\u5bf9\u6e90\u7801\u8fdb\u884c\u76f8\u5e94\u7684\u4fee\u6539\u3002\uff08<span style=\"font-family: AR PL ZenKai Uni,serif;\">onebyte<\/span>\u6ce8\uff1a\u867d\u7136\u7f51\u4e0a\u8bf4\u6709\u8865\u4e01\u53ef\u4e0b\uff0c\u4f46\u4ffa\u4e00\u76f4\u6ca1\u627e\u5230\u76f8\u5173\u7684<span style=\"font-family: AR PL ZenKai Uni,serif;\">patch<\/span>\uff0c\u4f46\u770b\u770b<span style=\"font-family: AR PL ZenKai Uni,serif;\">QTE2.3.10<\/span>\u7684\u6e90\u7801\u540e\u518d\u505a\u76f8\u5e94\u7684\u4fee\u6539\u8fd8\u7b97\u6bd4\u8f83\u65b9\u4fbf\uff1a\uff09<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: bold;\">\uff3b<\/span><span style=\"font-weight: bold; font-family: AR PL ZenKai Uni,serif;\">onebyte<\/span><span style=\"font-weight: bold;\">\u540e\u8bb0\uff3d<\/span>\uff1a<\/p>\n<p>\u7531\u4e8e\u662f\u4e00\u4e2a\u4eba\u5728\u505a\u57fa\u4e8e<span style=\"font-family: AR PL ZenKai Uni,serif;\">embedded linux<\/span>\u7684\u8f6f\u4ef6\u5f00\u53d1\uff0c\u6ca1\u6709\u4ed6\u4eba\u76f4\u63a5\u7684\u4ea4\u6d41\uff0c\u6240\u4ee5\u6478\u7d22<span style=\"font-family: AR PL ZenKai Uni,serif;\">QTE<\/span>\u89e6\u6478\u5c4f\u652f\u6301\u7684\u8fc7\u7a0b\u662f\u76f8\u5f53\u8f9b\u82e6\u7684\uff01\u7f51\u4e0a\u5173\u4e8e\u8fd9\u4e00\u5757\u7684\u8bf4\u6cd5\u4e0d\u4e00\uff0c\u4f7f\u5f97\u81ea\u5df1\u5bf9<span style=\"font-family: AR PL ZenKai Uni,serif;\">QTE<\/span>\u89e6\u6478\u5c4f\u652f\u6301\u7684\u65b9\u6cd5\u5f88\u957f\u65f6\u95f4\u8fa8\u4e0d\u6e05\u65b9\u5411\u3002\u4f46\u5728\u8fd9\u91cc\u8fd8\u662f\u8981\u975e\u5e38\u611f\u8c22\u7f51\u4e0a\u7684\u8bb8\u591a\u670b\u53cb\uff0c\u6b63\u662f\u901a\u8fc7\u5927\u5bb6\u7684\u8ba8\u8bba\u624d\u5c06\u8fd9\u5757\u5185\u5bb9\u9010\u6e10\u7406\u901a\u3002<\/p>\n<p>\u5728\u8fd9\u91cc\u7279\u5c06\u8fd9\u4e9b\u65b9\u6cd5\u8bb0\u8f7d\u4e0b\u6765\uff0c\u9001\u7ed9\u540c\u6211\u4e00\u6837\u7ecf\u5386\u8fc7\u56f0\u60d1\u7684\u670b\u53cb\u4eec\uff1a<span style=\"font-family: AR PL ZenKai Uni,serif;\">P<\/span><\/p>\n<p>\uff3b\u53c2\u8003\u7f51\u7ad9\uff3d<\/p>\n<p>\u7f51\u4e0a\u5404\u8bba\u575b\u4e2d\u5173\u4e8e<span style=\"font-family: AR PL ZenKai Uni,serif;\">TSLIB<\/span>\u5185\u5bb9\u7684\u5e16\u5b50\u4e0d\u5c11\uff0c\u8fd9\u91cc\u53ea\u8bb0\u4e00\u4e9b\u4e3b\u8981\u7684\u8bba\u575b\u7f51\u7ad9\uff0c\u6709\u5174\u8da3\u7684\u53ef\u4ee5\u5230\u8fd9\u4e0a\u9762\u53bb\u770b\u770b\uff1a<\/p>\n<p><span style=\"font-family: AR PL ZenKai Uni,serif;\">[1] <\/span><a href=\"httpss:\/\/kiss.bitunion.org\/forumdisplay.php?fid=113&amp;sid=WcnNGjWX\"><span style=\"color: #0000ff;\">\u5317\u4eac\u7406\u5de5\u5927\u5b66\u5d4c\u5165\u5f0f<span style=\"font-family: AR PL ZenKai Uni,serif;\">linux BBS<\/span><\/span><\/a><\/p>\n<p><span style=\"font-family: AR PL ZenKai Uni,serif;\">[2] <\/span><a href=\"httpss:\/\/www.hhcn.com\/cgi-bin\/leoboard.cgi\"><span style=\"color: #800080;\">\u534e\u6052\u5d4c\u5165\u8bba\u575b<\/span><\/a><\/p>\n<p><span style=\"font-family: AR PL ZenKai Uni,serif;\">[3] <a href=\"httpss:\/\/www.qtcn.org\/bbs\/\"><span style=\"color: #0000ff;\">Qt<\/span><\/a><\/span><a href=\"httpss:\/\/www.qtcn.org\/bbs\/\"><span style=\"color: #0000ff;\">\u4e2d\u6587\u8bba\u575b<\/span><\/a><\/p>\n<p><span style=\"font-family: AR PL ZenKai Uni,serif;\">[4] <a href=\"httpss:\/\/www.qtforum.org\/index.html\"><span style=\"color: #0000ff;\">QT Forum<\/span><\/a><\/span><\/p>\n<p><span style=\"font-family: AR PL ZenKai Uni,serif;\">[5] <a href=\"httpss:\/\/www.linuxforum.net\/\"><span style=\"color: #0000ff;\">China Linux Forum<\/span><\/a><\/span><\/p>\n<h3>\u5229\u7528busybox\u5236\u4f5c\u6839\u6587\u4ef6\u7cfb\u7edf<\/h3>\n<p>\u73af\u5883\u8bf4\u660e\uff1a<br \/>\nHost:   rh9.0<br \/>\nTarget: MC2410E<br \/>\n\u4ea4\u53c9\u7f16\u8bd1\u56683.4.1 busybox1.01<\/p>\n<p>1. \u4e0b\u8f7dbusybox: httpss:\/\/www.busybox.net\/downloads\/<br \/>\n2. \u89e3\u538bbusybox<br \/>\n3. \u8fdb\u5165\u5230busybox\u76ee\u5f55\u540e\u6267\u884c\uff1a<br \/>\n   make menuconfig\u8fdb\u884c\u914d\u7f6e<br \/>\n   \u6ce8\u610f\uff1a Shells ><br \/>\n                    Choose your default shell (ash) ><br \/>\n                        \/* (X) ash \u9009\u4e2dash<br \/>\n   \u5728build option\u4e2d\u9009\u5219Build shared libbusybox <\/p>\n<p>   \u5176\u4ed6\u914d\u7f6e\u53ef\u4ee5\u53c2\u8003\u5df2\u6709\u7684bin sbin\u4e2d\u7684\u5185\u5bb9 \u4ee5\u53carcS\u6587\u4ef6\u4e2d\u7528\u5230\u7684\u547d\u4ee4\uff0c\u591a\u914d\u7f6e\u51e0\u6b21\u5c31\u719f\u6089\u4e86\uff01<br \/>\n   make<br \/>\n   make install<br \/>\n4. \u4e0a\u8ff0\u64cd\u4f5c\u4e4b\u540e\u5728\u6307\u5b9a \u7684\u76ee\u5f55\u4e2d\u5c31\u4f1a\u751f\u6210<br \/>\n   bin sbin \u4ee5\u53calinuxrc\u6587\u4ef6<br \/>\n   \u5269\u4e0b\u6765\u7684\u6700\u597d\u662f\u6839\u636e\u5f00\u53d1\u677f\u63d0\u4f9b\u7684\u6839\u6587\u4ef6\u7cfb\u7edf\u8fdb\u884c\u6539\u5199linuxrc\u4ee5\u53ca\u76f8\u5173\u7684\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<h3>\u65ad\u6c34\u5200\u7684blog MC2410E \u4f7f\u7528\u624b\u8bb0<\/h3>\n<p>\u4fee\u6539 qt\/qtopia \u4e3a yaffs \u6587\u4ef6\u683c\u5f0f<\/p>\n<p>\u4f20\u8f93\u5b8c\u6210\u540e\uff0c\u91cd\u542f\u5f00\u53d1\u677f<\/p>\n<p>\u5728 PC \u673a\uff0c\u8d85\u7ea7\u7ec8\u7aef\u4e0b\u8fdb\u5165 vivi<br \/>\n12.     \u4f7f\u7528\u547d\u4ee4 part erase usr \u64e6\u9664 usr \u5206\u533a<br \/>\n13.     \u5728 vivi \u4e0b\u4f7f\u7528\u547d\u4ee4 boot \u8fdb\u5165 Linux<br \/>\n14.     \u8fdb\u5165 linux \u540e\uff0c\u4f7f\u7528\u547d\u4ee4 ifconfig  eth0  192.168.0.15  255.255.255.0  up \u914d\u7f6e\u5f00\u53d1\u677f\u7684 IP \u5730\u5740\u5e76\u4e14\u542f\u7528\u7f51\u5361\u3002<br \/>\n15.     \u8fdb\u5165\u5230 \/etc\/tmp \u76ee\u5f55\u4e0b\uff0c\u4f7f\u7528\u547d\u4ee4 wget ftp:\/\/192.168.0.1\/usr.yaffs.usbmouse \u548cwgetftp:\/\/192.168.0.1\/mkyaffs \u4ece Windows PC\u4e3b\u673a\u4e0b\u8f7d\u8fd9\u4e24\u4e2a\u6587\u4ef6\u5230\u5f00\u53d1\u677f\u4e0a\u3002<br \/>\n16.     \u4f7f\u7528\u547d\u4ee4 chmod +x mkyaffs \uff0c\u589e\u52a0 mkyaffs \u7684\u53ef\u6267\u884c\u5c5e\u6027<br \/>\n17.\u4f7f\u7528\u547d\u4ee4 .\/mkyaffs \/dev\/mtd\/4 usr.yaffs.usbmouse \u70e7\u5199\u6587\u4ef6\uff08mtd \u5206\u533a\u8868\u5e8f\u53f7\u4ece0 \u5f00\u59cb\uff0cusr \u5206\u533a\u7684\u5e8f\u53f7\u4e3a4\uff09<\/p>\n<p> \u539f\u6587\u5730\u5740 httpss:\/\/www.cublog.cn\/u\/24474\/showart.php?id=212998<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Offical httpss:\/\/www.yctek.com\/ References YC-2440-SBC\u6587 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-5","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/5"}],"collection":[{"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5"}],"version-history":[{"count":0,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/5\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}