Kernel Patches For AxDroid Alpha
Finally I had some spare time again to work on what I promised. Not much of an improvement here, but at least I want to share my kernel patches that made AxDroid Alpha image possible. Please be warned that the patches are mostly "dirty hacks".
I used some code and knowledge from various sources including;
The patch applies to the "android-2.6.29" kernel branch. You can get it with the following command:
Then you can apply this patch to your local kernel source:
I used some code and knowledge from various sources including;
The patch applies to the "android-2.6.29" kernel branch. You can get it with the following command:
Then download the AxDroid patch:
$ mkdir android
$ cd android
$ git clone git://android.git.kernel.org/kernel/common.git kernel
$ cd kernel
$ git checkout --track -b android-2.6.29 origin/android-2.6.29
Then you can apply this patch to your local kernel source:
$ git am 0001-AxDroid-Dell-Axim-x51v-patches.patchTo build for Axim X51V:
$ make aximx50_static_defconfig
$ make
Thanks!
ReplyDeleteWhats the cross compiler you used?
Chris
Hi,
ReplyDeleteKind a not sure what this did, what did you ad in these patches Ertan?
Does it fix x50v screen issue?
Thanks a lot for sharing your improvement with us! We're following you very closely.
ozdemirhan, I haven't tried it out myself but I assume that there haven't been any changes from the alpha release, so this is simply a way for us to be able to compile it ourselves.
ReplyDeleteCompiling it would therefore end up with the same as Ertan's alpha image provided - i.e. x50v touchscreen x and y will still be swapped. It does mean that those of us with the relevant knowledge should be able to get things such as the x50v touchscreen issue sorted and release further updates. I intend to have a go myself - if I make any progress, I'll post a link to full details.
For those using the Axim X50v, I've now compiled a new zImage which resolves the touchscreen x/y swap. You can download the new zImage here:
ReplyDeletehttp://drop.io/x50v_zImage
Just replace the zImage on your SD card with the one you download from that link. If it's not working, let me know, and I'll re-upload to somewhere different (I've never used drop.io before, but I though I'd give it a try).
Paul, Thanks a lot. I tried it on my x50v and it works. It seems to be quite sluggish though. the UI is not very responsive. Any idea what goes wrong? Does anybody got the wireless working?
ReplyDeleteChris
Might be a while before you see wireless function. I don't think the specifics of the chip have been worked out yet, so no driver for it.
ReplyDeleteI'm working on wireless, but no joy yet.
ReplyDeleteAs for the sluggishness, I'm also working on improving performance - I suspect there may be some differences between my .config and Ertan's .config which result in my kernel loading something extra (or missing something) which is resulting in the sluggishness.
Hi,
ReplyDeletePaul, can you post your x50v patch somewhere? That'd be great? Does USB networking work? I plugged the x50v with running android in the cradle but my ubuntu host doesnt show anything? Or do I have to load some module on the host as well?
Chris
Chris,
ReplyDeleteI've posted my tweaked file into the same drop.io (http://drop.io/x50v_zImage).
Just replace the existing android/kernel/drivers/input/touchscreen/ads7846.c with the one in the drop.io and (re)compile the kernel.
-Paul
Oh, and as for USB networking, I haven't actually tried it yet, but should get around to doing so...
ReplyDeleteI've done some tweaking, and got a kernel which has the x50v touchscreen fix, but which (hopefully) resolves the sluggishness. At least, it seems pretty responsive for me. It's now in the same drop as the other stuff - I've commented on both zImage files so you can tell them apart, but the most recent appears to sit at the top of the list anyway.
ReplyDeleteDirect link to new zImage
Got usb network working. I just put
ReplyDelete.giop_pullup_inverted = false,
.gpio_pullup = GPIO_NR_X50_USB_PULLUP,
to the x50_udc_info struct.
It disconnects from time to time though.
But bluetooth GPIO doesnt seem to be right. It doesnt let you create the 22 GPIO. I tried:
echo 22 > /sys/class/gpio/export
and dmesg says
<7>[ 2461.676890] gpio_request: gpio-22 (sysfs) status -16
<7>[ 2461.676939] export_store: status -16
Chris
Hi Paul and Ertan, I checked it out and works for my x50v, I wish wireless would work. Keep the work going; I am following very closely, If I learn, I might try to help you guys.
ReplyDeleteHi,
ReplyDeleteIt seems that you are having fun with the patches. :) I am happy to see that.
USB networking should work without any modifications, I used it a lot.
Bluetooth does not work, I only experimented with it unsucessfully. There are missing GPIO/EGPIO numbers...
I also experimented with audio, but couldn't get it working. I guess the i2c bus address is wrong...
If you can get anything to work, I would be glad to get the patches and release a new kernel build.
Have fun...
im getting a ton of erors when trying to patch the kernel i got with GIT. i cant do the second make command either.
ReplyDeletecron, did you switch to the 2.6.29 kernel before trying to apply the patch? Make sure you follow the instructions in the post exactly - and apply the patch from the right location (inside the kernel folder, after you've switched to the 2.6.29 kernel).
ReplyDeletei was trying to build with a 64-bit machine. heard thats a no-go trying with 32-bit currently
ReplyDeletei found out what wifi chipset the x51v uses:
tnetw1100b from texas instruments. currently trying to figure out how to get the USB/Cardbus/PCI driver compiled into the kernel. i got this information at handhelds.org
I'm running 64-bit Ubuntu 8.10, and have had no problems building the kernel. I've been looking into the acx100 driver for the wifi, but haven't had any luck getting it to actually work yet - I've compiled the driver, but it doesn't work as yet (not sure if it's due to incorrect firmware or something else not being right), so I have more investigating to go yet.
ReplyDeletehow did you guys get usb networking? this is pissing me off.
ReplyDeletei had to go get pterminal and a telnet client so i can telnet into localhost to get root access. now then when i enter ifconfig, nothing shows. so i then enter ifconfig usb0 192.168.2.2 up and nothing happens.
i then use netstat and it shows my current telnet session connected and shows another telent session listening with an ip of 0.0.0.0
WTF
it should at least be 10.0.0.2 rite??
and by the way, when i telnet back into the local telnetd i am of course connected to 127.0.0.1 and netstat shows that. and by the way is there a forum where this is being actively discussed? if there is, i cant find it. and maybe we should start one and point all the other forums that reference this project to it.
ReplyDeleteI've set up a Wikia wiki so that we can organise our efforts and information, rather than having everyone have to post comments on this blog:
ReplyDeleteAxDroid Wiki
Please check it out, and contribute wherever possible. If you're working on any drivers/hardware support, please update the relevant page(s) (or add one, if needed) - and update the "Hardware" to reflect that you're working on it.
Good Idea Paul, we should still visit Ertan though, to support his blog.
ReplyDeleteI got this running on an axim x51 (not x51v) but it only shows a quarter of the screen any tips?
ReplyDeleteI would LOVE to see this ported to the X51! I don't wanna take a risk with my X51v Just yet (even though it is outdated, i still love it)!
ReplyDeleteSo does this implementation go any further than what's been done here?
ReplyDeletehttp://www.handhelds.org/moin/moin.cgi/DellAximX50Status
I've checked the axdroid wiki but it doesn't seem to go any further...
I'm interested in it for the x50v. I need at least wifi working on top of what's already working on the page above.
Cheers
Anyone?
ReplyDeleteCould I please get a response? (see above post)
Thank-you very much.
The status is basically the same as Handhelds.org. There's no extra functionality.
ReplyDeleteBut these patches here are for the new kernel 2.6.29
I doubt that there will be any further improvements unless Dell provides hardware specs.
Thanks for clarifying this Ertan,
ReplyDeleteCould I please steal 5 more minutes of your attention?
What in your opinion is an ideal device for a univeral remote? I'm wanting to use it to interface with a HA/CE controller I intend to build soon.
I've looked everywhere for something that has a formfactor more like a traditional remote, but still with a relatively large touchscreen.
There are a few device like that. But so far I've found none with a healthy OSS/Linux hacking community around them!
Cheers,
Jed
HA = home automation
CE = consumer electronics
HEY I HAVE A DELL AXIM X50V, CAN I GET ANDRIOD OR AXDRIOD ON MY PDA,
ReplyDeleteI JUST BOUGHT IT THE OTHER DAY AND WAS TRYING TO UPDATE THE DAME THING; if i cant get andriod can u email me on how to get windows mobile 5 on it cause i spend all night trying use the update from maglite's blog but my SD loader wont even recognize the files,
if u or anyone can help he pls email me at
rahulkapoor4@gmail.com
Linux port of any form (including android) is no good for the avg user atm, see this
ReplyDeletehttp://www.handhelds.org/moin/moin.cgi/DellAximX50Status
It prolly wont ever be because there isn't enough specs on some of the hardware so devs have to reverse engineer drivers which is very hard.
You're best bet is to stick with window mobile hacks available at htc-geeks & xda-developers (google it). Ask more questions relating to wm hacks on those two forums.
Ertan/anyone, can you respond to my post just before Rahul's? Thanks.
This comment has been removed by the author.
ReplyDeleteOMFG, what an entirely baseless/unjustified personal attack.
ReplyDeleteI never said anyting negative about you or your project. I merely reiterated what I was told about the status of the project.
I had a look at the wiki and it looked no further than the handhelds site. But just to be sure I tried to contact people assooc w/ the project. The 1st person to speak up was Ertan (look a few posts up)
If my interpretation of what he's posted is misguided. Well normal humans would point that out, instead of resorting to abuse immeditately.
Of course I'm appreciative of this sort of work and I've often contributed/donated to oss projects. Take your presumptions & abuse elsewhere!
not happy,
-jed.
Internet is a strange social environment, people can missunderstand each other very easily. I think that's what happened to cron. While I think his intentions were not bad, his comments were totally unnecessary.
ReplyDeleteAnyways, Jed, with regards to your question about using Dell Axim as a universal remote controller, I guess you should stick with Windows Mobile. Because drivers are not complete in Linux.
And I believe that I saw some programs in Windows Mobile that can use the Infrared on Dell Axim. But you should learn the rest from other forums that deal with Windows Mobile...
It is indeed...
ReplyDeleteThanks for your thoughts Ertan.
I do intend to use WM + an app + CF IR extender initially...
Longer-term though I'll be wanting a replacement more along the lines of what I outlined in my previous post. (for irsend & other protocol commands via wifi)
I think something with everyting I want will be impossible to find. So I'll prolly settle for a handheld with a large capactive screen that has solid *nix support from the outset.
I have a few ideas already lined up but I won't stop looking for the ideal device! ;-)
Any update guys? Or is this totally abandoned? I wish I could help, but I know nothing about coding.
ReplyDeleteanyway my axim was stolen and i can no longer help with this project. any files i have hosted in the past will continue to be on my site and will not be moved. look for the axdroid wiki if you want links or other info.
ReplyDeleteIs it possible to change the resolution by passing argument to the kernel so that we can get this working on the X51 (not v)?
ReplyDeleteI have compiled a zImage for the X51. Please test this out and report the results.
ReplyDeletehttp://maxfierke.com/axdroid/x51/03282010/zImage
What's wrong with the sound?
ReplyDeleteThey have linux drivers at the website.
http://opensource.wolfsonmicro.com/content/linux-drivers-wolfson-devices
I just got 2.2/Froyo to run on my X51v :) Also, my build is slightly different in that you don't have to partition the SD card, you just drop the files on the root of a regular old FAT formatted card and run, so it's easier :D
ReplyDeletehttp://paulburton89.blogspot.com/2010/06/axim-android-aka-axdroid-22froyo-first.html
This comment has been removed by the author.
ReplyDeleteSome truly good content on this web site , appreciate it for contribution. check
ReplyDelete