From: Craig H. <cr...@gu...> - 2006-01-31 19:09:14
|
On Jan 31, 2006, at 10:49 AM, Cyril Bazin wrote: > I am talking about the Makefile in root of your trunk! > > Obviously, you've got to remove the existing root_fs_arm from the > trunk before running "make". > > Sometime it's good to restart all from scratch. If you've got problem > with the root_fs size, try to remove all the buildroot directory (rm > -rf) and remake all. You can also restart from a completly new trunk > and rebuild everything after modifying the Makefile. Generally no need to remove that much. Just zap the $(TARGET_DIR) =20 which is build_arm*/root > I am sure that removing bluetooth and audio stuff give a smaller =20 > root_fs. > > Ask if you need more informations. > > Cyril > > On 1/31/06, Scott Harris <sco...@gm...> wrote: >> Yup. I already commented out audio and bluetooth. the funny thing is >> that the root_fs doesn't seem to change size when I do this. Am I >> looking at the worng file? >> -Scott >> >> On 1/30/06, Cyril Bazin <cyr...@in...> wrote: >>> Try to remove the audio stuffs: bplay and madplay >>> If you use usbnet and ssh to download/upload files on the gumstix, >>> remove the rz stuff (used to dl/up files using RS232) >>> And I you don't use bluetooth, remove it! >>> >>> Edit your Makefile and comment out the lines you don't want to =20 >>> be added >>> to the TARGETS. >>> >>> Try to comment out the following lines: >>> TARGETS+=3Dbplay madplay aumix >>> TARGETS+=3Dbluez-utils openobex >>> >>> And if you want to add python, try to add python to the TARGETS , I >>> have done something like that long time ago and it should have =20 >>> worked >>> if I remeber well... >>> >>> The part of the Makefile you should change to configure the stuff =20= >>> you >>> want on your system: >>> >>> >> ---------------------------------------------------------------------=20= >> ------ >>> ############################################################# >>> # >>> # The list of stuff to build for the target filesystem >>> # >>> ############################################################# >>> TARGETS:=3Dhost-sed >>> >>> TARGETS+=3Duclibc-configured binutils gcc ccache >>> >>> # Are you building your own kernel? Perhaps you have a kernel >>> # you have already configured and you want to use that? The >>> # default is to just use a set of known working kernel headers. >>> # Unless you want to build a kernel, I recommend just using >>> # that... >>> #TARGETS+=3Dkernel-headers >>> TARGETS+=3Dlinux >>> #TARGETS+=3Dsystem-linux >>> >>> # The default minimal set >>> TARGETS+=3Dbusybox >>> >>> # Some useful utilities >>> TARGETS+=3Dlrzsz target-mtd-utils >>> >>> # Some network services and apps >>> TARGETS+=3Drendezvous ntp boa dropbear_sshd >>> >>> # For Bluetooth >>> TARGETS+=3Dbluez-utils openobex >>> >>> # For Compact Flash >>> TARGETS+=3Dpcmcia hotplug hostap wtools >>> >>> # For audio >>> TARGETS+=3Dbplay madplay aumix >>> >> ---------------------------------------------------------------------=20= >> ------------------- >>> >>> >>> On 1/30/06, Scott Harris <sco...@gm...> wrote: >>>> I've built python and it's about 900 kb, so I can't figure out =20 >>>> how to >>>> make enough room on my 4MB connex to stuff it in there. >>>> >>>> Any tips on shrinking things down? I need WiFi and python and a web >>>> server would be nice. I've rebuilt everything without bluetooth, =20= >>>> but >>>> it doesnt seem to change the size of the root_fs. Am I confused =20 >>>> about >>>> that? >>>> >>>> Maybe I should just buy an XM gumstix? >>>> >>>> -Scott >>>> >>>> On 1/19/06, Craig Hughes <cr...@gu...> wrote: >>>>> Even easier: >>>>> >>>>> 1. download buildroot >>>>> 2. make >>>>> 3. make python >>>>> 4. copy binaries >>>>> >>>>> As an alternative to step 4, you can "make" again, then install =20= >>>>> the >>>>> whole root_fs_arm_nofpu. >>>>> >>>>> To make room for Python if you have only a 4MB gumstix, you might >>>>> want to edit the top-level buildroot Makefile between 1. and 2. =20= >>>>> above >>>>> to remove stuff you don't want on there. >>>>> >>>>> C >>>>> >>>>> On Jan 18, 2006, at 5:52 PM, Paul Coldrey wrote: >>>>> >>>>>> Hi Suhairi, >>>>>> >>>>>> If it were me I'd try: >>>>>> 1. download the buildroot source tree >>>>>> 2. build the development tools (ie run make) - this will give =20 >>>>>> you a >>>>>> version of gcc for cross-compiling to the gumstix >>>>>> 3. download and extract the python source. >>>>>> 4. build python using configure / make >>>>>> 5. copy the resulting binary (and any libraries) to the =20 >>>>>> appropriate >>>>>> spots on the gumstix. >>>>>> >>>>>> Next time I'm sitting at my machine with the gumstix development >>>>>> tools on it I'll give this a try and let you know how it goes :-) >>>>>> >>>>>> Cheers, >>>>>> >>>>>> Paul. >>>>>> >>>>>> Mohd Suhairi Ahmad Soobni wrote: >>>>>> >>>>>>> Hi All, >>>>>>> I just bought a gumstix connex 400xm. I wanted to develop an >>>>>>> application with the gumstix using Python language. >>>>>>> Since i am a newbie with gumstix can anyone help me on how i =20= >>>>>>> can >>>>>>> install python into my gumstix. I've tried reading the gumstix >>>>>>> wiki but that doesn't help much. I don't want to build the whole >>>>>>> linux filesystem i just want to get what ever that i have in my >>>>>>> newly fresh bought gumstix to be able to run/develop something >>>>>>> using python. >>>>>>> A step by step guide is much appreciated. >>>>>>> Thank you. >>>>>>> Regards, >>>>>>> Suhairi >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> This SF.net email is sponsored by: Splunk Inc. Do you grep =20 >>>>>> through >>>>>> log files >>>>>> for problems? Stop! Download the new AJAX search engine that =20= >>>>>> makes >>>>>> searching your log files as easy as surfing the web. DOWNLOAD >>>>>> SPLUNK! >>>>>> http://sel.as-us.falkag.net/sel? >>>>>> cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D121642 >>>>>> _______________________________________________ >>>>>> gumstix-users mailing list >>>>>> gum...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.net email is sponsored by: Splunk Inc. Do you grep =20 >>>>> through log >> files >>>>> for problems? Stop! Download the new AJAX search engine that =20 >>>>> makes >>>>> searching your log files as easy as surfing the web. DOWNLOAD >> SPLUNK! >>>>> >> http://sel.as-us.falkag.net/sel?=20 >> cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D121642 >>>>> _______________________________________________ >>>>> gumstix-users mailing list >>>>> gum...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.net email is sponsored by: Splunk Inc. Do you grep =20 >>>> through log >> files >>>> for problems? Stop! Download the new AJAX search engine that =20 >>>> makes >>>> searching your log files as easy as surfing the web. DOWNLOAD =20 >>>> SPLUNK! >>>> http://sel.as-us.falkag.net/sel?cmdlnk&kid=103432&bid#0486&dat=121642= >>>> _______________________________________________ >>>> gumstix-users mailing list >>>> gum...@li... >>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>>> >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. Do you grep =20 >>> through log >> files >>> for problems? Stop! Download the new AJAX search engine that makes >>> searching your log files as easy as surfing the web. DOWNLOAD =20 >>> SPLUNK! >>> http://sel.as-us.falkag.net/sel?cmdlnk&kid=103432&bid#0486&dat=121642 >>> _______________________________________________ >>> gumstix-users mailing list >>> gum...@li... >>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through =20= >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD =20 >> SPLUNK! >> http://sel.as-us.falkag.net/sel?cmdlnk&kid=103432&bid#0486&dat=121642 >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through =20 > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD =20 > SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=103432&bid#0486&dat=121642= > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |