JB kernel Source

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

  1. vampirefo.
    Offline

    vampirefo. Member

    Joined:
    Nov 8, 2011
    Messages:
    3,710
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Huntington WV
    Linsalata28 likes this.
  2. doomboss
    Offline

    doomboss Junior Member

    Joined:
    Jan 17, 2013
    Messages:
    251
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Boston, MA
    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. Member

    Joined:
    Nov 8, 2011
    Messages:
    3,710
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Huntington WV
    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:
    0
    Trophy Points:
    0
    Location:
    Blackpool, UK
    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:
    0
    Trophy Points:
    0
    Location:
    Boston, MA
    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:
    0
    Trophy Points:
    0
    Location:
    Boston, MA
    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:
    0
    Trophy Points:
    0
    Location:
    Blackpool, UK
    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:
    0
    Trophy Points:
    0
    Location:
    NJ , USA
    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:
    0
    Trophy Points:
    0
    Location:
    Germany
    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. Member

    Joined:
    Nov 8, 2011
    Messages:
    3,710
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Huntington WV
    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:
    0
    Trophy Points:
    0
    Location:
    Germany
    Thanks for your fast reply.
    Could you please tell me what is special with the toolchain?

  12. vampirefo.
    Offline

    vampirefo. Member

    Joined:
    Nov 8, 2011
    Messages:
    3,710
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Huntington WV
    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
    ILMostro7 likes this.
  13. ownjoouk
    Offline

    ownjoouk Junior Member

    Joined:
    Feb 24, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Blackpool, UK
  14. vampirefo.
    Offline

    vampirefo. Member

    Joined:
    Nov 8, 2011
    Messages:
    3,710
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Huntington WV
    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.
    ownjoouk likes this.
  15. ownjoouk
    Offline

    ownjoouk Junior Member

    Joined:
    Feb 24, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Blackpool, UK
    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:
    0
    Trophy Points:
    0
    Location:
    Florida
    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:
    0
    Trophy Points:
    0
    Location:
    Antwerp
    Last edited: Apr 22, 2013
    vampirefo. likes this.
  18. ILMostro7
    Offline

    ILMostro7 Junior Member

    Joined:
    May 3, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Chicago, IL USA
    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. Member

    Joined:
    Nov 8, 2011
    Messages:
    3,710
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Huntington WV

Share This Page