I'm trying to build kernel for pollux_windy with ath9k support, but my build fails with the following errors:
Code:
drivers/net/wireless/ath/ath9k/init.c: In function ‘ath9k_init_txpower_limits’:
drivers/net/wireless/ath/ath9k/init.c:627:26: error: ‘struct ath_common’ has no member named ‘tx_chainmask’
ah->txchainmask = common->tx_chainmask;
does anybody have idea how i can fix this? I didn't had such problems with other devices.
Using this as a source: https://github.com/omnirom/android_kernel_sony_apq8064
Why in the world are you trying to build a kernel with support for hardware that is not in the device?
Entropy512 said:
Why in the world are you trying to build a kernel with support for hardware that is not in the device?
Click to expand...
Click to collapse
Because of OTG and USB support
//EDIT
Big up for @mithun46 who pointed me in the right direction . Anyone interested read about git blame and reverse changes to files.
EsEnZeT said:
Because of OTG and USB support
//EDIT
Big up for @mithun46 who pointed me in the right direction . Anyone interested read about git blame and reverse changes to files.
Click to expand...
Click to collapse
Use the mention system instead of PMs from now as I'm sure there will be others with the same doubt as well. And for me answering it here will help more I think.
mithun46 said:
Use the mention system instead of PMs from now as I'm sure there will be others with the same doubt as well. And for me answering it here will help more I think.
Click to expand...
Click to collapse
sure thing :angel:
EsEnZeT said:
Because of OTG and USB support
//EDIT
Big up for @mithun46 who pointed me in the right direction . Anyone interested read about git blame and reverse changes to files.
Click to expand...
Click to collapse
I thought ath9k was a PCI chipset - they have USB versions now?
Entropy512 said:
I thought ath9k was a PCI chipset - they have USB versions now?
Click to expand...
Click to collapse
sed 's/ath9k/ath9k_htc/g' :good:
I am also in the process of trying to compile a kernel module ath9k.
I also receive the error
Code:
drivers/net/wireless/ath/ath9k/init.c: In function ‘ath9k_init_txpower_limits’:
drivers/net/wireless/ath/ath9k/init.c:627:26: error: ‘struct ath_common’ has no member named ‘tx_chainmask’
ah->txchainmask = common->tx_chainmask;
When attempting to enable
<*> Atheros Wireless Cards --->
<m> Atheros 802.11n wireless cards support (NEW)
<M> Atheros 802.11n wireless cards
[*] Atheros ath9k AHB bus
[*] Atheros ath9k
[*] Atheros DFS support for certified
[*] Atheros MAC statistics
[ ] Atheros ath9k rate control (NEW)
I have no idea whats up but i will peck away at it and see what happens. It is nice to know others are working on this as well.
I have a feeling it could be a required other driver or library that we are missing or failing to enable in menuconfig but i have no idea how legitimate an idea this is.
Infidel01 said:
I am also in the process of trying to compile a kernel module ath9k.
I also receive the error
Code:
drivers/net/wireless/ath/ath9k/init.c: In function ‘ath9k_init_txpower_limits’:
drivers/net/wireless/ath/ath9k/init.c:627:26: error: ‘struct ath_common’ has no member named ‘tx_chainmask’
ah->txchainmask = common->tx_chainmask;
When attempting to enable
<*> Atheros Wireless Cards --->
<m> Atheros 802.11n wireless cards support (NEW)
<M> Atheros 802.11n wireless cards
[*] Atheros ath9k AHB bus
[*] Atheros ath9k
[*] Atheros DFS support for certified
[*] Atheros MAC statistics
[ ] Atheros ath9k rate control (NEW)
I have no idea whats up but i will peck away at it and see what happens. It is nice to know others are working on this as well.
I have a feeling it could be a required other driver or library that we are missing or failing to enable in menuconfig but i have no idea how legitimate an idea this is.
Click to expand...
Click to collapse
Got exactly the same problem when trying to build 3.0.101 kernel.. would be very thanfull to get some hints how to solve that
Related
Hi,
I am regularly watching linux-omap mailing list and today someone post a patch that adds support to omap850.
Patch is available here :
http://source.mvista.com/git/gitweb...9ae42d4;f=arch/arm/mach-omap1/board-fsample.c
http://source.mvista.com/git/gitweb...4;f=include/asm-arm/arch-omap/board-fsample.h
it would be interesting to checkout the tree in a few days and check this patch.
Another thing, recently I try haret on TI omap but omap wasn't supported because haret is using the bad registry to identify cpu.
On the ML someone was asking the following :
Is the OMAP850 currently detected exactly like the 730 via the JTAG ID (see
> > arch/arm/mach-omap1/id.c)
Maybe it could help.
Unfortunately I don't have time to work on it and I am not skilled enough in linux dev. to work on this but I can help developpers.
In a few days we should be able to download the linux kernel with omap850 support at this address : http://linux.omap.com/
I will keep you informed.
TI says that the OMAP is a processor that supports LINUX. So we know it can run linux, already, except if HTC has done something to make things very difficult.
(there is also RiscOS that can run on ARM9 devices... lol... )
Well, they say linux because the ARM9 core is supported by linux. The problem would lie in the fact this is a SOC (system on chip), the chip has many other system devices built into it. Now, and Joe Shmoe can go and write drivers for the internal circuits. TI doesn't want to give out the info needed to write these drivers unless you buy the chip. This chip isn't like any other chip you can go to Arrow.com and buy. I'm not that great of a coder, so I have to wait for the support to appear. I'm happy to it did, there may be hope for the EDGE modem...?
How do I beneficial?
Hi there,
May I know how do I beneficial (in terms of building a 2.6.2x kernel for OMAP850) from the following patch?
Regards,
Avatar Ng
===============
mosfet said:
Hi,
I am regularly watching linux-omap mailing list and today someone post a patch that adds support to omap850.
Patch is available here :
http://source.mvista.com/git/gitweb...9ae42d4;f=arch/arm/mach-omap1/board-fsample.c
http://source.mvista.com/git/gitweb...4;f=include/asm-arm/arch-omap/board-fsample.h
it would be interesting to checkout the tree in a few days and check this patch.
Another thing, recently I try haret on TI omap but omap wasn't supported because haret is using the bad registry to identify cpu.
On the ML someone was asking the following :
Is the OMAP850 currently detected exactly like the 730 via the JTAG ID (see
> > arch/arm/mach-omap1/id.c)
Maybe it could help.
Unfortunately I don't have time to work on it and I am not skilled enough in linux dev. to work on this but I can help developpers.
In a few days we should be able to download the linux kernel with omap850 support at this address : http://linux.omap.com/
I will keep you informed.
Click to expand...
Click to collapse
hi,
I've ann Elf with omap850
yeah it's a good news!
but in a few days what can i Download on this site? only the kernel? the interface?
news???
up
other news?
how i install Android on HTC Elf? i try a lot of version but i have always the same problem... white screen and stop.
??? still in progress for omap850?
Support
I hope so....I'm willing to start a bounty, if we can get Android on the OMAP (ELFin), it would be genius.
Paul
I'm really looking forward to it, pleaaaase, port it, pleaaaase.
hi guys
first off...sorry for posting the usual question...its been done to death
i have been out of the xda-dev site for a while and have lost track of things.
i always hoped himalaya linux would get done.... but from what i can see its still lacking the key components (eg phone support under gpe).
i am a uni student on placement at a company that actually writes mobile phone radio stacks...so i am learning embedded c and about the interesting side of the hardware/software interface.... now i want to actually do something about this lack of a fully usable phone.
my questions go as follows..
1> what is the current stage of himalaya linux ... i have a feeling the wiki's are probably out of date
2> is anyone actually still working on it
3> i know only a little about haret i get the idea it is also able to watch hardware (and isnt just a bootloader)...where can i find docs about using it to do this.
4> was jtag ever found on the himalaya
5> of the code in the tree what files are specific to the himalaya
i have much to learn on writing drivers etc for linux...and alot to learn about embedded c, reverse engineering etc....ok so i have a hell of a lot to learn....but i'm willing to try! (i also have 3 himalayas (1 has a bust screen) so plenty of tinkering can be done)
any other tidbits of information would also be appreciated
i think my basic goal would be the phone working.
after that get the other little bits and pieces
get the backpack cf working
get sdio and wireless working.
but these are the kind of goals that will take a long time so we'll see
i'd also love to work on the UI one day.. GPE and OPIE just dont toot my horn enough yet.
thanks
Tim
tim_programmer said:
1> what is the current stage of himalaya linux ... i have a feeling the wiki's are probably out of date
Click to expand...
Click to collapse
It is out of date, but some parts are in a good shape.
2> is anyone actually still working on it
Click to expand...
Click to collapse
Yes, because it has many common hardware and features with blueangel.
The kernel source is not being fixed, because it is decided to make blueangel
work first, and then reuse and adapt the cleaned code for himalaya.
3> i know only a little about haret i get the idea it is also able to watch hardware (and isnt just a bootloader)...where can i find docs about using it to do this.
Click to expand...
Click to collapse
There are no "real" docs, only the source code. Many pxa27x functions are
implemented in haret, that either work or need minor changes for pxa26x.
4> was jtag ever found on the himalaya
Click to expand...
Click to collapse
Yes, it's in wiki since 3 years or so
5> of the code in the tree what files are specific to the himalaya
Click to expand...
Click to collapse
Blueangel is the authoritative source.
i think my basic goal would be the phone working.
Click to expand...
Click to collapse
AFAIK, the phone works. But not with the latest 2.6.18-hh0 kernel.
This one has a lot of audio problems anyway, so it's not a major concern right now.
get the backpack cf working
Click to expand...
Click to collapse
It's a bit challenging. The backpack is implemented in so-called ASIC5,
and there are no docs for it.
get sdio and wireless working.
Click to expand...
Click to collapse
You mean SDIO wifi card ?
The SDIO host can be done relatively easy, but good luck with the wifi part
I know 2 of them, one with the TI acx100 (should be doable, because
there is linux acx100 driver), another needs the firmware upload in Motorola
SREC format, maybe even prism2.
And there is no free software SDIO for linux, you need to do some heavy RE.
Hello guys,
I have got Himalaya and I would like to help with implementation of some driver/software that is needed.
So I have got a few questions (some of them are similar to tim_programmer's, but I don't know if there are not outdated):
1. Where is the current branch with Himalaya specific code?
I have found:
- K2-6-12-hh2-xda0-ba0 (http://xanadux.cvs.sourceforge.net/xanadux/linux-2.6-xda/) and
- K2-6-21-hh20 (http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/)
Is himalaya specific code that is in K2-6-12-hh2-xda0-ba0 already included in K2-6-21-hh20?
Or what differences are between these branches?
2. Is somewhere available (SD card/NFS) image with kernel+initrd+GPE that is already running on Himalaya?
I have found:
- http://wiki.xda-developers.com/index.php?pagename=HimalayaLinuxBooting
It boots, but freezes during boot (after some changes in initrd it was possible to connect to the MDA with SSH via USB bus)
- http://wiki.xda-developers.com/index.php?pagename=HimalayaStandaloneGPEWithoutSD
Link to GPE is dead.
- http://handhelds.org/moin/moin.cgi/Himalaya
There are screenshots of GPE so it should be working image somewhere.
3. Is it posssible to boot some BlueAngel "distribution" on Himalaya? (Possibly with a little changes?)
I have found:
- http://handhelds.org/moin/moin.cgi/BlueAngelHowtoInstallLinux
Could it be used on Himalaya?
4. What is the current state of Himalaya support in Linux? What is already done and what not (or partially)?
I have found:
- http://wiki.xda-developers.com/index.php?pagename=HimalayaToDo
But there is not mentioned of what branch state it is.
5. Is any other bootloader than HaRET with that is possible to boot to Linux directly from SD card without Windows booting?
I have found:
- bootldr (http://xanadux.cvs.sourceforge.net/xanadux/linux-2.6-xda/bootldr/)
What is it?
A lot of information about Himalaya development is outdated and I don't know where to start :-( So any help is welcome
Thanks
Drasar
drasar said:
A lot of information about Himalaya development is outdated and I don't know where to start :-( So any help is welcome
Click to expand...
Click to collapse
join #htc-linux at freenode.
Thanks for the link..just joined
btw when i start Haret on my Hima..the Thermometer goes up and the eyes go red..and then few lines comes up and thats it..i have tried every thing but cant get Linux to work
waiting for the New Linux Mobile
ather90 said:
btw when i start Haret on my Hima..the Thermometer goes up and the eyes go red..and then few lines comes up and thats it..i have tried every thing but cant get Linux to work
Click to expand...
Click to collapse
What kernel have you tried? What was the last message on display? Some old HaRET versions (e.g. 0.3.6) have a problem with big kernel and boot fails on mounting root fs. So try the newest HaRET 0.5.1 that goes fine.
Thankxxx alot..u are rite i have 0.3.6
here is what i have :
haret-0.5.1.exe
initrd-2.6.12.gz
modules-2.6.12.tgz
zImage-2.6.12
are these all latest
ather90 said:
haret-0.5.1.exe
initrd-2.6.12.gz
modules-2.6.12.tgz
zImage-2.6.12
Click to expand...
Click to collapse
For kernel 2.6.12, follow How To Compile 4 Himalaya instructions. It works, I have tried it yesterday ;-)
Thanks alot..thankfully i have Ubuntu so compling is no big
i will contact u for more assistance
I am currently using WM6.5Pro Beta v7.9 (sun_dream)16mb ramdisk and it doesn't support wpa2/aes
are there any build that support it? would this feature be added in the future?
thanks
well if you use the search you will find out that BA does not support WPA2 in the first place, and to answer your question there is no rom or build that supports it, and no it is inpossible to make it work without proper driver, and we do not have one.
Hello everybody,
I'm Johan, I live in the netherlands and i'm doing a study Informatica->Software Engineer. For a schoolproject we have to write an Android Application, though i don't have Android running on my telephone natively. So i searched the internet and found out that on the XDA forums its all about custom roms and that there are some Android Roms available. Unfortunately nothing for my MDA Compact/HTC Magician yet.
After asking arround a bit and searching all over the internet I figured nowone actually was bothering to further investigate Android for Magician.
So even though I have no idea if it will ever gonna work i'm gonna try to document as much as possible, and I hope others might join this topic and give some (usefull!!) feedback.
These websites I think are the best place to start, as I don't have any experience with ROMS or Android-OS its gonna be a challenging task but if you guys have any idea's, suggestions or websites where we can find more information feel free to post comments.
Startpage for Magician info:
http://wiki.xda-developers.com/index.php?pagename=HTC_Magician
HaRET bootloader working on magician:
http://www.handhelds.org/moin/moin.cgi/HaRET
http://www.handhelds.org/moin/moin.cgi/HaRET_20Documentation
Linux kernel for Magician:
http://www.htc-linux.org/wiki/index.php?title=Kernel#Kernel_for_intel_PXA_based_devices
Current status for linux kernel:
http://wiki.xda-developers.com/index.php?pagename=MagicianProgress
http://www.handhelds.org/moin/moin.cgi/Magician
Source code for Android:
http://source.android.com/
How to build Android OS:
http://source.android.com/porting/build_system.html
Compatiblity test suite:
http://source.android.com/compatibility/cts-intro.html
Any feedback is apreciated but please don't make it like "nice, when is it finished?" or "its impossible!"
as I have no idea about both of those 2 comments yet, I'll have to figure that out on the go.
It should be possible, someone already ported android to pxa270!
http://www.mask.org.tw/demo.htm
need to throw in a kernel guess i ll fetch yet another magician if that happens!!!
Hi header2k and evildarknight, thanks for the input.
My chinese/tw isn't to good, so i googled for android and pxa270 and found the following website, no idea if its any usefull (currently not at home, and my datalimit on my laptop dislikes downloading 1,3GB so i'll have to see what it is when i'm at my desktop again.)
http://www.ntut.edu.tw/~wyliang/
This looks interesting, if it comes to testing, you can contact me!
guess my chinese aint better
can't somebody anybody compile the android froyo kernel 2.6.32 for the magician which seems to be inline with ph5 dev???
I can't read chinese either, but i wanted to link to the pdf files:
http://www.mask.org.tw/data/Android_Porting_on_PXA270.pdf
http://www.mask.org.tw/data/BringUp_Android_on_PXA270.pdf (he used files from: svn co https://android-pxa270.svn.sourceforge.net/svnroot/android-pxa270 android-pxa270 )
He uploaded his work, too(with two mirrors, after 原始碼 (1.3GB) 下載位置: )
His machine:
[email protected] <-- identical with our magician
64MB RAM <-- identical with our magician
32mb ROM <-- Isn't important because he used an external usb-stick with chroot - We can use our sdcard and haret
Toppoly TD035STEB1 <-- identical wth our magician
Setting up Dev-Team
So this proves i guess its a done deal already
But is it then just theoretically/closed project? or did he indeed release his sourcecode as well? Sourceforge SVN shows there isn't anything deposited.
Anyway, still want to use this on my telephone, no idea what it takes to use/modify his work. Anyone interested in actually joining the project-team to make it run on a telephone? cause in the pics in the powerpoint i see some laptop and some mainboard and touchscreen but not a MDA Compact/HTC Magician yet.
There are copies of the project www.mask.org.tw/data/release-sourceforge.tgz and www.ntut.edu.tw/~wyliang/release-sourceforge.tgz. I don't have access to a linux box at this moment. Need to fix my PC before working on android.
Hello, This is Mask from http://www.mask.org.tw
Hello, I am Mask and I found there are some traffic from xda-developers to my website, so I come here and found there are some discussion of my work before in last year.
I had open an android project for pxa270 on sourceforge, but I didn't know how to upload my source code to sourceforge, so I put the source code on my website and mirror sites.
I hope maybe I could help you if you are interest in "android porting" and some related topics.
mask.chung said:
Hello, I am Mask and I found there are some traffic from xda-developers to my website, so I come here and found there are some discussion of my work before in last year.
I had open an android project for pxa270 on sourceforge, but I didn't know how to upload my source code to sourceforge, so I put the source code on my website and mirror sites.
I hope maybe I could help you if you are interest in "android porting" and some related topics.
Click to expand...
Click to collapse
Yes, i have a question. Do you have a pxafb.c driver that works with android and the 2.6.32 kernels?
sorry about that I have no time to maintain my android project for pxa270, and now I have no plan to keep to maintain it, maybe we could upload whole developing source code including all svn reversion from begin to now, do you know how to import svn to sourceforge ? thanks a lot.
Here is some information on SVN and sourceforge.
http://haacked.com/archive/2006/02/22/QuickstartGuidetoSubversiononSourceForge.aspx some older howto from 2006 not sure if its up to date
http://sourceforge.net/apps/trac/sourceforge/wiki/Subversion Official sourceforge howto.
http://tortoisesvn.net/ svn client
Kernel
Can someone test this kernel and see if it works as I do not have a magician to test it with.
If it does boot can you follow the steps posted here to see if android boots...
http://forum.xda-developers.com/showthread.php?t=658664
notime2d8 said:
Can someone test this kernel and see if it works as I do not have a magician to test it with.
If it does boot can you follow the steps posted here to see if android boots...
Click to expand...
Click to collapse
I try to use kernel on Qtek S110(WM 6.1 by Cotulla), but get freeze screen on line "Jumping to Kernel...". When i use zImage from thread "Android 1.5 Cupcake on Universal" - again freeze on line "Jumping to Kernel...". Any ideas?
If you need to test something on Magician, contact me by ICQ 258113792.
Pavel A Safonov said:
I try to use kernel on Qtek S110(WM 6.1 by Cotulla), but get freeze screen on line "Jumping to Kernel...". When i use zImage from thread "Android 1.5 Cupcake on Universal" - again freeze on line "Jumping to Kernel...". Any ideas?
If you need to test something on Magician, contact me by ICQ 258113792.
Click to expand...
Click to collapse
Make sure you have the radio turned on and not in airplane mode and wifi and bluetooth turned off. Also the correct machine type 875 in the startup text file or 855 if using the one for the universal.
i think set MTYPE 875 should be the right one
notime2d8 said:
Make sure you have the radio turned on and not in airplane mode and wifi and bluetooth turned off. Also the correct machine type 875 in the startup text file or 855 if using the one for the universal.
Click to expand...
Click to collapse
When radio is turned on, Linux loading and stop on next lines:
1. With kernel for Magician
...
mmc0: new SD card at addess 41a8
mmcblk0: mmc0:41a8 SD01G 982 MiB
mmcvlk0: p1 p2 p3
Waiting for root device /dev/sdb2...
I wait more then 5 minutes, but nothing happens.
2. With kernel for Universal
...
ds1wm: ds1wm: reset failed
Device vibrate all time and after last line turn off display.
Pavel A Safonov said:
When radio is turned on, Linux loading and stop on next lines:
1. With kernel for Magician
...
mmc0: new SD card at addess 41a8
mmcblk0: mmc0:41a8 SD01G 982 MiB
mmcvlk0: p1 p2 p3
Waiting for root device /dev/sdb2...
I wait more then 5 minutes, but nothing happens.
2. With kernel for Universal
...
ds1wm: ds1wm: reset failed
Device vibrate all time and after last line turn off display.
Click to expand...
Click to collapse
Ok, don't use the universal kernel, from what you posted it seems that the kernel is not pointing to the correct memory card path in the startup text file or try reinserting the card.
If anybody knows how to build kernels i can provide the files and walk them through how i built the kernel for the universal which i have just gotten a very slow and unusable eclair (mostly due to hardware) working. I think this is the most i can help out as i don't have a magician.
hi all
i'm looking for a tun.ko for OpenVPN with Samsung Galaxy S FroYo JPP/JPO ... is there something out yet or already in developement? (or any alternative... i want to connect to a cisco vpn)
thx in advance
I don't have a Galaxy, nor do I know much about them, but I have compiled this module for HTC phones. Do you know if the kernel source for "Galaxy S FroYo JPP/JPO" (actual version running on your phone) is available? If so, I'm pretty sure I could compile a module for you.
Hi all,
I'm intrested for the same module tun.ko.
If somebody can provide it
Thanks
couldnt find it yet... if someone does pls post the link for gene or someone else
I can try to find it. Type this in a command window for me:
adb shell uname -a
and post the results.
hmm im probably too stupid
i couldnt get adb shell working on windows 7 (followed some tuts but none worked for me... always "error: protocol fault (no status)" (yes i dled everything and enabled usb debugging @ my sgs)
so i installed a shell app on my mobile and ran "uname -a" into it.. here is the result:
Linux localhost 2.6.32.9 #6 Wed Oct 20 17:47:45 CEST 2010 armv7l GNU/Linux
hope thats what you were looking for
btw an vpnc version would also be very appreciated (if its not a ****load of work )
Well, I've been searching all over and I can't make any sense out of all the Galaxy stuff. I don't own one and so I'm not up on all the jargon and what the current state of the custom ROMs is so, I'm sorry, but I can't find a repository of the kernel source.
If anyone could point me to it, I'd be happy to try and compile it, but otherwise, I'm stuck.
too bad hopefully someone can point u to it ... but not me since im kinda new to this stuff :/
There's a how to on one of the FAQ's in the samsung galaxy s forum.
look for
[HOWTO] [REF] [FAQ] [Guides] [Tutorials] Flash/Root/ADB/ROM [MUST READ!]
in: post #5 tips and tricks
actually i didnt find it there... there is a "create a tun.ko for sgs" but the link is wrong...
you can close this post as a tun.ko for another kernel is also definetly working ->> http://forum.xda-developers.com/showthread.php?t=793712
totally working with JPO... used autostart (root) from market to install the tun.ko with insmod on reboot
tried it today with cisco vpn connection (+"VPN Connections" (vpnc)) @ my university and it totally worked!