Difference between revisions of "Hacking Linux for chumby"

From Chumby Wiki
Jump to: navigation, search
(Building and Installing a new Silvermoon chumby kernel)
 
(38 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[http://silly-n.blogspot.com best bonus casino online] [http://delelro.jubiiblog.de/ free sprint ringtones] [http://www.forumhosting.org/forum.php?mforum=vipasac free alltel ringtones] [http://www.forumhosting.org/forum.php?mforum=lirolsit xenical online] [http://www8.vjc.edu/EnvironmentalClub/discuss/msgReader$130 online tramadol] [http://www.forumhosting.org/forum.php?mforum=coeignus buy fioricet] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=347 polyphonic ringtones] [http://www.forumhosting.org/forum.php?mforum=rebangas buy carisoprodol] [http://www8.vjc.edu/EnvironmentalClub/discuss/msgReader$90 ativan online] [http://getnoel.blogdiario.com/ ambien online] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832196) free alltel ringtones] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1029?id=atch1097 buy clomid] [http://www.hcs.harvard.edu/~twiki/pub/Main/CoyarCharline/pecybu.htm generic alprazolam] [http://www.forumhosting.org/forum.php?mforum=notrocvi free samsung ringtones] [http://boeldron.jubiiblog.de/ free nokia ringtones] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1029?id=atch1078 cheap adipex] [http://basor5or5.blogdiario.com/ free verizon ringtones] [http://www.forumhosting.org/forum.php?mforum=acrolbas free kyocera ringtones] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832246) free tracfone ringtones] [http://www.hcs.harvard.edu/~twiki/pub/Main/AngelKristofer/votebu.htm free qwest ringtone] [http://www.rso.cmich.edu/prevet/messageboard/000031ad.htm generic xanax] [http://www.hcs.harvard.edu/~twiki/pub/Main/CoyarCharline/pyhux.htm cheap clonazepam] [http://www.csun.edu/learningnet/discussion/file.php?0,file=133 xenical online] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=319 free cingular ringtones] [http://www.csun.edu/learningnet/discussion/file.php?0,file=119 cialis online] [http://www.rso.cmich.edu/prevet/messageboard/000031c1.htm generic alprazolam] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832227) cheap nexium] [http://www.csun.edu/learningnet/discussion/file.php?0,file=116 cheap fioricet] [http://sitracget.blogdiario.com/ free funny ringtones] [http://www.csun.edu/learningnet/discussion/file.php?0,file=144 free mp3 ringtones] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=362 cheap ultracet] [http://trocgetou.jubiiblog.de/ cheap ativan] [http://www.csun.edu/learningnet/discussion/file.php?0,file=152 free verizon ringtones] [http://www.rso.cmich.edu/prevet/messageboard/000031b0.htm diazepam online] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=325 ericsson ringtones] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1030?id=atch1110 online rivotril] [http://www.hcs.harvard.edu/~twiki/pub/Main/AngelKristofer/nini.htm free ringtones] [http://forum.kharkiv.edu/SForums/topic.asp?TOPIC_ID=309&FORUM_ID=3&CAT_ID=3 cheap carisoprodol] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832255) xanax online] [http://cochibas.blogdiario.com/ free free ringtones] [http://www8.vjc.edu/EnvironmentalClub/discuss/msgReader$125 free tracfone ringtones] [http://www.csun.edu/learningnet/discussion/file.php?0,file=125 buy vicodin] [http://pasricac.blogdiario.com/ wwe ringtones] [http://www.csun.edu/learningnet/discussion/file.php?0,file=113 buy phentermine] [http://www.csun.edu/learningnet/discussion/file.php?0,file=135 cheap cyclobenzaprine] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832250) verizon ringtones] [http://bascnadar.blogdiario.com/ hydrocodone online] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=371 buy xenical] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832218) cheap levitra] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=329 hydrocodone online] [http://forum.kharkiv.edu/SForums/topic.asp?TOPIC_ID=316&FORUM_ID=3&CAT_ID=3 meridia online] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=343 nokia ringtones] [http://www.rso.cmich.edu/prevet/messageboard/000031af.htm generic ultram] [http://www.csun.edu/learningnet/discussion/file.php?0,file=111 soma online] [http://www.csun.edu/learningnet/discussion/file.php?0,file=138 propecia online] [http://eleltrac.blogdiario.com/ buy ativan] [http://www.forumhosting.org/forum.php?mforum=lebowles cheap adipex] [http://getsitolo.jubiiblog.de/ lorazepam online] [http://www8.vjc.edu/EnvironmentalClub/discuss/msgReader$114 free samsung ringtones] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1031?id=atch1133 free mono ringtones] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1030?id=atch1125 free sprint ringtones] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=355 soma online] [http://cagetca.jubiiblog.de/ celexa online] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1029?id=atch1080 buy vicodin] [http://discussions.csbsju.edu/general/messages/25/gyxex-235.html cialis online] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=358 free sonyericsson ringtones] [http://ryu-jounetsu.blogspot.com canadian casino online] [http://rochili.jubiiblog.de/ cyclobenzaprine online] [http://www.forumhosting.org/forum.php?mforum=laoubo qwest ringtones] [http://ricvicna.blogdiario.com/ polyphonic ringtones] [http://pasbasor.blogdiario.com/ buy ultram] [http://eltc4tric.jubiiblog.de/ xanax online] [http://www.csun.edu/learningnet/discussion/file.php?0,file=142 free tracfone ringtones] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1030?id=atch1121 free qwest ringtones] [http://ellapas.jubiiblog.de/ lipitor online] [http://forum.kharkiv.edu/SForums/topic.asp?TOPIC_ID=312&FORUM_ID=3&CAT_ID=3 order ultram] [http://www.csun.edu/learningnet/discussion/file.php?0,file=136 nexium online] [http://www8.vjc.edu/EnvironmentalClub/discuss/msgReader$118 free sony ericsson ringtones] [http://discussions.csbsju.edu/general/messages/25/xyli-236.html ativan online] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832257) order xenical] [http://www.rso.cmich.edu/prevet/messageboard/000031b1.htm cialis online] [http://www8.vjc.edu/EnvironmentalClub/discuss/msgReader$91 cheap carisoprodol] [http://www.forumhosting.org/forum.php?mforum=laerzel free sagem ringtones] [http://www.rso.cmich.edu/prevet/messageboard/000031b4.htm cheap meridia] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1030?id=atch1120 free nextel ringtones] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832194) but tramadol] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=317 buy carisoprodol] [http://bondich.blogspot.com mixing valium and xanax] [http://eltaric.blogdiario.com/ norco online] [http://www.hcs.harvard.edu/~twiki/pub/Main/CoyarCharline/xikuzo.htm generic valium] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=322 buy cyclobenzaprine] [http://pasbasbas.jubiiblog.de/ clonazepam online] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832216) kyocera ringtones] [http://forum.kharkiv.edu/SForums/topic.asp?TOPIC_ID=317&FORUM_ID=3&CAT_ID=3 adipex online] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1031?id=atch1131 free sonyericsson ringtones] [http://www.rso.cmich.edu/prevet/messageboard/000031ac.htm cheap carisoprodol] [http://www.csun.edu/learningnet/discussion/file.php?0,file=130 hydrocodone online] [http://www.hcs.harvard.edu/~twiki/pub/Main/AngelKristofer/ronut.htm free sony ericsson ringtone] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=334 meridia online] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1030?id=atch1108 order zanaflex] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1031?id=atch1129 free cingular ringtones] [http://raccaelt.jubiiblog.de/ cheap viagra] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=369 wwe ringtones] [http://www.hcs.harvard.edu/~twiki/pub/Main/AngelKristofer/digesyv.htm free nokia ringtones] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832225) free mtv ringtones] [http://eltvivi.blogdiario.com/ vicodin online] [http://www.hcs.harvard.edu/~twiki/pub/Main/CoyarCharline/bipivu.htm meridia online] [http://www.forumhosting.org/forum.php?mforum=getcoro free sony ericsson ringtones] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832238) sagem ringtones] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832236) qwest ringtones] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832243) sony ringtones] [http://www.forumhosting.org/forum.php?mforum=coephrai tramadol online] [http://www.rso.cmich.edu/prevet/messageboard/000031d2.htm qwest ringtones] [http://letocoer.jubiiblog.de/ polyphonic ringtones] [http://forum.kharkiv.edu/SForums/topic.asp?TOPIC_ID=310&FORUM_ID=3&CAT_ID=3 xanax] [http://www.csun.edu/learningnet/discussion/file.php?0,file=155 free sagem ringtones] [http://www.hcs.harvard.edu/~twiki/pub/Main/AngelKristofer/ciby.htm funny ringtones] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=356 sony ericsson ringtones] [http://www.csun.edu/learningnet/discussion/file.php?0,file=121 viagra online] [http://www.csun.edu/learningnet/discussion/file.php?0,file=141 free free ringtones] [http://ricrotroc.blogdiario.com/ free samsung ringtones] [http://eltlili.jubiiblog.de/ ambien online] [http://ouglova.blogspot.com valium half life] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832248) buy ultram] [http://www.csun.edu/learningnet/discussion/file.php?0,file=157 sony ericsson ringtones] [http://www.hcs.harvard.edu/~twiki/pub/Main/CoyarCharline/rujop.htm generic phentermine] [http://woolygrrl.blogspot.com valium side effects] [http://www8.vjc.edu/EnvironmentalClub/discuss/msgReader$134 valium online] [http://www8.vjc.edu/EnvironmentalClub/discuss/msgReader$95 diazepam online] [http://www.hcs.harvard.edu/~twiki/pub/Main/AngelKristofer/tubonyh.htm free samsung ringtones] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1030?id=atch1113 cheap hoodia] [http://acdronou.jubiiblog.de/ cheap diazepam] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832224) mp3 ringtones] [http://alcodom.blogdiario.com/ cheap viagra] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=370 xanax online] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832241) cheap soma] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=312 but adipex] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=318 cialis online] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1030?id=atch1105 order pharmacy online] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1029?id=atch1066 soma online] [http://coracou.jubiiblog.de/ order hydrocodone] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1029?id=atch1094 buy didrex] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1029?id=atch1087 cheap lorazepam] [http://www.forumhosting.org/forum.php?mforum=covarrel free funny ringtones] [http://lasitdron.jubiiblog.de/ cheap sildenafil] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1029?id=atch1084 levitra online] [http://www.hcs.harvard.edu/~twiki/pub/Main/AngelKristofer/nyzihyp.htm free tracfone ringtone] [http://manka-kapak.blogspot.com casino craps online] [http://www.rso.cmich.edu/prevet/messageboard/000031c8.htm free ringtone] [http://www.forumhosting.org/forum.php?mforum=oudronacel cheap didrex] [http://www.hcs.harvard.edu/~twiki/pub/Main/CoyarCharline/kukoti.htm generic cialis] [http://www.hcs.harvard.edu/~twiki/pub/Main/AngelKristofer/sinyfu.htm mp3 ringtones] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832228) free nextel ringtones] [http://ervarli.blogdiario.com/ jazz ringtones] [http://www.csun.edu/learningnet/discussion/file.php?0,file=148 motorola ringtones] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832235) punk ringtones] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832253) wellbutrin online] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832204) cool ringtones] [http://www8.vjc.edu/EnvironmentalClub/discuss/msgReader$88 alltel ringtones] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1031?id=atch1134 alltel ringtones] [https://www-internal.slac.stanford.edu/glast/integrationtest/online/Forum/topic.asp?TOPIC_ID=361 buy tramadol] [http://www8.vjc.edu/EnvironmentalClub/discuss/msgReader$106 nokia ringtones] [http://discussions.csbsju.edu/general/messages/25/xyvi-237.html cheap viagra] [http://www.rso.cmich.edu/prevet/messageboard/000031b5.htm generic adipex] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832230) norco online] [http://www.csun.edu/learningnet/discussion/file.php?0,file=134 wellbutrin online] [http://www.csun.edu/learningnet/discussion/file.php?0,file=132 cheap lorazepam] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832234) propecia online] [http://alcta.blogdiario.com/ sprint ringtones] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1029?id=atch1092 online ultracet] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1029?id=atch1100 zoloft online] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1031?id=atch1136 free cool ringtones] [http://liboor.jubiiblog.de/ free tracfone ringtones] [http://letorolac.jubiiblog.de/ motorola ringtones] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832201) cialis online] [http://www.rso.cmich.edu/prevet/messageboard/000031c5.htm cheap levitra] [http://domvimon.jubiiblog.de/ norco online] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1029?id=atch1068 phentermine online] [http://ertral.jubiiblog.de/ carisoprodol] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1029?id=atch1074 cheap cialis] [http://enchanted1312.blogspot.com injecting valium] [http://www.forumhosting.org/forum.php?mforum=ricrolget free music ringtones] [http://el5or5ro.blogdiario.com/ motorola ringtones] [http://www.rso.cmich.edu/prevet/messageboard/000031c3.htm generic clonazepam] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1031?id=atch1128 free polyphonic ringtones] [http://www.hcs.harvard.edu/~twiki/pub/Main/CoyarCharline/lusuli.htm generic viagra] [http://www8.vjc.edu/EnvironmentalClub/discuss/msgReader$113 sagem ringtones] [http://bocoleto.jubiiblog.de/ free alltel ringtones] [http://discussions.csbsju.edu/general/messages/25/lepef-234.html diazepam online] [http://discussions.csbsju.edu/general/messages/25/dyjys-243.html cheap adipex] [http://discussions.csbsju.edu/general/messages/25/zisi-231.html xanax online] [http://olorolacel.blogdiario.com/ diazepam online] [http://pathology.jhu.edu/N/n.web?EP=N&URL=/MCGI/SEND1^WEBUTLTY(200,832220) meridia online] [http://www.forumhosting.org/forum.php?mforum=vartrocvi free verizon ringtones] [http://www.forumhosting.org/forum.php?mforum=safunder viagra online] [http://algettr.blogdiario.com/ cheap carisoprodol] [http://www.rso.cmich.edu/prevet/messageboard/000031b7.htm cheap vicodin] [http://forum.kharkiv.edu/SForums/topic.asp?TOPIC_ID=315&FORUM_ID=3&CAT_ID=3 cheap viagra] [http://www8.vjc.edu/EnvironmentalClub/discuss/msgReader$96 fioricet online] [http://src.moffitt.usf.edu/sf/sfmain/do/downloadAttachment/projects.jaffy/tracker.bug_tracker/artf1030?id=atch1112 flexeril online] The Alpha Prototype chumby runs a modified linux 2.4.20 kernel.
+
==Existing Software==
 +
See existing [[Chumby Software Applications, Scripts and Tools]] already on your Chumby stock linux distro.
 +
 
 +
==Building and Installing a new Silvermoon chumby kernel==
 +
 
 +
===Building the silvermoon/opus 1.8.1 kernel===
 +
 
 +
====Installing the toolchain====
 +
 
 +
First, install the [[GNU Toolchain]] (gcc 4.3.2)
 +
 
 +
====Build the kernel====
 +
 
 +
The following instructions will compile the Linux 2.6.28 kernel shipped with chumby silvermoon/opus firmware version 1.8.1:
 +
 
 +
mkdir kernel
 +
cd kernel
 +
wget http://files.chumby.com/source/silvermoon/silvermoon-1.8.1/linux-2.6.28.tgz
 +
tar zxvf linux-2.6.28.tgz
 +
cd linux-2.6.28
 +
ARCH=arm CROSS_COMPILE=arm-linux- make
 +
* Once the build completes, remount your root partition on your silvermoon unit read/write via:
 +
{{Command|mount -oremount,rw /}}
 +
* Copy the freshly built kernel from '''arch/arm/boot/zImage''' on your build system to '''/boot/vmlinuz''' on the target silvermoon device
 +
* run '''sync''' on the target silvermoon device, then '''reboot'''
 +
 
 +
===Building the silvermoon 1.0.3 kernel===
 +
 
 +
====Installing the toolchain====
 +
 
 +
First, install the [[GNU Toolchain]] (gcc 4.3.2)
 +
 
 +
====Build the kernel====
 +
 
 +
The following instructions will compile the Linux 2.6.28 kernel shipped with chumby silvermoon firmware version 1.0.3:
 +
 
 +
mkdir kernel
 +
cd kernel
 +
wget http://files.chumby.com/source/silvermoon/silvermoon-1.0.3/linux-2.6.28-silvermoon-1.0.3.tar.gz
 +
tar zxvf linux-2.6.28-silvermoon-1.0.3.tar.gz
 +
cd linux-2.6.28-silvermoon-1.0.3
 +
ARCH=arm CROSS_COMPILE=arm-linux- make
 +
* Once the build completes, remount your root partition on your Silvermoon unit read/write via:
 +
{{Command|mount -oremount,rw /}}
 +
* Copy the freshly built kernel from '''arch/arm/boot/zImage''' on your build system to '''/boot/vmlinuz''' on the target silvermoon device
 +
* run '''sync''' on the target silvermoon device, then '''reboot'''
 +
 
 +
==Building and installing a new chumby One kernel==
 +
 
 +
#Install an ARM Linux toolchain, such as the 4.3.2 [[GNU Toolchain]]
 +
#Download [http://files.chumby.com/source/falconwing/build2370/linux-2.6.28.mx233.tgz]
 +
#Configure the kernel as you like, by running **make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig**
 +
#*The CROSS_COMPILE= arguments may vary depending on your toolchain's prefix.  Code Sourcery uses arm-none-linux-gnueabi- by default, but arm-linux- has also been used in the past
 +
#Compile the kernel by running **make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-**
 +
#Install modules to a local directory by running **INSTALL_MOD_PATH=[path-to-temp-rfs] make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules_install**
 +
#Copy the contents of your temp RFS to / on the chumby.  This should end up putting new files in /lib/modules
 +
#Copy arch/arm/boot/zImage to the chumby, somewhere temporary like /mnt/storage/
 +
#Determine which RFS you're in.  If /proc/cmdline contains "root=/dev/mmcblk0p2" you're in rfsA.  If it contains "root=/dev/mmcblk0p3", you're in rfsB.
 +
#Write the new kernel.  Use krnA if you're in rfsA, and krnB if you're in rfsB:
 +
config_util --cmd=putblock --dev=/dev/mmcblk0p1 --block=krnA < /mnt/storage/zImage
 +
 
 +
 
 +
==Building and Installing a new Classic chumby kernel==
 +
 
 +
===Building the chumby 1.7 kernel===
 +
 
 +
====Installing the toolchain====
 +
 
 +
First, install the [[GNU Toolchain]] (gcc 4.3.2)
 +
 
 +
====Build the kernel====
 +
 
 +
The following instructions will compile the Linux 2.6.16 kernel shipped with chumby firmware version 1.7:
 +
 
 +
mkdir kernel
 +
cd kernel
 +
wget http://files.chumby.com/source/ironforge/build396/align.pl
 +
wget http://files.chumby.com/source/ironforge/build1.7.1649/linux-2.6.16-chumby-1.7.0.tar.gz
 +
tar zxvf linux-2.6.16-chumby-1.7.0.tar.gz
 +
cd linux-2.6.16-chumby-1.7.0
 +
ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make
 +
perl ../align.pl arch/arm/boot/zImage
 +
zip k1.bin.zip arch/arm/boot/zImage
 +
 
 +
 
 +
===Building the chumby 1.6 kernel===
 +
 
 +
====Installing the toolchain====
 +
 
 +
First, install the [http://wiki.chumby.com/mediawiki/index.php/GNU_Toolchain#GCC_4.1.2b GCC 4.1.2b toolchain]
 +
 
 +
====Build the kernel====
 +
 
 +
The following instructions will compile the Linux 2.6.16 kernel shipped with chumby firmware version 1.6:
 +
 
 +
mkdir kernel
 +
cd kernel
 +
wget http://files.chumby.com/source/ironforge/build396/align.pl
 +
wget http://files.chumby.com/source/ironforge/build733/linux-2.6.16-chumby-1.6.0.tar.gz
 +
tar zxvf linux-2.6.16-chumby-1.6.0.tar.gz
 +
cd linux-2.6.16-chumby-1.6.0
 +
ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make
 +
perl ../align.pl arch/arm/boot/zImage
 +
zip k1.bin.zip arch/arm/boot/zImage
 +
 
 +
 
 +
 
 +
===Building the chumby 1.5 kernel===
 +
 
 +
====Installing the toolchain====
 +
 
 +
First, install the [http://wiki.chumby.com/mediawiki/index.php/GNU_Toolchain#GCC_4.1.2b GCC 4.1.2b toolchain]
 +
 
 +
====Build the kernel====
 +
 
 +
The following instructions will compile the Linux 2.6.16 kernel shipped with chumby firmware version 1.5:
 +
 
 +
mkdir kernel
 +
cd kernel
 +
wget http://files.chumby.com/source/ironforge/build396/align.pl
 +
wget http://files.chumby.com/source/ironforge/build565/linux-2.6.16-chumby-1.5.0.tar.gz
 +
tar zxvf linux-2.6.16-chumby-1.5.0.tar.gz
 +
cd linux-2.6.16-chumby-1.5.0
 +
ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make
 +
perl ../align.pl arch/arm/boot/zImage
 +
zip k1.bin.zip arch/arm/boot/zImage
 +
 
 +
Be sure you build with the correct toolchain!
 +
 
 +
===Installing the kernel image===
 +
 
 +
* create an '''update2''' directory on the root of a USB storage drive
 +
* copy '''k1.bin.zip''' to the '''update2''' directory on the USB storage drive
 +
* insert the USB storage drive into chumby
 +
* hold the touch screen down and power on the chumby (keep holding the screen for 5 seconds)
 +
* once the device has booted into special options mode, click '''Install updates'''
 +
* click '''Install from USB flash drive'''
 +
 
 +
 
 +
==Building the Wi-Fi driver==
 +
 
 +
{{Note| This assumes you've built the chumby 1.7 linux kernel.}}
 +
 
 +
If you've followed the steps above to build the chumby 1.7 linux kernel, you should be able to build the Ralink rt73 driver by doing the following:
 +
 
 +
cd kernel
 +
wget http://files.chumby.com/source/ironforge/build1.7.1649/rt73-chumby-1.7.0.tar.gz
 +
tar zxvf rt73-chumby-1.7.0.tar.gz
 +
cd rt73-chumby-1.7.0/Module/
 +
make ARCH=arm CROSS_COMPILE=arm-linux- KERNDIR=../../linux-2.6.16-chumby-1.7.0 arm
 +
 
 +
<br/><br/><br/>
 +
 
 +
==DEPRECATED==
 +
===Alpha Prototype===
 +
The Alpha Prototype chumby runs a modified linux 2.4.20 kernel.
  
 
'''Compiling the Kernel'''
 
'''Compiling the Kernel'''
  
First, install the [[GCC Toolchain]].
+
First, install the [[GCC Toolchain]] (gcc 3.3.2) - this toolchain is only for use with the prototypes.
  
 
In order to build the chumby kernel, you can download the kernel source from [http://files.chumby.com/resources/chumby_kernel.tgz chumby_kernel.tgz] and build by doing the following:
 
In order to build the chumby kernel, you can download the kernel source from [http://files.chumby.com/resources/chumby_kernel.tgz chumby_kernel.tgz] and build by doing the following:
Line 16: Line 171:
  
 
If all goes well, you should end up with an uncompressed kernel image at arch/arm/boot/Image.
 
If all goes well, you should end up with an uncompressed kernel image at arch/arm/boot/Image.
 +
 +
===Ironforge===
 +
The "Ironforge" production chumby runs Linux 2.6.16 kernel.
 +
 +
First install the [[GNU Toolchain]] (gcc 4.1.2) - this toolchain is for use with the production units.  Older toolchains may not work.
 +
 +
In order to build the chumby kernel, you can download the kernel source from [http://files.chumby.com/source/ironforge/build312/linux-2.6.16-chumby-1.0.tar.gz linux-2.6.16-chumby-1.0.tar.gz] and build by doing the following, NOT as root, but as a normal user.
 +
 +
$ mkdir kernel
 +
$ cd kernel
 +
$ tar zxvf linux-2.6.16-chumby-1.0.tar.gz
 +
$ cd linux-2.6.16
 +
$ cp arch/arm/configs/mx21ads_defconfig .config
 +
$ ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make oldconfig
 +
  (select 'Y' when asked if you wish to build in the 224 color Turbochef logo)
 +
$ ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make
 +
 +
 +
If all goes well, you should end up with a compressed kernel image at '''arch/arm/boot/zImage''' and all of loadable kernel modules under the  '''drivers''' directory.
 +
 +
By default, there are only 3 drivers built with this configuration:
 +
 +
$ find drivers -name *.ko
 +
Which should return:
 +
<pre>
 +
drivers/char/chumby_accel.ko
 +
drivers/char/chumby_sense1.ko
 +
drivers/char/chumby_timer.ko
 +
drivers/mfd/chumby-tsc2100.ko
 +
</pre>
 +
 +
Warning, this configuration will not get you a working kernel!  Do not use just yet...
 +
 +
You might want to enable more modules to get the recommended:
 +
# find drivers -name *.ko
 +
Which should return:
 +
<pre>
 +
drivers/media/video/cpia.ko
 +
drivers/media/video/compat_ioctl32.ko
 +
drivers/media/video/cpia_usb.ko
 +
drivers/media/video/v4l1-compat.ko
 +
drivers/media/video/v4l2-common.ko
 +
drivers/media/video/videodev.ko
 +
drivers/bluetooth/hci_usb.ko
 +
drivers/bluetooth/hci_vhci.ko
 +
drivers/video/console/bitblit.ko
 +
drivers/video/console/fbcon.ko
 +
drivers/video/console/fbcon_ccw.ko
 +
drivers/video/console/fbcon_cw.ko
 +
drivers/video/console/fbcon_rotate.ko
 +
drivers/video/console/fbcon_ud.ko
 +
drivers/video/console/font.ko
 +
drivers/video/console/softcursor.ko
 +
drivers/char/chumby_accel.ko
 +
drivers/char/chumby_sense1.ko
 +
drivers/char/chumby_timer.ko
 +
drivers/usb/media/dsbr100.ko
 +
drivers/usb/net/asix.ko
 +
drivers/usb/net/cdc_ether.ko
 +
drivers/usb/net/pegasus.ko
 +
drivers/usb/net/usbnet.ko
 +
drivers/usb/input/usbhid.ko
 +
drivers/mfd/chumby-tsc2100.ko
 +
</pre>

Latest revision as of 11:59, 11 October 2011

Existing Software

See existing Chumby Software Applications, Scripts and Tools already on your Chumby stock linux distro.

Building and Installing a new Silvermoon chumby kernel

Building the silvermoon/opus 1.8.1 kernel

Installing the toolchain

First, install the GNU Toolchain (gcc 4.3.2)

Build the kernel

The following instructions will compile the Linux 2.6.28 kernel shipped with chumby silvermoon/opus firmware version 1.8.1:

mkdir kernel
cd kernel
wget http://files.chumby.com/source/silvermoon/silvermoon-1.8.1/linux-2.6.28.tgz
tar zxvf linux-2.6.28.tgz
cd linux-2.6.28
ARCH=arm CROSS_COMPILE=arm-linux- make
  • Once the build completes, remount your root partition on your silvermoon unit read/write via:
mount -oremount,rw /
  • Copy the freshly built kernel from arch/arm/boot/zImage on your build system to /boot/vmlinuz on the target silvermoon device
  • run sync on the target silvermoon device, then reboot

Building the silvermoon 1.0.3 kernel

Installing the toolchain

First, install the GNU Toolchain (gcc 4.3.2)

Build the kernel

The following instructions will compile the Linux 2.6.28 kernel shipped with chumby silvermoon firmware version 1.0.3:

mkdir kernel
cd kernel
wget http://files.chumby.com/source/silvermoon/silvermoon-1.0.3/linux-2.6.28-silvermoon-1.0.3.tar.gz
tar zxvf linux-2.6.28-silvermoon-1.0.3.tar.gz
cd linux-2.6.28-silvermoon-1.0.3
ARCH=arm CROSS_COMPILE=arm-linux- make
  • Once the build completes, remount your root partition on your Silvermoon unit read/write via:
mount -oremount,rw /
  • Copy the freshly built kernel from arch/arm/boot/zImage on your build system to /boot/vmlinuz on the target silvermoon device
  • run sync on the target silvermoon device, then reboot

Building and installing a new chumby One kernel

  1. Install an ARM Linux toolchain, such as the 4.3.2 GNU Toolchain
  2. Download [1]
  3. Configure the kernel as you like, by running **make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig**
    • The CROSS_COMPILE= arguments may vary depending on your toolchain's prefix. Code Sourcery uses arm-none-linux-gnueabi- by default, but arm-linux- has also been used in the past
  4. Compile the kernel by running **make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-**
  5. Install modules to a local directory by running **INSTALL_MOD_PATH=[path-to-temp-rfs] make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules_install**
  6. Copy the contents of your temp RFS to / on the chumby. This should end up putting new files in /lib/modules
  7. Copy arch/arm/boot/zImage to the chumby, somewhere temporary like /mnt/storage/
  8. Determine which RFS you're in. If /proc/cmdline contains "root=/dev/mmcblk0p2" you're in rfsA. If it contains "root=/dev/mmcblk0p3", you're in rfsB.
  9. Write the new kernel. Use krnA if you're in rfsA, and krnB if you're in rfsB:
config_util --cmd=putblock --dev=/dev/mmcblk0p1 --block=krnA < /mnt/storage/zImage


Building and Installing a new Classic chumby kernel

Building the chumby 1.7 kernel

Installing the toolchain

First, install the GNU Toolchain (gcc 4.3.2)

Build the kernel

The following instructions will compile the Linux 2.6.16 kernel shipped with chumby firmware version 1.7:

mkdir kernel
cd kernel
wget http://files.chumby.com/source/ironforge/build396/align.pl
wget http://files.chumby.com/source/ironforge/build1.7.1649/linux-2.6.16-chumby-1.7.0.tar.gz
tar zxvf linux-2.6.16-chumby-1.7.0.tar.gz
cd linux-2.6.16-chumby-1.7.0
ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make
perl ../align.pl arch/arm/boot/zImage 
zip k1.bin.zip arch/arm/boot/zImage


Building the chumby 1.6 kernel

Installing the toolchain

First, install the GCC 4.1.2b toolchain

Build the kernel

The following instructions will compile the Linux 2.6.16 kernel shipped with chumby firmware version 1.6:

mkdir kernel
cd kernel
wget http://files.chumby.com/source/ironforge/build396/align.pl
wget http://files.chumby.com/source/ironforge/build733/linux-2.6.16-chumby-1.6.0.tar.gz
tar zxvf linux-2.6.16-chumby-1.6.0.tar.gz
cd linux-2.6.16-chumby-1.6.0
ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make
perl ../align.pl arch/arm/boot/zImage 
zip k1.bin.zip arch/arm/boot/zImage


Building the chumby 1.5 kernel

Installing the toolchain

First, install the GCC 4.1.2b toolchain

Build the kernel

The following instructions will compile the Linux 2.6.16 kernel shipped with chumby firmware version 1.5:

mkdir kernel
cd kernel
wget http://files.chumby.com/source/ironforge/build396/align.pl
wget http://files.chumby.com/source/ironforge/build565/linux-2.6.16-chumby-1.5.0.tar.gz
tar zxvf linux-2.6.16-chumby-1.5.0.tar.gz
cd linux-2.6.16-chumby-1.5.0
ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make
perl ../align.pl arch/arm/boot/zImage 
zip k1.bin.zip arch/arm/boot/zImage

Be sure you build with the correct toolchain!

Installing the kernel image

  • create an update2 directory on the root of a USB storage drive
  • copy k1.bin.zip to the update2 directory on the USB storage drive
  • insert the USB storage drive into chumby
  • hold the touch screen down and power on the chumby (keep holding the screen for 5 seconds)
  • once the device has booted into special options mode, click Install updates
  • click Install from USB flash drive


Building the Wi-Fi driver

Note: This assumes you've built the chumby 1.7 linux kernel.

If you've followed the steps above to build the chumby 1.7 linux kernel, you should be able to build the Ralink rt73 driver by doing the following:

cd kernel
wget http://files.chumby.com/source/ironforge/build1.7.1649/rt73-chumby-1.7.0.tar.gz
tar zxvf rt73-chumby-1.7.0.tar.gz
cd rt73-chumby-1.7.0/Module/
make ARCH=arm CROSS_COMPILE=arm-linux- KERNDIR=../../linux-2.6.16-chumby-1.7.0 arm




DEPRECATED

Alpha Prototype

The Alpha Prototype chumby runs a modified linux 2.4.20 kernel.

Compiling the Kernel

First, install the GCC Toolchain (gcc 3.3.2) - this toolchain is only for use with the prototypes.

In order to build the chumby kernel, you can download the kernel source from chumby_kernel.tgz and build by doing the following:

# mkdir kernel
# cd kernel
# tar zxvf chumby_kernel.tgz
# make menuconfig
(then immediately exit and save the config)
# make dep
# make Image

If all goes well, you should end up with an uncompressed kernel image at arch/arm/boot/Image.

Ironforge

The "Ironforge" production chumby runs Linux 2.6.16 kernel.

First install the GNU Toolchain (gcc 4.1.2) - this toolchain is for use with the production units. Older toolchains may not work.

In order to build the chumby kernel, you can download the kernel source from linux-2.6.16-chumby-1.0.tar.gz and build by doing the following, NOT as root, but as a normal user.

$ mkdir kernel
$ cd kernel
$ tar zxvf linux-2.6.16-chumby-1.0.tar.gz
$ cd linux-2.6.16
$ cp arch/arm/configs/mx21ads_defconfig .config
$ ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make oldconfig
  (select 'Y' when asked if you wish to build in the 224 color Turbochef logo)
$ ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make


If all goes well, you should end up with a compressed kernel image at arch/arm/boot/zImage and all of loadable kernel modules under the drivers directory.

By default, there are only 3 drivers built with this configuration:

$ find drivers -name *.ko

Which should return:

drivers/char/chumby_accel.ko
drivers/char/chumby_sense1.ko
drivers/char/chumby_timer.ko
drivers/mfd/chumby-tsc2100.ko

Warning, this configuration will not get you a working kernel! Do not use just yet...

You might want to enable more modules to get the recommended:

# find drivers -name *.ko

Which should return:

drivers/media/video/cpia.ko
drivers/media/video/compat_ioctl32.ko
drivers/media/video/cpia_usb.ko
drivers/media/video/v4l1-compat.ko
drivers/media/video/v4l2-common.ko
drivers/media/video/videodev.ko
drivers/bluetooth/hci_usb.ko
drivers/bluetooth/hci_vhci.ko
drivers/video/console/bitblit.ko
drivers/video/console/fbcon.ko
drivers/video/console/fbcon_ccw.ko
drivers/video/console/fbcon_cw.ko
drivers/video/console/fbcon_rotate.ko
drivers/video/console/fbcon_ud.ko
drivers/video/console/font.ko
drivers/video/console/softcursor.ko
drivers/char/chumby_accel.ko
drivers/char/chumby_sense1.ko
drivers/char/chumby_timer.ko
drivers/usb/media/dsbr100.ko
drivers/usb/net/asix.ko
drivers/usb/net/cdc_ether.ko
drivers/usb/net/pegasus.ko
drivers/usb/net/usbnet.ko
drivers/usb/input/usbhid.ko
drivers/mfd/chumby-tsc2100.ko