IRC log for #htc-linux on 20090208

00:00.33miknixBabelO has done an excelent job on his artemis, and his contributions are on htc-omap branch
00:00.47miknixthats the reason
00:01.06tmztok
00:03.02miknixbtw: wizard support is also on htc-omap
00:08.26*** join/#htc-linux konsta (n=asds@host81-157-60-163.range81-157.btcentralplus.com)
00:09.33miknixfeels like wanting to migrate to ext4
00:12.24Pure4Realis it ready for use then?
00:12.31ali1234supposedly
00:13.14ali1234ubuntu 9.04 beta has/will have it as an install time option
00:13.27Pure4Realyeah, i just read it
00:13.52Pure4Realbut i guess its not stable enough for a normal system if they only put it in the beta
00:14.21Pure4Realor maybe they won't put ext4 support in 8.x ubuntu
00:14.59ali1234it wasn't marked stable in the kernel when they made 8.10
00:15.38ali1234new features go in a new version
00:16.00Pure4Realmm, yes
00:21.58miknixits stable now
00:22.06miknixat least not marked as *EXPERIMENTAL*
00:22.08miknixanymore
00:22.15miknixat .28
00:24.04miknixanyway, I'm thinking in only moving my rootfs from XFS to ext4
00:24.20miknix<PROTECTED>
00:25.25Pure4Realfrom what i read on wikipedia it has alot of nice new features
00:26.02miknixdidnt read. just wanting it for the sake of the *change*
00:28.59miknixit is not all days that we can try a new filesystem
00:29.01miknix: P
00:29.20maejrepyou should change for a reason though :p  not just because it's a change
00:30.08maejrepwe benchmarked ext4 vs ext3 at work, and the results were enough for us to consider changing
00:33.17miknixheh, I'm happy with XFS. it has a huge cache. I can copy a movie over and delete it and sometimes it doesnt even get written to the disk in the process :P
00:33.21NetRipperext4 is faster?
00:33.32NetRipperby much?
00:33.51miknixbut I have to try ext4 : D
00:34.13NetRipperi've always used ext3.. and used reiserfs once (which wasn't really as performing as i heard)... im trying out jfs on my laptop now, quite pleased with that so far ;)
00:34.59NetRipperi don't like huge caches ;) means a crash can cause more loss :P
00:35.14miknixheh, one more reason to run stable : )
00:36.01miknixbut this is a laptop.. power outages can happen that my battery will keep it alive.
00:36.25Pure4Reali've used reiserfs for some time now and it might be just subjective, but i got the feeling that it's a bit faster
00:36.41miknixand even in the few times I have to power it off hard, I never lose anything
00:37.20NetRipperim not using reiserfs anymore.. as it's not maintained anymore
00:37.24miknix(maybe because I abuse from the sync command :p )
00:37.33NetRipperi read the author is in jail? not sure if that's true though
00:37.34NetRipper:)
00:40.06miknixNetRipper, last time I read he was on trial
00:40.16Pure4Realwasnt that a long time ago?
00:41.22Pure4Realhmm, he pled guilty so he would get a deal
00:46.14*** join/#htc-linux cmonex (n=xy6091@nifl5tpzno.adsl.datanet.hu)
01:06.42*** join/#htc-linux p3t3r__1 (n=peter@134.245.164.105)
01:17.18*** join/#htc-linux p3t3r__2 (n=peter@134.245.164.105)
01:46.16*** join/#htc-linux p3t3r__1 (n=peter@134.245.164.105)
02:03.43maejrepNetRipper: random reads outperformed ext3 by a huge margin.  random writes were higher too, but not by the same amount
02:04.03maejrepi don't have the final results here right now
02:04.11maejrepi'm using XFS on my desktop, and it's been great
02:04.59maejrepI used to always use reiser3, but I've had disk crashes with it, and it makes recovery virtually impossible.  Unless you have mission critical information on the disk, it's more viable to just reformat and start over, then to spend the time trying to recover anything
02:05.37maejrepI tried reiser4, and was pleased with it.  even had a disk crash, and recovery was painless
02:05.44tmztbatch gpios http://lwn.net/Articles/316626/
02:06.58maejrepthat could be useful
02:09.30tmztyeah, I'd like to get mfp implemented on all the soc's though, I don't know if this helps with that or not
02:15.34*** join/#htc-linux dzo_ (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
02:16.46maejrepmfd in what sense?
02:16.57maejreps/mfd/mfp/
02:17.54*** join/#htc-linux p3t3r__2 (n=peter@134.245.164.105)
02:18.14tmztit's implemented for pxa at least and allows alt functions to be managed from pdata
02:20.14tmztwhat have you and cr2 found about the clocks on msm?
02:20.30tmztit seems you have a function call that takes m, n, d, etc.
02:20.38tmztdoes that mean we know what they mean?
02:20.46maejrepI dont' think so
02:21.06maejrepwe just have names for them, and those names don't really make sense yet
02:21.34maejrepwere in the same boat when we found out they call them "MD" and "NS"
02:21.56maejrepbut we could also set alt functions via pdata
02:22.03maejrepunless i'm missing the point
02:22.25maejrepwhat is mfp?
02:22.47*** join/#htc-linux p3t3r__1 (n=peter@134.245.164.105)
02:23.36tmztstatic int __mfp_config_gpio(unsigned gpio, unsigned long c)
02:24.25maejrepwe can still do that, we just do it via a struct instead
02:25.28tmztI think the idea is to let the core kernel infrastructure handle it, it calls that function for you
02:26.09maejrepok, so the app still needs to do the drvstr/altfunc/pull packing itself, before calling that function?
02:26.31maejrepeven if its done via macro
02:26.36tmztyeah, you would have header file implementing the known alternatives
02:26.55tmztwe know what drvstr is, what is pull?
02:26.57maejrepi guess i'd have to see an example to know how its different from what we're doing now
02:27.47maejrepfrom what i know, pull is basically the ability to keep a line high, even if another line on the chip tries to pull it low
02:27.57maejrepbut i could be confused about that
02:28.36tmzt#define GPIO85_GPIO             MFP_CFG_IN(GPIO85, AF0)
02:28.56tmzt#define GPIO85_FFUART_RXD       MFP_CFG_IN(GPIO85, AF1)
02:29.16maejrepso those are different configurations for gpio 85?
02:29.24tmztpxa3xx_mfp_config(ARRAY_AND_SIZE(littleton_mfp_cfg));
02:29.26tmztyeah
02:29.54maejrepis  mfp_config a linux standard?  and should we implement our config in that way instead?
02:30.09tmztstatic mfp_cfg_t littleton_mfp_cfg[] __initdata = { /* LCD */ GPIO54_LCD_LDD_0, GPIO55_LCD_LDD_1, GPIO56_LCD_LDD_2,
02:30.23tmztno multiline paste
02:30.36tmztlook at arch/arm/mach-pxa/littleton.c
02:31.16tmztit generalizes the concept of pin muxing, for pxa3xx it even goes beyond gpio and supports all the pins on the package
02:32.31tmztmore interesting though, how is the wifi going on raph?
02:32.32maejrepi haven't had a chance to do anything with it
02:32.32maejrepbeen working long nights at work, getting ready for a feature launch
02:33.39maejrepthe concept sounds a lot like the config tables used in the board-mmc files
02:37.26maejrepi started trying to get the lcd panel initialized properly, and didn't get a chance to get that fully working yet
02:49.21AstainZZZZZZhey maejrep
02:50.13*** join/#htc-linux tcccp (i=hey@ballbreaker.hey-ix.net)
02:50.57*** join/#htc-linux Shinto (n=John@g227179120.adsl.alicedsl.de)
02:51.17maejrephi
03:17.21*** join/#htc-linux AstainZZZZZZ (n=AstainHe@unaffiliated/astainhellbring)
03:25.41*** join/#htc-linux Zack84a (n=zack84a@r74-192-0-176.bcstcmta01.clsttx.tl.dh.suddenlink.net)
03:27.34*** join/#htc-linux arto_ (n=arto@c-67-164-195-234.hsd1.ut.comcast.net)
03:29.41*** join/#htc-linux Arto (n=AstainHe@unaffiliated/astainhellbring)
03:55.27*** join/#htc-linux AstainZZZZZZ (n=AstainHe@unaffiliated/astainhellbring)
04:09.51*** join/#htc-linux arto_ (n=arto@c-67-164-195-234.hsd1.ut.comcast.net)
04:20.20*** part/#htc-linux p3t3r__1 (n=peter@134.245.164.105)
04:48.11*** join/#htc-linux dzo_ (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
05:18.35*** join/#htc-linux dzo_ (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
05:29.32tmztmaejrep: did you try wpa_supplicant?
05:29.44maejrepdoesn't that rely on wireless extensions?
05:30.04maejrepeither way, I didn't try it
05:30.23tmztit appears that either wpa_supplicant works or the one in android.git.kernel.org works but I'm trying to see what they changed
05:30.49tmztsolca's patches were to support wireless extensions in android, not to add wireless extensions to tiwlan
05:30.56tmztso that's not what's needed
05:33.16maejreptrying to figure out how clkregime works with the mddi clock ;o
05:33.44tmztah, as far as I can find it has two clk's the grp one and mddi one
05:33.50tmztwhat is not working?
05:33.57maejreplooks like it sets or clears 0x800|0x200 on CLK_CTL+0x8c
05:34.17tmztwe still don't know what those bits mean?
05:34.28maejrepjust trying to imitate wince as much as possible
05:34.45maejrepI don't think so.  0x8c is listed as "mddi_clk" / "PMDH Ns"
05:35.00maejrepbut I'm not sure if 0x200 and 0x800 are meant to be clock bits
05:35.19maejrepwould be strange to set them in 0x8c instead of CLK_CTL
05:35.28maejrepbut I know not all the clocks work the same way
05:36.14maejreptracing that through "mddi bridge power up"
05:37.21tmztcould it be because this is an A clock?
05:37.42tmztI mean not considered part of the arm9 part, still not sure about that though
05:38.33*** join/#htc-linux dzo_ (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
05:40.58maejrepnot entirely sure what that means
05:41.39tmztA clocks and B clocks
05:41.53maejrepnope ;x
05:41.57tmztI think A is application and B is broadband
05:42.30tmztok, do all the other clocks have enable bits in CLK_CTL?
05:44.21maejreponly those documented with bitmasks, afaik
05:44.43maejrepit looks like it tries to enable clock 0x38
05:45.43maejrepthen if i'm reading the asm right (not entirely sure that I am), that's when it sets 0x800 and 0x200 in CLK_CTL+0x8c
05:46.05maejrepbut because 0x8c is marked as mddi_clk, I think its right
05:48.00maejreplooks like:
05:48.02maejrepCMP     R5, #0
05:48.02maejrepLDR     R3, [R2,#0x8C]
05:48.02maejrepORRNE   R3, R3, #0x800
05:48.02maejrepSTRNE   R3, [R2,#0x8C]
05:48.02maejrepLDRNE   R3, [R2,#0x8C]
05:48.03maejrepORRNE   R3, R3, #0x200
05:48.05maejrepSTRNE   R3, [R2,#0x8C]
05:48.17maejrepR2 is assumed to be CLK_CTL
05:48.48maejrep(asm doesn't reveal the value, seems to be an internal buffer that gets populated at some point)
05:50.13maejrepi'm sure if the clock rpc call is consistent, it would be a lot easier to implement than this ;)
05:50.35maejrepwithout rpc, we're going to have to make per-clock exceptions for anything that's not MD/NS based
05:50.48tmztis mddi always set from spl, never from ce itself?
05:50.56tmzts/set/setup/
05:53.47maejrepwhich part?
05:53.59tmztthe clocks
05:54.05maejrepi'm reading through disptools.dll and it does set clocks
05:54.15tmztthe way you said?
05:54.26maejrepyes, this is all from dlls, not from spl
05:54.39maejrepthat asm ^ is from clkregime.dll
06:00.10maejrephmm one bad thing about this keyboard is that the spring is so damn loud, i'm always afraid it'll annoy my roommates :p
06:01.37AstainZZZZZZthe sprints loud?
06:01.44AstainZZZZZZ*spring
06:03.07maejrepyeah
06:03.32AstainZZZZZZhmm mines rather quiet
06:03.34maejrepdas keyboard..  think old ibm model m
06:03.35maejrep;p
06:04.18AstainZZZZZZahh
06:04.41AstainZZZZZZmaejrep know anyone that would be looking to buy a sprint touch pro?
06:10.30maejrepno, virtually everyone i work with has an iphone ;p
06:10.39maejrepi think i'm the only one with sprint
06:11.21maejrepwhat are you asking for it? ;)
06:18.19AstainZZZZZZnot 100% sure yet I will have either 1 or 2 spares that I will be selling as I dump some leaches off my account
06:18.22*** join/#htc-linux evildarknigh1 (n=charles@41.207.133.55)
06:23.32maejrepleaches?
06:24.25AstainZZZZZZsome ppl that were friends that got into situations that they needed $ I loaned and now they don't seem to wanna repay
06:24.58maejrepi see.. and you loaned them touch pro phones? :P
06:25.33AstainZZZZZZkinda
06:26.06AstainZZZZZZI loaned them ppc phones as well as $ and the phones slowly got upgraded to Touch pros so now I have 3
06:27.06maejreplol
06:32.49*** join/#htc-linux dzo_ (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
06:36.39*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfdf1c.pool.einsundeins.de)
06:47.54maejrephmm, i'm not seeing the navi driver being initialized for some reason
06:52.30*** join/#htc-linux dzo_ (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
07:41.45*** join/#htc-linux ewasx (n=armin@5-157.surfsnel.dsl.internl.net)
08:40.57*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c1f4.pool.einsundeins.de)
09:13.15*** join/#htc-linux imfloflo (n=imfloflo@cap31-6-88-180-73-121.fbx.proxad.net)
09:19.18*** join/#htc-linux goxboxlive (n=goxboxli@185.84-48-126.nextgentel.com)
09:21.25*** join/#htc-linux pH5 (n=ph5@p5485C082.dip.t-dialin.net)
09:27.08tmztpH5: you are familiar with gpio_vbus on pxa27x?
09:27.21tmztis this the same as using otg_transceiver
09:32.45pH5hi tmzt. I should, I wrote it.
09:32.58pH5otg_t... is just the interface
09:33.12pH5gpio_vbus implements it
09:33.24tmztah ok, so this can be used for any pxa27x with a detect or pull-up using a gpio?
09:33.50pH5yes
09:33.59pH5and soon pxa25x, too
09:34.11pH5not sure about other arches right now
09:35.41*** join/#htc-linux myxor (n=myxor@pdbn-4d08956a.pool.mediaWays.net)
09:35.56*** join/#htc-linux timebomb (n=tb@e176127053.adsl.alicedsl.de)
09:37.51tmztpH5: http://pastebin.com/m6be6a3d8 what does this do and is there a more general way to do it than put this in every pxa board?
09:38.44tmztI hope I have that right, on moto q and htc apache at least it's need to even see the modem on usb host
09:40.08pH5tmzt: that ioremapping is useless, there are register defines for those
09:40.30pH54c... and 406... are udc/ohci register space iirc
09:40.47pH5maybe one of them is UP2OCR?
09:41.05pH5look in the pxa headers for those addresses
09:42.08pH5the other register probably can be set indirectly via the ohci mach_info's .flags field
09:43.20tmztUP3OCR it seems
09:43.49tmzt#define UP3OCR __REG(0x40600024)
09:44.50tmztit seems there are no defines for the bits in 2.6.29?
09:45.07tmztthere are UP2OCR_* but not UP30OCR_*
09:45.46tmztyou don't use usb host on magician right?
09:45.51pH5might be, but I think they should be the same. do you have the docs?
09:45.59tmztonly pdf
09:46.10pH5I do but UP3 is 0x0 here
09:46.50pH5good. look it up, add the flags, send a patch :)
09:47.30tmztis there a header for ohci?
09:47.44*** join/#htc-linux nebi (n=nebi@170.ftth2.cust.fyrobs1.upps.se.borderlight.net)
09:49.37pH5I think no, it's in the ohci driver code.
09:49.59pH54C000064 can be set via .flags
09:52.27tmztinf->flags or is that something else?
09:53.04tmzthttp://git.openezx.org/?p=openezx.git;a=blob;f=drivers/usb/host/ohci-pxa27x.c;h=e44dc2cbca24006e1b81d57cf589213ee823295c;hb=HEAD
09:53.44*** join/#htc-linux dream_kill (n=nospam@92.56.48.66)
09:54.11tmztwhere is 0x4c000064 set via flags?
09:54.23*** join/#htc-linux cr2 (n=cr2@ip-77-25-79-239.web.vodafone.de)
09:55.01pH5right - the register in question is UHCHR
09:55.06pH5hi cr2
09:55.15tmztoh yeah, I see that now
09:55.34tmztdoes that just enable the port 3 then?
09:56.51pH5and port2
09:57.00tmztyeah, ok
09:57.06tmztwe can do that with flags
09:57.12pH5(1<<10)
09:57.14cr2hi
09:57.16pH5ok
09:57.32cr2i've fall asleep at about 1:00 ;)
09:57.56cr2maejrep: there is nothing magic in 0x800|0x200 for mddi
09:58.11cr2maejrep: 0x800|0x200=0xa00
09:58.32cr2maejrep: which is a "basic" clock setting for the NS register
09:58.50cr2B-clock means 0xA|1
09:59.07tmztpH5: is the a set_ api for ohci platform_data?
09:59.12tmzts/the/there/
09:59.30cr2so if this '1' bit is set, then the A clock (uses only the NS) becomes a B-clock (uses MD too)
10:01.07cr2maejrep: the MD means clock M(ultiplier) which is MSW, and D(uty) which is LSW
10:01.57cr2maejrep: D(uty) is used to implement PWM, so for a normal clock it's 1/2 of N
10:02.33*** join/#htc-linux Xime (n=xime@bankize.net)
10:02.54cr2maejrep: N is the MSW of NS, and is the clock divisor.  S is the LSW, and its black magic :)
10:03.34tmztwhat kind of values does s have?
10:03.42cr2maejrep: the 0xa00 (for A clock) and 0xb00 (for the B clock) are inside S
10:04.12cr2so 0xb00=(0xa|1)00
10:04.19cr2and means "use MD"
10:04.34pH5tmzt: like pxa_set_ohci_info?
10:04.40tmztyeah
10:04.49cr2tmzt: S has 4 parameters in a table, which can differ
10:05.35cr2pH5: there is OTG on msm7201A, and it even works. but there are no docs, as usual.
10:05.43tmztwhere is that in MSM_CLK?
10:06.04cr2tmzt: for PMDH ?
10:06.27tmztthat's what maejrep is looking for
10:06.29cr2tmzt: not all clocks have the MD register (i2c for example)
10:06.38tmztI was more wondering what you meant about the table
10:06.54cr2tmzt: and not all clocks have a respective MSM_CLK aka GlblClkEna bit
10:07.17cr2they are "always" there, like the TCX0=19.2MHz it seems
10:08.15cr2tmzt: i think that the "table" says which base clock source you should  take, if the MD is used, maybe something else
10:08.48cr2tmzt: i't difficult to say without the cpu docs. and the g1 code is of no use here.
10:09.18tmztthe crystal names are pretty standardized though, aren't they?
10:09.34tmztI've been trying to find more information on that but I've header it mentioned before
10:09.49tmztheard
10:11.17*** join/#htc-linux liba2k (n=liba2k@194.90.149.193)
10:11.28tmztpH5: ah, there it is and even in magician.c
10:11.29cr2tmzt: i think they have a crystal for 19.2
10:11.45tmztI mean names like TXC
10:11.46cr2tmzt: they also need a 48MHz crystal for usb
10:11.56tmztand sd?
10:12.02*** part/#htc-linux liba2k (n=liba2k@194.90.149.193)
10:12.08cr2tmzt: but the rest is a pll maze
10:12.42tmztthe arm11 clock is on the arm9 side, it has a single divider from a main clock source?
10:13.14tmztit was mentioned the other clocks where related to that but I would have to search some logs to find it
10:13.21cr2tmzt: the 144kHz clock is derived from 19.2MHz, the rest are from 768MHz accroding to my calculations
10:13.53cr2usually you can divide clocks (easy) and multiply clocks (more dificult)
10:14.07cr2M and N
10:14.12cr2*M/N
10:14.53cr2base_clock*M/N
10:15.07tmztyeah
10:15.37cr2so i can easilly show you that the 144kHz clock is derived from 19.2MHz
10:16.06cr2but if i apply the same logic to the other SD clocks
10:16.12cr2then i get 768MHz
10:17.07cr2the S difference is the par6=s2
10:17.25cr2for 144kHz it's =0
10:17.36tmzt<PROTECTED>
10:17.46tmztsomething added to 2.6.27
10:17.57*** join/#htc-linux liba2k (n=liba2k@194.90.149.193)
10:18.07cr2so it seems that the s2=0 selects the 19.2MHz
10:18.21cr2tmzt: it's in the SD spec
10:18.41tmztI mean support was added in cupcake for g1 with 50mhz cards
10:18.51cr2tmzt: the SD divisors for a fake 48MHz entry give 32MHz
10:19.32cr2you can easily see it from the relations between the 12:24 and 48 MHz clocks
10:20.36*** part/#htc-linux liba2k (n=liba2k@194.90.149.193)
10:20.39*** join/#htc-linux DJWillis (i=djwillis@82-46-19-72.cable.ubr02.bath.blueyonder.co.uk)
10:21.54*** join/#htc-linux liba2k (n=liba2k@194.90.149.193)
10:23.46cr2tmzt: you can bump the divisor to support real 48MHz, but i don't know if it will work.
10:26.12cr2NetRipper: i'm not sure what do they mean when they say 32MB SRAM
10:26.54cr2NetRipper: but the fact is that i can't access many parts of it.
10:30.27tmztcr2: the trout amss calls just take the raw frequency?
10:34.27cr2probably
10:38.54*** join/#htc-linux radem205 (n=aaa@e144118.upc-e.chello.nl)
10:38.58radem205hey dzo
10:39.28radem205is it difficult to build the battery driver and let the charger work?
10:40.37*** join/#htc-linux Pure4Real (n=pure4rea@89-97-140-219.ip17.fastwebnet.it)
10:41.02dzohi radem205, for kaiser you mean? no, not too difficult, want to try?
10:45.39radem205yes for kaiser. I'm sorry but I think I don't have the knowledge to work on it. I was only wondering :), because then Android would become very usefull for daily use
10:46.17*** join/#htc-linux Pure4Real_ (n=pure4rea@89-97-140-219.ip17.fastwebnet.it)
10:47.46radem205you said the red led is displayed when the phone is in sleepmode? Is that right? I have a polaris, so I think this isn't working on our device yet
11:07.24*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
11:07.40*** join/#htc-linux hdfhefgaert43t (i=bite@gateway/tor/x-102d23dfb24289a5)
11:12.01*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
11:17.41*** join/#htc-linux br1ck (n=br1ck@xdslcb089.osnanet.de)
11:20.50*** join/#htc-linux StarLite (n=nnscript@s55916ca6.adsl.wanadoo.nl)
11:27.01*** join/#htc-linux ImCoKeMaN (n=imcokema@pool-98-111-118-30.hrbgpa.fios.verizon.net)
11:32.04*** join/#htc-linux tsdogs (n=tsdogs@net203-187-146.mclink.it)
11:34.11*** join/#htc-linux opennandra (n=opennand@afrodita.advanet.sk)
11:52.29*** join/#htc-linux tsdogs (n=tsdogs@net203-187-146.mclink.it)
12:06.02*** join/#htc-linux dream_kill (n=nospam@92.56.48.66)
12:18.50cr2hm. interesting
12:19.52tmztwhat? that pH5 always leaves five minutes before you arrive or something else
12:21.17cr2no
12:21.30cr2titan uses dex16/17 for vibra
12:21.49tmztah, not the generic vreg
12:21.51cr2and the battery response layout is like on raph800
12:51.49*** part/#htc-linux Balsat (n=kll@87.72.13.87)
12:57.37*** join/#htc-linux Balsat (n=kll@87.72.13.87)
13:00.35*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
13:04.16*** join/#htc-linux evildarknigh1 (n=charles@41.207.133.55)
13:05.53*** join/#htc-linux hdfhefgaert43t (i=bite@gateway/tor/x-fbad02b6485bd612)
13:10.41cr2old devices are interesting
13:11.14kiozen...you can always make a tea from the dust inside
13:12.34cr2hi kiozen
13:12.43kiozenhi :)
13:12.52cr2kiozen: if you'll buy triton, get 2
13:13.13kiozenlol, ok :)
13:13.35kiozenbut the longer I read about magellan the more I panic
13:13.56cr2why ?
13:13.56kiozenI really wonder what their firmware developer does as main job
13:14.04cr2lol
13:14.26kiozenmagellan has a lot in common with social democratic party of germany
13:14.27cr2you'd tell me about the cpu, and gps receiver
13:14.33cr2LOL
13:14.50kiozentheir marketing is selfdestructive
13:14.57cr2kiozen: which cpu does it use ?
13:15.04kiozenno clue
13:15.21cr2and gps is sirf3 ?
13:15.45kiozenhttp://www.magellanboard.de/viewtopic.php?t=650&sid=6b3123d4ca3b528c8606d55fd42de05c
13:15.50kiozenyes sirfII
13:15.55kiozensirf III
13:16.15kiozeninkognito is very close to magellan
13:16.25kiozenthus this information is good
13:17.10cr2CPU = Samsung 2412/SLC, RAM = 32 MB, ROM = 64 MB, SIRF III, SD Card Map Storage.
13:17.22cr2hmm. i think there is 2412 linux support
13:17.47cr232MB looks better than 2MB
13:18.27tmztdoes that use ce?
13:18.35kiozenafaik yes
13:19.30*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
13:19.34kiozencr2: 32MB, that will be tough for qt
13:20.01kiozenright now the M footprint with linux/qt and M is ~40 MB
13:20.21NetRipperswap ;)
13:20.27kiozen:)))
13:20.31kiozenbetter not
13:21.32cr2NetRipper: solder one more on top :)
13:22.42NetRipperwow, ambitious;)
13:22.48cr2kiozen: but how much junk is included in qtopia4, that can be droped ?
13:23.13tmztstuff like dbus clients?
13:23.29tmztkioslaves
13:23.45cr2like svg rendering, sql support
13:23.52cr2qdsync
13:25.26cr2kiozen: ok, then 1500 is the only choice.
13:25.33kiozensurely quite some stuff, but that has been placed into seperate libs anyway
13:25.33cr22442 is very well supported.
13:26.04tmztare you using qws?
13:26.04kiozen1500 has no compass and barometric sensor.
13:26.15cr2and 500 has ?
13:26.24kiozentmzt: yes
13:26.28kiozencr2: yes
13:26.45cr2kiozen: what is the difference between 1500 and 2000 ? cam ?
13:27.04kiozensensors and cam (and afaik audio)
13:27.05tmztwhat size initramfs are you using or do you intend to use nor flash?
13:27.51cr2kiozen: so the magnetometer and pressure sensor are on 2000 too ?
13:27.58kiozentmzt: think we first have to get one of these to decide
13:28.06kiozencr2: yes
13:29.35tmztwould testing with qemu help?
13:30.50kiozentmzt: you mean simulating the stuff before wrecking the device?
13:31.00kiozenthink that's not cr2's style ;)
13:31.14tmztI mean testing whether you can fit what you need in 32 megs
13:31.18tmzt<PROTECTED>
13:32.12cr2kiozen: LOL
13:32.31cr2kiozen: can we convince somebody to run haret ?
13:32.49kiozenI live in a 100% Garmin area
13:32.59cr2it's also a question how high is the security on these devices.
13:33.11cr2kiozen: ok, how much does 2000 cost ?
13:33.22kiozen~500-600 bugs
13:33.34kiozen500 is ~260 only
13:33.35tmztthere's some discussion of these in hpcdev, not explicitly garmin but media players and gps units
13:34.02cr2tmzt: is it possible to install software on them ?
13:34.21tmztsome it appears, some just load a .exe from sd card with a certain name
13:34.55kiozenthere is a file on the triton
13:35.12kiozenif you replace it you can start what ever wince app you want
13:35.18kiozeneg oziexplorer
13:35.36cr2ok.
13:35.41kiozenthus haret should be possible
13:35.44cr2so haret should not be a problem
13:36.00kiozenit's more a question about how to read information
13:36.08cr2them we can dump rom,nand,ram and trace gpios
13:36.29tmztrapi?
13:36.51kiozenthere is no network on the device
13:37.00tmztno usb?
13:37.06kiozenand I doubt usb works like expected
13:37.11cr2tmzt: i think somebody can be convinced to produce earlyharetlog.txt
13:37.20kiozenexpected == syncce
13:37.29cr2kiozen: the SD is enough
13:37.33kiozenok
13:38.07cr2and the scripts can be run from a text file
13:38.20tmztsince itsutils.dll uses code running on the device, is there some reason no application exists to dump the doc/nand to sd card?
13:38.25cr2i had some problems with ppp on a medion navi
13:38.45cr2but solved them by pinging the device from a separate window
13:39.29cr2tmzt: the itsutils could not dump doc on n560
13:40.06cr2but ymmv on triton
13:40.12kiozenhttp://gpstracklog.typepad.com/gps_tracklog/2007/08/more-on-the-mag.html
13:40.32kiozenlook at and for feature overview
13:40.57kiozenbut prices are more in EU
13:43.24kiozenhttp://www.ppm-gps.de/pages_de/consumer/handheld/handheld.html
13:43.30cr21500/2000 has a ts
13:43.35kiozenthat is exclusive ditributor for DE
13:43.40kiozencr2: yes
13:43.55kiozenbut it's not satisfying
13:45.18cr2i think there is no reason to buy 1500
13:46.40kiozenyes it's either 500 or 2000
13:46.55cr22.7" qvga
13:47.58cr2for that size qvga is ok
13:47.59*** join/#htc-linux asj_xda (n=asj@130.78.broadband3.iol.cz)
13:48.25cr2usb data cable
13:48.33asj_xdaHi guys :)
13:49.28kiozenhttp://www.taxnav.de/product_info.php/info/p14242-Magellan-Triton-500.html
13:49.50*** join/#htc-linux Zoolooc_ (n=fredsiba@nrbg-4dbfdc97.pool.einsundeins.de)
13:50.02cr2(optional externe Antenne
13:50.20asj_xdaIs here now anyone who is interested in Kaiser Android porting? I have some questions....
13:51.02cr2500 is 2.2"
13:52.05kiozenbut is it worth 300€ more
13:52.26cr2kiozen: i think BabelO was running M on qvga
13:52.34kiozenyes
13:52.56cr2no ext antenna on 500 ?
13:54.04cr2what about SDHC ?
13:54.16cr2well, with linux it should not be a problem :)
13:55.02cr22442 will certainly use builtin SD
13:55.08tmztasj_xda: you can ask you questions, dcordes and dzo are mostly working on kaiser now but most stuff should be the same/similar on all msm
13:56.10cr2tmzt: not the cpld/gpio/leds
13:56.25cr2keyboard
13:57.27tmztI mean android stuff
13:57.29asj_xdacr2: yes, well I am trying to get more involved and I encountered some issues, so I was looking for answers
13:57.41cr2tmzt: ok
13:57.55asj_xdacr2: But I guess dzo would be sleeping now :D
14:00.40asj_xdais there separate Android Channel?
14:01.00tmztfor non-g1, not really, but there is #android
14:04.56cr2kiozen: i'm for the US version of 2000
14:05.57cr2and an external antenna
14:06.33kiozencr2: if you find a dealer willing to export you have to pay tax and in case of waranty you are boned
14:06.43kiozencr2: and you need warranty
14:06.54kiozencr2: this cheap chineese stuff
14:07.30kiozencr2: there are devices that work, and a good share has to be sent in again after purchaise
14:08.01asj_xdaOK, I'll wait for dzo, cause it is quite confusing. After kaiser sleeps a while on wake up I have only strips on my screen :(
14:08.18kiozenmagellan != garmin; magellan == SPD
14:08.19asj_xdabut perhaps you'll not be able to give me hint what
14:08.26asj_xdawhat is wrong
14:08.29cr2kiozen: philippines :)
14:08.35asj_xdaCU L8r
14:08.36kiozenright :)
14:08.45kiozenbut same mess
14:08.48cr2kiozen: the first goolge hit http://www.pixmania.com/de/de/729337/art/magellan/gps-outdoor-marine-triton.html
14:09.18cr2marine, lol
14:09.37kiozencr2: I bought my 1st beamer from pixmania
14:09.44cr2lol
14:09.56kiozencr2: I will never buy there e second time ;)
14:10.10*** join/#htc-linux opennandra_ (n=opennand@afrodita.advanet.sk)
14:11.19cr2ok
14:11.58tmztit seems we should have a ohci pdata with certain flags set and call pxa_set_ohci_info
14:12.04tmztsorry
14:12.13cr2kiozen: (Unverbindliche Preisempfehlung: € 654.00
14:12.55*** join/#htc-linux m4D (n=m4D@ppp83-237-246-61.pppoe.mtu-net.ru)
14:13.01cr2kiozen: beamer and a small gadget are different
14:13.08cr2kiozen: where are they located ?
14:13.12kiozenfrance
14:13.42kiozenhttp://www.taxnav.de/index.php/cat/c1671_Triton-2000.html
14:14.03cr2ok, that's bad.
14:14.10kiozen580.- is more the usual
14:14.54cr2http://www.futurumshop.de/product/6065-0007-N0804/magellan-triton-2000-gps.phtml
14:15.37cr2hmm. not anymore
14:16.47asj_xdacr2: BTW: would you think that there would be any possibility to see something like system.log in android running?
14:16.52opennandra_kernel booting on HTC Oxygen
14:17.17opennandra_after 3 weeks of testing and learning it works hooray :D
14:17.53cr2asj_xda: i have no idea about android. never used it.
14:20.06m4D<PROTECTED>
14:21.00tmzthow new is Xfbdev?
14:21.15m4Dfrom latest xorg release
14:21.47m4Dxorg-server-1.5.1
14:22.02tmztthat has built-in tslib support?
14:22.20m4Dyes. i configured with -enable-tslib
14:22.55tmztjust to start with, try strace Xfbdev -mouse tslib 2>&1|grep lib
14:23.29cr2kiozen: i think that the cheaper devices are the US version
14:23.52tmztyou're really going to want to build X with -g at least and run it with gdb
14:23.55cr2but i can't find an antenna
14:24.17m4Dlot's of strings, like: open("/usr/local/lib/libts-0.0.so.0", O_RDONLY) = 3
14:24.59kiozencr2: you have to add tax and the loss of waranty
14:25.09tmztis that where you installed it?
14:25.21tmztldconfig -v /usr/local/lib
14:25.21m4Dyes
14:25.44tmztand /usr/local/lib is in $LD_LIBRARY_PATH for Xfbdev?
14:25.55m4Dyes
14:25.55tmztobviously since it is in the strace
14:26.15tmztwhat version of tslib is it?
14:26.28m4D1.0 release, from berlios site
14:26.43m4Dit's identical to svn
14:27.37m4Dlook like i really need to build gdb... that'll take some time
14:27.40tmztit's very hard to follow a segfault without gdb, but try the strace without grep and paste the last few lines before the segfault
14:27.45tmztyeah
14:27.57*** join/#htc-linux cr2_ (n=cr2@ip-77-25-82-1.web.vodafone.de)
14:28.40m4Dstrange line just before segfault
14:28.43m4Dopen(NULL, O_RDONLY)
14:29.01m4Di dunno what is that, can't find it in fbdev.c
14:29.06tmztno, makes sense
14:29.30tmzttry Xfbdev -mouse tslib,,device=/dev/input/eventX
14:30.09*** join/#htc-linux myxor (n=myxor@pdbn-4d08956a.pool.mediaWays.net)
14:30.30m4Dhmm) started without segfault... strange, TSLIT_TSDEVICE is defined
14:30.41tmztit's not really used anymore
14:30.52m4Dok. thank you)
14:30.53tmztexcept by tslib-utils
14:31.13tmztalthough I thought 1.5 would have the evdev based touchscreen driver
14:31.40m4Dit has, but it works ugly
14:32.26tmztah
14:33.12tmzthow fast is Xfbdev in 1.5
14:33.12tmztand what kind of memory usage
14:33.16tmztalso, I assume you are using pxafb
14:34.47m4Dfast enough) mm... i dunno how to check real mem usage) top sez about 200kb
14:35.06m4Dyes, pxafb
14:35.14tmztresolution?
14:35.34m4D480x640
14:35.57tmztnice, so it supports portrait as well
14:36.20tmztI have a 240x320 and kdrive from debian armel won't support the resolution
14:36.49tmztwhat did you have to do to build Xfbdev from x.org git?
14:36.57tmztwhat kind of dependencies?
14:37.18m4Dlots of deps) packet by packet
14:37.38cr2_haha, very interesting.
14:38.09m4Dbe back a bit later
14:41.27*** join/#htc-linux TripleQ (n=joost@ip49-198-173-82.adsl2.static.versatel.nl)
14:47.23*** join/#htc-linux nebi (n=nebi@170.ftth2.cust.fyrobs1.upps.se.borderlight.net)
15:05.34cr2_lol
15:06.20cr2_quote -> "HTC: Use CLK API, just return, need to review"
15:07.15tmztwhere?
15:08.32cr2_titan cif.dll
15:09.07cr2_yeah. M, NOT_N_M, NOT_2D
15:09.16cr2_i think we know these already.
15:09.54tmztwhat dll is that?
15:10.12cr2_camera
15:10.41tmztyeah got that after a minute, I was thinking qif was camera for some reason
15:10.44tmztit uses mddi though?
15:10.46cr2_and then the +0x40 changes wrapped in rex_int_lock/rex_int_free
15:11.05cr2_CameraInterFace
15:11.28cr2_ok, 40 and 2c
15:13.18cr2_3c
15:13.34cr2_so it's called VFEHW
15:14.01cr2_VFE? i think i've seen it in the g1 clock code
15:15.16tmztvideo front-end?
15:19.00*** join/#htc-linux acsviluppo (n=acsvilup@151.67.24.12)
15:19.03cr2_a funny name for the cam sensor ?
15:19.27cr2_122         CLOCK("vfe_clk",        VFE_CLK,        NULL, OFF),
15:19.47tmztI think something else that allows the video to be passed to dsp
15:19.59cr2_123         CLOCK("vfe_mdc_clk",    VFE_MDC_CLK,    NULL, OFF),
15:20.14cr2_and what is VDC ?
15:20.27cr2_video display controller ?
15:20.39tmztwhere?
15:21.05cr2_121         CLOCK("vdc_clk",        VDC_CLK,        NULL, OFF | MINMAX),
15:21.38cr2_nice. i've lerned that the btaudio pins are called BTPCM in tita
15:22.43cr2_hmm. now i'm missing the usb clocks, tv out and mdp
15:23.07tmztdoes VDC include mdp?
15:23.46*** join/#htc-linux pawel (n=pawel@195.205.38.92)
15:25.01cr2_i think so
15:25.41Balsatasj_xda: /system/bin/logcat
15:26.33asj_xdaBalsat: I've allready found that the only tink I need is >su >logcat
15:27.46asj_xdaBalsat: anyway I have currently some issue with strips on my display after wakeup from power save and I do not see anything in the log :( The log is only runtime or is there  possibility to store it and get it after reboot?
15:28.20tmztdzo is still working on power management
15:29.03asj_xdatmzt: I know.. but it seems like I am currently the only one having that issue
15:29.45*** join/#htc-linux pH5 (n=ph5@e178212099.adsl.alicedsl.de)
15:30.03Balsatasj_xda: logcat is the only way i know of
15:31.38asj_xdaBalsat: I was trying to get something like logcat > logcat.log but I am not able to write > on the hardware keyboard and I haven't found a way to launch soft KB
15:32.12BalsatCan't you make a script?
15:33.00asj_xdain WinMo and just launch it in Android?
15:33.11asj_xdathat would maybe work
15:33.14BalsatYes
15:33.32asj_xdaOK, I'll give it a try..
15:35.28asj_xdawaht shell it uses?
15:36.56tmztcr2_: huh, SanMehat said it might be variable focus engine, and autofocus is done by dsp
15:37.10tmztis this a clock or pwm?
15:37.51Balsatsh
15:39.08cr2_tmzt: i think clock
15:41.53tmztuh
15:42.00tmztCamera / Video Front End clock
15:42.12tmztVFE_CLK 40  Camera / Video Front End clock
15:42.23tmztVFE_MDC_CLK 41  VFE MDDI client clock
15:42.43cr2_ok
15:42.48cr2_hehe.
15:42.49tmztalso, it appears the msm is a mddi client to the camera interface (video front end??)
15:42.53tmztthat's in android git
15:43.08cr2_the smi size value is hardcoded as 0x20 on raph800
15:43.18cr2_tmzt: yes.
15:43.32tmztthe comments in clock-7x01a.c are useful
15:43.40cr2_yes
15:43.43tmztyou might have been the one to say that, can't remember
15:44.43tmztACPU_PLL_TCX0, ACPU_PLL_0,1,2,3
15:45.03tmzta11clk_src_sel
15:45.13tmzta11clk_src_div
15:45.21tmztahbclk_khz
15:45.26tmztahbclk_div
15:45.34tmztwhat is ahbclk?
15:46.06cr2_something very lowlevel
15:46.16cr2_i doubt that we need to control it
15:46.23tmzt#define A11S_CLK_CNTL_ADDR (MSM_CSR_BASE + 0x100)
15:46.31tmzt#define A11S_CLK_SEL_ADDR (MSM_CSR_BASE + 0x104)
15:46.46tmztwhat is CSR and what are these offsets?
15:46.53cr2_it's already handled separately
15:47.07tmztok, is sel the same as s?
15:47.29cr2_hm.
15:47.34cr2_don't know
15:49.01tmzthttp://android.git.kernel.org/?p=kernel/msm.git;a=blob;f=arch/arm/mach-msm/acpuclock.c;h=6ea137be23e8dbb5086f4fec42267b32d557b6f9;hb=android-msm-2.6.27
15:54.15AstainHellbringmorning
15:54.16cr2_390                 /* CLK_SRC0_SEL */
15:54.17cr2_391                 sel = (readl(A11S_CLK_CNTL_ADDR) >> 12) & 0x7;
15:54.32cr2_this one looks god, but on a different place
15:55.04tmztthinking A11S is arm11 source
15:55.08tmztcan't confirm
15:55.33tmztis MSM_CSR_BASE the base you find in ce?
15:57.01tmzt0xE0001000
15:57.12tmzt0xC0100000 phys
15:57.57cr2_NetRipper: the ram size is stored in nand ;)
15:58.30cr2_tmzt: yes, it's a different area
15:59.39tmztI guess that's just smem since A11 int and everything else is offset from there
15:59.54tmztA2M_INT
15:59.55tmztI mean
16:01.22NetRippercr2_, how are we supposed to read that when the kernel is still in its very early boot stage
16:02.30cr2_NetRipper: maybe on raph800 only
16:02.52cr2_NetRipper: we should set the right memory size in haret
16:05.59NetRippercr2_, ok then we still have left how to determine 32 or 64mb sram
16:06.09cr2_32 only
16:07.29cr2_NetRipper: [16:43] <cr2_> the smi size value is hardcoded as 0x20 on raph800
16:08.14cr2_NetRipper: but i guess we can use the first 8 or 9 MB of sram
16:08.50cr2_because oemsbl is at 0x930000 and amss is at 0xa00000
16:10.06*** join/#htc-linux zycho (n=zycho@a89-183-76-201.net-htp.de)
16:10.31cr2_NetRipper: does vogue decode teh dex batt response ?
16:11.13NetRipperi dont know
16:11.20NetRipperi think maejrep has looked into that a bit already
16:20.22*** join/#htc-linux m4D (n=m4D@ppp85-140-86-67.pppoe.mtu-net.ru)
16:26.37cr2_NetRipper: http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=blob;f=arch/arm/mach-msm/battery.c;h=7948f4a0cb628755e6781243b202c0b73ba558ad
16:26.51cr2_NetRipper: static int htc_get_batt_info(struct battery_info_reply *buffer)
16:27.11cr2_NetRipper: it's the same location on raph800
16:27.33tmztyou said on titan, titan was the same
16:27.43tmztas raph800?
16:27.55cr2_NetRipper: we have it at +0xfc110
16:28.02cr2_tmzt: yes
16:28.13cr2_NetRipper: and they at +0xfc140
16:28.25tmzthaving a lot of fun with git
16:28.36cr2_hehe
16:28.37tmztmoving things around and trying to break it
16:29.04tmztmostly trying to save some space which is not working well
16:30.11*** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey)
16:34.20cr2_NetRipper: do you have raph+wince+haret somewhere close ?
16:37.11arto_cr2_, I do...
16:40.59NetRippercr2_, i do (too)
16:41.04cr2_AstainEEE: can you start dumping at 0x0 ?
16:41.38cr2_i'm interested when the dump will start failing (<10MB)
16:41.50NetRippermemory dump?
16:41.57cr2_yes
16:42.08NetRipperphysical or virtual address 0?
16:42.16cr2_pwf smi 0x0 0xa00000
16:43.23AstainEEEk started that in haret console
16:43.26NetRippergot a file of 9441280 bytes
16:43.38NetRippershort write detected'
16:43.41cr2_0x930000 ?
16:43.42AstainEEEShort write detected while writing to file
16:44.22AstainEEEsame thing on 930000
16:44.29cr2_9633792
16:44.46cr2_9437184 is 9MB
16:44.59NetRipper0x901000
16:45.01*** join/#htc-linux hechu (n=hechu@221.5.86.42)
16:45.18cr2_ok, so you can't read oemsbl
16:45.27cr2_makes sense ;)
16:45.49NetRipperdoes it ;)
16:46.00NetRipperbunch of teasing people over at htc
16:47.12cr2_ok, so we can use 9MB
16:48.35NetRipper9mb of what... 0x0 is not the location of the memory module
16:48.52cr2_for FB and such
16:49.19cr2_NetRipper: let's optimize your memory layout now :)
16:51.27tmztis mdp already using that or is it using external sdram?
16:51.31NetRipperdon't we need a piece of actual memory for fb
16:51.48cr2_tmzt: it depends on the device
16:52.09cr2_tmzt: g1 has an extra 32MB bank
16:52.55cr2_and NetRipper uses some crippled setup with 76MB for linux :)
16:53.32tmzthuh, how much ram does raph100/800 have?
16:53.56cr2_NetRipper: you need ram for fb. the kind of this ram does not matter.
16:53.56NetRipperif i let linux figure it out for itself (i..e remove the mem=) then android wont boot, probably because it writes in wrong data
16:53.56cr2_tmzt: 128+128+9
16:53.56tmztI got some numbers from San for 2.6.27, I can look them up if you want
16:54.38cr2_NetRipper: it's not about mem, but the hardcoded mem layout
16:55.07tmztfor 2.6.27 (cupcake) on g1
16:59.29cr2_gpu0, gpu1,adsp and mdp need some memory
17:03.55NetRipperi fucked up my git
17:03.59NetRipperneed to checkout again
17:05.42*** join/#htc-linux cr2__ (n=cr2@ip-77-24-111-25.web.vodafone.de)
17:07.05NetRipperdinnertime, bbl
17:17.05*** join/#htc-linux cr2__ (n=cr2@ip-77-24-111-25.web.vodafone.de)
17:31.08cr2__NetRipper: the g1 setup is not less strange than yours :)
17:38.57*** join/#htc-linux hamx0r (i=hamx0r@ip70-181-218-195.sd.sd.cox.net)
17:47.22*** join/#htc-linux opennandra (n=opennand@afrodita.advanet.sk)
17:47.29*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
17:51.59AstainEEEso cr2__ whats needed to get this full mem mapping done?
17:55.37cr2__AstainEEE: we need to test some modifications
17:56.32cr2__NetRipper has diverged from g1 too much.
17:57.06cr2__i don't understand why both don't use the 110-128MB area
17:58.40AstainEEEok what can I do to help?
18:01.06m4Dhey guys, how to set kdrive's mouse protocol? 'switching to protocol xxx' makes me mad...
18:22.16asj_xdadzo: Are you online?
18:27.13cr2__AstainEEE: let's first shift the memory top to 128MB
18:30.16AstainEEEok cr2__ how we do that one?
18:30.33*** join/#htc-linux dzo_ (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
18:43.31*** join/#htc-linux metter (n=metter@173-221.62-81.cust.bluewin.ch)
18:44.24cr2__AstainEEE: in the board-htcraphael.h
18:44.44cr2__change  #define MSM_EBI_SIZE            0x6e00000
18:44.51cr2__to  #define MSM_EBI_SIZE            0x8000000
18:45.03*** join/#htc-linux tsdogs_ (n=tsdogs@net203-187-146.mclink.it)
18:45.13cr2__and #define MSM_LINUX_SIZE          0x4c00000
18:45.14cr2__to
18:46.12cr2__#define MSM_LINUX_SIZE          0x6600000
18:46.35cr2__compile, and check if it'll boot :)
18:50.55*** join/#htc-linux Arto (n=AstainHe@c-67-164-195-234.hsd1.ut.comcast.net)
18:51.49cr2__AstainHellbring: lost my last message ?
18:51.57*** join/#htc-linux arto_ (n=arto@c-67-164-195-234.hsd1.ut.comcast.net)
18:51.59AstainHellbringyah think so what was it?
18:52.26*** join/#htc-linux shoragan (n=shoragan@debian/developer/shoragan)
18:54.13cr2__[19:44] <cr2__> AstainEEE: in the board-htcraphael.h
18:54.13cr2__[19:44] <cr2__> change  #define MSM_EBI_SIZE            0x6e00000
18:54.13cr2__[19:44] <cr2__> to  #define MSM_EBI_SIZE            0x8000000
18:54.13cr2__[19:44] --> tsdogs_ has joined this channel (n=tsdogs@net203-187-146.mclink.it).
18:54.13cr2__[19:45] <cr2__> and #define MSM_LINUX_SIZE          0x4c00000
18:54.13cr2__[19:45] <cr2__> to
18:54.13cr2__[19:46] <cr2__> #define MSM_LINUX_SIZE          0x6600000
18:54.13cr2__[19:46] <cr2__> compile, and check if it'll boot :)
18:56.02AstainHellbringahh ic
18:57.38cr2__if it will boot, please pastebin the dmesg
18:58.34NetRippercr2__, because smem is there? we can't use tahat area
18:59.05NetRippereverything above 92m cant be used on the first bank
18:59.26NetRipperdon't ask me why 92m.. it's unstable when using 96m
19:01.24cr2__NetRipper: btw, you don't have 8MB for the camera, and the 128K for "console" in your map
19:01.46cr2__2M for the fb is an overkill, but it's another issue
19:02.07NetRipperlet me note that i have nothing to do with the current memory map :P
19:02.16cr2__?
19:02.36NetRipperthe .h file is not my work
19:03.05cr2__where does it come from ?
19:03.30NetRipperit was part of the initial 2.6.25->2.6.27 commit by maejrep
19:04.08NetRipperhence i dont know much about memory layouting
19:04.51cr2__ok
19:05.04cr2__AstainHellbring: does it work ?
19:05.14NetRipperit won't work
19:05.17NetRipperhe'll get a white screen
19:05.43NetRippernot sure if i used 0x66* though
19:05.57AstainHellbringI haven't tried it yet
19:06.11AstainHellbringhaving to file an insurance claim on one of my cell lines
19:06.23NetRippersue those bastards!
19:07.26NetRippercr2__, btw 'gitk' is a lovely tool.. sorta like gitweb but in a local client
19:07.43NetRipperallows you to see diffs really fast and easily
19:07.46cr2__ok
19:08.03cr2__NetRipper: can you check the different memory layout ?
19:08.15NetRipperthe LINUX_BASE change you mean?
19:08.33NetRipperand EBI
19:09.19cr2__yes
19:09.28cr2__i think EBI is not used anywhere
19:09.35cr2__but just to be sure
19:09.54cr2__hmm
19:09.58cr2__434         clk = clk_get(&pdev->dev, "mdp_clk");
19:10.35cr2__what does this call return ? afaik the mdp clk is not known. maybe 0x200 though.
19:12.24cr2__sometimes i'm amazed that the kernel boots at all :)
19:15.40NetRippercant find where the msm_clocks are defined :p
19:16.25NetRipperah
19:16.27NetRipper<PROTECTED>
19:16.38NetRipperclock-7x01a.c
19:16.49NetRipperthe msm_clocks array
19:18.37NetRippercr2__,
19:18.47NetRipperwith your modifications, the kernel booted, but msm_fb fails
19:18.52NetRippergetting a white screen
19:19.05NetRipperi can telnet to it though, so any commands you want me to check?
19:19.32NetRipperstill using mem=76M though
19:19.58NetRipperdont think that should cause the issue
19:19.59cr2__free
19:20.10NetRipperMemTotal:        73924 kB
19:20.10NetRipperMemFree:         70052 kB
19:20.19cr2__pastebin the dmesg
19:20.24NetRippersec
19:20.35cr2__ok, the mem=102M
19:21.29NetRipperhttp://netripper.pastebin.com/d627bfaff
19:21.58cr2__ok
19:22.44cr2__try 102
19:22.47NetRipperwill do
19:22.55cr2__hmm, this is not nice: [    0.190000] WARNING - Bad VDD (0 != 7) for this freq
19:23.04NetRipperbeen there since the start
19:23.30NetRipperarf elite rom gives me headaches
19:23.52NetRipper33% of the time it hangs when booting
19:24.11AstainHellbringNetRipper: rc3?
19:24.14NetRipperyes
19:24.20cr2__[    0.650000] msm_i2c_probe: clk_ctl 35d, 100000 Hz
19:24.22cr2__[    0.650000] msm_i2c_interrupt: IRQ but nothing to do!
19:24.26NetRipperAstainHellbring, it's a known issue
19:24.26AstainHellbringwierd its never done that to me
19:24.32cr2__don't know how the i2c_clk is handled too.
19:24.57NetRipperAstainHellbring, it's the tf3d inititialzing problem.. on those boots i dont get the 'loading touchflo 3d...' message..
19:25.04AstainHellbringahh hanging there
19:25.13cr2__hmm
19:25.18cr2__[    0.825406] clk_set_rate 7:19200000
19:25.20cr2__[    0.825467] unknown clock!
19:25.28cr2__at least some reasonable message
19:25.45NetRippercr2__, you already mentioned that... 7 is the clock that is unknown
19:25.59cr2__what is  7 ?
19:26.04NetRippergeneral purpose
19:26.10cr2__ah, ok.
19:26.29cr2__it's known, but needs some more careful research.
19:26.48cr2__because it touches the registers in teh non-divisor area
19:27.17NetRippersame behaviour with 102
19:27.19NetRipperM
19:27.33cr2__same ?
19:27.37NetRipperMemTotal:       100324 kB
19:27.38NetRipperMemFree:         96404 kB
19:27.43cr2__post the dmesg
19:27.46*** join/#htc-linux opennandra_ (n=opennand@afrodita.advanet.sk)
19:27.47NetRippermsmfb fails - white screen
19:28.14cr2__well, the lcd is so fucked up, that i'm amazed that it works at all ;)
19:28.43NetRipperhttp://netripper.pastebin.com/d6bcec3f7
19:28.48cr2__thanks
19:29.09NetRippermsmfb works when i reset those values to not overlap smem
19:29.10NetRipper:)
19:29.20cr2__smem ?
19:29.42NetRippermdp/adsp/gpu1 overlap smem now, dont they
19:29.50cr2__no
19:30.14cr2__they are just above 102MB
19:30.26cr2__102+8+8+8+2
19:30.45cr2__LNX+MDP+ADSP+GPU1+FB
19:31.16cr2__the GPU0 is in SRAM 0x0-0x800000
19:31.33cr2__but g1 has 7MB instead
19:31.44cr2__and i have no idea who is using it.
19:31.53NetRipperbut wasn't the last 32mb of the first bank used by modem?
19:32.15NetRipperfirst bank has 128mb, 96-128 is used by modem = smem, isnt it?
19:32.23cr2__9MB is oemsbl, 10-31 is amss, and 32 is SMEM
19:32.23NetRipperam i confused about something?
19:32.30cr2__no
19:32.36cr2__there are 3 RAM areas
19:33.11cr2__SMI, EBI@0x10000000 and EBI@0x20000000
19:33.37cr2__the SMI is 0-9 GPU0, 9MB is oemsbl, 10-31 is amss, and 32 is SMEM
19:34.22NetRipperok
19:34.23cr2__EBI1@0x10000000 is 128MB for linux and MDP+ADSP+GPU1+(CAM)+FB.
19:34.46cr2__we can actually move FB into SMI
19:35.03cr2__and the rest needs some discussion too
19:35.20cr2__ADSP+MDP can't be revised, probably
19:35.55cr2__so 104MB for linux is not a problem
19:36.31*** join/#htc-linux Pure4Real (n=pure4rea@89-97-140-219.ip17.fastwebnet.it)
19:37.32cr2__btw, the 102MB dmesg does not whine abut the cpu voltage ?
19:38.24NetRipperit doesnt?
19:38.32NetRipperindeed it doesnt
19:39.09cr2__don't understand this one [    0.981107] msm_serial: probe of msm_serial.0 failed with error -2
19:39.36cr2__[    0.997800] usb_probe() io=c6806000, irq=47, dma=ffc01000(16227000)
19:39.43cr2__need to check this one too
19:39.56cr2__where does 16227000 come from
19:40.16cr2__[    0.991361] logger: created 64K log 'log_main'
19:40.17cr2__[    0.991879] logger: created 256K log 'log_events'
19:40.18cr2__[    0.992337] logger: created 64K log 'log_radio'
19:40.26cr2__and this one too
19:40.43NetRipperah that may be ram console
19:41.05NetRipperprintk(KERN_INFO "usb_probe() io=%p, irq=%d, dma=%p(%x)\n",
19:41.06NetRipper<PROTECTED>
19:41.09NetRipper<PROTECTED>
19:41.11NetRipperoops
19:41.56cr2__you didn't reserve ram for cnsole
19:42.02cr2__128K
19:42.36cr2__if it's needed at all. for non-android operation
19:42.57*** join/#htc-linux zycho_ (n=zycho@a89-183-76-201.net-htp.de)
19:42.57cr2__btw, what is the purpose of 'diag' ?
19:43.00cr2__[    1.001553] usb_bind_func() 'diag'
19:43.22NetRipperdont know, it's htc/qc specific
19:43.48NetRipperwe can remove it, just like adb, which i havent found a use for either
19:44.24cr2__ok
19:44.44cr2__usb0 for cdc-ether is ok
19:44.48cr2__[    1.569180] mmc0: DM non-cached buffer at ffc03000, dma_addr 0x16237000
19:44.49cr2__[    1.584500] mmc0: DM cmd busaddr 0x16237000, cmdptr busaddr 0x16237300
19:44.56NetRipperisn't console ram allocated withint he linux_base part?
19:45.01cr2__the 0x16* area is loved by dma :)
19:45.19cr2__android console ram is a fixed allocation
19:46.55cr2__36 #define MSM_RAM_CONSOLE_BASE    MSM_EBI_BASE + 0x6d00000
19:46.56cr2__37 #define MSM_RAM_CONSOLE_SIZE    128 * SZ_1K
19:47.39cr2__make FB 1MB instead of 2MB and put the console above it.
19:47.54NetRipperwhat file is that from?
19:47.59cr2__g1
19:48.09cr2__MSM_EBI_BASE + 0x6d00000 needs to be changed of course
19:48.20NetRipperi see
19:48.20cr2__where is the logger driver ?
19:49.59NetRipperallocate the 1mb substracted from fb to ram console?
19:50.16cr2__wait
19:50.20NetRipperbtw we dont have a MSM_RAM_CONSOLE_* defined now, and it compiles... so it isnt using it
19:50.29cr2__drivers/misc/logger.c
19:51.12NetRipperwhats up with it?
19:51.15NetRipperremove it?
19:51.48cr2__ANDROID_RAM_CONSOLE default n
19:52.36*** join/#htc-linux MethoS- (n=lem@host-091-097-241-080.ewe-ip-backbone.de)
19:52.44cr2__ok, you have enabled it
19:53.09NetRipperi can disable it just as easily ;)
19:53.20NetRipperdont know why it was enabled
19:53.23NetRipperwe had it disabled in .25
19:53.34*** join/#htc-linux dzo (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
19:54.09cr2___probe prints ram_console:
19:54.27cr2__don't see it in your log
19:54.40NetRipperbecause im not using console ram
19:54.45cr2__ok
19:54.48NetRipperit's a in-memory dmesg like wince has
19:54.57cr2__now the dma
19:55.26cr2__the 76MB setup has it at 0x14
19:55.42*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
19:56.10cr2__0x16* is 96MB+
19:56.27cr2__should be ok for kmalloc
19:56.39cr2__0x14* is 64MB+
19:56.53cr2__looks ok for me
19:57.13cr2__at first i thought it can overwrite the MDP and such.
19:57.17NetRipperi'll disable ram console
19:57.21cr2__ok
19:57.28cr2__and usb 'diag'
19:57.44NetRipperandroid_pmem allocator?
19:57.48*** join/#htc-linux shoragan (n=shoragan@debian/developer/shoragan)
19:58.22cr2__yes. leave it for now
19:59.56NetRippershould we include CAM in memory layout?
19:59.58NetRipperlike in trout
20:01.29NetRipper/* 102 + 8   + 8    + 8    + 1       + 1 */
20:01.32NetRipper/* LIN + MDP + ADSP + GPU1 + CONSOLE + FB */
20:01.36NetRipperis what i have now
20:04.31cr2__ok, if it boots, add the cam
20:04.52cr2__102-8=94
20:05.26cr2__but you may change GPU0 size to 0x7, and put FB there
20:05.43cr2__like g1
20:06.10cr2__int the 8th MB
20:06.13cr2__in smi
20:06.37cr2__i think that's the best we can do
20:06.38NetRipperit boots (at least the navi is responsive) but no usb and no fb... think i screwed something up regarding usb
20:06.48cr2__ok
20:07.05cr2__usb is usb0 instead of usb1 now ?
20:07.11NetRipperoh crap
20:07.20NetRipperforgot that
20:07.27NetRipperim still checking usb1
20:07.28NetRipper;x
20:07.44cr2__i was pissed from the very beginnng :)
20:07.52cr2__that it's usb1
20:08.01NetRipperwell, you wouldnt, if you had just read the wiki FAQ
20:08.02NetRipper;)
20:08.13cr2__i never read docs
20:08.22NetRipperevidently
20:08.25cr2__the software should be user-friendly :)
20:08.44NetRipperM$ has been attempting that for years
20:09.23NetRipperthink im going to flash another rom soon again
20:09.24NetRipper;)
20:09.25cr2__usb1 is completely non-obvious
20:09.56NetRipperwe had it working..
20:10.05NetRipperafter a long time
20:10.08NetRipperso we kinda were like
20:10.11NetRipperDONT TOUCH IT
20:10.14cr2__:)
20:10.42cr2__and i still don't understand why it works only with network class removed
20:11.42cr2__we also need to check who uses GPU0 and GPU1
20:13.29cr2__maejrep: are you here ?
20:14.16cr2__NetRipper: i'll be away for about 30min
20:14.21NetRipperok
20:14.35NetRipperim out soonish too
20:21.54NetRippercr2__, 1MB is not enough for msmfb
20:22.10NetRipper[    0.838040] allocated resource is too small for fb
20:22.10NetRipper[    0.838223] msm_panel: probe of msm_panel.0 failed with error -12
20:37.31cr2__NetRipper: 640x480x2 ?
20:37.36NetRipperno
20:37.37NetRippersec.
20:38.00NetRipperunsigned long size = msmfb->xres * msmfb->yres *
20:38.01NetRipper<PROTECTED>
20:38.18cr2__0x96000
20:38.25NetRipper16bpp
20:38.39cr2__yes, 2bytes per pixel
20:38.46cr2__640*480 pixels
20:39.54cr2__where does tis line come from ?
20:40.04NetRippermsm_fb.c
20:42.10cr2__* 2 ?
20:42.56cr2__NetRipper: can you remove *2 ?
20:43.15NetRippercr2__, the *2 is because it holds the framebuffer twice
20:43.25NetRipperone is a back buffer
20:43.39NetRippermsmfb also writes to the y offset
20:43.45cr2__ok
20:44.08cr2__0x12c000
20:44.30cr2__for the FB size
20:45.01*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
20:45.42NetRipperwhat does the >> 3 do?
20:45.47NetRipperim no star in bitshifting
20:45.49cr2__<PROTECTED>
20:45.55NetRipperah
20:45.56cr2__bits to bytes
20:46.57cr2__if the 9th smi MB is writable, i'll put FB at 0x700000
20:47.19cr2__can you dump the 9th MB ?
20:47.35cr2__pwf qcsbl 0x800000 0x100000
20:47.39NetRipperArchive        9441280  2009-02-08 17:42:44  smi
20:47.42NetRipperoh
20:47.56cr2__ok, the full dump is ok too
20:48.09NetRipperthat's how much i could dump starting at 0x0
20:48.15cr2__yes
20:48.23cr2__where can i get it ?
20:48.27cr2__bz2
20:48.28NetRipperyou want it? :P
20:48.30NetRippersec
20:48.41cr2__i'd like to look at the 9th MB
20:48.46cr2__if it's qcsbl
20:49.27*** join/#htc-linux rm (n=rm@fsf/member/rm)
20:55.37*** join/#htc-linux craxyham (i=hamx0r@ip70-181-218-195.sd.sd.cox.net)
20:58.15NetRippercr2__, netripper.com/raphael/smi.gz
20:59.20cr2__ok
20:59.22cr2__got it
20:59.35NetRipperok
20:59.38NetRipperremoved it
20:59.48NetRipperdunno if it contains secret info
20:59.49NetRipper:)
21:01.13NetRipperhm i need a better terminal than Eterm.. something that supports clicking urls
21:01.17NetRipper;)
21:02.11cr2__it has spl only
21:02.44NetRippereh? you can read spl from wince?
21:02.46NetRipperfunny
21:02.46cr2__don't see the qcsbl, so it's just a matter of testing if the 9th MB is writable
21:02.57cr2__the spl is at 0x0 ;)
21:04.20NetRipperbut i doubt we can make GPU0 7mb
21:06.59cr2__g1 ha 7MB
21:07.42NetRipperah, i see
21:07.56cr2__15 #define MSM_PMEM_GPU0_BASE      0x00000000
21:07.57cr2__16 #define MSM_PMEM_GPU0_SIZE      0x00700000
21:08.32cr2__hehe
21:08.36cr2__[    1.839719] clock_late_init() disabled 19 unused clocks
21:09.03cr2__the code needs to be much more verbose, and not just fall through on many clocks
21:13.13*** join/#htc-linux cmonexaway (n=xy6091@nifl5tpzno.adsl.datanet.hu)
21:14.01*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
21:25.41NetRipperoooooooh sweet cr2__
21:25.45NetRipperim getting console
21:25.56NetRipperwith FBRAM in SMI
21:26.33*** join/#htc-linux dzo (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
21:27.33NetRippercr2__, this is what i have now http://netripper.pastebin.com/d3d8bca1b
21:27.49NetRipperonly 6 mb for gpu0, not sure if that'll be enough in the future
21:28.24*** join/#htc-linux Venny (i=Travis@h216-45-127-2.dynamic.platinum.ca)
21:29.02cr2__nice
21:29.20NetRipperim still not sure about the high end of the 128 memory module
21:29.37NetRipperhow are we able to use the 32 mb reserved for modem
21:30.02cr2__<PROTECTED>
21:30.09cr2__and it's 128K anyway
21:30.26NetRippertrue
21:30.28cr2__32MB reserved for the modem is SMI
21:30.45cr2__then you'll have 104MB :)
21:30.52NetRippereh?
21:31.04NetRipperso the modem does nothing in the 128mb memory module?
21:31.12cr2__#define MSM_LINUX_SIZE          0x6800000 /* 104mb */
21:31.16cr2__yes
21:31.33cr2__and we need to enable the second 128MB bank too :)
21:32.02NetRipperthere must be something in the 128mb bank we can't use.. as there are errors when we use too much memory
21:32.51NetRipperand why wouldnt the FB work when it was in RAm
21:33.02NetRippermm
21:36.16cr2__but the dma to 0x16* works
21:48.02*** join/#htc-linux Arto (n=AstainHe@c-67-164-195-234.hsd1.ut.comcast.net)
21:52.24VennyHey i know this is Htc linux but im having a problem with my windows mobile phone lol, and im hopeing someone can help me
21:54.45Vennysomeone?
21:55.44NetRipperyou should ask in #xda-devs :)
21:55.59VennyK, i dont know any irc chans so thanks :)
21:56.11NetRipperthey're the forum.xda-developers.com guys
21:56.18NetRipper(you should check that forum first probably)
21:56.19NetRipper:)
21:56.39Vennyive checked i seem to be the only one with the problem lol
21:57.00NetRipperok ;)
22:00.35*** join/#htc-linux dzo_ (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
22:16.30*** join/#htc-linux gmarzioz (n=gmarzioz@host245-100-dynamic.6-87-r.retail.telecomitalia.it)
22:18.29*** join/#htc-linux MrFeetio (n=MrFeetio@pool-98-117-23-186.hrbgpa.fios.verizon.net)
22:19.15*** join/#htc-linux Venny (i=Travis@h216-45-127-2.dynamic.platinum.ca)
22:22.31*** join/#htc-linux dzo_ (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
22:29.35gmarziozhallo
22:29.43gmarziozto you
22:32.34*** join/#htc-linux infernix (n=nix@unaffiliated/infernix)
22:37.07*** join/#htc-linux venny_ (i=Travis@h216-45-127-2.dynamic.platinum.ca)
22:41.12*** join/#htc-linux Venny (i=Travis@h216-45-127-2.dynamic.platinum.ca)
22:42.45*** join/#htc-linux venny_ (i=Travis@h216-45-127-2.dynamic.platinum.ca)
22:50.35*** join/#htc-linux dzo (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
22:51.55*** join/#htc-linux Venny (i=Travis@h216-45-127-2.dynamic.platinum.ca)
23:01.12dcordesarr
23:01.34asj_xdahi
23:05.31asj_xdadcordes: BTW, you are working in Kaiser port of Android Right?
23:13.10asj_xdadcordes: Can we have a small talk?
23:13.22NetRipperuh-oh, that doesn't sound good
23:14.02asj_xdaNetRipper :) seems so..
23:14.22NetRipperit's how all bad-news conversations start
23:14.22NetRipper;)
23:14.45asj_xdahopefully not :D
23:15.52asj_xdaNetRipper I just wasted all the day pissed off by some strange issue with Android on my kaiser and I am not starting by arr :D
23:16.21asj_xdabut Gee I am lost now, I am waiting for dzo or dcordes to have some questions answered...
23:16.38asj_xdabut I am not sure if they are really here :D
23:28.03maejrepothers might be able to answer them, if you ask
23:29.32asj_xdamaejrep: I've tried few times, everybody just said, wait for those two...
23:29.53maejrepah
23:30.07asj_xdamaejrep: But anyway.. I am not sure what is wrong, but it seems that I am the only one with that issue now..
23:31.16asj_xdamaejrep: So when my Kaiser goes powersafe with Android, it does not come back, in fact everyhting seems to be running, just the screen displays white and green stripes (or lines) on the black background
23:31.45asj_xdaand I haven't seen anyone confirming that nor dza was quite surprised
23:31.54asj_xdadzo, not dza :D
23:40.17cr2__maejrep: i have checked the titan battery, and it's the same as raph800
23:40.38cr2__http://wiki.xda-developers.com/index.php?pagename=RaphaelMemoryMap
23:41.51maejrepwhy is it 2 bytes per for raph100, and 4 bytes for raph800?
23:45.39cr2__maejrep: don't know, but it's so
23:47.07cr2__maejrep: sorry, for titan. don't know about raph800 :)
23:47.19cr2__but the buffer address is +0xfc140
23:47.26maejrepit is 4 bytes in raph800 also
23:47.42maejrep4 * 5
23:49.47cr2__ok

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