IRC log for #htc-linux on 20090606

00:13.39high-rezCan you create a pdp context with it ?
00:21.02tmzthigh-rez: with android?
00:21.20tmztdo you mean gprs or something else?
00:23.15high-rezYeah, I mean with android - can the phone GPRS Attach e.g. create a PDP Context.
00:24.29high-rezE.g. use the cell phone's gprs/edge/umts/hs[n]pa modem :)
00:30.57tmztI think you use Togga for that
00:31.09tmztif you have the latest kernel from git umts should work
00:31.17high-rezInteresting.
03:08.52*** join/#htc-linux mrmoku|a` (n=mrmoku@93.104.51.226)
03:18.00*** join/#htc-linux keyhive (n=neophyte@CPE00222d1d03eb-CM00222d1d03e7.cpe.net.cable.rogers.com)
04:43.24*** join/#htc-linux droid0011 (n=mc@p4FDCF179.dip.t-dialin.net)
06:15.37paryeah i use togga to bring up cdma
06:16.08paryou would do the same for umts
06:42.12*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfdc33.pool.einsundeins.de)
06:42.32*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c22b.pool.einsundeins.de)
06:48.43*** join/#htc-linux WyrM (n=wyrm@unaffiliated/wyrm)
08:02.13*** join/#htc-linux Zoolooc_ (n=fredsiba@nrbg-4dbfea50.pool.einsundeins.de)
08:05.51*** join/#htc-linux goxboxlive (n=goxboxli@237.80-202-137.nextgentel.com)
08:09.23*** join/#htc-linux wdslbr (n=asa@dslb-088-069-212-230.pools.arcor-ip.net)
08:52.38*** join/#htc-linux WyrM (n=wyrm@unaffiliated/wyrm)
09:21.25*** join/#htc-linux wdslbr (n=asa@dslb-088-069-212-230.pools.arcor-ip.net)
09:45.08*** join/#htc-linux IamSOG (n=SOG@n219079053081.netvigator.com)
09:52.14*** join/#htc-linux nebi_ (n=nebi@217.142.147.19)
10:16.04*** join/#htc-linux Shinto (n=John@f049060073.adsl.alicedsl.de)
10:26.45*** join/#htc-linux MLM (n=mlvdmeid@meide.xs4all.nl)
10:34.41*** join/#htc-linux zycho (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net)
10:40.30*** join/#htc-linux zycho_ (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net)
10:55.56*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
10:57.17*** join/#htc-linux stefan_schmidt (n=stefan@p5B034F85.dip.t-dialin.net)
11:03.52*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
11:08.03*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
11:29.11*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
11:53.34*** join/#htc-linux hp (n=chatzill@213.233.88.168)
12:09.39liahimcociubax
12:11.46pareh/
12:12.30liahimcociubahello, where can i find the latest build for blueangel?
12:12.31*** join/#htc-linux surge (i=surge@pool-98-118-165-224.bflony.fios.verizon.net)
12:12.44parare you serious?
12:13.05parwhat ui do you want to run
12:14.10parwhat user interface do you want to run?
12:14.27parthere is angstrom with various ui's like
12:14.30parQTopia
12:14.35parGPE
12:14.59parits from around march 2008
12:15.07parQTopia is
12:15.35pari suggest it
12:22.29*** join/#htc-linux StarLite (n=nnscript@s55916ca6.adsl.wanadoo.nl)
12:25.01*** join/#htc-linux lucxxx (n=root@89-115-128-35.cl.ipv4ilink.net)
13:02.42*** join/#htc-linux stefan_schmidt_ (n=stefan@p5B03593B.dip.t-dialin.net)
13:11.15stefan_schmidt_Anyone here worked on the Athena kernel support?
13:56.22*** join/#htc-linux lucxxx (n=root@89-115-128-35.cl.ipv4ilink.net)
13:58.55*** join/#htc-linux nebi_ (n=nebi@217.142.147.19)
14:27.04*** join/#htc-linux ltxda (n=anon@unaffiliated/ltxda)
14:33.27*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
14:56.39*** join/#htc-linux zycho (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net)
15:28.16*** join/#htc-linux sxe (n=sxe@ip-62-143-83-75.unitymediagroup.de)
15:28.29sxehi
15:36.59*** join/#htc-linux cr2 (n=cr2@ip-90-187-99-116.web.vodafone.de)
15:38.07*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
15:38.39stefan_schmidt_cr2: Hi. You did some kernel work on the Athena?
15:42.29parhi stefan_schmidt
15:42.33parhow have you been
15:42.42parhow is openezx going
15:44.34stefan_schmidt_hi par
15:45.03stefan_schmidt_par: Pretty good actually. Wyrm found a datasheet for the PCAP2 under a different name.
15:45.34stefan_schmidt_par: The MFD core driver for it is already in linux-next and There is progress on all fronts.
15:46.12stefan_schmidt_par: It's just that I'm not really into openezx kernel work anymore. Wyrm does a great job here.
15:46.17stefan_schmidt_par: How are you?
15:46.37pari'm fine,
15:47.07para lot fo what is occuring here is getting android up and running on various models lately.
15:47.34parpersonally i like htc-linux or (xanadux)
15:49.14stefan_schmidt_par: (android) yup, figured it.
15:49.29stefan_schmidt_is more interested in the kernel side tho
15:50.06stefan_schmidt_What me really interests atm is how similar the msm6281 modems are to the modem part of the msm7k SoCs
15:51.26stefan_schmidt_Athena seems to have a combination like this. An older pxa SoC and and older msm modem tho.
15:55.03pardid you look at the code in angstrom for the drivers?
15:55.34stefan_schmidt_What should angstrom have to do with it?
15:55.43stefan_schmidt_I would search for a kernel tree :)
15:55.48stefan_schmidt_http://github.com/mistadman/android-athena/tree/master
15:56.09paryeah well sorry i haven't slept all night
15:56.18stefan_schmidt_That's what I found. But the htcathena_dpram_core.c is not in the repo. Mailed the author
15:56.24paryeah just check out the kernel..
15:56.54stefan_schmidt_par: Then better take a rest. Humans need sleep. (From time to time)
15:58.51cr2stefan_schmidt_: i didn't work on the dpram linux driver, but did some disassembling
15:59.04stefan_schmidt_cr2: ok
15:59.17stefan_schmidt_cr2: Any pointer to some information about it?
15:59.32cr2stefan_schmidt_: the main difference to the msm smd code is that the single channels use gpio interrupts
15:59.41stefan_schmidt_cr2: mistadman was the only one workignon it?
15:59.49cr2stefan_schmidt_: but it's similar to the blueangel driver.
16:00.07stefan_schmidt_cr2: That's good news!
16:00.21cr2yes, he did some haret tracing
16:00.30*** join/#htc-linux Emo (n=x@unaffiliated/egns)
16:00.54stefan_schmidt_cr2: yup, that's also on my agenda. Has to wait until I have the device here.
16:00.58cr2but i didn't see anything new in his code.
16:01.08stefan_schmidt_cr2: In which repo is the blueangel driver?
16:01.10cr2stefan_schmidt_: you will have athena ?
16:01.19cr2hh.org
16:01.46cr2i want to copy xda-dev athena wiki pages to htc-linux.org
16:01.57stefan_schmidt_cr2: no, Samsung omnia. But the setup smells similar. Just newer. PXA312 + MSM6281 with dual port ram in between.
16:02.15stefan_schmidt_oh, there is a htx-linux.org page.
16:02.25stefan_schmidt_You guys get organized. :)
16:02.27par:pserver:anoncvs@anoncvs.handhelds.org:/cvs checkout linux/kernel26
16:02.34stefan_schmidt_hopes for a mailling list :)
16:02.39cr2http://wiki.xda-developers.com/index.php?pagename=AthenaDPRAM
16:02.54stefan_schmidt_cr2: yup, that one I already found. Just no driver
16:03.06cr2BA dpram driver also has 2 512byte rx/tx fifos
16:03.10stefan_schmidt_par: thanks. Let's see if I still have cvs installed. ;)
16:03.26stefan_schmidt_cr2: great, so I will have a look at this one then.
16:03.50cr2stefan_schmidt_: i'm looking for the ba dpram driver link
16:03.58parhtcathena and ba kernel code are in that repo
16:05.19cr2stefan_schmidt_: http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/arch/arm/mach-pxa/htcblueangel/blueangel_dpram.c
16:05.53parah right the cvsweb ;)
16:06.34stefan_schmidt_Thanks guys. That gives me some reading tonight.
16:06.52stefan_schmidt_Have to run now. Movie is waiting. later
16:10.12*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
16:16.01tmztpar:  most of the work is kernel work or research
16:16.36tmztit's possible to support android once that is done but it's not the focus
16:20.33pari was just going by a majority average of the questions posed here ;)
16:21.31tmztyeah, a lot of questions about android, true
16:25.06paris everything finished with your nand layout
16:25.27pari mean, does it look feasible to have dual boot in nand?
16:27.46tmztwell, I guess we would have to use uldr for that and I'm not quite sure how
16:28.10*** join/#htc-linux Marex (n=vasum7am@u-pl15.ms.mff.cuni.cz)
16:28.26tmztalso not sure how to access the amss partition table to find the beginning of APPS
16:29.26*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
16:29.27cr2tmzt: ?
16:30.21tmztbutI think we can hardcode it to yhe the end of spl, oemmisc or whatever
16:30.28tmztcr2: hey
16:30.34parthe partitions usually go uldr, xip, imgfs i think
16:30.56tmztand tfat
16:31.32tmztcr2: have you looked at OS.nb.payload or a nand dump with nbinfo?
16:31.51cr2hmm.
16:32.17tmztit shows beginning of imgfs and length
16:32.35tmztbut I think mbr is enough anyway
16:33.29cr2ok, i'll try
16:33.39tmzthow is mtd going?
16:35.03tmztcmonex: if tfat is corrupt or not valid tfat, will it hard reset and reformat tfat?
16:43.41*** join/#htc-linux Phlogi_ (n=quassel@79-29.76-83.cust.bluewin.ch)
16:44.40Phlogi_anyone is able to get android-msm-2.6.29 kernel working on the g1?
16:48.22*** join/#htc-linux Guest3296 (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
17:30.19*** join/#htc-linux pH5 (n=ph5@e178235092.adsl.alicedsl.de)
17:44.16*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
17:45.41*** join/#htc-linux tsdogs (n=tsdogs@net203-187-146.mclink.it)
18:07.47*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
18:20.41cr2LOL
18:21.14cr2pH5-evoked ASIC3-like currents were recorded at -80 mV from cultured rat DRG neurons.
18:22.20cr2wild-type homomeric ASIC3 receptor activated by pH5 either expressed alone (A) or in the presence of the ASIC3
18:23.58pH5hehe.
18:24.25pH5"ASIC3, an acid-sensing ion channel subunit expressed essentially in sensory neurons, has been proposed to be involved in pain."
18:24.29pH5sounds about right to me
18:24.33tmztcr2, I thought you were a physicist?
18:25.10tmzthttp://zrusin.blogspot.com/2009/05/opengl-es.html
18:25.15cr2i was searching on google
18:25.18tmztno idea if it's useful to us
18:25.24tmztthat's real?
18:25.51cr2pH5: ASIC3, the most sensitive of the acid-sensing ion channels, depolarizes certain rat sensory neurons
18:28.05cr2tmzt: for hw accel we still need to know the msm internals.
18:29.00tmztthink something like mmiotrace would work?
18:29.19tmztor trapping pmem writes?
18:29.31cr2pH5: what did you want to know about asic3_spi ? i digged out my athena archive now, can look at ba/sable too
18:29.36tmztnot now anyway, too many things need done first of course
18:30.03cr2tmzt: yeah. rpc, nand
18:32.51tmztis there a patch for returning true from the fbset ioctl?
18:39.39pH5cr2: I wanted to know how to activate/reset the BA keyboard (is the reset gpio active low?) and whether there's another gpio involved apart from reset and cs.
18:39.46pH5for what does athena use asic3_spi?
18:44.05cr2pH5: athena does not have asic3. i had all devices in 1 directory, but now i see that the archive is splitted. looking for uni/ba/sable now
18:47.16cr2tmzt: nbinfo. old one
18:47.20cr2NBInfo 2.0 RC 2
18:47.22cr2Partition table:
18:47.44cr2Partition 0
18:47.46cr2-----------
18:47.47cr2<PROTECTED>
18:47.49cr2<PROTECTED>
18:47.50cr2<PROTECTED>
18:47.58cr2Partition 1
18:47.59cr2-----------
18:48.01cr2<PROTECTED>
18:48.02cr2<PROTECTED>
18:48.04cr2<PROTECTED>
18:48.11cr2Partition 2
18:48.13cr2-----------
18:48.14cr2<PROTECTED>
18:48.16cr2<PROTECTED>
18:48.17cr2<PROTECTED>
18:48.23cr2Partition 3
18:48.25cr2-----------
18:48.26cr2<PROTECTED>
18:48.28cr2<PROTECTED>
18:48.29cr2<PROTECTED>
18:48.52tmztok, that's what cmonex called mbr I think
18:48.59tmztthat should be enough?
18:49.10cr2...
18:49.13cr2<PROTECTED>
18:49.15cr2<PROTECTED>
18:49.17cr2<PROTECTED>
18:49.56cr2how can i apply it to the raw nand dump ?
18:50.20cr2<PROTECTED>
18:50.21cr2<PROTECTED>
18:51.20tmztI think you have to use nbsplit first
18:51.38tmztif cmp the Part02 dump with OS.nb it should differ at 2049 I think
18:52.10cr2nbsplit what ?
18:52.20tmztthe Part02.img
18:52.38tmztnbsplit -kais or -titan Part02.img
18:57.04cr2if i have it dumped properly
18:57.40tmztdumped with what?
18:57.45tmztitsutils or mtd?
18:58.08cr2itsutils
18:58.13cr2[Mo Jun 1 2009] [14:07:11] <cr2>        [Mo Jun 1 2009] [02:08:13] <cr2>        458.50M (0x1ca80000) DSK1:
18:58.15cr2[Mo Jun 1 2009] [14:07:12] <cr2>        [Mo Jun 1 2009] [02:08:13] <cr2>        |           3.12M (0x31f000) Part00
18:58.16cr2[Mo Jun 1 2009] [14:07:12] <cr2>        [Mo Jun 1 2009] [02:08:13] <cr2>        |           4.50M (0x480000) Part01
18:58.18cr2[Mo Jun 1 2009] [14:07:12] <cr2>        [Mo Jun 1 2009] [02:08:13] <cr2>        |         143.38M (0x8f60000) Part02
18:58.19cr2[Mo Jun 1 2009] [14:07:12] <cr2>        [Mo Jun 1 2009] [02:08:13] <cr2>        |         307.50M (0x13380000) Part03
18:58.21cr2[Mo Jun 1 2009] [14:07:41] <cr2>        and wince talks about  306.23MB disk size
18:58.35cr20x63e*2
18:58.39tmztok
19:01.59cr2awk '{printf("%x\n",0x63e/2)}'
19:02.00cr231f
19:02.25cr2awk '{printf("%x\n",0x900/2)}'
19:02.26cr2480
19:03.01cr2these are ok
19:03.25cr2awk '{printf("%x\n",0xfb80/2)}'
19:03.26cr27dc0
19:04.17cr2awk '{printf("%x\n",0x2a500/2)}'
19:04.18cr215280
19:04.29cr2these do not match
19:04.44cr2may be my own rom though.
19:04.51tmztmatch what?
19:04.58tmztPart03?
19:04.59cr2itsutils output
19:05.02tmztls -lk
19:05.12cr2Part02 and Part03
19:05.24tmztsectors could be different there
19:06.55cr2imgfs is 131858432 =0x7dc0000
19:07.01cr2no
19:07.09cr2it's just different rom i think
19:07.15tmztah
19:08.05cr2taht's bad
19:08.28cr2because you need to adjust the lnx partition table to a rom ;)
19:08.44tmztwhat do you mean?
19:08.47cr2354942976 = 0x15280000
19:08.55cr2to mount fat
19:09.00tmztcan we pass the partition table from haret the same way itsutils gets it?
19:09.10tmztor is that version wrong?
19:09.35cr2we can, but how do we find these numbers with haret ?
19:09.51tmztdo you have itutils source?
19:10.16cr2yes
19:10.36cr2btw
19:10.40cr2[20:47] <cr2>  File System:    0x20 (boot)
19:10.42cr2[20:47] <cr2>  Start Sector:   0x00000002
19:11.08cr2Part0 starts with 4K offset ?
19:11.17cr2hm. probably in .nb
19:12.18cr2i'll look at 0x8f60000 offset
19:16.00cr2hm. +0x2820000
19:16.23tmztnot following, it seems all tables are 2k aligned on msm
19:16.29cr2b780000
19:16.39*** join/#htc-linux j0b0 (n=jobo@77.63.184.98)
19:17.23cr2all ff there
19:17.35cr2erm
19:17.51cr2+0x31f000 + 0x480000
19:18.17cr2bf1f000
19:18.56cr2also ff
19:19.42cr2found MSWIN4.1 TFAT32 :)
19:19.52cr2but at a different offset.
19:20.08cr2must be my braindead dump
19:20.46tmztthose should be in different sectors though?
19:21.40cr2yes
19:21.55cr2i don't remember exactly how i dumped them
19:21.56tmztok
19:22.07cr2i was excited to see the full dump
19:22.18cr2and dumped it in pieces
19:22.34cr2to be sure that it dumps something
19:23.40cr2-rw------- 1 root root   3272704 26. Apr 10:07 RAPH00
19:23.41cr2-rw------- 1 root root   4718592 26. Apr 10:13 RAPH01
19:23.43cr2-rw------- 1 root root 150339584 26. Apr 10:24 RAPH02
19:23.44cr2-rw------- 1 root root 322437120 26. Apr 10:41 RAPH03
19:24.42stefan_schmidt_cr2: I had a quick look at the blueangel dual port ram driver. It exposes an uart to userspace, but is not used for the modem as that one is on FFUART?
19:25.13cr2stefan_schmidt_: it's used for pppd (gprs)
19:25.27stefan_schmidt_cr2: ah, ok. Strange setup.
19:25.38cr2stefan_schmidt_: it's a soft-uart driver
19:25.57cr2with one channel
19:26.00stefan_schmidt_cr2: You start the PDP context on the FFUART and then data over that one?
19:26.12stefan_schmidt_Or everything over this one?
19:26.27cr2smd on msm can be used for a multiport setup
19:26.43stefan_schmidt_yeah, seen it
19:26.56stefan_schmidt_It's also used for the gpsone technology from msm
19:26.58cr2i call the umts number on 1 uart, get the connect and start pppd on the second uart. the same on msm*
19:27.12stefan_schmidt_cr2: ok, thanks
19:27.13cr2gpsone is a complex setup
19:27.24stefan_schmidt_oh, really?
19:27.26cr2you has one more uart channel for nmea
19:27.38cr2but the control goes over rpc channel
19:27.40stefan_schmidt_I hoped it would be some gpio fiddling and then NMEA on the smd
19:27.48stefan_schmidt_urgs
19:27.58stefan_schmidt_That means I have to read the rpc things also
19:27.59cr2hehe. sirf3 times are over ;)
19:28.04stefan_schmidt_hoped to avoid that. :)
19:28.23stefan_schmidt_cr2: depends
19:28.28cr2it depends on the msm modem setup
19:28.35stefan_schmidt_ok
19:28.42cr2yes, i have sirf3 on athena.
19:28.54stefan_schmidt_sirf3 on my eten here
19:29.03stefan_schmidt_and ublox on the gta0*
19:29.08cr2but msm wants that everybody uses their shitty gps implementation
19:29.18cr2ok
19:29.51stefan_schmidt_For hw vendors its nice to have it on board without a new chip, rf issues, etc
19:30.03stefan_schmidt_But I also prefer a separate chip
19:30.11stefan_schmidt_ublox5 rocks for that
19:30.13cr2qcom is a hw vendor
19:30.38cr2can you dump raw code phase data with it ?
19:30.53stefan_schmidt_cr2: ok, let me correct this to product vendor
19:30.57cr2i've heard that ublox without an external antenna is not great too.
19:31.20stefan_schmidt_cr2: phase code? You mean the raw GPS stuff?
19:31.43stefan_schmidt_cr2: Depends on the internal antenna of course.
19:31.58cr2yes, raw gps
19:32.08stefan_schmidt_even with ublox 4 we get could TTFF for the gta02s
19:32.09cr2pseudorange and code phase
19:32.33stefan_schmidt_cr2: Not sure if you can get that with ublox5.
19:32.38cr2sirf2 could d that ;)
19:33.00cr2but i don't know any free software that can dump it properly
19:33.10stefan_schmidt_cr2: The global (b)locate does the same
19:33.26cr2!free software
19:33.40stefan_schmidt_cr2: There is even a SDR GPS project. So code for GPS calculation should be there
19:33.52stefan_schmidt_heh, yes, global locate sucks :)
19:33.55cr2:)
19:34.10stefan_schmidt_remembers the bad expirience Openmoko had with them.
19:34.18cr2yeah
19:34.38cr2btw, does the pxa haret trace work on pxa3xx ?
19:35.02stefan_schmidt_cr2: http://www.gps-sdr.com/
19:35.29stefan_schmidt_cr2: (pxa) Have to wait for the Omnia to arrive before I can test it.
19:35.37stefan_schmidt_Should be here on monday
19:35.38cr2wow
19:35.45cr2ok
19:36.01cr2check if you can dump the rom too
19:36.18stefan_schmidt_But xsascha should know as he works on the samsung i780
19:36.32stefan_schmidt_will do
19:36.48stefan_schmidt_Perhaps time for IDA again ;)
19:37.21cr2ok
19:37.47cr2well, it helps to have both ida+trace
19:37.59stefan_schmidt_yup
19:38.20stefan_schmidt_Going to tons of wimo driver assembly is no fun
19:38.41cr2depends on the vendor
19:38.55cr2i got used to the htc asm
19:38.58stefan_schmidt_I have seen Harald doing it for the eten.
19:39.11stefan_schmidt_cr2: (htc asm) I can imagine
19:39.12cr2but others do weird things.
19:39.26stefan_schmidt_cr2: How long are you doing this HTC thing?
19:39.45stefan_schmidt_remebers he started with openezx in 2005
19:39.51cr2for a long time :)
19:40.10cr2i think i bought ba in oct 2004
19:40.12stefan_schmidt_but we had the linux 2.4 sources there. No assembly needed
19:40.59cr2a legendary device. pH5 hacks on it now.
19:41.18cr2btw, does gps work on a780 ?
19:41.36cr2my a780 can't talk to gps anymore
19:41.49stefan_schmidt_ah, I thought Philipp works on magician only
19:42.04cr2works= works with openezx
19:42.16stefan_schmidt_(a780) We know the AT command to enable it. (connected to the BP)
19:42.50stefan_schmidt_And we have some c code to parse the packets we get over the muxer channel to bring it into NMEA format
19:42.54cr2yeah, i was thinking about cutting it from BP and soldering to STUART
19:43.01stefan_schmidt_Not sure if it really works good
19:43.07cr2ok
19:43.16stefan_schmidt_I would say not working then. :)
19:43.19cr2but then i need to load the firmware myself.
19:43.34cr2and i have no idea where to grab this fw
19:43.39stefan_schmidt_And the GPS is real shit anyway. Power hungry _and_ bad performance. :)
19:43.50cr2hehe
19:43.55stefan_schmidt_And the idiots build the same chip into the A1600 again.
19:43.59cr2power hungry. that's try
19:44.53stefan_schmidt_the fw should be embedded inside the modem fw
19:45.10cr2once i've lost the gps signal at night in Finnland ;)
19:45.10stefan_schmidt_I really think there are nicer things you could play with. :)
19:45.33cr2yeah. athena with sirf3 on ffuart can't be beat.
19:45.51cr2but gps on msm is pita too. because of the rpc ;)
19:46.04stefan_schmidt_sigh
19:46.21cr2not as bad as GL, but still pita
19:46.33stefan_schmidt_The problem is more to get a new device with 3G/HSPA without the msm modems
19:46.47cr2i think they do not exist
19:46.57stefan_schmidt_Harald and me worked hours over hours with the eten
19:47.07cr2everything i know uses msm
19:47.13stefan_schmidt_No idea why the modem did not talk to us
19:47.16cr2even my nc10 with "samsung" modem
19:47.31cr2which cpu is eten ?
19:47.31*** join/#htc-linux htc-linux (i=5745de6c@gateway/web/ajax/mibbit.com/x-0eed6059a6c5fa6b)
19:47.58stefan_schmidt_The E-Ten using a Ericsson mobile platforms modem
19:48.22stefan_schmidt_The current one are using s3c2442, next generation s3c64x0
19:48.47cr2hmm. ipaq6915 uses ericsson too.  and i think it even worked.
19:48.50cr2ok
19:48.53stefan_schmidt_Besides the modem it was really close to what GTA02 used. Even the display is the same.
19:49.05stefan_schmidt_oh, interesting
19:49.11cr2is there haret support for s3c64x0 ?
19:49.12stefan_schmidt_How it is connected?
19:49.19stefan_schmidt_On eten it is uart + spi
19:49.25cr2btuart +mux protocol
19:49.39stefan_schmidt_IIRC Harald did a patch for the basic gpio tracing
19:49.49stefan_schmidt_not sure if it is in haret mainline yet
19:50.10cr2http://wiki.xda-developers.com/index.php?pagename=SablePhone
19:50.16stefan_schmidt_hmm, how fast is the clk for the uart when they do hspa over it?
19:50.36cr2the tty disc driver is in hh.org CVS
19:50.45cr2921600
19:50.52stefan_schmidt_hmm, ok
19:50.54cr2not hspa, gprs
19:51.03stefan_schmidt_ah, that makes sense
19:51.15stefan_schmidt_The eten modem is hspa
19:51.21cr2ok
19:51.25stefan_schmidt_not really the speed for a uart
19:51.34cr2hehe
19:51.45cr2i get 310KB on umts
19:52.41stefan_schmidt_Another thing. As you know a lot about the msm modems, perhaps the most outside of quallcomm and google.
19:52.53cr2lol
19:53.05stefan_schmidt_I heard from somebody I trust on this that they also have a binary protocol.
19:53.25stefan_schmidt_What I have seen so far, G1, Raphael, etc they speak plain old AT
19:53.45stefan_schmidt_But there seems also to be a binary protocol the modem speaks. Ever heard of it?
19:53.48cr2yes, and the cdma models too
19:54.07stefan_schmidt_Do they speak both? switchable?
19:54.30cr2no, only AT
19:54.48cr2but the companion chip is on "SBI" bus
19:55.07cr2some modified spi variant
19:55.22cr2but you are not supposed to talk on so lowlevel layer
19:55.23stefan_schmidt_hmm, can you elaborate? Lost me :)
19:56.01stefan_schmidt_ah, so lower layers are binary and they "translate" to AT on top
19:56.04cr2because it's hidden from you by the "AMSS" , i.e. l4 microkernel-based OS that controls the modem DSP
19:56.13cr2yes
19:56.17stefan_schmidt_ok
19:56.54cr2since there is no public CPU docs, you can more or less forget about it anyway
19:57.14stefan_schmidt_As long as we can get AT out of it I'm happy. The rest is mickey|dinner's job. ;)
19:57.36cr2the SBI bus addresses (something like i2c over spi) can be found out, but then you need the docs for the companion chips
19:57.51stefan_schmidt_There is a userspace library that uses the proto. But NDA...
19:58.06cr2yeah. once i've finally got umts working, he has disappeared :)
19:58.09stefan_schmidt_As long as I get AT I'm fine.
19:58.25stefan_schmidt_I just feared that we maybe have to re the proto, too.
19:58.33cr2no
19:58.41cr2at and umts data are working
19:58.53cr2now we need to get rpc channel working
19:58.56stefan_schmidt_cr2: He has a job last and next week.
19:59.07cr2i've more or less finished the higher-level docs
19:59.11cr2ok
19:59.15stefan_schmidt_cr2: Should be back poking you next week. :)
19:59.33cr2:)
19:59.37stefan_schmidt_Were can I find them? I'm a bit lost in the xda wiki sometimes.
19:59.42cr2the rpc looks like that : http://www.htc-linux.org/wiki/index.php?title=MSM_RPC
20:00.01cr2the raphael data is in htc-linux wiki now.
20:00.11cr2and i want to move the athena data too
20:00.14stefan_schmidt_ah, I only have seen the start page on htc-linux, no link to the wiki
20:00.22stefan_schmidt_ok
20:00.37cr2http://www.htc-linux.org/wiki/index.php?title=Main_Page
20:01.16stefan_schmidt_Now I really hope I can get the msm6281 interface working with the msm smd driver from android.
20:02.20cr2hmm. don't be so sure
20:02.35cr2smd driver is for the msm host cpu
20:03.06cr2athena has pxa270 and talks to msm7225 (i think) over dpram
20:03.28stefan_schmidt_I thought I could maybe add some glue that brings the external dual port ram into the game and use the rest from smd
20:03.39cr2so it depends on how your dpram is controlled
20:03.41stefan_schmidt_it's msm6xxx
20:03.54stefan_schmidt_At least what I have seen at the wiki.
20:04.04cr2ok
20:04.11stefan_schmidt_That was the reason I asked around for Athena kernel devs
20:04.15cr2btw, universal uses msm6250
20:04.26cr2but no dpram
20:04.31stefan_schmidt_Already wrote mistadman a mail
20:04.35cr2the umts data goes over usb
20:04.54stefan_schmidt_And signaling over uart?
20:05.02cr2AT cmd ? yes.
20:05.06stefan_schmidt_yes
20:05.08stefan_schmidt_ok
20:05.21stefan_schmidt_not the same setup as omnia
20:05.29stefan_schmidt_seems athena is my best bet
20:05.36cr2yes, spi sounds like a pita
20:06.01cr2ipaq6915 has GL chip on spi
20:06.17cr2instead of uart on the moko phone.
20:06.23stefan_schmidt_spi is on the eten. And the crazy part is that the modem is master and AP slave.
20:06.39cr2i'm not surprised
20:06.44stefan_schmidt_heh
20:06.50cr2i think it's always the case
20:07.17cr2on the raph too
20:07.30stefan_schmidt_Well, it is strange as the normal mode is that the AP send commands to the modem
20:07.50stefan_schmidt_With SPI that mean you have to trigger the modem, modem ask SPI slave (AP)
20:08.03cr2ah, ok
20:08.51stefan_schmidt_Sadly mistadman missed the dual port ram driver at his last commit for athena: http://github.com/mistadman/android-athena/commit/c0c0f7095dcec694fcb1c50019e5713006bdf8df
20:09.06stefan_schmidt_kconfig and makefile magic is the, just the file missing
20:09.15stefan_schmidt_I bet it was just a missing git add
20:09.26cr2raph has a dual arm11(AP)/arm9BP) setup, and AP has much less control over the shared hardware.
20:09.51cr2i will not be surprised that he does not have a working driver
20:10.51stefan_schmidt_(raph) Yes, the standard msm7k SoC architecture
20:11.14stefan_schmidt_(driver) You mean he perhaps did not even had a driver?
20:13.05stefan_schmidt_I see you still list the omap850 devices.
20:13.10cr2i think he never had a working driver.
20:13.19stefan_schmidt_That reminds me that pH5 still has a dopod from me.
20:13.29stefan_schmidt_cr2: oh, to bad
20:13.41cr2he did some tracing, and i told him about the ba dpram driver. never heard from him anymore :)
20:14.06stefan_schmidt_heh, usual foss project problem :)
20:14.06cr2omap850 ?
20:14.18cr2herald ?
20:14.19stefan_schmidt_yup, omap850
20:14.27stefan_schmidt_DoN#t remember the name
20:14.35cr2i think i've see it :) in your hands.
20:14.44stefan_schmidt_It was dopod branded. Taiwan brand
20:14.44cr2s/see/seen/
20:14.54stefan_schmidt_cr2: huh, when?
20:14.59stefan_schmidt_We did meet?
20:15.08cr2in Brussels
20:15.20stefan_schmidt_hmm
20:15.25stefan_schmidt_which year?
20:15.38cr2you had a talk about openezx.
20:15.43cr22006 ?
20:15.45stefan_schmidt_ah, yes, that year
20:15.53stefan_schmidt_should have been 2007
20:16.03cr2we also met mickey|dinner there.
20:16.08stefan_schmidt_Sorry that I don't remember you. :(
20:16.11cr2yes, maybe 2007
20:16.39stefan_schmidt_To many people around on conferences
20:16.44cr2:)
20:16.56stefan_schmidt_Will you come to LinuxTag this year?
20:17.36cr2mickeyl had an pre-production openmoko phone then.
20:17.53stefan_schmidt_yup, I met Sean the first time there.
20:17.56cr2too far away to drive from munich.
20:18.11stefan_schmidt_ah, munich is indeed a long way
20:18.18stefan_schmidt_Braunschwieg -> Berlin is ok
20:18.23stefan_schmidt_1:20 by train
20:18.35cr224-27 ?
20:18.37stefan_schmidt_And I like to meet with zecke again anyway.
20:18.42cr2which days are that ?
20:18.43stefan_schmidt_yup
20:18.51cr2!sh cal
20:18.58stefan_schmidt_wed - sat
20:19.01*** join/#htc-linux StarLite (n=nnscript@s55916ca6.adsl.wanadoo.nl)
20:19.34*** join/#htc-linux gentooer (n=asdfsf@pool-72-90-137-15.nwrknj.east.verizon.net)
20:20.04cr2i think i must work
20:20.23cr2and driving will take too much time.
20:21.27stefan_schmidt_ok
20:22.02cr2i've looked at the athena dpram disassembly once more.
20:22.22stefan_schmidt_and?
20:22.58cr2and i think that the hw operation is more or less clear now. it's only up to adapting the smd driver for it.
20:23.22cr2it has 6 channels
20:23.41cr21 512byte rx fifo and 512byte tx fifo
20:23.56cr2each channel has an irq, and an ack gpio
20:24.12stefan_schmidt_nice clear setup
20:24.51cr2chan: AT(1), DIAG(2), P1(3), P2(4), P3(5) and P9(6)
20:25.10cr2i think P1 is umts data
20:25.16cr2but need to check it.
20:25.28cr2don't know what P2,P3 and P9 are for
20:25.42stefan_schmidt_Once my device is here I need to check how similar it is to the Athena
20:25.45cr2don't know about DIAG too.
20:26.11stefan_schmidt_perhaps just a diagnose channel
20:26.30cr2the AT can be traced very well
20:26.44cr2and it operates exactly like the smd
20:27.06cr2head/tail pointers for the fifos + fifos
20:27.11stefan_schmidt_makes sense that quallcomm uses the same techniques
20:27.25cr2yes
20:27.41stefan_schmidt_That's exactly what I hoped. :)
20:27.59cr2let's hope you have it the same way
20:28.50stefan_schmidt_crosses fingers
20:30.32stefan_schmidt_From what I can find out rigth now it seems it has 128kB dual port ram
20:30.49stefan_schmidt_s/ram/sram/
20:31.29stefan_schmidt_need to find out what chip it is an if it has different parts for tx rx or just splits the ram
20:32.00cr2128k is huge
20:32.25cr2msm uses 512 or 2k fifos
20:33.01dream_killhi cr2
20:33.10dream_killany more progress on nand stuff?
20:34.30cr2dream_kill: found the tfat32 partition. need to check if i can mount it though
20:34.40dream_killcool
20:34.58dream_killdid u manual defined the partitions in kernel ?
20:36.12cr2no, i provide them as ATAGs from haret, to simulate the g1 behaviour
20:36.27cr2so i don't need to change the g1 code.
20:36.47stefan_schmidt_cr2: seems to be a cypress sram module
20:36.56stefan_schmidt_need to check the type and look for a spec
20:37.43cr2stefan_schmidt_: usually  i document the (wince) memory layout  first
20:38.01stefan_schmidt_cr2: Sure, I just do stuff before I have the device here. :)
20:38.17cr2you have nk.exe ?
20:38.25stefan_schmidt_And my girlfriend is watching a movie anyway :)
20:38.31cr2LOL
20:38.38stefan_schmidt_no nk.exe
20:38.42stefan_schmidt_What is it?
20:38.52cr2wince kernel
20:39.14cr2can be dumped directly from ram
20:39.42stefan_schmidt_ok, seems I have a lot to learn once the device is here
20:39.44cr2usually it's exactly at the beginning of (sd)ram
20:39.51stefan_schmidt_ok
20:40.11cr2and it has the static allocation table at its top somewhere.
20:40.37stefan_schmidt_that's good :)
20:40.53cr2then you can create a table like that
20:40.57cr2http://www.htc-linux.org/wiki/index.php?title=RaphaelMemoryMap
20:41.09cr2the 1M entries anyway.
20:41.15stefan_schmidt_cool, will do
20:41.44cr2since pxa is documented, it's much easier than msm ;)
20:41.45stefan_schmidt_hmm, there are only two chips from cypress that match. 128kb, 16bit width
20:42.08cr2http://wiki.xda-developers.com/index.php?pagename=AthenaMemoryMap
20:42.26cr2you can create such table immediately
20:45.04stefan_schmidt_That is handy
20:45.30cr2yes, you can already guess where is your dpram
20:45.57*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
20:46.02stefan_schmidt_ok
20:46.06cr2i don't know the pxa3xx memory map very well, but it should be similar
20:46.18stefan_schmidt_Sounds like the first thing I will do
20:47.01cr2yes, should be very easy to do
20:57.22*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
20:59.13tmztDIAG is the dm protocol, used for setting nvitems and other things
21:02.04tmztstefan_schmidt_: talk to viperbjk in #xda-devs
21:02.22tmzthe wrote the qmat tool to access qualcomm DM
21:07.39cr2tmzt: http://www.ettus.com/order
21:07.43*** join/#htc-linux j0b0 (n=jobo@77.241.232.145)
21:08.10cr2tmzt: just remembered about the nice hardware to purchase.
21:08.33tmztoh yeah
21:08.37tmztexpensive though
21:09.28cr2hehe. usrp1 is like raph
21:11.10cr2i'd like to know the usrp2 power consumption
21:11.30tmzthow is it like raph?
21:11.43cr2in price
21:11.43*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
21:11.52tmztah, ok
21:12.02tmztthere are some less expensive dsp radio projects now
21:12.39cr2ok
21:14.04cr2awk '{printf("%d\n",(0x2820000+0x31f000+0x480000+0x8f60000)/2048/64)}'
21:14.05cr21528
21:17.43cr2321, 345, 381, 1528
21:19.16cr2the 0x31f000 is not 128K aligned
21:20.12cr2hehe. it's even not 2k aligned.
21:21.48tmztthe partition?
21:26.31cr2uh. it's too late ;)
21:26.38cr2of course it's aligned.
21:26.56cr2i always think in 4K pages ;)
21:27.09cr2or in 8K on other hardware.
21:28.53cr2but the 128K is a problem for g1 code
21:29.02cr2because g1 partitions are in 128K chunks
21:29.23tmztoh, in msmp?
21:30.08cr2yes
21:30.30cr2it's not a problem for msm partitions
21:30.54tmztso we need to do something else?
21:31.09cr2but you can't just declare the tfat partition in this way.
21:31.26cr2well, we need to patch it for 2k blocks instead of 128k
21:31.34tmztis it big enough?
21:31.44tmztthe field I mean
21:31.51cr2int
21:31.57tmztin MSMp, or whatever we end up using
21:33.56cr2struct msm_ptbl_entry
21:33.58cr241 {
21:34.00cr242         char name[16];
21:34.01cr243         __u32 offset;
21:34.02cr244         __u32 size;
21:34.04cr245         __u32 flags;
21:34.05cr246
21:34.13cr273                 ptn->offset = entry->offset * 64 * 2048;
21:34.15cr274                 ptn->size = entry->size * 64 * 2048;
21:34.31cr264 should go away
21:35.08tmztbut it won't be compatible with g1 then
21:35.10cr2hm, and the .flags should be added
21:35.16cr2yes
21:35.31tmztthat's what I was wondering, maybe flags could be used
21:35.38tmztbut the same thing, it would be different
21:35.45tmztso we probably need a different TAG
21:36.34cr2HTCp
21:36.41tmztyeah
21:36.49tmztit there a registry?
21:36.56cr2no
21:37.06cr2MSMp is a hack too
21:37.21cr2so it's not a problem to change it,.
21:37.37cr238 #define ATAG_MSM_PARTITION 0x4d534D70 /* MSMp */
21:38.32tmztis that literal?
21:38.43cr2128k partition block is a bad idea, imho
21:38.45tmztyeah, looks like it
21:38.50cr2yes, ASCII
21:39.24cr2what is 43 45 ?
21:39.55cr2lol
21:39.58cr2awk '{printf("%c%c\n",0x43,0x45)}'
21:40.00cr2CE
21:40.12tmztwhere?
21:40.28tmztI only saw that 4d and 4d for M and M
21:40.37cr2athena smd channel uses that
21:41.04tmztoh, ok
21:41.11cr2awk '{printf("%c%c%c%c\n",0x4d,0x53,0x4D,0x70)}'
21:41.12cr2MSMp
21:41.16tmztomap csmi is also similar to those I think
21:41.19tmztgood
21:43.18cr2tmzt: if tfat32 fat mountable ?
21:47.34tmztwith vfat in linux?
21:47.36tmztno
21:47.40tmztbut it's very similar
21:48.05tmztI'm going to look for some documentation on msdn about it, I did read something there
21:48.42tmztit seems it has two fats that are not kept in sync but updated one at a time, each time a change is made it's made to a different fat
21:50.46cr2raid1 ?
21:51.57tmztnot quite sure, look up "transactional fat"
22:11.54*** join/#htc-linux Emo (n=x@unaffiliated/egns)
22:12.13cr2where is it mounted in wince ?
22:13.55cr2i'm not really interested in mounting it, but would like to know what will go away if i will mkyaffs it
22:16.17cr2uh
22:30.23*** join/#htc-linux [loy] (n=nobody@loy.pp.ru)
23:04.56*** join/#htc-linux l33tlinuxh4x0r (i=user@adsl-144-166-112.rmo.bellsouth.net)
23:13.14*** join/#htc-linux zycho_ (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net)
23:26.50*** join/#htc-linux |Jason8| (n=JayAte@znc.tiltshellz.org)
23:35.41tmztcr2: oh, I asked cmonex about that yesterday
23:35.57tmztI guess it will just hardreset when you boot ce again
23:53.51cr2boot.xipram,imfgs,fat
23:54.52cr236e,900,...

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.