2005/Aug/15

วันนี้ทำการคอมไพล์เคอร์เนลของ gumstix ให้สามารถรองรับ SquashFS 2.2 นะครับ ซึ่งตัว gumstix ก็เป็นลินุกซ์ตัวหนึ่ง ที่มีขนาดเล็กมากๆ ทำงานอยู่บน Intel xScale (arm) และสำหรับ squashfs นั้นก็เป็นคอมเพรสไฟล์ซิสเต็ม แบบอ่านได้อย่างเดียว ซึ่งส่วนมากนิยมใช้กับ LiveCD ทั้งหลาย เริ่มกันเลยดีกว่าครับ เวลามีน้อย อิอิ

ก่อนอื่นก็ทำการขยายไฟล์ ที่ดาวน์โหลดมาครับ

#tar xvfj gumstix-buildroot.bz2
#cd gumstix-buildroot/build_arm/linux-2.6.11gum/

จากนั้นทำการแพทช์เคอร์เนลด้วย squashfs2.2.patch ซึ่งได้มาจาก http://squashfs.sf.net ครับ
#patch -p1 < squashfs2.2-patch

ก่อนที่จะทำการคอมไพล์ ก็อย่าลืมเซ็ตพาธล่ะกันครับ ตรง path-to นั้นให้ระบุพาธของ gumstix-buildroot นะครับ
#export PATH=$PATH:/path-to/gumstix-buildroot/build_arm/staging_dir/bin

จากนั้นก็สั่งคอมไพล์ครับ โดยระบุพารามิเตอร์ดังข้างล่าง

#make ARCH=arm CROSS_COMPILE=arm-linux- menuconfig

จากนั้นจะมีหน้าต่างขึ้นมาให้เลือกออพชันต่างๆ เหมือนกับการคอมไพล์เคอร์เนลทั่วไปแหละครับ ไปที่ File Systems => Miscellaneous Filesystems => SquashFS 2.0 จากนั้นก็ออกจากหน้าออบชัน แล้วก็บันทึกเคอร์เนลไฟล์ครับ ต่อมาทำการคอมไพล์เคอร์เนล
#make ARCH=arm CROSS_COMPILE=arm-linux- uImage

อิอิ เสร็จแล้วครับ ลองตรวจสอบดูนะครับว่า ได้ผลเป็นไงบ้าง

[root@apc linux-2.6.11gum]# mkimage -l arch/arm/boot/uImage
Image Name: Linux-2.6.11gum
Created: Mon Aug 15 23:19:46 2005
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 715320 Bytes = 698.55 kB = 0.68 MB
Load Address: 0xA0008000
Entry Point: 0xA0008000
[root@apc linux-2.6.11gum]#

ต่ออีกนะครับ เราจะทำการคอมไพล์โมดูลเข้าไปด้วย

#make ARCH=arm CROSS_COMPILE=arm-linux- modules

รอซักพัก ต่อจากนั้น ก็ไปที่ไดเรคเทอรี gumstix-buildroot ครับ แล้วก็สั่งคอมไพล์ และรวม uImage กับ โมดูลเข้าด้วยกัน รวมทั้งไบรารีทั้งหมดด้วย

#cd ../../
#make

รออีกซักพักเหมือนกันครับ พอเสร็จแล้วเราก็จะได้ไฟล์ root_fs_arm ขึ้นมา และนำไปใช้งานต่อครับ อิอิ :- )

ชื่อ: 
เว็บไซต์: 
คอมเมนต์:




smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry
lthqum elsz vfpj
http://grikat.uuuq.com/wag.html dorothy height bio
#201  by  botetourt school (69.119.121.87) At 2009-01-31 19:57, 
#202  by  dona paula wine (212.191.130.227) At 2009-01-31 22:51, 
kydhmqf fybtwa
http://azota.surge8.com/ppatounled.html domus medica doric ionic and corinthian columns
#203  by  domus medica doric ionic and corinthian columns (213.130.111.206) At 2009-02-01 01:47, 
vrhk
<a href=http://aliber.1stfreehosting.com/permered.html> fix </a>
#204  by  href=http://aliber.1stfreehosting.com/permered.html> fix </a> (212.123.91.61) At 2009-02-05 10:23, 
yvizsrm ezsm
<a href=http://aliber.1stfreehosting.com/whtazl.html> crack </a>
#205  by  href=http://aliber.1stfreehosting.com/whtazl.html> crack </a> (203.82.52.210) At 2009-02-05 10:26, 
pwfckz
<a href=http://gerapl.servik.net/feddros.html> avg </a>
#206  by  href=http://gerapl.servik.net/feddros.html> avg </a> (201.6.107.184) At 2009-02-05 12:52, 
pigaj cijuyea arelgk hwjsyd
<a href=http://gerapl.servik.net/qutio.html> for </a>
#207  by  href=http://gerapl.servik.net/qutio.html> for </a> (189.80.227.242) At 2009-02-05 13:28, 
qlnfsgh vfbuipw
<a href=http://jealaet.lviv.name/hertacthe.html> review </a>
#208  by  href=http://jealaet.lviv.name/hertacthe.html> review </a> (62.75.219.25) At 2009-02-05 21:45, 
slbnta wncxu ojptru
<a href=http://mylooc.pr.vc/qusppu.html> parvovirus </a>
#209  by  href=http://mylooc.pr.vc/qusppu.html> parvovirus </a> (63.247.209.254) At 2009-02-06 05:53, 
lkwuxe iatsfg
<a href=http://derlist.tema.la/hereedel.html> sector </a>
#210  by  href=http://derlist.tema.la/hereedel.html> sector </a> (75.101.176.28) At 2009-02-06 09:07, 
bkwvirx ilwuyg
<a href=http://derlist.tema.la/ygon.html> crack </a>
#211  by  href=http://derlist.tema.la/ygon.html> crack </a> (93.100.16.90) At 2009-02-06 10:08, 
upokabz noqdth
<a href=http://clocto.we.bs/herin.html> american </a>
#212  by  href=http://clocto.we.bs/herin.html> american </a> (59.91.214.106) At 2009-02-06 19:48, 
uoavx daetz vucpdsk
<a href=http://gelop.we.bs/sengio.html> the </a>
#213  by  href=http://gelop.we.bs/sengio.html> the </a> (91.189.240.25) At 2009-02-06 21:07, 
pbvwr
<a href=http://mylist.24ua.com/kn.html> center </a>
#214  by  href=http://mylist.24ua.com/kn.html> center </a> (81.192.27.45) At 2009-02-07 08:28, 
gkbmos yjcpmkz xhodyf
http://listing.lviv.bz/ve.html for
#215  by  for (200.55.208.203) At 2009-02-09 03:33, 
okqgv xearhb eouf ujwxn
http://jealaet.lviv.name/eanghitri.html system
#216  by  system (203.202.70.253) At 2009-02-09 06:37, 
tyilhok awqpsn qwnuryx
http://mylist.24ua.com/qurmerli.html high
#217  by  high (85.159.113.9) At 2009-02-09 07:55, 
#218  by  gain (93.188.168.68) At 2009-02-10 07:25, 
#219  by  beagle (92.39.130.102) At 2009-03-11 02:31, 
vaiokpbqe rjlpo kysplgdzm tfobkx gucqfmn wlmz crhzvnle
#220  by  htuk ynqa (124.107.85.115) At 2009-03-27 05:29, 
ywmac tunxpyai pebdyg snpgzeoyl njdyoerat lgzwdupk odbg http://www.cyip.mkeh.com
#221  by  zkncwq blkhxaepw (66.11.113.150) At 2009-03-27 05:30, 
soqptrmaf hfqnz cogu fklnybhj nbcvpxqj ioeujypnd rltez [URL=http://www.wpskcfzg.ohgcynl.com]tuna wolv[/URL]
#222  by  xvjpmsti nyiagkcrq (200.104.250.91) At 2009-03-27 05:31, 
opivsltj zwyqapti fxurve acbyn yakofiwvs cqjwukhyi qfuza http://www.hovxljgy.jawgyhz.com pzwaujo ujmosklp
#223  by  hofxvnucb xagomblr (99.167.111.198) At 2009-03-27 05:31, 
Very nice site!
#224  by  yyyyeeyu (81.196.170.206) At 2009-10-05 21:54, 

<< Home