irclog2html for #htc-linux on 20060523

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.02silvenGreetings..
19:41.20silvenAnyone alive
19:41.21silven?
19:43.33*** join/#htc-linux Immolo (i=wgmbgkuf@cpc3-cosh1-0-0-cust1001.cos2.cable.ntl.com)
19:47.55silven?
19:52.54*** join/#htc-linux shift (i=shift@water.shiftnetwork.co.uk)
20:14.30goxboxlivesilven: hi
20:15.07silvenHey.
20:15.15silvenGood afternnon (if it's afternnon there)
20:16.07goxboxliveIt's good evening here  (Norway)
20:16.13silven:)
20:16.45silvenI have a HTC wizard and am interested in helping with linux development.
20:17.10silvenI was wondering how I can unbrick the machine if I flash a bad rom before i start messing aroumd.
20:18.13goxboxliveACtually 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.21silvenlol.
20:18.26silvenso what are you into?
20:18.49goxboxlivetesting and breaking :-)
20:19.04silvenSounds good.. do you have linux running on your mobile?
20:19.10goxboxliveI'm just intresting to play around with Linux.
20:19.21silvenon your desktop?
20:20.06goxboxliveNot 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.18goxboxliveboth desktop and the htc universal
20:20.25silvencool.
20:21.07silvenlooks similar to the wizard.. do you know offhand what processor it uses?
20:21.30aweluxhi silven , we can use any hands :)
20:21.39silvenhey!
20:21.54silvenLemme give you a rundown..
20:21.57goxboxlivesilven: http://www.handhelds.org/moin/moin.cgi/UniversalHardware
20:22.15silvenI have like 10 years of experience running linux, basic experience in C/C++/java/PHP/etc
20:22.25aweluxthat's plenty :)
20:22.29silvenJust got a HTC wizard and not happy about the os.
20:22.31aweluxmore than I have.
20:22.44aweluxI'm at 8 years
20:22.54silvenHaven't flashed anything yet beause I'm afraid of bricking it and I haven;t found a way to sync with linux
20:23.01silvenand I don't have a windows bix.
20:23.04silven*box
20:23.24silven(in all fairness I haven't dedicated a lot of time, but I want to change that)
20:24.06aweluxsilven, it will be a challenge.
20:24.37silvenI'm sure.
20:24.37aweluxthe main problem is that we found almost no documentation for your omap processor.
20:24.43silvenreally?
20:24.56silvenI went to texas instruents and found quite a bit.
20:25.10aweluxIt's using an arm core.
20:25.16silvenyea.
20:25.18aweluxSo we can use basic arm
20:25.38aweluxThe problem is: These embedded cpu's always contain a lot of peripherials on the chip
20:25.50aweluxAnd these are controlled through registers.
20:25.50silvenyes.
20:25.57silvenomap has almost everything integrated.
20:26.10aweluxThe registers are not part of the arm core and we are lacking a documentation.
20:26.32aweluxSo it will be a lot of reverse engineering of windows dlls :/
20:26.33silvenhmm
20:26.43aweluxBut there is some hope
20:26.49silvenDo we have a good way to get info into and out of the device?
20:27.08aweluxIt seams some companies wanted to use the omap with linux.
20:27.21silvenaccording to TI linux is officially supported.
20:27.29aweluxAnd they have written basic support for omap on an experimental board.
20:27.46aweluxsilven, if you are lucky you will find the specs somewhere.
20:28.09silvenI'm pretty sure I found them last week on the TI site..
20:28.13aweluxBut TI seams to be reluctant to hand out specs for free in general.
20:28.16silvenbut no register stuff.
20:28.33silvenjust the chipset spec. (what is included)
20:28.56aweluxdoes the wizard run on wince 2003 or 2005 ?
20:29.01silven2005
20:29.06silvenwell windows mobile 5
20:29.29aweluxok. goxboxlive do you know the status of synce related to windows mobile 5 ?
20:30.56aweluxFor 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.56goxboxliveawelux: No, but last time i checked it there where no progress. They said that there wasen't a priority for them
20:31.43aweluxSo what is the current way to swap files with wince and linux? Per SD card ?
20:31.58aweluxor IR transmission ?
20:32.28aweluxsilven, you have a tricky beast there ;)
20:32.39silvenbtw.. best i found on omaphttp://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12000&contentId=4679850
20:32.41silvengrr
20:32.45silvenhttp://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12000&contentId=4679
20:32.46silventher.e
20:33.16silveni was going to try to get IR working but I was worried they use a propritary communication protocol.
20:33.27silvenand I didn't feel like reverse engineering activesync5
20:33.53silvenI found some rom dumper and loader stuff that goes right to the CF card.
20:34.16silvenmy 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.31silvenafaik the device would be bricked and I would have no way to recover.
20:35.18aweluxIt's usually best to get the new rom's directly from the phone dealers and patch these.
20:35.38aweluxThe ones on xanadux seam to be also reliable.
20:36.20silvenokay, 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.27silvenhow would I reflash the rom in that case?
20:36.50aweluxI recommend a different way for starters:
20:37.16aweluxIt's probably easier to start linux from a running wince first.
20:37.24silvencool.
20:37.34aweluxThis way all the basic device initialisation is done already.
20:37.45silveni have gcc on there already,, can't get the shell to come up though.
20:38.10aweluxyou copied gcc to your wizard :)
20:38.12awelux?
20:38.28silvenyea..
20:38.32silventhere is a ppc port of it.
20:38.42aweluxoh.
20:38.57aweluxWell. forget about it for now :)
20:39.08aweluxYou will need two crosscompilers:
20:39.09silventhe 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.11silvenoka
20:39.13aweluxone for arm-wince
20:39.21aweluxand one for arm-linux
20:39.35silvenoka.. I can get those.
20:39.59aweluxI got the linux-wince compiler from the videolan client project
20:40.10aweluxThey have a package they use for their crosscompiles
20:40.30aweluxfor the linux-arm I recommend a gcc 3.4 version
20:40.55aweluxsince the 4.0 versions seam to have a problem with the code of some modules.
20:41.29silvenoka.. I have 3.4.6
20:41.33aweluxnice.
20:42.39aweluxWhen 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.01silvenwhat's the name of the linux-wince compiler?
20:43.28aweluxwince-arm-gcc4.0.0-cvs-linux-crosscompiler-20050517.tar.bz2
20:43.33aweluxI've this one
20:43.44aweluxDo some stuff on the device while the tool monitors the IO's
20:44.06aweluxThis way we found the IO pins for the keys etc.
20:44.14silvennifty
20:44.44aweluxAnd I just had to map them in a header file and the drivers yould start to work.
20:45.07aweluxUnfortunately this will be a bit tricky without knowledge of the registers.
20:45.37silvenbecause haret doesn't know where to look?
20:45.48aweluxexactly
20:46.08aweluxlet me take a look into the omap parts of the kernel.
20:46.28silvenoka..
20:46.51aweluxoh. btw. the register description for the intel pxa27x is about 1200 pages strong.
20:46.59silveni'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.07silvenoh crap!
20:47.08aweluxSo there is a lot of knowledge that'S not available right now.
20:47.11silvenlol
20:48.40aweluxThe good thing is that you will need very little hardware to boot linux.
20:49.33aweluxSoif 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.59silven1 sec
20:50.01silvenbrb
20:52.22silvensorry.. phn call.
20:52.30aweluxnp.
20:52.39silvenI'm trying to get the compiler from videolan.org
20:52.40aweluxThe info about the irq's and mmu could be found in the existing omap code already
20:53.30silvenso when I have the compiler I just download a tarball from kernel.org and compile it for arm?
20:53.54aweluxokno. The wince compiler is for the windows tools
20:54.11aweluxsince we would start linux from windows we need a windows side
20:54.42silvenright. like a bootstrapper for the kernel.
20:54.43aweluxwhich will switch of the irq's, copy the kernel from a SD card to the start of the ram
20:54.55aweluxswitch of mmu and jump into kernel.
20:54.58aweluxexactly.
20:55.00silvenright,
20:55.49aweluxI would download the gnu haret source from cr2's ftp and start from there.
20:56.20silvenis there a boostrap program already written?
20:56.55aweluxonly for the intel pxa.
20:57.13aweluxBut it should be possible to adjust it.
20:57.41aweluxI'm not familiar with the specifics of windows mobile 5 though.
20:58.01silvenokay.. got the wince-arm-gcc4.0.0-cvs-linux-crosscompiler, where's the cr2 ftpsite for haret?
20:58.02aweluxUnfortunately this way to linux will go through some windows programming ;)
20:58.09silvenigh
20:58.26aweluxhttp://jornada820.sourceforge.net/files/haret/
20:58.50aweluxIt's a bit out of date but you will have to adjust it anyway.
20:59.02silventhat's fine..
20:59.18silvenwm5 is pretty similar to wince.
20:59.22silvenmost wince programs run
20:59.57aweluxI've heared some bad things about not as easy to switch to kernel mode.
21:00.17aweluxBut we will see.
21:01.11aweluxYou 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.17silvenI 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.45aweluxDo you have an SD card reader?
21:01.53silventhe gnuharethelper.exe is that a wince executable?
21:02.04silvenyes. I'm pretty sure i can read it.
21:02.28aweluxyes. it's an executeable. It will do nothing. I don't recomment to run it.
21:02.42aweluxIt will write to a random location of your memory :)
21:02.58silvenoh dear.
21:03.08silvenwhat about:
21:03.10silvengnuharet-200604111910.exe
21:03.19aweluxFor the pxa it switches vibration on and off
21:03.44aweluxThinking about it it might even work for you since I think gnuharethelper uses wince functions for that
21:03.51silvenharet-gnu-20060217.tar.bz2
21:03.51silven?
21:03.57aweluxyes gnuharet-*.exe is the binary
21:04.01aweluxthe later is the source
21:04.03*** join/#htc-linux husam (n=kvirc@217.206.111.105)
21:04.03silvenahh okay
21:04.22aweluxyou can compile it with the vlc gcc for arm-wince
21:04.46aweluxYou will have to modify the source and replace the pxa specific parts with omap specific parts
21:05.29aweluxWith some luck and and a bit of skill you should be able to regain some of the functionalities.
21:05.39awelux<PROTECTED>
21:06.05aweluxharet also has a command bootlinux (or boot2 in this case) to boot linux.
21:06.30silvencool!
21:06.40aweluxuntar the haret-gnu src and look into the file src/linboot.c
21:07.06aweluxs/linboot.c/linboot.cpp/
21:10.08aweluxWhile you are working on the device you could probably write down the found and decoded registers somehwere.
21:10.19aweluxMaybe someone started something like that already
21:11.25aweluxYou could start an omap-register page or something like that on the xanadux wiki
21:11.30silvenDo you know what filesystem the SD has?
21:11.45silven(well mini-sd in this case)
21:14.27aweluxprobably fat16
21:14.31aweluxso type 6
21:14.45aweluxin fdisk. the mkfs.vfat
21:14.45silventype 6?
21:15.25aweluxAt least that's what we use on normal SD cards and they should be similar
21:15.30silvenhmm
21:15.36silvenhaving trouble reading it.
21:16.14aweluxI mean filesystem typ 6
21:16.31aweluxyou 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.57aweluxhttp://www.muru.com/linux/omap/
21:17.00*** join/#htc-linux rmoravcik (n=rmoravci@icm1-orange.orange.sk)
21:17.11aweluxthese guys seam to be concerned with linux ports for TI
21:17.36aweluxwohoo
21:17.56aweluxthere are huge patches available for the omap from there
21:18.04aweluxThey should contain many more registers.
21:18.39aweluxUnfortunately not for the omap850 but the predecors. But probably they are not that different.
21:19.00silvenworking on getting that sd to read.
21:19.07silvensomething is flaky.
21:20.03aweluxMaybe you can find contacts in TI there who can help out with register descriptions.
21:20.06aweluxyou could also sell the wizard on ebay, buy another one there with an intel pxa and save yourself a lot of trouble :)
21:20.29silvenlol
21:23.54silvensometing wacky with my sd reader. says it can'
21:23.56silvent be read.
21:24.05silvenI'm going to clean it, seems dirty :)
21:24.53aweluxgood luck :)
21:25.15silvenThnks.
21:26.09silvenoka.. that was it.. it was dirty.
21:27.35aweluxwow. lucky
21:28.01aweluxYou can also try to register on my.TI and hope you will get more informations.
21:28.02silventhere wasn't much to be wrong.. it's a ide-scsi sd reader.
21:28.27silvengoing to see if haret runs without modifications..
21:33.06silventhis is hella cool.. I'm telnetted into my phone over a vpn. :)
21:33.18silvenharet is running happily.
21:33.40silvenWelcome, this is GNU/HaRET running on WindowsCE v5.1
21:33.40silvenPWMinimal virtual address: 00010000, maximal virtual address: 7fffffff
21:33.41silvenCPU is ARM ARM arch unknown(6) stepping 3 running in user mode
21:35.46aweluxwow
21:36.19aweluxthat is indeed cool. Didn't think it would work.
21:36.38aweluxhow did you connect to the phone?
21:36.42silvenopenvpn..
21:36.48silventelnet charon 9999
21:36.49silven:)
21:37.13aweluxinteresting.
21:38.35aweluxthere is a wealth of information at muru.com
21:39.22aweluxIf you search the archives you might find what sources they use.
21:39.49aweluxProbably some people who had access to the register data through a nda.
21:39.58aweluxMaybe even some TI employees
21:40.45aweluxSo posting there and ask for entry points after you searched for similar posts might help.
21:41.42aweluxit looks like the mailing list is maintained by TI.
21:46.48joebushJust put Opie on my Universal. Accessing the screenshot function made it hang. Anything I can do without rebooting?
21:47.29goxboxlivejoebush: ssh it and kill or restart opie
21:48.17joebushcan you ssh to it through usb?
21:49.00goxboxlivefrom linux on your computer.
21:50.04joebushbut is that using usb?
21:50.22goxboxlivejoebush. The ip on the universal is: 192.168.0.202 . Log in as root and the password is rootme. Yes over USB
21:50.26aweluxjoebush, that depends on the kernel
21:50.52aweluxI think all the percompiled kernels support usbnet.
21:51.02joebushactually, when it started, I noticed it received an IP with 193.x.x.x
21:51.03joebushCan't imagine why
21:51.17goxboxliveI f you have build the kernel yourself without doing anything to the config is should have g_ether support
21:51.32aweluxif 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.39joebushI downloaded the kernel (precompiled)
21:51.52goxboxliveok, it has usbnet support
21:52.36aweluxthen you need to type "ifconfig usb0 192.168.0.206"
21:52.52aweluxand then ssh -l root 192.168.0.206
21:53.11goxboxlivein the Opie image for universal the usb0 is set to 202
21:54.37joebush193.213.112.4 ..... why in the world would it get that address?
21:54.47goxboxliveand 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.23goxboxliveI am the one who build the opie-image. I forgot to delete it. It's my dns adress :-)
21:55.30joebushhehe
21:55.53joebushwas worried it had 3g support and turned on by default
21:56.15joebushahh, found the console :)
21:56.15goxboxlivecr2: Hi, hwo are you. Long time no seen
21:56.49aweluxhi cr2 !
21:56.53joebushno interfaces with that address though
21:56.54aweluxwhere have yoiu been ?
21:57.45goxboxlive192.168.0.202 is the Universal. The usb0 on your computer should be 192.168.0.200
21:58.04aweluxjoebush, probably because the 193.... is goxboxlive's ip?
21:58.49joebushis there a key that is mapped to ctrl?
21:58.58goxboxliveawelux: No, that's just a dns adress. Shouldnt have nothing to do with it.
21:59.04cr2hi guys
21:59.12cr2i was in east germany last week.
21:59.14goxboxliveyes the "message" button
21:59.18goxboxlive(key)
21:59.39joebushthanks :D
21:59.40cr2hacking linux is fun but i have a fulltime job :)
21:59.48aweluxhehe. ok.
21:59.50goxboxlivejoebush: And the *explorer' key is "alt"
21:59.58joebushcr2, you could always quit
21:59.59joebushyour job
22:00.09cr2:LOL:
22:00.09joebushwhat about the windows key
22:00.31aweluxcr2, the TS of the universal is working :)
22:00.33goxboxlive"dead" i guess,
22:00.48cr2that's true. then i will lose the inet connection ;)
22:01.22cr2i have seen it in the CVS. but i still don't understand the reason.
22:02.19awelux2 problems: a) the new driver tried to reverse the nonlinearities. So we never saw when it was actually linear.
22:02.32cr2you 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.43joebushHow stable is wireless on the Universal?
22:02.58cr2joebush: not really AFAIK.
22:03.13aweluxb) The TSC2046 can use several modes how to apply the reference voltages for each axis. We had to select the right one.
22:03.16joebushonly net through USB? :o
22:03.44aweluxgoxboxlive, tried them out and at one point had the idea to load the old driver without the "correction" and it just worked :)
22:03.46cr2bluetooth is also not really working.
22:03.57cr2you can try IR.
22:04.01joebushhehe
22:04.33joebushnot that desparate. Can always boot into WM
22:04.34cr2awelux: ok. sounds good.
22:05.04cr2goxboxlive: did you disable the /dev/ttyS1 for gpsd ?
22:05.08joebushIs the universal still actively being developed?
22:05.13cr2yes.
22:05.18aweluxvery ;)
22:05.29cr2it is the most actively deleveloped phone.
22:05.34cr2htc phone.
22:05.56cr2there is also moto a780, but they have it easier.
22:06.12joebushdoes it charge when plugged in?
22:06.33cr2there are some bugs, but probably yes.
22:06.48joebushok, thought I'd ask since the led is off
22:06.55cr2at least it does what wince is doing.
22:06.55goxboxlivecr2: 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.01joebushand the power app says it's at o%
22:07.15cr2the leds are also not quite right :)
22:07.26aweluxAfter reading through a lot of li-ion batterie documentation I don't think it's possible to overload the device.
22:08.00joebushshit, hung it again
22:08.05cr2awelux: ok
22:08.10cr2joebush: how ?
22:08.14joebushI have to stop pressing buttons I know won't do anything
22:08.44joebushgot a windows up "Send via OBEX"
22:08.45cr2goxboxlive: we can write a "patch" script to change the opie image. no need to recompile everything.
22:08.48joebushpressed send
22:09.19aweluxI'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.45aweluxBut they some provide signaly if this voltage is already reached.
22:10.01aweluxOr 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.12cr2there are 4 pins
22:10.30goxboxlivecr2: 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.39joebushdon't suppose it is possible to connect it to an XP machine
22:10.41cr2the 2 middle are for the communication, but what protocol they use depends on the battery, it seems.
22:10.52joebushDon't have Linux installed on my pc
22:11.19joebushonly in vmware
22:11.29cr2joebush: then it is tricky.
22:12.12cr2but i don't use windows, so can't give any certain advice.
22:12.13goxboxlivejoebush: Just download a live-cd, and the problem is solved.
22:12.44joebushtrue
22:13.13aweluxcr2, do you have any idea who made the pictures of the magician pcb?
22:13.21joebushunfortunately, I like games. Always end up with windows again
22:14.05aweluxI'd like to ask him if he found the vibra inside the magician or if it is in the battery
22:17.08joebushI installed using the UniversalProgress page. Are the linked files up to date, or are there newer kernels/opie available?
22:17.32joebushAnd is Opie the only choice? most functional?
22:21.11goxboxlivejoebush: 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.14joebushbtw, I ended up downloading Opie from handhelds.
22:21.16cr2awelux: no, but i think it was itsme.
22:21.30cr2because he has a magician.
22:21.35aweluxOk. I will ambush him  ;)
22:21.56aweluxI will have two soon. One get's a teardown.
22:22.05cr2cool :)
22:22.39aweluxAnd I'm planning on monitoring the charge process to understand it better. Maybe remove some plastic of the battery.
22:23.04aweluxI decided to get a second when I almost killed mine.
22:23.11joebushOk, couldn't get the one at xda-developers
22:23.11joebushhalted after a few seconds
22:23.26cr2joebush: gpe works too (the blueangel version). But it looks ugly. to my taste.
22:23.40cr2at 640x480 resolution.
22:23.44aweluxIt 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.50joebushthanks for the help. I think Opie looks nice. But the hangs are annoying
22:23.50goxboxlivejoebush: 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.09joebushI have the image from xda and opie from handhelds
22:24.12cr2awelux: do you have an oscilloscope ?
22:24.31aweluxI had an old one but threw it away.
22:24.50aweluxI can go to the nearby university and access their lab.
22:24.52goxboxlivejoebush: The zImage form xda-ftp is old. It doesnt have fully working touchscreen.
22:25.16aweluxUnfortunately I'm usually working during the day.
22:25.28joebushseems ok normally. Maybe that is what is causing the hangs
22:25.46cr2i 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.16goxboxlivejoebush. Ok, it seems like you have the latest kernel. Because you would hav noticed that you where using the old touchscreen driver.
22:26.20aweluxIt should be enough to meassure the voltage every 5 min and when the load indicator led changes.
22:26.39cr2goxboxlive: can you delete the old images ?
22:26.50cr2awelux: unless it uses some serial proto.
22:27.08aweluxcr2, it has. but I'm to lazy to srt it up.
22:27.09joebushshould I put the firmware files in? Any point?
22:27.15goxboxliveCr2: Not in the xda-ftp. Havent got write access there.
22:27.23cr2jornada820 Li battery has a builtin microcontroller and talks RS232.
22:27.49goxboxlivejoebush: The firware files is allredy located in '/lib/firmware/'
22:27.50aweluxAnd I don't think I will find the adapter
22:28.05cr2at 1200bps btw.
22:28.15aweluxcr2, you are in high demand after your timeout ;)
22:28.22joebushOk, didn't even look :/
22:28.23cr2:)
22:29.12joebushthanks again. Bye
22:29.17joebushOr....until nex ttime
22:29.18goxboxlivebye
22:29.20cr2bye.
22:30.18cr2goxboxlive: the "roadmap" has reached a stage where it can to point-to-point route planning!
22:30.30cr2we need to make the bt gps work.
22:30.55aweluxsweet.
22:31.11aweluxbtw. Any Idea why the serial driver might not work out of the box ?
22:31.22cr2which one ?
22:31.31aweluxthe pxa.c
22:31.48cr2how does it not work ?
22:31.54aweluxIt hands after it prints that it detected the first serial port
22:31.59awelux*hangs
22:32.03aweluxkernel freezes
22:32.27cr2you have set some parameters ?
22:32.35aweluxno
22:32.44cr2or maybe doing something strange afterwards ?
22:32.49aweluxno
22:33.02aweluxit should detect the second and third port
22:33.03cr2what device driver is loaded after serial ?
22:33.11aweluxbut that doesn'T happen
22:33.29cr2yes, but you may not see the output if the next driver crashes.
22:33.38aweluxtrue.
22:33.53aweluxI compiled the pxa as a module and used insmod
22:34.02aweluxsame result. it crashes
22:34.05cr2ok.
22:34.10cr2with oops ?
22:34.13aweluxso I'm pretty sure it's the pxa serail
22:34.18aweluxno oops. just freezes
22:34.24cr2hmm.
22:35.02aweluxIt's ok. I didn't really start looking into it. Thought that maybe you experienced something like it before.
22:35.41cr2no.
22:35.54*** join/#htc-linux Silven (n=zmc@adsl-72-50-67-73.prtc.net)
22:36.30aweluxBut, while looking for the charge ic's I noticed that I've the same chipset for gsm as the blueangel.
22:36.43aweluxSo maybe phone support is much closer than I thought.
22:37.43cr2yes. i think so.
22:38.07cr2you can watch the i2c traffic and find out if you use a 0x18 or 0x1a id.
22:38.34cr2and you need to know the mic/headphone gpios.
22:38.35aweluxfor initialization of at commands ?
22:38.48cr2no.
22:38.57cr2btw, can you log the at commands ?
22:39.14aweluxI've no serial :)
22:39.23aweluxor do you mean under windows?
22:39.24cr2in wince registry.
22:39.27cr2yes.
22:39.42cr2it will create a Atdbg.log file
22:39.54aweluxic. that should help a lot.
22:39.54cr2it worked on universal, blueangel and himalaya.
22:40.12aweluxis it described in the wiki how to switch the log on ?
22:40.41aweluxSilven, hi. Any progress finding documentation of registers ?
22:40.42cr2hmm. yes. it's some key. maybe at the homepage of itsme.
22:41.29Silvenawelux: sorry, got distracated.. someone was trying to hack in to our network :(
22:41.32Silvencrack rather.
22:41.50aweluxouch.
22:41.58Silvenyea
22:42.03Silvenbit of a proble,
22:42.08aweluxsad. Maybe just an automated attack ?
22:42.32Silvendoubtful.
22:42.36Silventrying to trace it back.
22:42.59Silvenlooks like they got in through a user account on one of the servers and escalated themselves.
22:52.28cr2http://forum.xda-developers.com/viewtopic.php?t=49560&highlight=
23:12.52aweluxbtw, you should upload the newer haret code somewhere. or was it on a cvs ?
23:14.00cr2CVS.
23:14.29aweluxAnd, 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.50aweluxIt should be possible to get all the basic registers from there.
23:15.17aweluxSo while it's not documented there is still a lot of information available.
23:15.39cr2h6300 is also omap. lamikr is doing the development.
23:16.39cr2it is known where is the framebuffer. there is a htc bootloader bootloader for typhoon.
23:18.31aweluxok. Silven has a wizard and is eager to boot liniux. MAybe they can share some code or at least info.
23:19.03aweluxWhere do you store the 2.6.16 kernel which you tried to boot cr2 ?
23:20.14cr2nowhere. and it's not easy to make a "straight" diff. i will think about it.
23:21.26cr2hmm. maybe with some CVS trickery, by downloading the CVS from this earlier date.
23:23.26aweluxok. Aktually I didn't even find the cvs tag for the handheld 2.6.16 kernel.
23:23.45cr2there is no such tag.
23:24.08cr2we don't really need tags.
23:24.32cr2i will merge blueangel into -un0 completely given some time.
23:25.07cr2it is already merged, but some things need more attention (the himalaya remnants).
23:26.02aweluxok. no wonder I couldn't find it and the ts code changed a lot.
23:26.20aweluxbtw. I might have to modify the TS part quite a bit.
23:26.37aweluxa) It must only send events when a certain preassure level is reached.
23:26.49aweluxb) It should provide a way to read the battery status.
23:28.01cr2look at 2.6.16 ads7* driver.
23:28.07cr2it does that already.
23:29.11aweluxthx :)
23:30.41aweluxok. enough for now. I took a day off on friday so hopefully there will be some progress over the weekend.
23:30.57aweluxgood night

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.