03:51.56 | *** part/#htc-linux rmoravcik (n=rmoravci@icm4-orange.orange.sk) |
05:28.34 | *** join/#htc-linux rob_w (n=bob@p213.54.221.192.tisdip.tiscali.de) |
06:21.47 | *** join/#htc-linux jeanseb (n=jeanseb@ipv4.sabine-et-benoit.com) |
06:33.14 | *** join/#htc-linux rob_w (n=bob@p213.54.215.119.tisdip.tiscali.de) |
07:14.55 | *** join/#htc-linux awelux (n=awelux__@dslb-084-058-170-191.pools.arcor-ip.net) |
11:39.19 | *** join/#htc-linux james__ (n=james@CPE-143-238-111-97.nsw.bigpond.net.au) |
13:35.10 | *** join/#htc-linux goxboxlive (n=goxboxli@ti500710a080-11983.bb.online.no) |
14:44.33 | *** join/#htc-linux i386 (n=james@CPE-143-238-111-97.nsw.bigpond.net.au) |
14:57.54 | *** join/#htc-linux rob_w (n=bob@p213.54.215.119.tisdip.tiscali.de) |
17:05.47 | *** join/#htc-linux rob_w (n=bob@p213.54.215.119.tisdip.tiscali.de) |
17:17.50 | *** join/#htc-linux goxboxlive (n=goxboxli@ti500710a080-11983.bb.online.no) |
18:08.57 | *** join/#htc-linux jeanseb (n=jeanseb@gazypan.dyndns.org) |
18:22.22 | *** join/#htc-linux rmoravcik (n=rmoravci@icm10-orange.orange.sk) |
18:37.13 | *** join/#htc-linux lamikr (n=chatzill@aragorn.kortex.jyu.fi) |
18:58.49 | *** join/#htc-linux jeanseb (n=jeanseb@gazypan.dyndns.org) |
19:38.48 | *** join/#htc-linux silven (n=zmc@adsl-72-50-67-73.prtc.net) |
19:39.02 | silven | Greetings.. |
19:41.20 | silven | Anyone alive |
19:41.21 | silven | ? |
19:43.33 | *** join/#htc-linux Immolo (i=wgmbgkuf@cpc3-cosh1-0-0-cust1001.cos2.cable.ntl.com) |
19:47.55 | silven | ? |
19:52.54 | *** join/#htc-linux shift (i=shift@water.shiftnetwork.co.uk) |
20:14.30 | goxboxlive | silven: hi |
20:15.07 | silven | Hey. |
20:15.15 | silven | Good afternnon (if it's afternnon there) |
20:16.07 | goxboxlive | It's good evening here (Norway) |
20:16.13 | silven | :) |
20:16.45 | silven | I have a HTC wizard and am interested in helping with linux development. |
20:17.10 | silven | I was wondering how I can unbrick the machine if I flash a bad rom before i start messing aroumd. |
20:18.13 | goxboxlive | ACtually i'm not the right one to ask. I am not a developer ( just a hangaround :-) ) Ask awelux if he is here. Hi have skills. |
20:18.21 | silven | lol. |
20:18.26 | silven | so what are you into? |
20:18.49 | goxboxlive | testing and breaking :-) |
20:19.04 | silven | Sounds good.. do you have linux running on your mobile? |
20:19.10 | goxboxlive | I'm just intresting to play around with Linux. |
20:19.21 | silven | on your desktop? |
20:20.06 | goxboxlive | Not a fully functional. I am using a HTC Universal and the port isent finished yet. But we have done som progress. http://www.handhelds.org/moin/moin.cgi/UniversalStatus |
20:20.18 | goxboxlive | both desktop and the htc universal |
20:20.25 | silven | cool. |
20:21.07 | silven | looks similar to the wizard.. do you know offhand what processor it uses? |
20:21.30 | awelux | hi silven , we can use any hands :) |
20:21.39 | silven | hey! |
20:21.54 | silven | Lemme give you a rundown.. |
20:21.57 | goxboxlive | silven: http://www.handhelds.org/moin/moin.cgi/UniversalHardware |
20:22.15 | silven | I have like 10 years of experience running linux, basic experience in C/C++/java/PHP/etc |
20:22.25 | awelux | that's plenty :) |
20:22.29 | silven | Just got a HTC wizard and not happy about the os. |
20:22.31 | awelux | more than I have. |
20:22.44 | awelux | I'm at 8 years |
20:22.54 | silven | Haven't flashed anything yet beause I'm afraid of bricking it and I haven;t found a way to sync with linux |
20:23.01 | silven | and I don't have a windows bix. |
20:23.04 | silven | *box |
20:23.24 | silven | (in all fairness I haven't dedicated a lot of time, but I want to change that) |
20:24.06 | awelux | silven, it will be a challenge. |
20:24.37 | silven | I'm sure. |
20:24.37 | awelux | the main problem is that we found almost no documentation for your omap processor. |
20:24.43 | silven | really? |
20:24.56 | silven | I went to texas instruents and found quite a bit. |
20:25.10 | awelux | It's using an arm core. |
20:25.16 | silven | yea. |
20:25.18 | awelux | So we can use basic arm |
20:25.38 | awelux | The problem is: These embedded cpu's always contain a lot of peripherials on the chip |
20:25.50 | awelux | And these are controlled through registers. |
20:25.50 | silven | yes. |
20:25.57 | silven | omap has almost everything integrated. |
20:26.10 | awelux | The registers are not part of the arm core and we are lacking a documentation. |
20:26.32 | awelux | So it will be a lot of reverse engineering of windows dlls :/ |
20:26.33 | silven | hmm |
20:26.43 | awelux | But there is some hope |
20:26.49 | silven | Do we have a good way to get info into and out of the device? |
20:27.08 | awelux | It seams some companies wanted to use the omap with linux. |
20:27.21 | silven | according to TI linux is officially supported. |
20:27.29 | awelux | And they have written basic support for omap on an experimental board. |
20:27.46 | awelux | silven, if you are lucky you will find the specs somewhere. |
20:28.09 | silven | I'm pretty sure I found them last week on the TI site.. |
20:28.13 | awelux | But TI seams to be reluctant to hand out specs for free in general. |
20:28.16 | silven | but no register stuff. |
20:28.33 | silven | just the chipset spec. (what is included) |
20:28.56 | awelux | does the wizard run on wince 2003 or 2005 ? |
20:29.01 | silven | 2005 |
20:29.06 | silven | well windows mobile 5 |
20:29.29 | awelux | ok. goxboxlive do you know the status of synce related to windows mobile 5 ? |
20:30.56 | awelux | For the intel xscale based chips we have haret to play around with the hardware under wince. But it won't work on the TI omap because of the different registers for everything. |
20:30.56 | goxboxlive | awelux: No, but last time i checked it there where no progress. They said that there wasen't a priority for them |
20:31.43 | awelux | So what is the current way to swap files with wince and linux? Per SD card ? |
20:31.58 | awelux | or IR transmission ? |
20:32.28 | awelux | silven, you have a tricky beast there ;) |
20:32.39 | silven | btw.. best i found on omaphttp://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12000&contentId=4679850 |
20:32.41 | silven | grr |
20:32.45 | silven | http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12000&contentId=4679 |
20:32.46 | silven | ther.e |
20:33.16 | silven | i was going to try to get IR working but I was worried they use a propritary communication protocol. |
20:33.27 | silven | and I didn't feel like reverse engineering activesync5 |
20:33.53 | silven | I found some rom dumper and loader stuff that goes right to the CF card. |
20:34.16 | silven | my worry is "what happens If I have a backup of my orig rom on a cf card, and I flash a new ROM that is crap" |
20:34.31 | silven | afaik the device would be bricked and I would have no way to recover. |
20:35.18 | awelux | It's usually best to get the new rom's directly from the phone dealers and patch these. |
20:35.38 | awelux | The ones on xanadux seam to be also reliable. |
20:36.20 | silven | okay, what happens if I have a booting kernel in a working bootloader, that the framebuffer barfs on me.. I would have no screen and no way to interact with the kernel.. |
20:36.27 | silven | how would I reflash the rom in that case? |
20:36.50 | awelux | I recommend a different way for starters: |
20:37.16 | awelux | It's probably easier to start linux from a running wince first. |
20:37.24 | silven | cool. |
20:37.34 | awelux | This way all the basic device initialisation is done already. |
20:37.45 | silven | i have gcc on there already,, can't get the shell to come up though. |
20:38.10 | awelux | you copied gcc to your wizard :) |
20:38.12 | awelux | ? |
20:38.28 | silven | yea.. |
20:38.32 | silven | there is a ppc port of it. |
20:38.42 | awelux | oh. |
20:38.57 | awelux | Well. forget about it for now :) |
20:39.08 | awelux | You will need two crosscompilers: |
20:39.09 | silven | the thing I ran into is the shell that they provide doesn't work and since there is no fork() compiling bash is difficult :) |
20:39.11 | silven | oka |
20:39.13 | awelux | one for arm-wince |
20:39.21 | awelux | and one for arm-linux |
20:39.35 | silven | oka.. I can get those. |
20:39.59 | awelux | I got the linux-wince compiler from the videolan client project |
20:40.10 | awelux | They have a package they use for their crosscompiles |
20:40.30 | awelux | for the linux-arm I recommend a gcc 3.4 version |
20:40.55 | awelux | since the 4.0 versions seam to have a problem with the code of some modules. |
20:41.29 | silven | oka.. I have 3.4.6 |
20:41.33 | awelux | nice. |
20:42.39 | awelux | When I started with the tinkering the firstthing cr2 requested was to play around with gnu-haret (his version of haret [hardware reverse engineering tool]) |
20:43.01 | silven | what's the name of the linux-wince compiler? |
20:43.28 | awelux | wince-arm-gcc4.0.0-cvs-linux-crosscompiler-20050517.tar.bz2 |
20:43.33 | awelux | I've this one |
20:43.44 | awelux | Do some stuff on the device while the tool monitors the IO's |
20:44.06 | awelux | This way we found the IO pins for the keys etc. |
20:44.14 | silven | nifty |
20:44.44 | awelux | And I just had to map them in a header file and the drivers yould start to work. |
20:45.07 | awelux | Unfortunately this will be a bit tricky without knowledge of the registers. |
20:45.37 | silven | because haret doesn't know where to look? |
20:45.48 | awelux | exactly |
20:46.08 | awelux | let me take a look into the omap parts of the kernel. |
20:46.28 | silven | oka.. |
20:46.51 | awelux | oh. btw. the register description for the intel pxa27x is about 1200 pages strong. |
20:46.59 | silven | i'm trying to find the wince-arm gcc package I'm pretty sure the GCC that i have has crosscompiler support for arm alreadyt. |
20:47.07 | silven | oh crap! |
20:47.08 | awelux | So there is a lot of knowledge that'S not available right now. |
20:47.11 | silven | lol |
20:48.40 | awelux | The good thing is that you will need very little hardware to boot linux. |
20:49.33 | awelux | Soif you know where to find the FB of your device and the memory map and how to disable interrupts you can already start. |
20:49.59 | silven | 1 sec |
20:50.01 | silven | brb |
20:52.22 | silven | sorry.. phn call. |
20:52.30 | awelux | np. |
20:52.39 | silven | I'm trying to get the compiler from videolan.org |
20:52.40 | awelux | The info about the irq's and mmu could be found in the existing omap code already |
20:53.30 | silven | so when I have the compiler I just download a tarball from kernel.org and compile it for arm? |
20:53.54 | awelux | okno. The wince compiler is for the windows tools |
20:54.11 | awelux | since we would start linux from windows we need a windows side |
20:54.42 | silven | right. like a bootstrapper for the kernel. |
20:54.43 | awelux | which will switch of the irq's, copy the kernel from a SD card to the start of the ram |
20:54.55 | awelux | switch of mmu and jump into kernel. |
20:54.58 | awelux | exactly. |
20:55.00 | silven | right, |
20:55.49 | awelux | I would download the gnu haret source from cr2's ftp and start from there. |
20:56.20 | silven | is there a boostrap program already written? |
20:56.55 | awelux | only for the intel pxa. |
20:57.13 | awelux | But it should be possible to adjust it. |
20:57.41 | awelux | I'm not familiar with the specifics of windows mobile 5 though. |
20:58.01 | silven | okay.. got the wince-arm-gcc4.0.0-cvs-linux-crosscompiler, where's the cr2 ftpsite for haret? |
20:58.02 | awelux | Unfortunately this way to linux will go through some windows programming ;) |
20:58.09 | silven | igh |
20:58.26 | awelux | http://jornada820.sourceforge.net/files/haret/ |
20:58.50 | awelux | It's a bit out of date but you will have to adjust it anyway. |
20:59.02 | silven | that's fine.. |
20:59.18 | silven | wm5 is pretty similar to wince. |
20:59.22 | silven | most wince programs run |
20:59.57 | awelux | I've heared some bad things about not as easy to switch to kernel mode. |
21:00.17 | awelux | But we will see. |
21:01.11 | awelux | You will find a lot of the really important registers of the omap when you look at the omap code of the most recent kernel |
21:01.17 | silven | I think my biggest problem will be that I need everything in .cab files or native windowsMobile binaries since I don't have a windows box. |
21:01.45 | awelux | Do you have an SD card reader? |
21:01.53 | silven | the gnuharethelper.exe is that a wince executable? |
21:02.04 | silven | yes. I'm pretty sure i can read it. |
21:02.28 | awelux | yes. it's an executeable. It will do nothing. I don't recomment to run it. |
21:02.42 | awelux | It will write to a random location of your memory :) |
21:02.58 | silven | oh dear. |
21:03.08 | silven | what about: |
21:03.10 | silven | gnuharet-200604111910.exe |
21:03.19 | awelux | For the pxa it switches vibration on and off |
21:03.44 | awelux | Thinking about it it might even work for you since I think gnuharethelper uses wince functions for that |
21:03.51 | silven | haret-gnu-20060217.tar.bz2 |
21:03.51 | silven | ? |
21:03.57 | awelux | yes gnuharet-*.exe is the binary |
21:04.01 | awelux | the later is the source |
21:04.03 | *** join/#htc-linux husam (n=kvirc@217.206.111.105) |
21:04.03 | silven | ahh okay |
21:04.22 | awelux | you can compile it with the vlc gcc for arm-wince |
21:04.46 | awelux | You will have to modify the source and replace the pxa specific parts with omap specific parts |
21:05.29 | awelux | With some luck and and a bit of skill you should be able to regain some of the functionalities. |
21:05.39 | awelux | <PROTECTED> |
21:06.05 | awelux | haret also has a command bootlinux (or boot2 in this case) to boot linux. |
21:06.30 | silven | cool! |
21:06.40 | awelux | untar the haret-gnu src and look into the file src/linboot.c |
21:07.06 | awelux | s/linboot.c/linboot.cpp/ |
21:10.08 | awelux | While you are working on the device you could probably write down the found and decoded registers somehwere. |
21:10.19 | awelux | Maybe someone started something like that already |
21:11.25 | awelux | You could start an omap-register page or something like that on the xanadux wiki |
21:11.30 | silven | Do you know what filesystem the SD has? |
21:11.45 | silven | (well mini-sd in this case) |
21:14.27 | awelux | probably fat16 |
21:14.31 | awelux | so type 6 |
21:14.45 | awelux | in fdisk. the mkfs.vfat |
21:14.45 | silven | type 6? |
21:15.25 | awelux | At least that's what we use on normal SD cards and they should be similar |
21:15.30 | silven | hmm |
21:15.36 | silven | having trouble reading it. |
21:16.14 | awelux | I mean filesystem typ 6 |
21:16.31 | awelux | you can'T read it with your desktop ? |
21:16.37 | *** join/#htc-linux joebush2 (n=joebush@216-18-211.541110.adsl.tele2.no) |
21:16.57 | awelux | http://www.muru.com/linux/omap/ |
21:17.00 | *** join/#htc-linux rmoravcik (n=rmoravci@icm1-orange.orange.sk) |
21:17.11 | awelux | these guys seam to be concerned with linux ports for TI |
21:17.36 | awelux | wohoo |
21:17.56 | awelux | there are huge patches available for the omap from there |
21:18.04 | awelux | They should contain many more registers. |
21:18.39 | awelux | Unfortunately not for the omap850 but the predecors. But probably they are not that different. |
21:19.00 | silven | working on getting that sd to read. |
21:19.07 | silven | something is flaky. |
21:20.03 | awelux | Maybe you can find contacts in TI there who can help out with register descriptions. |
21:20.06 | awelux | you could also sell the wizard on ebay, buy another one there with an intel pxa and save yourself a lot of trouble :) |
21:20.29 | silven | lol |
21:23.54 | silven | someting wacky with my sd reader. says it can' |
21:23.56 | silven | t be read. |
21:24.05 | silven | I'm going to clean it, seems dirty :) |
21:24.53 | awelux | good luck :) |
21:25.15 | silven | Thnks. |
21:26.09 | silven | oka.. that was it.. it was dirty. |
21:27.35 | awelux | wow. lucky |
21:28.01 | awelux | You can also try to register on my.TI and hope you will get more informations. |
21:28.02 | silven | there wasn't much to be wrong.. it's a ide-scsi sd reader. |
21:28.27 | silven | going to see if haret runs without modifications.. |
21:33.06 | silven | this is hella cool.. I'm telnetted into my phone over a vpn. :) |
21:33.18 | silven | haret is running happily. |
21:33.40 | silven | Welcome, this is GNU/HaRET running on WindowsCE v5.1 |
21:33.40 | silven | PWMinimal virtual address: 00010000, maximal virtual address: 7fffffff |
21:33.41 | silven | CPU is ARM ARM arch unknown(6) stepping 3 running in user mode |
21:35.46 | awelux | wow |
21:36.19 | awelux | that is indeed cool. Didn't think it would work. |
21:36.38 | awelux | how did you connect to the phone? |
21:36.42 | silven | openvpn.. |
21:36.48 | silven | telnet charon 9999 |
21:36.49 | silven | :) |
21:37.13 | awelux | interesting. |
21:38.35 | awelux | there is a wealth of information at muru.com |
21:39.22 | awelux | If you search the archives you might find what sources they use. |
21:39.49 | awelux | Probably some people who had access to the register data through a nda. |
21:39.58 | awelux | Maybe even some TI employees |
21:40.45 | awelux | So posting there and ask for entry points after you searched for similar posts might help. |
21:41.42 | awelux | it looks like the mailing list is maintained by TI. |
21:46.48 | joebush | Just put Opie on my Universal. Accessing the screenshot function made it hang. Anything I can do without rebooting? |
21:47.29 | goxboxlive | joebush: ssh it and kill or restart opie |
21:48.17 | joebush | can you ssh to it through usb? |
21:49.00 | goxboxlive | from linux on your computer. |
21:50.04 | joebush | but is that using usb? |
21:50.22 | goxboxlive | joebush. The ip on the universal is: 192.168.0.202 . Log in as root and the password is rootme. Yes over USB |
21:50.26 | awelux | joebush, that depends on the kernel |
21:50.52 | awelux | I think all the percompiled kernels support usbnet. |
21:51.02 | joebush | actually, when it started, I noticed it received an IP with 193.x.x.x |
21:51.03 | joebush | Can't imagine why |
21:51.17 | goxboxlive | I f you have build the kernel yourself without doing anything to the config is should have g_ether support |
21:51.32 | awelux | if you plug it in (you might have to replug it) you should see a kernel message on your dektop in /var/log /messages |
21:51.39 | joebush | I downloaded the kernel (precompiled) |
21:51.52 | goxboxlive | ok, it has usbnet support |
21:52.36 | awelux | then you need to type "ifconfig usb0 192.168.0.206" |
21:52.52 | awelux | and then ssh -l root 192.168.0.206 |
21:53.11 | goxboxlive | in the Opie image for universal the usb0 is set to 202 |
21:54.37 | joebush | 193.213.112.4 ..... why in the world would it get that address? |
21:54.47 | goxboxlive | and the gateway for it is 192.168.0.200 |
21:55.13 | *** part/#htc-linux husam (n=kvirc@217.206.111.105) |
21:55.15 | *** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de) |
21:55.23 | goxboxlive | I am the one who build the opie-image. I forgot to delete it. It's my dns adress :-) |
21:55.30 | joebush | hehe |
21:55.53 | joebush | was worried it had 3g support and turned on by default |
21:56.15 | joebush | ahh, found the console :) |
21:56.15 | goxboxlive | cr2: Hi, hwo are you. Long time no seen |
21:56.49 | awelux | hi cr2 ! |
21:56.53 | joebush | no interfaces with that address though |
21:56.54 | awelux | where have yoiu been ? |
21:57.45 | goxboxlive | 192.168.0.202 is the Universal. The usb0 on your computer should be 192.168.0.200 |
21:58.04 | awelux | joebush, probably because the 193.... is goxboxlive's ip? |
21:58.49 | joebush | is there a key that is mapped to ctrl? |
21:58.58 | goxboxlive | awelux: No, that's just a dns adress. Shouldnt have nothing to do with it. |
21:59.04 | cr2 | hi guys |
21:59.12 | cr2 | i was in east germany last week. |
21:59.14 | goxboxlive | yes the "message" button |
21:59.18 | goxboxlive | (key) |
21:59.39 | joebush | thanks :D |
21:59.40 | cr2 | hacking linux is fun but i have a fulltime job :) |
21:59.48 | awelux | hehe. ok. |
21:59.50 | goxboxlive | joebush: And the *explorer' key is "alt" |
21:59.58 | joebush | cr2, you could always quit |
21:59.59 | joebush | your job |
22:00.09 | cr2 | :LOL: |
22:00.09 | joebush | what about the windows key |
22:00.31 | awelux | cr2, the TS of the universal is working :) |
22:00.33 | goxboxlive | "dead" i guess, |
22:00.48 | cr2 | that's true. then i will lose the inet connection ;) |
22:01.22 | cr2 | i have seen it in the CVS. but i still don't understand the reason. |
22:02.19 | awelux | 2 problems: a) the new driver tried to reverse the nonlinearities. So we never saw when it was actually linear. |
22:02.32 | cr2 | you have 2 power bits: 1 for the ADC and the ohter one someting else. if you set both of then it should work too ? |
22:02.43 | joebush | How stable is wireless on the Universal? |
22:02.58 | cr2 | joebush: not really AFAIK. |
22:03.13 | awelux | b) The TSC2046 can use several modes how to apply the reference voltages for each axis. We had to select the right one. |
22:03.16 | joebush | only net through USB? :o |
22:03.44 | awelux | goxboxlive, tried them out and at one point had the idea to load the old driver without the "correction" and it just worked :) |
22:03.46 | cr2 | bluetooth is also not really working. |
22:03.57 | cr2 | you can try IR. |
22:04.01 | joebush | hehe |
22:04.33 | joebush | not that desparate. Can always boot into WM |
22:04.34 | cr2 | awelux: ok. sounds good. |
22:05.04 | cr2 | goxboxlive: did you disable the /dev/ttyS1 for gpsd ? |
22:05.08 | joebush | Is the universal still actively being developed? |
22:05.13 | cr2 | yes. |
22:05.18 | awelux | very ;) |
22:05.29 | cr2 | it is the most actively deleveloped phone. |
22:05.34 | cr2 | htc phone. |
22:05.56 | cr2 | there is also moto a780, but they have it easier. |
22:06.12 | joebush | does it charge when plugged in? |
22:06.33 | cr2 | there are some bugs, but probably yes. |
22:06.48 | joebush | ok, thought I'd ask since the led is off |
22:06.55 | cr2 | at least it does what wince is doing. |
22:06.55 | goxboxlive | cr2: I havent build any images. And have noe clue how to do that before i build. Have to do it manually. BTW. OE was just a mess, so i had to start all over again. |
22:07.01 | joebush | and the power app says it's at o% |
22:07.15 | cr2 | the leds are also not quite right :) |
22:07.26 | awelux | After reading through a lot of li-ion batterie documentation I don't think it's possible to overload the device. |
22:08.00 | joebush | shit, hung it again |
22:08.05 | cr2 | awelux: ok |
22:08.10 | cr2 | joebush: how ? |
22:08.14 | joebush | I have to stop pressing buttons I know won't do anything |
22:08.44 | joebush | got a windows up "Send via OBEX" |
22:08.45 | cr2 | goxboxlive: we can write a "patch" script to change the opie image. no need to recompile everything. |
22:08.48 | joebush | pressed send |
22:09.19 | awelux | I've not found a single charge chip where an external signal was needed to switch from constant current to constant voltage loading. They all simply use a fixed voltage (usually 4,2V) and limit the voltage when they reach it. |
22:09.45 | awelux | But they some provide signaly if this voltage is already reached. |
22:10.01 | awelux | Or even monitor the remaining capacity like the universal does. |
22:10.10 | *** join/#htc-linux Immolo (i=effkau@cpc3-cosh1-0-0-cust1001.cos2.cable.ntl.com) |
22:10.12 | cr2 | there are 4 pins |
22:10.30 | goxboxlive | cr2: Well it's not a problem for me to build another one. I like to try some changes in the htcuniversal.bb file so it might get a little faster. |
22:10.39 | joebush | don't suppose it is possible to connect it to an XP machine |
22:10.41 | cr2 | the 2 middle are for the communication, but what protocol they use depends on the battery, it seems. |
22:10.52 | joebush | Don't have Linux installed on my pc |
22:11.19 | joebush | only in vmware |
22:11.29 | cr2 | joebush: then it is tricky. |
22:12.12 | cr2 | but i don't use windows, so can't give any certain advice. |
22:12.13 | goxboxlive | joebush: Just download a live-cd, and the problem is solved. |
22:12.44 | joebush | true |
22:13.13 | awelux | cr2, do you have any idea who made the pictures of the magician pcb? |
22:13.21 | joebush | unfortunately, I like games. Always end up with windows again |
22:14.05 | awelux | I'd like to ask him if he found the vibra inside the magician or if it is in the battery |
22:17.08 | joebush | I installed using the UniversalProgress page. Are the linked files up to date, or are there newer kernels/opie available? |
22:17.32 | joebush | And is Opie the only choice? most functional? |
22:21.11 | goxboxlive | joebush: Wich progress page. The one at handhelds or the one at xanadux. The Opie image at handhelds is the latest one. I have buildt an GPE image, but it's not ready yet. The kernel is the latest one. |
22:21.14 | joebush | btw, I ended up downloading Opie from handhelds. |
22:21.16 | cr2 | awelux: no, but i think it was itsme. |
22:21.30 | cr2 | because he has a magician. |
22:21.35 | awelux | Ok. I will ambush him ;) |
22:21.56 | awelux | I will have two soon. One get's a teardown. |
22:22.05 | cr2 | cool :) |
22:22.39 | awelux | And I'm planning on monitoring the charge process to understand it better. Maybe remove some plastic of the battery. |
22:23.04 | awelux | I decided to get a second when I almost killed mine. |
22:23.11 | joebush | Ok, couldn't get the one at xda-developers |
22:23.11 | joebush | halted after a few seconds |
22:23.26 | cr2 | joebush: gpe works too (the blueangel version). But it looks ugly. to my taste. |
22:23.40 | cr2 | at 640x480 resolution. |
22:23.44 | awelux | It did boot only after I left it alone for a few hours without battery. In the meantime I started looking for a replacement.- |
22:23.50 | joebush | thanks for the help. I think Opie looks nice. But the hangs are annoying |
22:23.50 | goxboxlive | joebush: The kernel and the Opie-image at handhelds should work ritght out of the box. But remember, it's just in alpha mode :-) |
22:24.09 | joebush | I have the image from xda and opie from handhelds |
22:24.12 | cr2 | awelux: do you have an oscilloscope ? |
22:24.31 | awelux | I had an old one but threw it away. |
22:24.50 | awelux | I can go to the nearby university and access their lab. |
22:24.52 | goxboxlive | joebush: The zImage form xda-ftp is old. It doesnt have fully working touchscreen. |
22:25.16 | awelux | Unfortunately I'm usually working during the day. |
22:25.28 | joebush | seems ok normally. Maybe that is what is causing the hangs |
22:25.46 | cr2 | i have a 16channel logic analyzer (500Mhz) in the uni, but it's not easy to use ;) attaching the pins is a real pain. |
22:26.16 | goxboxlive | joebush. Ok, it seems like you have the latest kernel. Because you would hav noticed that you where using the old touchscreen driver. |
22:26.20 | awelux | It should be enough to meassure the voltage every 5 min and when the load indicator led changes. |
22:26.39 | cr2 | goxboxlive: can you delete the old images ? |
22:26.50 | cr2 | awelux: unless it uses some serial proto. |
22:27.08 | awelux | cr2, it has. but I'm to lazy to srt it up. |
22:27.09 | joebush | should I put the firmware files in? Any point? |
22:27.15 | goxboxlive | Cr2: Not in the xda-ftp. Havent got write access there. |
22:27.23 | cr2 | jornada820 Li battery has a builtin microcontroller and talks RS232. |
22:27.49 | goxboxlive | joebush: The firware files is allredy located in '/lib/firmware/' |
22:27.50 | awelux | And I don't think I will find the adapter |
22:28.05 | cr2 | at 1200bps btw. |
22:28.15 | awelux | cr2, you are in high demand after your timeout ;) |
22:28.22 | joebush | Ok, didn't even look :/ |
22:28.23 | cr2 | :) |
22:29.12 | joebush | thanks again. Bye |
22:29.17 | joebush | Or....until nex ttime |
22:29.18 | goxboxlive | bye |
22:29.20 | cr2 | bye. |
22:30.18 | cr2 | goxboxlive: the "roadmap" has reached a stage where it can to point-to-point route planning! |
22:30.30 | cr2 | we need to make the bt gps work. |
22:30.55 | awelux | sweet. |
22:31.11 | awelux | btw. Any Idea why the serial driver might not work out of the box ? |
22:31.22 | cr2 | which one ? |
22:31.31 | awelux | the pxa.c |
22:31.48 | cr2 | how does it not work ? |
22:31.54 | awelux | It hands after it prints that it detected the first serial port |
22:31.59 | awelux | *hangs |
22:32.03 | awelux | kernel freezes |
22:32.27 | cr2 | you have set some parameters ? |
22:32.35 | awelux | no |
22:32.44 | cr2 | or maybe doing something strange afterwards ? |
22:32.49 | awelux | no |
22:33.02 | awelux | it should detect the second and third port |
22:33.03 | cr2 | what device driver is loaded after serial ? |
22:33.11 | awelux | but that doesn'T happen |
22:33.29 | cr2 | yes, but you may not see the output if the next driver crashes. |
22:33.38 | awelux | true. |
22:33.53 | awelux | I compiled the pxa as a module and used insmod |
22:34.02 | awelux | same result. it crashes |
22:34.05 | cr2 | ok. |
22:34.10 | cr2 | with oops ? |
22:34.13 | awelux | so I'm pretty sure it's the pxa serail |
22:34.18 | awelux | no oops. just freezes |
22:34.24 | cr2 | hmm. |
22:35.02 | awelux | It's ok. I didn't really start looking into it. Thought that maybe you experienced something like it before. |
22:35.41 | cr2 | no. |
22:35.54 | *** join/#htc-linux Silven (n=zmc@adsl-72-50-67-73.prtc.net) |
22:36.30 | awelux | But, while looking for the charge ic's I noticed that I've the same chipset for gsm as the blueangel. |
22:36.43 | awelux | So maybe phone support is much closer than I thought. |
22:37.43 | cr2 | yes. i think so. |
22:38.07 | cr2 | you can watch the i2c traffic and find out if you use a 0x18 or 0x1a id. |
22:38.34 | cr2 | and you need to know the mic/headphone gpios. |
22:38.35 | awelux | for initialization of at commands ? |
22:38.48 | cr2 | no. |
22:38.57 | cr2 | btw, can you log the at commands ? |
22:39.14 | awelux | I've no serial :) |
22:39.23 | awelux | or do you mean under windows? |
22:39.24 | cr2 | in wince registry. |
22:39.27 | cr2 | yes. |
22:39.42 | cr2 | it will create a Atdbg.log file |
22:39.54 | awelux | ic. that should help a lot. |
22:39.54 | cr2 | it worked on universal, blueangel and himalaya. |
22:40.12 | awelux | is it described in the wiki how to switch the log on ? |
22:40.41 | awelux | Silven, hi. Any progress finding documentation of registers ? |
22:40.42 | cr2 | hmm. yes. it's some key. maybe at the homepage of itsme. |
22:41.29 | Silven | awelux: sorry, got distracated.. someone was trying to hack in to our network :( |
22:41.32 | Silven | crack rather. |
22:41.50 | awelux | ouch. |
22:41.58 | Silven | yea |
22:42.03 | Silven | bit of a proble, |
22:42.08 | awelux | sad. Maybe just an automated attack ? |
22:42.32 | Silven | doubtful. |
22:42.36 | Silven | trying to trace it back. |
22:42.59 | Silven | looks like they got in through a user account on one of the servers and escalated themselves. |
22:52.28 | cr2 | http://forum.xda-developers.com/viewtopic.php?t=49560&highlight= |
23:12.52 | awelux | btw, you should upload the newer haret code somewhere. or was it on a cvs ? |
23:14.00 | cr2 | CVS. |
23:14.29 | awelux | And, TI is hosting a mailing list for omap related linux development and they have a 2MB kernel patch on their omap linux page. |
23:14.50 | awelux | It should be possible to get all the basic registers from there. |
23:15.17 | awelux | So while it's not documented there is still a lot of information available. |
23:15.39 | cr2 | h6300 is also omap. lamikr is doing the development. |
23:16.39 | cr2 | it is known where is the framebuffer. there is a htc bootloader bootloader for typhoon. |
23:18.31 | awelux | ok. Silven has a wizard and is eager to boot liniux. MAybe they can share some code or at least info. |
23:19.03 | awelux | Where do you store the 2.6.16 kernel which you tried to boot cr2 ? |
23:20.14 | cr2 | nowhere. and it's not easy to make a "straight" diff. i will think about it. |
23:21.26 | cr2 | hmm. maybe with some CVS trickery, by downloading the CVS from this earlier date. |
23:23.26 | awelux | ok. Aktually I didn't even find the cvs tag for the handheld 2.6.16 kernel. |
23:23.45 | cr2 | there is no such tag. |
23:24.08 | cr2 | we don't really need tags. |
23:24.32 | cr2 | i will merge blueangel into -un0 completely given some time. |
23:25.07 | cr2 | it is already merged, but some things need more attention (the himalaya remnants). |
23:26.02 | awelux | ok. no wonder I couldn't find it and the ts code changed a lot. |
23:26.20 | awelux | btw. I might have to modify the TS part quite a bit. |
23:26.37 | awelux | a) It must only send events when a certain preassure level is reached. |
23:26.49 | awelux | b) It should provide a way to read the battery status. |
23:28.01 | cr2 | look at 2.6.16 ads7* driver. |
23:28.07 | cr2 | it does that already. |
23:29.11 | awelux | thx :) |
23:30.41 | awelux | ok. enough for now. I took a day off on friday so hopefully there will be some progress over the weekend. |
23:30.57 | awelux | good night |