El día Wednesday, January 14, 2009 a las 12:22:02PM +0200, Timo Juhani Lindfors escribió:
> Matthias Apitz <g...@unixarea.de> writes: > > the point to start from to create my own Om2008.x kernel and userland or > > some other/better places to start? Thx > > I do > > 1) ssh to a PC with debian unstable. You can easily install it to a > chroot with http://iki.fi/lindi/schroot.txt if you don't want to > break your normal installation. > 1.2) sudo aptitude install emdebian-tools > 1.3) sudo emsetup --arch armel > 1.4) sudo emsetup --arch armel > 1.5) verify that arm-linux-gnueabi-gcc works: > > $ cat > hello.c <<EOF > #include <stdio.h> > int main(void) { > printf("Hello world\n"); > return 0; > } > EOF > $ arm-linux-gnueabi-gcc -o hello hello.c > $ file hello > hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked > (uses shared libs), for GNU/Linux 2.6.14, not stripped > > 2) git clone git://git.openmoko.org/git/kernel.git linux-2.6 > 3) git branch lindi origin/stable-tracking > 4) modify ./build to use your compiler: > -export CROSS_COMPILE=../../cross/bin/arm-angstrom-linux-gnueabi- > +export CROSS_COMPILE=arm-linux-gnueabi- > 5) ./build dummy > 6) suggested change: > @@ -52,6 +52,8 @@ if make -j5 ARCH=arm CONFIG_DEBUG_SECTION_MISMATCH=y > EXTRAVERSION=$VERSION; then > if [ ! -z "`grep CONFIG_USB_USBNET=y .config`" ] ; then > rm -f uImage-moredrivers*-$PRODUCT.bin > modules-*$PRODUCT.tar.gz > cp uImage-$PRODUCT.bin uImage-moredrivers$VERSION.bin > + cp arch/arm/boot/zImage zImage$VERSION > + cp .config config$VERSION > rm -rf staging > mkdir -p staging > if [ ! -z "$1" ] ; then > > I have added these instructions to wiki under Development_Environment Hello Timo, Thanks for your kind reply and instructions; your mail terminates in the above line '.... to wiki under Development_Environment' which let me think that it was truncated, maybe because of a single dot "." on a line which terminates SMTP??? just to clarify... I have no PC with Debian, but I will setup a VM in Qemu for that or look for an older laptop in my house; thx again matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <matthias.ap...@oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ SPAMer of the year: Subject: Alle Software ist Deutsche Sprachen >From: -40 % die Neujahrsaktion <gabriellekel...@grungecafe.com> _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community