JB kernel Source

Discussion in 'Lenovo IdeaTab A2109 Development' started by vampirefo., Feb 23, 2013.

  1. vampirefo.
    Offline

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,720
    Likes Received:
    1,371
    Trophy Points:
    113
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    • Like Like x 2
  2. doomboss
    Offline

    doomboss Junior Member

    Joined:
    Jan 17, 2013
    Messages:
    251
    Likes Received:
    47
    Trophy Points:
    0
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    Really? Finally? Yay!! I am going to check it probably when i have less homework to do :D Thank you for the info!
  3. vampirefo.
    Offline

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,720
    Likes Received:
    1,371
    Trophy Points:
    113
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    Just got home from wrestling, ran config through code, built a kernel haven't tested it, just wanted to see if source would build a kernel, the source needs a couple modifications, after that, the source will produce a kernel, will test kernel tomorrow, going to be now.

    Code:
    LD [M]  drivers/scsi/scsi_wait_scan.ko
      LD [M]  drivers/usb/serial/baseband_usb_chr.ko
      LD [M]  net/mac80211/mac80211.ko
      LD [M]  net/wireless/cfg80211.ko
      LD [M]  net/wireless/lib80211.ko
      AS      arch/arm/boot/compressed/piggy.gzip.o
      LD      arch/arm/boot/compressed/vmlinux
      OBJCOPY arch/arm/boot/zImage
      Kernel: arch/arm/boot/zImage is ready
    598 blocks
    
    repacked boot image written at /media/b3c1b0c9-f22f-4de2-b8ee-32179fa3e787/vampirefo/lenovo/boot.img-ramdisk_FILES1-repack.img
    vampirefo@vampirefo-GA-MA78GM-US2H:/media/b3c1b0c9-f22f-4de2-b8ee-32179fa3e787/vampirefo/lenovo$ 
    
    I just flashed kernel to see if it would boot, kernel works just fine.
    Last edited: Feb 24, 2013
  4. ownjoouk
    Offline

    ownjoouk Junior Member

    Joined:
    Feb 24, 2013
    Messages:
    78
    Likes Received:
    13
    Trophy Points:
    0
    Location:
    Blackpool, UK
    Tablet / Device:
    Lenovo A2109
    Anybody willing to try and get CM10.1 running now we have the source?

    I recall from my optimus 2x days that tegra chipsets are a pain, but what are the chances of getting something up and running?

    Infact - if I put a poll in the cyanogenmod forums I wonder how many people would vote?

    If we can prove the popularity of it we may get a maintainer.
    Last edited: Feb 24, 2013
  5. doomboss
    Offline

    doomboss Junior Member

    Joined:
    Jan 17, 2013
    Messages:
    251
    Likes Received:
    47
    Trophy Points:
    0
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    That is a good thing to hear!! Looking forward to see your custom kernel that complied with JB source :D
  6. doomboss
    Offline

    doomboss Junior Member

    Joined:
    Jan 17, 2013
    Messages:
    251
    Likes Received:
    47
    Trophy Points:
    0
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    I believe some people are getting their hand on developing CM10 for our tablet already.

    https://github.com/A2109devs/android_device_lenovo_a2109a

    But I am not sure about the detail. I also read a comment somewhere i dont remember that, the developer are waiting for some kind of approve. This information is not 100% accurate because i could understanded it wrong :p
  7. ownjoouk
    Offline

    ownjoouk Junior Member

    Joined:
    Feb 24, 2013
    Messages:
    78
    Likes Received:
    13
    Trophy Points:
    0
    Location:
    Blackpool, UK
    Tablet / Device:
    Lenovo A2109
    I hope that is the case! Would love to see CM 10 on this tablet.
  8. Linsalata28
    Offline

    Linsalata28 Junior Member

    Joined:
    Dec 24, 2012
    Messages:
    155
    Likes Received:
    47
    Trophy Points:
    0
    Location:
    NJ , USA
    Tablet / Device:
    Lenovo A2109
    This is great news! I wish I could learn kernel development but its turning out to be to complicated for me. I'm trying to learn little bits at a time but I'm glad that at least your working on it and know what your doing.
  9. AndreasWatch
    Offline

    AndreasWatch Junior Member

    Joined:
    Dec 11, 2012
    Messages:
    29
    Likes Received:
    9
    Trophy Points:
    0
    Location:
    Germany
    Tablet / Device:
    Lenovo A2109
    Hi vampirefo, you are talking about that the source needs a couple modifications.
    Could you please share this? Or telling what you are mean with this modifications?
    Thanks,
    Andreas

    Last edited: Apr 16, 2013
  10. vampirefo.
    Offline

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,720
    Likes Received:
    1,371
    Trophy Points:
    113
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    I use a custom built linaro toolchain 'arm-lenovo-linux-gnueabi', I had to modify the makefile to allow the toolchain's optimal flags. The source is unable to build wifi module, so I removed the module as it causes build problems. To me it appears Lenovo chose not to include the necessary code to correctly compile the wifi module.
  11. AndreasWatch
    Offline

    AndreasWatch Junior Member

    Joined:
    Dec 11, 2012
    Messages:
    29
    Likes Received:
    9
    Trophy Points:
    0
    Location:
    Germany
    Tablet / Device:
    Lenovo A2109
    Thanks for your fast reply.
    Could you please tell me what is special with the toolchain?

  12. vampirefo.
    Offline

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,720
    Likes Received:
    1,371
    Trophy Points:
    113
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    linaro toolchains are more up to date, they use 4.7 gcc, they have a lot of optimize flags, and tweaks, you get more from the toolchain when you compile android then you get from just the kernel, but even at kernel level the kernels perform better than google compiler, I think google is switching to linaro toolchains anyway. Linaro Toolchain Being Merged To Android (AOSP) And CyanogenMod - AndroidPIT
    • Like Like x 2
  13. ownjoouk
    Offline

    ownjoouk Junior Member

    Joined:
    Feb 24, 2013
    Messages:
    78
    Likes Received:
    13
    Trophy Points:
    0
    Location:
    Blackpool, UK
    Tablet / Device:
    Lenovo A2109
  14. vampirefo.
    Offline

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,720
    Likes Received:
    1,371
    Trophy Points:
    113
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    CM is being worked on and will be on our devices. as far as one x I haven't looked into it yet, so can't say.
    • Like Like x 2
  15. ownjoouk
    Offline

    ownjoouk Junior Member

    Joined:
    Feb 24, 2013
    Messages:
    78
    Likes Received:
    13
    Trophy Points:
    0
    Location:
    Blackpool, UK
    Tablet / Device:
    Lenovo A2109
    That's great news. Is there an informative thread somewhere regarding development? I notice none in the development forum.

    I realise you are a busy man but If you get a chance to look at the tegra gpu that would be great. I notice some stutter from higher end games sometimes which sounds similar to the one x issue. It would make our tablets fly!
  16. FloRider
    Offline

    FloRider Junior Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    0
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    The A2109 has very little overhead due to thermal issues. At least with the CPUs you can lower the voltage. I've seen no examples of this for the GPU.

    Sent from my IdeaTabA2109A using Tapatalk HD
  17. tasinofan
    Offline

    tasinofan Junior Member

    Joined:
    Jan 13, 2013
    Messages:
    47
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Antwerp
    Tablet / Device:
    Medion Lifetab MD 99300 (S9714) aka Lenovo A2110
    Last edited: Apr 22, 2013
    • Like Like x 2
  18. ILMostro7
    Offline

    ILMostro7 Junior Member

    Joined:
    May 3, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Chicago, IL USA
    Tablet / Device:
    Lenovo A2109A
    Thanks a lot for sharing that link; a lot of informative stuff on there pertaining to Kernel Optimization...just wanted to point it out again, for others who have similar questions as Andreas and, ultimately, I had.

    In terms of the toolchain, I see you're a self-proclaimed "Linux Guy", therefore, I have to ask what distro you're running. I'm on Fedora18 (64-bit), and its repos offer the "gcc-arm-linux-gnu.x86_64" package, which shows the 4.7.2 version on the "current" release cycle; though, I see now that as of March 22nd, 2013, the 4.8.0 version of gcc is out. Anyway, given that you said the "Linaro" toolchain uses (**used?**) the same version of gcc that's offered through the Fedora repos, would it be a major hurdle--or even possible--to pass the same flags during the build-process using the gcc-arm-linux-gnu compiler as the Linaro guys? Especially since I see that the ARM guys are somewhat cooperating with GNU on developing stable support for ARM architecture. Otherwise, do you have any pointers on setting up the Linaro toolchain, or even a link to the most current version? thanks
  19. vampirefo.
    Offline

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,720
    Likes Received:
    1,371
    Trophy Points:
    113
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740

Share This Page