<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7169917970188818639</id><updated>2011-07-08T08:17:14.529+08:00</updated><category term='NFS'/><category term='Device Driver'/><category term='Kernel Porting'/><category term='Root File System'/><category term='Cross Toolchain'/><title type='text'>YCPAPA's Penguin Ranch</title><subtitle type='html'>一段在電路板上繁殖企鵝的故事...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ycpapa-tw.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ycpapa-tw.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>yctsai</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7169917970188818639.post-924678956650162168</id><published>2011-05-26T03:54:00.004+08:00</published><updated>2011-05-27T10:38:45.519+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NFS'/><title type='text'>NFS</title><summary type='text'>$ sudo apt-get install nfs-common nfs-kernel-server
$ sudo gedit /etc/exports
/home/iiiedu/busybox/_install 192.168.*.*(rw,no_root_squash,nohide,insecure,no_subtree_check,async)



啟動nfs
$ sudo /etc/init.d/nfs-kernel-server restart


檢查
$ showmount -e




u-boot



setenv bootargs console=ttySAC0,115200 root=/dev/nfs rw nfsroot=192.168.2.111:/home/iiiedu/busybox/_install ip=192.168.2.144:</summary><link rel='replies' type='application/atom+xml' href='http://ycpapa-tw.blogspot.com/feeds/924678956650162168/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7169917970188818639&amp;postID=924678956650162168' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/924678956650162168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/924678956650162168'/><link rel='alternate' type='text/html' href='http://ycpapa-tw.blogspot.com/2011/05/nfs.html' title='NFS'/><author><name>yctsai</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7169917970188818639.post-7451516196848718121</id><published>2008-12-02T15:47:00.007+08:00</published><updated>2008-12-02T16:11:16.931+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cross Toolchain'/><title type='text'>製作 Cross Toolchain with NPTL support for ARM EABI</title><summary type='text'>感謝Martin Guy提供crosstool-0.42的patch，讓crosstool可以編譯出較新穎的ARM-EABI Toolchain底下幾篇Martin Guy的文章，提供很多的幫助http://cluster.aleph1.co.uk/~martin/crosstool.htmlhttp://sources.redhat.com/ml/crossgcc/2006-04/msg00101.html</summary><link rel='replies' type='application/atom+xml' href='http://ycpapa-tw.blogspot.com/feeds/7451516196848718121/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7169917970188818639&amp;postID=7451516196848718121' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/7451516196848718121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/7451516196848718121'/><link rel='alternate' type='text/html' href='http://ycpapa-tw.blogspot.com/2008/12/cross-toolchain-with-nptl-support-for.html' title='製作 Cross Toolchain with NPTL support for ARM EABI'/><author><name>yctsai</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7169917970188818639.post-5374333523981888547</id><published>2008-11-18T11:45:00.026+08:00</published><updated>2008-11-26T11:20:33.112+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Device Driver'/><title type='text'>DM9000 移植到 s3c2440</title><summary type='text'>開發版：DMA-2440核心版本：Linux-2.6.27.4網卡：DM9000E由於想要掛載NFS檔案系統，於是開始嘗試移植 DM9000 Driver，參考網上許多的移植dm9000技術資料，似乎容易遇到NFS無法掛載的情況或者Ping不通的情況，經過一番試驗之後，終於完成可以讓開發板連接NFS。DM9000的BASE為0x20000300，是因為開發板透過CPLD將 nGCS4 與 DM9000的連接，而s3c2440的 nGCS4位址為 0x20000000，根據DM9000的spec可以查到I/O base預設為0x300。1.加入DM9000的映射編輯 /arch/arm/match-s3c2440/match-smdk2440.cstatic struct map_desc smdk2440_iodesc[] __initdata = {        /* ISA IO </summary><link rel='replies' type='application/atom+xml' href='http://ycpapa-tw.blogspot.com/feeds/5374333523981888547/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7169917970188818639&amp;postID=5374333523981888547' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/5374333523981888547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/5374333523981888547'/><link rel='alternate' type='text/html' href='http://ycpapa-tw.blogspot.com/2008/11/dm9000.html' title='DM9000 移植到 s3c2440'/><author><name>yctsai</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7169917970188818639.post-4370303095598626656</id><published>2008-11-11T16:23:00.006+08:00</published><updated>2008-11-25T15:26:15.224+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Root File System'/><title type='text'>製作yaffs2 檔案系統</title><summary type='text'>對於NAND Flash而言，Yaffs2格式的檔案系統具有有較優秀的效能表現，因此嘗試使用 yaffs2 來建置Root Filesystem。1. 套件下載： yaffs2：由 http://www.yaffs.net/ 下載 yaffs2.tar.gz2. Kernel 必須 加入yaffs2的支援 ：(要重新編譯Kernel)3.編譯 mkyaffs2image：切換到之前解壓縮在個人目錄的 yaffs2/，進入 yaffs2/utils/yctsai@yc-ubuntu:~/yaffs2/utils$ make可以得到 mkyaffs2image 這個工具4.製作成 yaffs2格式的 image目標將 _install 製作成 yaffs2格式的 image 。(檔案系統的的全部檔案都放在 busybox底下的_install裡面)首先，複製mkyaffs2image</summary><link rel='replies' type='application/atom+xml' href='http://ycpapa-tw.blogspot.com/feeds/4370303095598626656/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7169917970188818639&amp;postID=4370303095598626656' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/4370303095598626656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/4370303095598626656'/><link rel='alternate' type='text/html' href='http://ycpapa-tw.blogspot.com/2008/11/yaffs2.html' title='製作yaffs2 檔案系統'/><author><name>yctsai</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7169917970188818639.post-945751159633861785</id><published>2008-10-17T14:30:00.005+08:00</published><updated>2008-11-25T18:22:59.880+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Kernel Porting'/><title type='text'>移植 linux-2.6.27.4 到 s3c2440</title><summary type='text'>主機：ubuntu 7.0.4目標板：dma2440編譯工具：crosstool-0.43 ( gcc-4.1.1-glibc-2.3.6)編輯 ~/.bashrc 在檔案最底下加入Cross-Toolchain 路徑 與 自己的指令(yc_make)，這樣可以省去一些修改Makefile的瑣事PATH=$PATH:$HOME/bin:/opt/crosstool/gcc-4.1.1-glibc-2.3.6/arm-linux-gnu/binalias yc_make='make CROSS_COMPILE=arm-linux-gnu- V=1 ARCH=arm'改好之後關閉終端機，重新開啟套用新設定。接下來，開始進行移植的工作1. 下載需要的 source codekernel：由台灣的 mirrow site： http://www.tw.kernel.org/linux/</summary><link rel='replies' type='application/atom+xml' href='http://ycpapa-tw.blogspot.com/feeds/945751159633861785/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7169917970188818639&amp;postID=945751159633861785' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/945751159633861785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/945751159633861785'/><link rel='alternate' type='text/html' href='http://ycpapa-tw.blogspot.com/2008/10/blog-post_16.html' title='移植 linux-2.6.27.4 到 s3c2440'/><author><name>yctsai</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7169917970188818639.post-8764453215821155267</id><published>2008-10-17T14:24:00.001+08:00</published><updated>2008-11-02T08:43:59.669+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cross Toolchain'/><title type='text'>使用 crosstool-0.43 製作跨平台編譯 Cross-Toolchain</title><summary type='text'>要建立嵌入式系統首先需要安裝一套能支援跨平台編譯的Cross-Toolchain，獲得Cross-Toolchain的方式：1.自己DIY組裝2.使用自動化套件產生3.抓別人弄好的若採用一個工具接著另一個工具編譯來DIY組裝Toolchain會相當耗時費工，因此採用 Dan Kegel 所創作的 crosstool-0.43 這個套件來自動產生，會是個不錯的選擇！主機：ubuntu 7.0.4 (要能連上網路)首先從 http://kegel.com/crosstool/ 下載 crosstool-0.43.tar.gz 到主機上 /home/(使用者目錄)，並且在此解壓縮，可得 crosstool-0.43目錄。進入 crosstool-0.43目錄yctsai@yc-ubuntu:~$ cd /home/yctsai/crosstool-0.43/ step1：編輯 </summary><link rel='replies' type='application/atom+xml' href='http://ycpapa-tw.blogspot.com/feeds/8764453215821155267/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7169917970188818639&amp;postID=8764453215821155267' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/8764453215821155267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/8764453215821155267'/><link rel='alternate' type='text/html' href='http://ycpapa-tw.blogspot.com/2008/10/dsdfsdfsf.html' title='使用 crosstool-0.43 製作跨平台編譯 Cross-Toolchain'/><author><name>yctsai</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7169917970188818639.post-4121490674892573100</id><published>2008-10-17T14:22:00.032+08:00</published><updated>2011-05-26T05:15:09.742+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Root File System'/><title type='text'>建置 Root Filesystem 使用 busybox</title><summary type='text'>平台：ubuntu 7.0.4
目標板：dma2440
編譯工具：crosstool-0.43 ( gcc-4.1.1-glibc-2.3.6)

