thanks! very helpful. do your instructions essentially augment the
gumstix's root file system with python and gcc (whatever else is in
the rootfs.img on the mmc)? so, i can build my own kernel/buildroot
and these commands just add python and gcc after boot. is that
correct? then i access python via /rfs?
On Oct 11, 2006, at 4:22 PM, ken staton wrote:
> On 10/10/06, G Elliott <gelliott@...> wrote:
>> i'm looking to put python on an old basix 400bt that only has a 4MB
>> flash. currently, it seems python takes up about 7-8MB of my
>> connex's memory, so there's no way it will fit on the basix.
>> question: how difficult would it be to install python on an mmc card
>> and have it run from there? how might one go about doing this?
>> would it be possible to simply move the binaries and libraries? what
>> would i need to move?
> Here is a mmc bundle that you can unzip on a mm card:
> It has a gumstix-factory.script that loads a 2.6.17 kernel with
> ext2 built in.
> You'll need a 2.6.17 kernel on your gumstix for this to work since
> its rootfs
> at boot is the jffs2 copy in flash. The new kernel loop mounts an
> ext2 image
> that is pivot_root'ed. The image includes Python and gcc
> Make these changes to the root filesystem in flash:
> rm /etc/motd
> edit /etc/network/interfaces
> remove or comment out these lines:
> auto usb
> auto eth0
> auto mwlan0
> edit /etc/modules
> add this line:
> create a file named devsys.sh with this content:
> mount /mnt/mmc
> mount -t ext2 -o loop -o ro /mnt/mmc/rootfs.img /rfs
> mount -t ramfs ramfs /rfs/mnt/oldroot
> cd /rfs
> /sbin/pivot_root . /rfs/mnt/oldroot
> cd /root
> echo "development system is ready"
> ======== end of devsys.sh ========
> chmod +x devsys.sh
> mkdir /rfs
> start the development system:
> . ./devsys.sh
> I'll have a CF version of this soon (just requires a different
> and more detailed directions for how to build your own on the wiki
> as soon as
> I find the time.
> Using Tomcat but need to do more? Need to support web services,
> Get stuff done quickly with pre-integrated technology to make your
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> gumstix-users mailing list