Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41

Thread: 2.6.35 Kernel Development

777
  1. [translate]    #1
    Senior Member
    Join Date
    Jul 2010
    Location
    Hungary
    Posts
    766

    Default 2.6.35 Kernel Development

    I've ported all the things that spica would need to 2.6.35 kernel(in hurry, so possibly not 100% perfect), but for some reason the phone can't get to execute init (The progress bar won't come up).

    If anyone knows how to debug the kernel itself, or
    If any dev here would like to help figuring out the problem, I would be happy for that.

    The source is here: http://github.com/Xmister/cm-kernel
    EXT ModMulti-Boot System
    Ultimate Spica Recovery
    My newest kernel+recovery for Odin can always be found here
    If you would like to help me a little, register at Xpango, and complete a free offer. (By the way, if you complete enough offer you will get a Galaxy SII for free)
    Or you can simply DONATE, if you like my work! PayPal address: xmisterhu@gmail.com

  2. [translate]    #2
    Senior Member
    Join Date
    May 2010
    Location
    Poland
    Posts
    164

    Default

    What were you using? Only booting kernel without any android system over it?
    RFS? EXT? How should it work? Was it working in previous non-100% versions?
    Last edited by Duobix; 12-07-2010 at 08:23 AM.

  3. [translate]    #3
    Administrator
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,727

    Default

    May be this help you
    this is the back of spica under battery (under IMEI number)
    snimok-yekrana-2010-12-07-v-9.31.27.png

    this is from service manual
    pads name
    snimok-yekrana-2010-12-07-v-9.34.55.png

    I think you need TP_UART_TX, TP_UART_RX + TP_GND
    and you can connect rs-232 converter & can watch boot log of kernel (may be need to add init string to redirect boot log to s3c6410 serial port)
    Twitter | Devices: Samsung Spica i5700 - SamdroidMod 2.0.1 Froyo | Nexus One - Android 2.2 Froyo | Nexus S CyanogenMod 7.1
    If you like my stuff, buy me a beer!

  4. [translate]    #4
    Senior Member
    Join Date
    Jul 2010
    Location
    Hungary
    Posts
    766

    Default

    Quote Originally Posted by Duobix View Post
    What were you using? Only booting kernel without any android system over it?
    RFS? EXT? How should it work? Was it working in previous non-100% versions?
    There is android on ext filesystems, and I've ported XSR and RFS too, but that's all doesn't matter as the kernel not executing init, which would load XSR, which would map the flash devices, and only there would the system matter.
    It wasn't working of course...

    Quote Originally Posted by LeshaK View Post
    I think you need TP_UART_TX, TP_UART_RX + TP_GND
    and you can connect rs-232 converter & can watch boot log of kernel (may be need to add init string to redirect boot log to s3c6410 serial port)
    So there is no software way? I can see the usb interface(Samsung Modem) right after power on for 2-4 secs (That's probably the kernel boot), and after that it disappears. Isn't there any soft I can use to quickly connect and get dmesg?

    BTW. I've never used rs-232 converter, actually I don't have any, and as I see they are quite expensive (around 150-200€). And I'm not sure which one I should buy if I couldn't find another way..can you point me to a cheaper one which would be good for this?
    EXT ModMulti-Boot System
    Ultimate Spica Recovery
    My newest kernel+recovery for Odin can always be found here
    If you would like to help me a little, register at Xpango, and complete a free offer. (By the way, if you complete enough offer you will get a Galaxy SII for free)
    Or you can simply DONATE, if you like my work! PayPal address: xmisterhu@gmail.com

  5. [translate]    #5
    Senior Member
    Join Date
    Aug 2010
    Location
    Poland
    Posts
    2,826

    Default

    Quote Originally Posted by Xmister View Post
    I've never used rs-232 converter, actually I don't have any, and as I see they are quite expensive (around 150-200€).
    You can look for USB cable for older mobiles (like Sony-Erisccon t610, k300)- they are basically usb<->rs232 (ttl level) converters- like this one. Best ones would be with PL-2302 chipset which is used in most service cables
    Code:
    setprop persist.world.domination 1

  6. [translate]    #6
    Senior Member
    Join Date
    Aug 2010
    Location
    PL
    Posts
    406

    Default

    Quote Originally Posted by darth_llamah View Post
    Best ones would be with PL-2302 chipset
    Exactly.

  7. [translate]    #7
    Moderator
    Join Date
    Jun 2010
    Location
    Warsaw, Poland
    Posts
    2,828

    Default

    An odd Serial Port on Spica (FSA9480 attached)

    Another, IMHO much easier way to access the serial port. Anyway, the level converter is still needed, I'd recommend something based on FT232RL or FT2232H. (Costs about 30 PLN ~ 10 USD here in Poland).

    Also the progress bar is just a simple animation made by the frame buffer driver and is unrelated to the real boot progress.
    Last edited by tom3q; 12-08-2010 at 08:37 PM.

  8. [translate]    #8
    Senior Member
    Join Date
    May 2010
    Location
    Poland
    Posts
    164

    Default

    Quote Originally Posted by tom3q View Post
    An odd Serial Port on Spica (FSA9480 attached)

    Also the progress bar is just a simple animation made by the frame buffer driver and is unrelated to the real boot progress.
    So, might this be that the graphics driver is workin incorrectly? Or is it loaded later than this? Maybe just waiting
    some time for the system to boot would do the job?

    Btw couldn't someone help him with this crazy cable debug by doing it?

  9. [translate]    #9
    Senior Member
    Join Date
    Feb 2010
    Location
    Singapore
    Posts
    890

    Default

    Some info on getting KGDB to work via USB available here ... Enabling KGDB for Android - BootLoader with sources using USB driver on MSM chip is here https://github.com/dankex/kgdb-android

    I'm sure that Xmister has the skills to port it to Spica

    Btw, I tried compiling but keep getting the following error,
    Code:
    net/built-in.o: In function `wiphy_rfkill_start_polling':
    activity_stats.c:(.text+0x121540): undefined reference to `rfkill_resume_polling'
    make: *** [.tmp_vmlinux1] Error 1


  10. [translate]    #10
    Moderator
    Join Date
    May 2010
    Location
    h3LL
    Posts
    3,492

    Default

    Quote Originally Posted by ch33kybutt View Post

    Btw, I tried compiling but keep getting the following error,
    Code:
    net/built-in.o: In function `wiphy_rfkill_start_polling':
    activity_stats.c:(.text+0x121540): undefined reference to `rfkill_resume_polling'
    make: *** [.tmp_vmlinux1] Error 1
    Fixed by enabling 'CONFIG_RFKILL_PM'.

    Original link - http://android.modaco.com/content-pa...pment/page/80/
    Last edited by munchy_cool; 12-09-2010 at 05:37 PM.
    d0n't drink and driv3, y0u might hit a bump and dr0p y0ur b33r .. Ch33rs
    Samsung Spica (CM7) | Nexus One (CM7) | Galaxy Nexus (AOKP) | PS3 Slim (Rebug 3.55)

Page 1 of 5 123 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •