Edited by craskman, 21 April 2011 - 11:36 PM.
Jump to content
Edited by craskman, 21 April 2011 - 11:36 PM.
About your ramdisk, I didnt touch it, I just add the binaries [sh] and [busybox] in the folder /system/bin (on your image)
zImage - kernel .36
boot-vega.img - kernel .36 with your ramdisk (EDIT: in the next post,.. no quote to attach here)
Let me know if you are doing some progress.
You'll find two versions available - the standard one (which I have successfully compiled on Linux and deployed to my Vega) and a version for compilation on OSX (also successfully compiled and deployed). I've built my boot images using the mkbootimg arguments '--base 0x10000000 --pagesize 2048'. The Vega boot image ramdisk is also on my GitHub.
I'll fork it (well, probably create a new branch) for my own changes. Simples. What you see on master is the Advent release. What you see on the OSX branch is the Advent release modified to compile on OSX. There'll be a MCK branch in due course.
Ok, here is the [boot-bega.img] with .36 kernel and your ramdisk.
I make a very ugly test to know if we can at least boot honeycomb... because .36 kernel is a must.
But all i get is a reboot... it will be weally helping to see what is happening at boot... could you modify it so we can see the boot proccess? (you know is some post over this one)
In order to see the boot process you need to flash a modified bootloader (unless you have serial ports/cable, then just plug it). I have attached the bootloader on the previous page of this thread.
Also, check my git, I think being close but still some probs on porting some stuff to .36 kernel,.. and my time lacks to do this sort of things.
Btw, i am using your rom with OC .32 kernel, nice speed. Would be great put that speed on vega with HC.
Have you guys seen this?
Is this really source code for 3.0 ?
I've been also trying to port the Nvidia 2.6.36 kernel to the Advent vega, I succesfully compiled and deployed the craskman version of the kernel, and i have been trying to fix i2c issues after that.
I have rewritten both IT7260 and eGalax touchscreen i2c drivers in order to be able to run them in the new 2.6.36 kernel. The problem with the shuttle drivers as they are in the .32 kernel (even if compiled in the .36 kernel source tree) is that they are using a custom interface to the i2c linux layer, that can't be ported to the .36 kernel. That is why we are getting timeouts from those ported drivers, and thats why i rewrote them.
The i2c layer of the .36 kernel offers a way to perform the same required i2c transactions, without stop bits between them. So, i rewrote the drivers to use the native way. Nevertheless, i am still getting i2c transfer timeouts from the new drivers.
After some debugging, seems no end-of-transfer interrupt is being generated by the tegra hw. I don't know why that is happening. Perhaps a hardware difference between Whistler and Vega? -- I checked MUXes, clocks, interrupt sources, and everything seems to be fine, but no interrupts are generated.
If anyone has any idea, i really would like to hear it. Maybe i2c stack in tegra is not working yet for i2c # 2?
In the process, I also added a keyboard driver for the Vega, so linux reports Back/Home/VolumeUp/VolumeDown/Power button events to the application... I'm busy right now with other things, but i would like to share the changes i made to the .36 kernel towards the goal of porting it to Vega, so noone has to redo that work again, hopefully it will help to get closer to our goal of completely working .36 kernel for vega (and then, HoneyComb!)
Edited by craskman, 04 May 2011 - 10:57 AM.
Great news around here. At least we are moving forward.
Thanks for helping Eduardo (portuguese or spanish? Im portuguese btw, so we shouldn't be that far, corvus as well).
Eduardo, I got from 'somewhere' the datasheet for IT7260, including driver sample code, if you know more about i2c layer, you might me able to go further with this doc.
At linux drivers level I don't know too much, basically I tried to port from .32 kernel and I made some changes because some linux APIs have changed from .32 to .36. I will have a look on your code and I will merge. Though my time is lacking atm.
Edited by ejtagle, 04 May 2011 - 08:33 PM.
Edited by craskman, 05 May 2011 - 04:38 PM.
Eduardo, this sounds good and makes sense.
My knowledge on linux kernels is,.. sort of,.. mess around and try. But the vega community with skills at this level are not huge. So I was trying to push a bit, specially after finding folio100 nearly working.
EDIT: I also have the IT7260 datasheet text version, actually I counldn't find it anywhere, only on google cached data.
Keep updating us, I will be doing the same. At least we might be able to exchange some experiences and hopefully with good results. I think there are good people on this community on android side, but not on kernels.
Be in touch, this weekend im gonna try again.
btw, are you spanish or portuguese?
Edited by ejtagle, 05 May 2011 - 08:51 PM.
Edited by ejtagle, 10 May 2011 - 06:06 PM.
0 members, 1 guests, 0 anonymous users