busybox：由http://www.busybox.net/下載 busybox-1.11.3.tar.bz2

下載兩個套件到使用者個人目錄底下，並且在此解壓縮

1. 編譯 busybox 產生 _install 目錄

yctsai@yc-ubuntu:~$ cd /home/yctsai/busybox-1.11.3/

初始化busybox編譯設定：
yctsai@yc-ubuntu:~/busybox-1.11.3$ yc_make defconfig

開始勾選busybox編譯設定：
yctsai@yc-ubuntu:~/busybox-1.11.3$ yc_make xconfig
-------------------</summary><link rel='replies' type='application/atom+xml' href='http://ycpapa-tw.blogspot.com/feeds/4121490674892573100/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7169917970188818639&amp;postID=4121490674892573100' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/4121490674892573100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/4121490674892573100'/><link rel='alternate' type='text/html' href='http://ycpapa-tw.blogspot.com/2008/10/ggg.html' title='建置 Root Filesystem 使用 busybox'/><author><name>yctsai</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7169917970188818639.post-2456975544826396684</id><published>2008-10-03T10:19:00.004+08:00</published><updated>2008-11-25T15:25:18.603+08:00</updated><title type='text'>YC爸爸的企鵝農場</title><summary type='text'>YCPAPA's Penguin Ranch將繁殖企鵝心得分類整理：1. 移植 Embedded Linux 到 ARM 的實驗心得 (Toolchain, bootloader, kernel, root file system, ...)2. 記錄 MultiMedia Application 移植到嵌入式環境的過程 (Player, Codec, ...)3. 安裝與修改 Embedded Linux Device Driver ( Video Chip, Audio Chip, Nand Flash, ...)</summary><link rel='replies' type='application/atom+xml' href='http://ycpapa-tw.blogspot.com/feeds/2456975544826396684/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7169917970188818639&amp;postID=2456975544826396684' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/2456975544826396684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7169917970188818639/posts/default/2456975544826396684'/><link rel='alternate' type='text/html' href='http://ycpapa-tw.blogspot.com/2008/10/blog-post.html' title='YC爸爸的企鵝農場'/><author><name>yctsai</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
