Join Today
+ Reply to Thread
Page 10 of 30 FirstFirst ... 6789101112131420 ... LastLast
Results 91 to 100 of 291
Like Tree22Likes

Thread: Porting Andoid on A1200 MING

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

    Default

    Maybe you are too hurry
    I never saw failed rqsn , but that's maybe not important as you found a workaround.
    Maybe wait some few second (like 15sec) after you see USB ready.

    I never saw genblob go back to usb ready after sending a zimage too.

    I did have to unplug plug sometimes (especially on ubuntu!?) but i was after the kernel booted . ( i setted the rootdelay= to 15 or more for the phone to find the nfsroot, too) .

    The pxa-bug isn't important as you have genblob, it should works... (well, in svn the 2.6.25 branches have an old driver that didn't needed this to work. Maybe 2.6-arm have it too, but i'm not sure.).
    Last edited by sabrod; 12-17-2008 at 04:14 PM.
    Say developer, but it's so hard!

  2. #92

    Default

    Hmm, now I'm having a different problem. Holding down Vol+ doesn't enter USB mode any more -- instead, gen_blob gives me:

    Cannot load kernel from:
    /boot/default

    I rebooted to check and make sure I hadn't broken my Vol+ button -- it's fine

    Does it matter what mach id I use for gen_blob?

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

    Default

    Yes it does matter, sir.
    As root or sudoing
    Code:
    ./bootusb genblob 0
    0 is genblob machid .
    It sounds like you press vol+ key too late.
    You need to hold the key, send this command, then release a short instant after
    ( as bootusb tells you "boot: ok" or so. )
    Last edited by sabrod; 12-17-2008 at 05:07 PM.
    Say developer, but it's so hard!

  4. #94

    Default

    Quote Originally Posted by sabrod View Post
    Yes it does matter, sir.
    As root or sudoing
    Code:
    ./bootusb genblob 0
    0 is genblob machid .
    It sounds like you press vol+ key too late.
    You need to hold the key, send this command, then release a short instant after
    ( as bootusb tells you "boot: ok" or so. )
    I think I was releasing Vol+ before genblob was ready. It's working now.

    Using machid == 0 doesn't seem to help. It's still stuck at "USB ready."

    Is there a way to turn on extra debugging information?

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

    Default

    Sure.
    But afaik bootusb is already quite verbose... (Recent if not last addons) You might want to look at its code...
    see http://wiki.openezx.org/Getting_Started for all downloads addresses and handy pre written svn's commands.
    I never saw those tools (bootusb and genblob) fail at their tasks, I don't what to tell you except to try this kernel, known to work:
    http://people.openezx.org/gmzhuo/zImage-20081206
    If you don't have that loop returning to genblob in usb mode, then something is wrong with your kernel, sources...

    note that i never compiled genblob, and i beleve it's not easy, and the code might be a little tricky.
    But machid is 0 for genblob, and nothing else will work.
    Last edited by sabrod; 12-17-2008 at 05:30 PM.
    Say developer, but it's so hard!

  6. #96

    Default

    I don't know why booting the kernel over USB fails, but I gave up trying. It's easy enough to scp a kernel, even if slightly more inconvenient.

    I put /boot on the MMC card and set up menu.lst. gen_blob reads the menu and boots the kernel just fine (except the telnet connection to 192.168.1.2 is non-responsive). I still get the error about "Cannot enable port 3", but I think it's okay now, since I am able to mount the root filesystem.

    I will try later with a different rootfs. At least the kernel boots now.
    Last edited by cout; 12-17-2008 at 06:32 PM.

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

    Default

    Good news! CONGRATS!!
    just curious:
    Did Gmzhuo's kernel made genblob's "usb ready loops" ?
    0_0
    eabi optimized rootfs should be what you need...
    Is there rootfs sources availables?
    Last edited by sabrod; 12-17-2008 at 07:49 PM.
    Say developer, but it's so hard!

  8. #98

    Default

    I'm able to boot the Angstrom Openmoko rootfs with the android-patched kernel and get a gui up (I tried one of wyrm's kernels, but I guess it doesn't have CONFIG_ROOT_NFS?). The openmoko rootfs automatically starts /sbin/init, so no need for the telnet business.

    Androidezx's rootfs does start telnetd (I can connect, but never get a login prompt). No luck yet getting init and /system/bin/runtime to start automatically (I'm not even sure yet if /etc/init.d/rcS is running -- blackbox is a mysterious black box to me ).

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

    Default

    Right I don't see nfsroot support on latest wyrm's zImage , but i guess some of his compilations does have ??
    I've heard that wyrm's lasts kernels were also compiled with a lot of debug options on mux driver that cause them not to work well , but maybe it's only fables ... (you should be able to read Wyrm's kernels config on a file named buildlog-XXX next to the kernels themself EDITED: there is now alos a config-XXX file (his wyrm/image/* folders on http://people.openezx.org/wyrm/image).
    That is why i pointed you to gmzhuo's http://people.openezx.org/gmzhuo account.
    It's the last recent kernel uploaded that i've heard positive report.
    Last edited by sabrod; 12-17-2008 at 10:59 PM.
    Say developer, but it's so hard!

  10. Default

    hi, all:
    With the guide of "Porting Android to A1200", i run ‘./init’ execute after telnet into phone.
    After i see Android string on A1200'LCD, i see "can't access tty.job control turned off" also.
    To solve it, i try :
    1)remove /dev/console and /dev/ttyS0 ;
    2)#mknod –m 666 ttyS0 c 4 64
    #ln –s ttyS0 console
    3)Add the below item to /etc/inittab
    console::sysinit:-/etc/rcS
    ttyS0::respawn:-/bin/sh

    After that i get: No such directory of /etc/rcS. i am sure there is console and ttyS0 device under /dev dirctory, but there is no "rcS" under /etc.
    How can i get a the file rcS??
    How to solve the issue of "can't access tty.job control turned off"? ?


 
+ Reply to Thread
Page 10 of 30 FirstFirst ... 6789101112131420 ... 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