Jump to content

[Source Code] Attempt to port 2.6.35 kernel to Acer Liquid A1/E


Guest lupohirp

Recommended Posts

Guest lupohirp

HI guys....i'm doing an attempt to port 2.6.35 kernel. i've ported a1_devices.c and other related acer stuff, updated board.h with dircetives from acer and then builded :). kernel build fine , toolchain do the zImage and create modules but i don't know if work. I've missed also some drivers like touchscreen (already resolved imported correctly from thepasto's chocolate kernel few hours ago but forgot to add to sourcecode) , and sensors i think.

I need a testing from devs in particular from youpi666 that is caring about gingerbread:

  • for testing we need AT LEAST a gingerbread rom (WARNING: I haven't imported 3.0 kgsl drivers so with ice cream sandwich will not work)
  • to test you need to compile a gingerbread rom with 2.6.35 zImage. if you only substitute zImage in a gingerbread 2.6.29 boot.img will not work 'cause the different partition layout.
  • I need only to know if it boot or not. if it boots up the hard tricky is done, then should be easy to resolve other bugs.


    Instruction for build:

    • make clean, then make cyanogenmod_salsa_defconfig, then make -j4
    • after build grab zImage from arch/arm/boot and rename to kernel then move to device folder that you use to compile gingerbread rom (the command line should be the same for 2.6.29 the patch level is the same)
    • build a ginger rom.

    SOURCE CODE IS HERE: https://hotfile.com/dl/160927082/5f39d03/Acer-Liquid-A1-2.6.35.tar.gz.html

    sorry but i can't upload to my github now. i will do it later

Link to comment
Share on other sites

Guest Ma7moud

would it be easier to try porting the Liquid Glow kernel? from what i found its close to the Liquid, and acer just released kernel sources 4 days ago

Liquid Glow service manual:

http://klood.me/publ...ER E330 V01.pdf

Liquid Glow Specs:

http://pdadb.net/ind...iquid_glow_e330

Note: this page says its using Qualcomm MSM8255 but the service manual says MSM7227A

Liquid Glow Kernel Source from Acer:

Here

Link to comment
Share on other sites

Guest thepasto

If you only ported that, i think it won't boot.. Already tried 2000 times! We need i2c patch to get it boot as well and then many many rpc additions :D

But i'm really hope i'm totally wrong :P

I'll try it when downloaded.

Doesn't boot need more work

If you need help just let me know :)

GREAT WORK anyway.

Edited by thepasto
Link to comment
Share on other sites

Guest Lens_flare

I can't believe it!

LEGENDARY LUPOHIRP from P500 development felt down to just help ACER community? Oo

Oh God, why you so unpredictable? :D

Wish you a good luck with your work [hope you now also could help me to find some answers about your previous device ;[ ]

Link to comment
Share on other sites

Guest Master_T

I think a lupohirp-thepasto collaboration is the only way to make this work... hope you two get in contact with each other. I went here to try and compile it, but since thepasto already tried and it didn't work for him I doubt it will for me either....

Link to comment
Share on other sites

Guest youpi666

must do the work all together ;)

The pasto work on CM9 and didn't use GB, because CM9 work great on his liquid E. (and be sure that if we have a daily usable ICS on A1, i 'll don't touch GB anymore :P )

I think that the idea of adapt the kernel first to GB is definitely not a bad way to try. (the rom part 'll don't need too much time for now, and we talking about now playing with kernel with thepasto)

For the moment i'm stuck on compile :D

Link to comment
Share on other sites

Guest lupohirp

ok guys time to do another test: the pasto reported that doesn't booted up and also thanks to him i've done a massive rework

  • imported ACER specific system bus from 2.6.29
  • imported chip's drivers from 2.6.29 ( sensors and etcetc)
  • imported touchscreen drivers
  • Integration of 2.6.29 gpio libraries with 2.6.35 libraries
  • some other small things that i don't remember xD

for those one that can't compile now i've uploaded the compiled zImage directly. I don't understand why i can't upload my code on github when i will able to do it i will do

zImage can be found here: https://hotfile.com/...nel.tar.gz.html

test and let me know.....also me i'm downloading ginger sources so i can help on this side....hope that will works :)

ok sources are up here : https://github.com/lupohirp/Acer-Liquid-A1-2.6.35

for some unknown reason i've uploaded the compiled folder....do a make clean and then a make cyanogenmod_salsa_defconfig in order to compile

Edited by lupohirp
Link to comment
Share on other sites

Guest youpi666

ok guys time to do another test: the pasto reported that doesn't booted up and also thanks to him i've done a massive rework

  • imported ACER specific system bus from 2.6.29
  • imported chip's drivers from 2.6.29 ( sensors and etcetc)
  • imported touchscreen drivers
  • Integration of 2.6.29 gpio libraries with 2.6.35 libraries
  • some other small things that i don't remember xD

for those one that can't compile now i've uploaded the compiled zImage directly. I don't understand why i can't upload my code on github when i will able to do it i will do

zImage can be found here: https://hotfile.com/...nel.tar.gz.html

test and let me know.....also me i'm downloading ginger sources so i can help on this side....hope that will works :)

ok sources are up here : https://github.com/l...iquid-A1-2.6.35

for some unknown reason i've uploaded the compiled folder....do a make clean and then a make cyanogenmod_salsa_defconfig in order to compile

Ok i'll try ;)

Link to comment
Share on other sites

Guest lupohirp

Ok i'll try ;)

thanks :) in meanwhile i'm udating board-qsd8x50 with acer derictives.....but there are sooo many compile errors....now i'm tired i will try to resolve tomorrow :)

Link to comment
Share on other sites

Guest thepasto

thanks :) in meanwhile i'm udating board-qsd8x50 with acer derictives.....but there are sooo many compile errors....now i'm tired i will try to resolve tomorrow :)

But i alredy got it booting.. i can send my patch to you.. to be quick :D don't need to do the same work two times :P there are a lot of missing thing to fix

Link to comment
Share on other sites

Guest Master_T

I'm totally ignorant about the linux kernel, but I'm very curious to understand exactly what this is how it will differ from the one developed by thepasto... correct me if I'm wrong: thepasto's is a Acer-based .29 kernel patched to run GB/ICS roms, while this is a "real" .35 kernel patched to work on Acer's hardware, is this correct? What improvements will this give us compared to thepasto's kernel?

In any case, I just want to say you guys are amazing, as a humble programmer that makes boring .NET desktop applications for a living I'm fascinated (and a bit envious :D) by your kernel-hacking skills... keep up the great work!

Link to comment
Share on other sites

Guest Mura88

Maybe I'm saying something stupid, I'm ignorant about kernel and porting, but LG optimus L7 has ICS as the basic version of Android, and probably kernel 3.x .

But the hardware is very similar to the Liquid (same GPU, Ram and probably CPU).

I've already said, maybe is stupid, but can you take something from L7 kernel to make a new kernel for Liquid ???

Link to comment
Share on other sites

Guest lupohirp

Another test: https://hotfile.com/...5-3.tar.gz.html

you can find changelog on my github...hopefully that this time will boot finally!!!

Hi lupohirp, i have tried to port 2.6.37 kernel twice ans i've ported most things from A1 kernel, but it won't boot too. If you find it useful, you can get it here https://github.com/n...m-kernel-2.6.37. And it will be cool, if you make my kernel boot ;)

i don't suggest you to use kernel from .37 .38 .39 'cause it's quite similar to 3.0( infact if i'm not wrong for example .38 kernels have kgsl 3.0 used in ice cream sandwich or it was something compatible) than to .32 kernels like .35 and .36 are....and .32 kernels are similar to .29 kernels. the pasto told me that he already booted up with my .35 skeleton so i'm waiting that he's uploading his patches on github. in meanwhile i'm porting acer stuff from 2.6.29. if you want you can help me :)

Edited by lupohirp
Link to comment
Share on other sites

  • 2 months later...
  • 9 months later...
Guest errmsg

Updating an old thread just because it ranks much higher in the search results :)

The ongoing project to get 2.6.35 running on Acer A1 is here and it is actually usable.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.