Join Today
+ Reply to Thread
Page 16 of 30 FirstFirst ... 612131415161718192026 ... LastLast
Results 151 to 160 of 291
Like Tree22Likes

Thread: Porting Andoid on A1200 MING

  1. Default

    Quote Originally Posted by sabrod View Post
    copy and rename the config file to .config to the root of the kernel tree, and type make ARCH=arm oldconfig
    This is why you get this message.
    You have that Kernel hacking - linux-2.6 - OpenEZX page that is helpful.
    Or you need to do a "make clean" or better "make mrproper"
    oh thanks for the quick response
    but which config file you mean I should rename ?

  2. #152
    Join Date
    Mar 2008
    Location
    just at the other end of the line.
    Posts
    879

    Default

    Quote Originally Posted by bmoqimi View Post
    but which config file you mean I should rename ?
    Hehe. I don't know, i suppose you have that file... (def-config?? ezx-defconfig?? config ? kernel-config??? "show hidden files"? "find . -iname config") still nothing? "find kernel-dir/ -exec grep "CONFIG_PXA27x=y" '{}' \; -print" !!!
    ...nothing? I end up!
    Ah: this, maybe... i don't get it! There is no need of a minimum of experience in kernel compiling before trying to port android to a new platform? Cool!
    Last edited by sabrod; 05-10-2009 at 07:38 PM.

  3. Default

    Quote Originally Posted by sabrod View Post
    Hehe. I don't know, i suppose you have that file... (def-config?? ezx-defconfig?? config ? kernel-config??? "show hidden files"? "find . -iname config") still nothing? "find kernel-dir/ -exec grep "CONFIG_PXA27x=y" '{}' \; -print" !!!
    ...nothing? I end up!
    Ah: Let me google that for you i don't get it, there a need of
    I never imagined somebody would answer me what i told every one !
    I am so ashamed of your response !
    I did the config with what you told and it says it is all written to .config file
    I am going through the rest of the process making !

  4. #154
    Join Date
    Mar 2008
    Location
    just at the other end of the line.
    Posts
    879

    Default

    Hehe, arf, it wasn't made to "impress" anyone... if you are ashamed, it's because at least you understood what make the 2 last find commands, and that's very good !
    After all you could perfectly begin to learn kernel compilation with a patched ARM version... At least you'll not break your PC, but your phone
    Last edited by sabrod; 05-10-2009 at 08:21 PM.

  5. Default

    changing manu things to .config did not respond well
    and the new problem is that :
    Code:
    babak@ubuntu:~/making/linux-2.6.24$ make -f patches/Makefile.openezx
    make: *** No rule to make target `zImage-a1200', needed by `all'.  Stop.
    a bit confused !

  6. #156
    Join Date
    Mar 2008
    Location
    just at the other end of the line.
    Posts
    879

    Default

    Hum, i would adapt from Kernel hacking - linux-2.6 - OpenEZX
    I don't know, but at the time the android-ezx tuto was written, it guess the stuff was made like this:
    Edit Makefile.openezx as android-ezx guy suggested:
    PHONES = a1200
    CROSS_COMPILE ?=<path and prefix- of the cross-compiler>
    then
    Code:
    cd linux-kernel-tree
    cp patches/defconfig-a1200 .config
    make -f patches/Makefile.openezx
    No rules error seems to be because Makefiles scripts can't find the "config"...??
    Last edited by sabrod; 05-12-2009 at 11:02 AM.

  7. #157
    Join Date
    Mar 2008
    Location
    just at the other end of the line.
    Posts
    879

    Default

    Kernel hacking - Archive (revision of feb, 200
    Here is the old style of OpenEzx compilation...
    Obviously , the last make command is :
    Code:
    make -f patches/Makefile.OpenEZX CROSS_COMPILE=<path to your toolchain>
    Last edited by sabrod; 05-13-2009 at 02:27 PM.

  8. Default

    did you yourself did the porting by the way?
    I am going to try what you said

  9. Default

    everything started working thanks to your help
    and in the middle of making i got this :

    Code:
      LD      .tmp_vmlinux1
    kernel/built-in.o: In function `getnstimeofday':
    utsname_sysctl.c:(.text+0x229f8): undefined reference to `__aeabi_uldivmod'
    kernel/built-in.o: In function `do_gettimeofday':
    utsname_sysctl.c:(.text+0x22aa4): undefined reference to `__aeabi_uldivmod'
    utsname_sysctl.c:(.text+0x22ac4): undefined reference to `__aeabi_uldivmod'
    kernel/built-in.o: In function `timekeeping_resume':
    utsname_sysctl.c:(.text+0x22c68): undefined reference to `__aeabi_uldivmod'
    utsname_sysctl.c:(.text+0x22c84): undefined reference to `__aeabi_uldivmod'
    kernel/built-in.o:utsname_sysctl.c:(.text+0x23300): more undefined references to `__aeabi_uldivmod' follow
    make[1]: *** [.tmp_vmlinux1] Error 1
    make[1]: Leaving directory `/home/babak/making/linux-2.6.24'
    make: *** [zImage-a1200] Error 2
    going to search a bit more
    merci beaucoup

  10. #160
    Join Date
    Mar 2008
    Location
    just at the other end of the line.
    Posts
    879

    Default

    You are at the end of the compiling...
    Its so sad...
    What is your toolchain?? Maybe your system need to use another func to "getnstimeofday", i would grep (or find . -exec grep "__aeabi_uldivmod" to see if there is something to do, actually it would be cool if it was just a little option on a makefile, sorry, i reply blindly, i dunno more...)
    Good luck...
    No, i never tried this android test version, i'm willing to do this on .27 or .29 but i'm not really a coder... ( at least a linux driver one! ).
    Last edited by sabrod; 05-13-2009 at 08:07 PM.


 
+ Reply to Thread
Page 16 of 30 FirstFirst ... 612131415161718192026 ... LastLast

Similar Threads

  1. Games to porting to A1200/E6
    By superfly86 in forum Moto Gamers
    Replies: 4
    Last Post: 02-15-2010, 04:37 PM
  2. MWC 2009: World second andoid phone (HTC magic) (video)
    By sushjames in forum Android News
    Replies: 3
    Last Post: 02-17-2009, 06:08 PM
  3. Replies: 0
    Last Post: 12-14-2008, 04:52 AM
  4. PROJECT: Porting EzxEmu (SNES + GENESIS) to A1200.
    By dehzinho in forum A1200 General Chat
    Replies: 7
    Last Post: 11-06-2007, 12:23 AM
  5. Q: Porting Gaim or Kopete work on A1200?
    By RusBiT in forum A1200 General Chat
    Replies: 2
    Last Post: 10-04-2007, 11:22 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1