IRC log for #htc-linux on 20090120

00:01.09dcordes_tmzt: do you know how the camera works in android?
00:01.45tmztonly that it renders directly through some dsp
00:02.12tmztusing a closed library from htc, and is implemented as a CameraView in android
00:03.30dcordes_do you think we can reproduce this for use with normal distros?
00:04.27cr2tmzt: is it possible to get these binaries ?
00:04.53tmztonly from a g1, google can't distribute them themselves
00:05.32tmztwhy can't we use a v4l driver for this?
00:05.42cr2tmzt: ok. where does android git pick them ?
00:06.01tmztfrom a g1 copied with adb
00:06.18cr2ok
00:08.19cr2haha
00:08.32cr2it seems that the epson chip does not have spi
00:08.53cr2so it uses the microP to send spi data to LCD
00:09.08cr2probably the toshiba was too expensive
00:09.46cr2always buy the zero day hw from htc :)
00:10.18tmztwho was going to look at the microp fw?
00:10.37cr2atmel has spi
00:11.10cr2but the way how they do it is strange
00:11.45cr2send i2c command to microP, so microP resends it over spi.
00:11.52cr2at least it's my impresssion
00:11.55dcordes_cr2: "you should do some i2c tracing. the cc,12,* looks different" <- how can I do that?
00:12.16cr2mmutrace on the i2c read and write regs
00:12.36*** join/#htc-linux gundam (n=gundam@slackware.it/staff/gundam)
00:13.35dcordes_the oney from raphael memory map? or determine where kosvsky i2c regs are first?
00:14.39cr2it's the same cpu
00:16.21dcordes_ok
00:17.25dcordes_http://wiki.xda-developers.com/index.php?pagename=RaphaelMemoryMapPg3 3 pages?
00:18.03NetRipperdcordes_, if one page gets too large, errors occur and the page will be blank... limit is 65k or something
00:18.09NetRipperdunno exactly
00:18.44dcordes_oh
00:20.12dcordes_wow kovsky keyboard looks awesome in the dark
00:20.32cr2maejrep disapperared
00:20.53dcordes_addlist mmutrace  0xa9900000 ... ?
00:21.05cr24 at the end
00:21.23cr2addlist mmutrace 0xa9900000 4
00:21.35dcordes_ok. shows nothing on wirq and keypress
00:21.56cr2virtual
00:22.01cr2p2v()
00:22.23NetRipperman im on the verge of cancelling this rebase, and just do a proper merge manually ;)
00:23.02NetRipperabout every automatic merge fails
00:26.18dcordes_cr2: http://rafb.net/p/Zf1U1h41.html
00:29.26*** join/#htc-linux cr2_ (n=cr2@ip-77-24-14-122.web.vodafone.de)
00:29.49NetRipperdidnt mmutrace need physical addresses?
00:30.29dcordes_cr2_: http://rafb.net/p/Zf1U1h41.html
00:31.07NetRippernight guys
00:31.12dcordes_night
00:32.56lupine_85hmm, I guess it's no surprise that I get screen tearing?
00:34.12dcordes_where?
00:38.55maejrepcr2_: i'm here
00:39.39maejrepNetRipper: i see you got the new branch squared away? ;o
00:39.58maejrepwant me to tar up my modified/copied files for comparison?
00:40.51cr2_maejrep: the vreg level values are in mV
00:40.58cr2_i've edited the wiki
00:41.24cr2_you can compare them with the proc_comm table values
00:41.57cr2_maejrep: the vreg usage is very strong dependent on the phone model. like gpio
00:42.35cr2_the raph800 spl has epson and toshiba mddi support, but epson is hardcoded.
00:43.14cr2_i began to document the registers used by epson in rapahelMDDI wiki page. at the bottom
00:43.23dcordes_cr2_: does my spl mention kovsky100 or 200..?
00:46.16cr2_dcordes_: kovsky only
00:46.53cr2_maejrep: it is possible to read the gpio ALT_CFG register
00:47.12dcordes_cr2_: should we just use kovsky100 ? maybe cdma versions will be released in future
00:47.30cr2_as you like
00:47.56dcordes_did you see the pastebin?
00:48.29cr2_maejrep: if you will recompile the .27 kernel, add the bt (hs serial) driver
00:49.39cr2_maejrep: for epson, the product id is returned by mddi_read of the registers 0x0 and 0x4
00:49.47maejrepmaejrep: how do you read it?  write the gpio number to the first byte, and read the second byte?
00:50.38cr2_maejrep: i think so, but can recheck
00:50.40maejrepwtf
00:50.51maejrepthat was supposed to be cr2, not maejrep :(
00:51.05cr2_lol
00:52.57lupine_85dcordes_: in enlightenment
00:53.08maejrepcr2_: so the epson mddi is probably not already supported by google?
00:53.17lupine_85just anything that's a big screen update - like switching workspaces
00:53.32cr2_maejrep: i guess you'd write the mddi_client_epson.c
00:53.43maejrepok
00:53.55dcordes_lupine_85: if it's not msm_fb related you can try the openmoko mailing list
00:54.37maejrepcr2_: those wiki changes are helpful, i'll compare to -panel.c
00:54.48cr2_ok
00:55.29cr2_it seems that even for toshiba, g1 code changes different registers from raph.
00:55.52cr2_is the lcd panel id included there ?
00:56.05cr2_=gpio_read 150000x
00:56.28maejrephmm, i can't get .27 to boot anymore for some reason...
00:56.47cr2_hehe
00:57.07cr2__fixup ? mem= ?
00:57.44maejrepnever did get that to work, but that's what made me start on .27
00:57.50maejrepcause .27 is supposed to have sparsemem support
00:58.09maejrepoh it did boot, it just took a while
00:58.33cr2_ok
00:58.44maejrep[    5.823850] clk_set_rate 23:50000000
00:58.44maejrep[    5.829678] Error setting clock rate (-22)
00:58.51maejrepguess it can't support 50MHz heh
00:58.54cr2_why 50MHz ?
00:58.58cr2_yes
00:59.03maejrepno idea
00:59.07cr2_who requests 50MHz ??
00:59.22maejrepprobably because i haven't changed msm_mmc to use sdcc_set_host_clock
00:59.29maejrepso it uses the built in clock
00:59.37cr2_it can, but we don't know the formual
00:59.39maejrepbut it does work
00:59.41cr2_ok
00:59.47cr2_strange.
00:59.48maejrepit mounts
00:59.48maejrepetc
00:59.56maejrep[    5.474454] mmc0: MMC clock 144000 -> 50000000 Hz, PCLK 66000000 Hz
00:59.59cr2_i've found the MD/NS for BT.
01:00.06maejrep[    5.120725] unknown panel id (0x00000003) at mddi_enable
01:00.11maejrepso that's my panel id
01:00.14cr2_yes, i was surprised too
01:00.23cr2_how is it calculated ?
01:00.31maejrephow is what calculated?
01:00.39cr2_panel id
01:00.49maejrepmddi_read at 0 :p
01:00.59cr2_0 and 4
01:01.07cr2_i'll check :)
01:01.13maejrep<PROTECTED>
01:01.13maejrep<PROTECTED>
01:01.13maejrep<PROTECTED>
01:01.13maejrep<PROTECTED>
01:01.13maejrep<PROTECTED>
01:01.23maejrepmaybe not
01:01.37maejrep#define GPIODATA    (GPIO_BLOCK_BASE|0x00)
01:01.44maejrep#define GPIO_BLOCK_BASE        0x150000
01:01.54cr2_it's for toshiba
01:01.59maejrepoh right
01:02.09maejrepso i'll need to modify -panel.c as well then
01:02.17cr2_i need to check it with my formula for raph100
01:02.44maejrep#define MDDI_CLIENT_CORE_BASE  0x108000
01:02.47maejrepis that right for epson?
01:03.05cr2_i think no.
01:03.19cr2_check raphaelMDDI
01:03.40maejrepI see it, but I only see 0's, so I wasn't sure if this was an offset from another base
01:04.06tmztmaejrep: on the new tree?
01:04.10cr2_ok
01:04.20maejrepno, this is still my local android checkout
01:04.32tmztcr2_: it appears the defines changed to be offsets from the mddi base in 2.6.27
01:04.55maejrepyes
01:05.04cr2_tmzt: i think they are
01:05.08maejrepeverything reads from mddi->base + x
01:05.27maejrepi think the base is the same though
01:05.31cr2_which is ?
01:05.33maejrepso its just the offsets that need fixing
01:05.37maejrepaa700000 ?
01:05.40maejrepand aa600000
01:05.52maejrepsame as on raph100
01:06.01maejrep(its an MSM iomap define)
01:07.07maejrep[    4.827756] mddi cmd send rtd: int 23a000, stat 808063, rtd val 11
01:11.04dcordes_good night
01:12.03cr2_maejrep: hm. the Cfg= is saved by wince kernel of dcordes, which i don't have
01:12.19maejrep?
01:12.20cr2_maejrep: but i think you need to write the gpio number, and then read the cfg
01:12.24*** join/#htc-linux exco (n=exco@e181083128.adsl.alicedsl.de)
01:12.28maejrepyeah that's what I thought
01:12.41maejrepsince it keeps the gpio number in 1st reg, after writing the new config
01:12.42cr2_<PROTECTED>
01:12.50cr2_and it does not print the cfg=
01:12.54excosomeone from the Polars front still around?
01:13.49cr2_maejrep: the pmdh clock (8c) is different for raph800
01:13.57cr2_maejrep: a41 vs a19
01:13.59maejrepjoy :p
01:14.11cr2_i see 2 kinds of clocks
01:14.20cr2_a-clock and b-clock
01:14.29cr2_for b-clock you need both MD and NS
01:14.38cr2_for a-clock only NS is used
01:15.23cr2_NetRipper: sleeping ?
01:15.57cr2_<PROTECTED>
01:15.57cr2_<PROTECTED>
01:16.15cr2_the 5c clock can be 0xa06
01:16.24cr2_for the lcd on most msm phones
01:16.36cr2_or the full MD/NS
01:16.44cr2_for the backlight on g1
01:17.59cr2_gp_clk is enabled before manipulating the MD/NS
01:19.50cr2_23:25:01 [D:BT] [BTU]MD NS ADDR b32000d8 b32000dc
01:19.51cr2_23:25:01 [D:BT] [BTU]MD NS 3ff9b ff9e0044
01:19.51cr2_23:25:01 [D:BT] [BTU]Uart_DM_Clock(2, 0x1)
01:20.25cr2_i guess we can calculate the 7 params here too
01:20.34maejreplooks like it
01:20.54cr2_uartdm_clk
01:21.21cr2_ok. looking at the raph800 lcd types
01:23.27maejrepso .27 gets vreg gp2 and gp4, but doesn't do anything with them.  then sets gp_clk to 19200000
01:24.02cr2_19.2MHz its the TCX0 clock
01:24.10cr2_the r1=3 for bt
01:24.29cr2_it's the same only for 144kHz SD clock
01:24.44maejrepdo we know where gp_clk's offset is?
01:24.45tmztdo you know what a-clock and b-clock?
01:24.51tmztare
01:25.08cr2_it may be somewhere else
01:25.25cr2_wince does not control it ?
01:25.44maejrepwas that to tmzt or me?
01:26.09cr2_maejrep: to you
01:26.21maejrephmm
01:27.11*** join/#htc-linux zycho_ (n=zycho@a89-182-8-231.net-htp.de)
01:30.02cr2_1 is hitachi
01:30.10maejreppanel id?
01:30.10cr2_2 is toppoly
01:30.16maejrepthey call 1 toshiba
01:30.23cr2_3 is seid_rgb
01:30.33maejrepor is this only for raph800?
01:30.39cr2_4 is seid_mddi
01:30.48cr2_it't only for raph800
01:30.55cr2_raph100 is in wiki
01:30.55maejrepseid == epson, right?
01:30.59maejrepk
01:31.00cr2_raphaelLCD
01:31.02*** part/#htc-linux exco (n=exco@e181083128.adsl.alicedsl.de)
01:31.34cr2_maybe you can create 2 columns there. the second for raph800, or just after raph100
01:32.24cr2_5 is samsung_mddi
01:32.39maejrepxda-devs is down :/
01:35.43maejreplooks like this will need a separate -panel driver for raph100 and raph800 :x
01:36.21cr2_300 and 30c regs are documented ?
01:36.28maejrepwhata?
01:36.33maejrep-a
01:36.39maejrepi mean, which regs?
01:36.59cr2_GPIOP_CONFIG  0x0300
01:37.00cr2_ok
01:37.03cr2_but not 30c
01:37.29cr2_30c is written, and then 324 is read
01:37.45cr2_<PROTECTED>
01:38.06cr2_300=0
01:38.13cr2_30c=0x3000
01:38.23cr2_read 324
01:38.54cr2_id=[324]>>16
01:39.13cr2_but then this "id" is converted into another id :)
01:40.37maejrepfun
01:41.34cr2_hmm. now i don't understand it
01:41.58cr2_looks like same conditional mixture of epson and toshiba
01:43.04BabelOhmm still cr2 :)
01:43.16BabelOevening cr2 :) you never sleep ?
01:43.20cr2_yeah, need to sleep
01:43.39BabelOcr2_: i go a bit more on GSM / sound on omap850
01:44.21silvenBabelO : greetings.
01:44.48tmztcr2_: how are commands sent to the mddi chip and does HSW/VSW mean we can control the timings now?
01:46.37BabelOhi silven, nedd to sleep too, so good night
01:47.18cr2_0,3 -> 5; 1 -> a; 2 -> f ; others =2
01:47.52cr2_hmm. only samsung and toppoly ?
01:48.17cr2_maejrep: does the bl tell something about lcd id ?
01:48.39cr2_tmzt: it's a bit early to talk about
01:48.55cr2_ah, it's not all
01:48.57maejrepbl?
01:49.05maejrepoh bootloader?
01:49.10cr2_this second id is translated into another id ;)
01:49.11maejrepi dont think so
01:49.12cr2_yes
01:49.45maejreptmzt: commands are sent via memory writes
01:49.49*** join/#htc-linux the_sys0p (n=the_sys0@cpe-67-49-210-229.bak.res.rr.com)
01:49.52cr2_2->2, 3->7, 5->1, a->8, f->9
01:50.18maejrepso where does my panel id of 3 come in? :p
01:53.29cr2_you should do the ops above
01:53.32cr2_300=0
01:53.36cr2_30c=3000
01:53.39cr2_read 324
01:53.51cr2_ok. it's 3:00 now. good night
01:57.54maejrepah ok
02:00.55*** join/#htc-linux BHSPitMonkey (n=stephen@unaffiliated/bhspitmonkey)
02:01.25*** join/#htc-linux balsat_ (n=kra@87.72.13.87)
02:01.29tmztmaejrep: writes to memory, like serial or i2c or memory-mapped registers?
02:01.51maejrepafaict, registers
02:02.17maejrepthere is no interrupt to send or receive, you just write to memory and wait for data to read
02:13.20*** join/#htc-linux soljin (i=45ffcf5d@gateway/web/ajax/mibbit.com/x-b27c7f5d54f32bc9)
02:22.38silvenDoes anyone know if a while(1); will crash a armv5 core?
02:23.00maejrepshouldnt
02:23.32silvenThanks.
02:24.59maejrepthats not based on any kind of experience .. just logically speaking, there's no reason that a simple recursive jump instruction should crash any core
02:25.09maejrepthat's one of the basics of machine instruction code
02:26.03silventhanks, I'm looking for a kernel bug and trying to see if while(1) will let me spin the cpu indefinately without crashing it.
02:26.08maejrepthe android kernel actually does a for( ;; );  when it's rebooting
02:26.31maejrep^ that's what google's kernel does when rebooting
02:26.42maejrepit tells the arm9 core to reboot, then enters a for(); loop
02:27.44maejrephowever, if the bug is caused by an irq, your while(1) will in fact be interrupted when that irq is raised
02:27.53tmztafter shutting down interrupts?
02:27.54silvenhm
02:28.10silventzmt I'm not really sure.
02:28.19silvenIt's before board init though
02:28.40silvenI was looking at setup_bootram and such
02:29.01maejrepmaybe your ramaddr is wrong?
02:29.04silvenI just tossed that infinate sleep into setup.c (setup_processor())
02:29.27silvenramaddr is okay. works fine on older kernels.
02:29.44silvenI'm migrating from 2.6.25 -> 29-rc2
02:29.58silvenand trying to weed crap out of the codebase.
02:30.05maejrephuge jump ;o
02:30.31tmztsilven: for omap?
02:30.36silvenyea
02:30.42silvenI'm looking to integrae with mainline
02:30.46silvenI got efb up for twesting
02:30.58silvenand I'm trying to find where it's messing up
02:31.03tmztefb is like the htccon from druidu?
02:31.16*** join/#htc-linux dariball (n=dariball@p4FDC492D.dip.t-dialin.net)
02:31.19silvenmaybe
02:31.32silvenit's a really simple framebuffer for debugging before the real fb is live.
02:31.35tmztaccept I think that's a console implemention as well as framebuffer
02:32.10silvenyep, that's the one, you basically get init and putstr :)
02:33.43silventzmt: what device do you have?
03:08.06*** join/#htc-linux ali1234 (n=al@robotfuzz.co.uk)
03:08.26maejrepcr2: I think the logic for lcd id's was off slightly
03:09.05maejrep<cr2_> 0,3 -> 5; 1 -> a; 2 -> f ; others =2   <-- should be 1 -> a, 2 -> f, 3 -> 2, all others (incl 0) -> 5
03:10.07maejrepcause the cmp r3,0x3 is followed by BNE (not BEQ)
03:36.59*** join/#htc-linux pzztgotbagz (n=nonya@unaffiliated/pzztgotbagz)
03:37.03pzztgotbagzis it busy in here
03:37.35pzztgotbagzwoohoo
03:37.43pzztgotbagzi found the 2 people from connect-utb
03:39.03*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfc685.pool.einsundeins.de)
04:28.28maejrepcr2:
04:28.30maejrepCmd>display 2
04:28.30maejrepCurrent panel type: HITACHI...
04:35.19maejrepcr2: my spl only recognizes toppoly (2) and hitachi (5).  the other 2 possible values (0xa, 0xf) display "unknown" with spl command "display 2"
04:47.22*** join/#htc-linux miknix (n=miknix@adsl-67-117-91-116.dsl.sntc01.pacbell.net)
04:57.12maejrepalso, oddly, according to my spl, my version should be reported as MicroP-Hermann, not Raph :x    85 -> Hermann, 82 -> Raph, other -> Unkonwn
05:23.22*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
05:24.08*** join/#htc-linux goxboxlive (n=goxboxli@mail2.hjellnesconsult.no)
06:00.18*** join/#htc-linux lpotter (n=ljp@58.173.176.153)
06:40.05*** join/#htc-linux bs_ (n=kra@87.72.13.87)
06:42.04*** join/#htc-linux RZK333 (n=rzk@daemonet.ru)
06:46.17*** join/#htc-linux Shinto (n=John@f054220091.adsl.alicedsl.de)
06:49.03*** join/#htc-linux dzo (n=dzo@121.98.128.127)
07:05.40*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
07:05.43Untouchab1eGood morning ^^
07:06.53*** join/#htc-linux pleemans (n=toi@116.54-246-81.adsl-static.isp.belgacom.be)
07:41.32*** join/#htc-linux pichurri (n=pichurri@users3.ilo.org)
07:42.29*** join/#htc-linux cr2 (n=cr2@ip-90-186-168-73.web.vodafone.de)
07:44.30cr2maejrep: maybe theother panels will be excluded by the double conversion. but the code looks a bit buggy in that area. maybe raph500 is better. otherwise it'll be necessary to dig through the dlls
07:46.33maejrepalso, in the google code, for mddi_client_toshiba, it will run through init_toshiba first, then detect panel id, then go through either sharp, toshiba, or toppoly init based on the panel
07:46.55NetRippermaejrep, im trying to rebase (replay the commits) our *.25 stuff onto *.27... lots of conflicts.. so takes some time
07:46.57maejrepso, if my panel (hitachi?) is very different from raph100, we might need some new tables setup
07:47.08cr2maybe we misunderstand something
07:47.15tmztswetland said there where changes in 2.6.27 here, are you using 27 now?
07:47.27swetlandthere was a big overhaul of the fb and mddi code for '.27
07:47.32swetlandto try to make it a lot saner
07:47.46cr2i thought toshiba/epson are "remote", i.e. located on the panel
07:47.49swetlandif you guys are still running into headaches supporting multiple targets, feedback would be interesting
07:48.04swetlandyeah the tricky thing with mddi is you have potentially a lot of pieces
07:48.26maejrepswetland: the main issue is that raph800 is hard to distinguish from raph100, and even harder to distinguish from raph500, but the hardware is so very different
07:48.27cr2swetland: is there any good overview of mddi architecture available ?
07:48.40swetlandthe MDP and MDDI controller on the 7k, then a MDDI client, which may be a generic MDDI lcd controller (like that toshiba part) which has a panel hanging off it it, requiring panel-specific init
07:49.04tmztthe panel has a second controller attached to it?
07:49.06maejrepswetland: that explains it
07:49.24swetlandand then, a single device *may* have multiple panels
07:49.39swetlandhtc (and other oems) like to have secondary and tertiary sources for parts
07:50.08maejrepNetRipper: just fair warning, a lot of stuff has changed that needed to be hacked around :)
07:50.20swetlandso, for dream we have two different panels we detect and support. detection may be via any number of methods, depending on the board/device design
07:50.34cr2swetland: there is nothing wrong with using multiple chips, i'm just missing the bigger picture
07:50.48NetRippermaejrep, additional hacks or hacks of ours that need to be placed differently?
07:50.58swetlandcr2: yeah, I don't think there's any good publicly available docs for all of this mess
07:51.02maejrepNetRipper: eh, a little of both actually
07:51.12swetlandthe datasheets we have available aren't all that wonderful even
07:51.13cr2swetland: hmmm :(
07:51.22maejrepie, i now have to disable adsp and watchdog, because they detect AMSS version :)
07:51.35NetRipperok
07:51.45maejrepbut that's just via macros, so i'm sure we could look into it at some point
07:51.46tmztwould it make sense to have something like mddi_client as a new platform_device class?
07:51.52tmztam I missing something here?
07:52.00swetlandtmzt: we did that in the original design
07:52.01maejreptmzt: i think it is ..?
07:52.13swetlandthe thing is you *also* have to deal with what's behind the mddi_client
07:52.19cr2swetland: qualcomm states that it's a VESA published standard. i'm not talkng about the actual register layout on a custom chip.
07:52.31tmztmaejrep: oh, you where describing seperate _init's like you where initing the chip as panel
07:52.41swetlandand to know that, you may need information outside just what client there is
07:52.48swetlandcr2: yeah, I haven't seen the vesa docs
07:52.58cr2ok
07:53.02maejreptmzt: it runs the init table via the same way, just that toshiba_init has one set of instructions, then each panel has a separate set of instructions
07:53.17tmztok, that's what I was missing
07:53.17NetRippermaejrep, could you pack up a diff? maybe i'll try and see which approach is easier.. :)
07:53.22maejrepit'll run toshiba_init first, detect panel id, then run the panel-specific init instructions
07:53.36NetRipperi gtg to work. bbl
07:53.45swetlandyou have a bunch of moving parts.  there's power and reset for the bridge chip and the panel, which may or may not use vregs from the pmic or external regulators via gpio or whatnot
07:53.54swetlandthen you have to be able to init the bridge chip
07:54.11maejrepNetRipper: can we not just rebase the branch without resolving conflicts, then copy over whatever changes i have already to make it work, and consider that one commit a dud? :)
07:54.16swetlandthen you have to be able to init the panel (which may mean using the spi/i2c on the bridge chip to send commands to the panel)
07:55.03maejrepswetland: I think I've gotten somewhere now by disabling certain portions of the init code
07:55.08Untouchab1eswetland, you obviously know what needs to be done.. do you have any idea on how? ^^
07:55.44maejrepUntouchab1e: our hardware has every potential of being nothing like what he's got to work with :P
07:56.07Untouchab1ewhat does he got then? :) (I just kinda jumped in, sorry)
07:56.09maejrepi just need to find out which init instructions are killing my panel, and figure out why
07:56.17Untouchab1eaah
07:56.18*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
07:56.20maejrepUntouchab1e: g1 panels :p
07:56.31Untouchab1eAh, ok, then I see the complications, hehe
07:56.33swetlandgenerally I'm working on projects directly with oems and they're actually sharing docs with me
07:56.42Untouchab1eswetland: nice
07:56.45cr2ok, i'm leaving to work
07:56.46maejrepbtw, looks like i2c changed in .27 as well
07:56.49swetlandit's obviously trickier if you have no idea upfront how it's all connected
07:56.51Untouchab1ecr2: havea  good one
07:56.55maejrepso i need to update the keyboard and led drivers
07:57.11maejrepswetland: i'm kind limping along as I go ;)  but I'm a quick learner
07:57.16maejreps/kind/kinda/
07:57.51maejrep(that is to say, I don't know up front how its all connected :)
07:59.16Untouchab1eI am forever greatfull for the progress you have made though maejrep..
07:59.18Untouchab1e^^
07:59.49*** join/#htc-linux lavender-t (n=hzhuang@c-24-17-204-47.hsd1.wa.comcast.net)
07:59.51maejrepswetland: out of curiosity, are there any plans at all, or any likelihood, to include 3rd party patches into google's msm branch?
08:00.26maejrepie, your code works with AMSS 6+, does google have any interest of accepting patches that add support for AMSS <6 :)
08:01.10swetlandI wouldn't mind, if it was cleanly done
08:01.33maejrepwould QCT mind? :p
08:01.34swetlandour goal is to get everything out into the mainline. greg-kh has suddenly started pushing a bunch of stuff that way which is nice.
08:02.32swetlandmaejrep: no clue. I'm doubtful it'd be on their radar
08:03.54swetlandI think you'd probably want to maintain your own smd, etc drivers for the older versions
08:04.17swetlandbut there's no reason they couldn't be included and available as a build option if you're targeting hw running those amss versions
08:06.47*** join/#htc-linux ewasx (n=Armin@armin-dev.ict.tno.nl)
08:09.03*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
08:10.17*** join/#htc-linux metter (n=metter@43.111.202.62.cust.bluewin.ch)
08:11.38maejrepswetland: of course, and that's what we've been doing -- most of our patches are kind of aimed at not breaking AMSS 6+ compatibility
08:12.42maejrepcause proc_comm works differently for us, so we need our own proc_comm_wince driver for the AMSS_WINCE version
08:13.05maejrepand consequently things like pm.o and vreg.o work differently as well, based on AMSS version
08:13.54maejrepgoogle's smd mostly works with ours as well, at least GSM versions
08:14.14maejrepdoesn't work with 7500 (CDMA vogue, kaiser, raphael, etc)
08:14.38swetlandnods
08:14.41maejrepwell, it does work, but smd channel 0 has to be read a different way; its not automatically detected like the other channels are
08:15.18maejrepI was just curious if little things like that would ever be incorporated into google's code
08:15.59maejrepwhere of course trout would be built with the current AMSS implementations, but someone with a raphael could checkout google's code, compile it with a WINCE compatible AMSS version, and have a working kernel, for example
08:16.38maejrepwe're not ready for that obviously, but if Google is open to it, I think we would definitely try to work towards that
08:17.01Untouchab1eswetland: I just got my ADP1.. I reckon that the Android build on it is old and dated (Considering the Android builds we are putting on our Raph's and Diamonds is much newer)... Is there any point in upgrading to Cupcake on the ADP1 yet?
08:17.54Untouchab1e(sorry for the OT)
08:19.12swetlandif you want to hack on cupcake
08:19.31swetlandif you just want to use it, probably worth waiting a bit longer
08:19.56Untouchab1eYeah, what I thought as well.. How long do you reckon untill its usable?
08:20.27swetlandmaejrep: I'd prefer not to pepper the smd.c and stuff with a ton of ifdefs for support of the older protocols, but if you guys have functional alternatives that can be compiled for the older hw, we'd have some interest
08:20.38swetlandor you could aim to push to the mainline alongside/after our stuff goes out
08:20.52swetlandI've been using it on my primary phone for a few weeks now
08:21.27swetlandstill a bit rough in places, it's not been through a full release process like 1.0 has yet
08:22.00Untouchab1eI see.. I dont reckon their is any release date or anything like that?
08:22.13Untouchab1eits just a "its done when its done" kinda thing?
08:22.23maejrepswetland: so if instead of using ifdefs for e.g., vreg.o, if we just created vreg_wince.o that was built when AMSS_WINCE is selected, that would be reasonable?
08:22.26swetlandpretty much. getting close
08:22.42Untouchab1ecool
08:22.48swetlandmaejrep: I think that'd be a better approach, unless the changes were very very minimal
08:22.59maejrepthey are for vreg ;p
08:23.18maejrepe.g. (pardon my paste):
08:23.19maejrepint vreg_enable(struct vreg *vreg)
08:23.20maejrep{
08:23.20maejrep<PROTECTED>
08:23.20maejrep#if defined(CONFIG_MSM_AMSS_VERSION_WINCE)
08:23.20maejrep<PROTECTED>
08:23.21maejrep#else
08:23.23maejrep<PROTECTED>
08:23.25maejrep<PROTECTED>
08:23.27maejrep#endif
08:23.31maejrep}
08:23.50tmztdidn't cr2 say there was a generic vreg_on/off proc_comm also?
08:24.05tmztthat's it
08:24.15maejrephmm, possibly:   3c   0x15   pmic reg * on   ?
08:24.27maejrep(which is what I pasted)
08:24.33tmztyeah, sorry
08:24.42maejrepbut, not a generic "VREG_SWITCH" that can turn one on or off
08:25.12tmztdoes the list of vrefs (id or idx) match up with trout?
08:25.54maejrepmore or less yeah .. but instead of id being 0-x, it's 1<<x
08:26.08swetlandthe other reason to keep it separate is that we'd be less likely to break you
08:26.11maejrepor:  2^id
08:26.19maejrepdon't break meh D:
08:26.43swetlandyou're working against something existing. we're working on a moving target as qct adjusts the protocols going forward, etc
08:27.14tmztI mean do the vreg_ calls have to change between trout/raph etc?
08:27.25maejreptmzt: only in that regard ^
08:27.28swetlandand we don't have a full collection of assorted existing wince devices and the time to test with every one
08:27.51maejrepobviously not, which is why I was asking
08:28.14maejrepI don't think anyone would expect google to test devices you aren't developing with and working on
08:28.56maejrepand if it breaks a pre-6 phone, then that would be where a 3rd party has to patch it to work again
08:29.17maejrepat least that's my point of view
08:29.58Untouchab1eswetland, are you an Google employeè?
08:30.04Untouchab1e(if you dont mind me asking)
08:30.11maejrephmm, actually, just found a bug in my vreg code :P
08:30.11swetlandyeah. I'm the systems/kernel lead for android.
08:30.30Untouchab1ecool! Are you in the US or Dublin?
08:30.44maejrepswetland: so I probably saw you talk at Google IO then? :)
08:30.48swetlandus. I work out of google galactic hq in mountainview
08:31.01swetlandI was on the fireside chat panel thing
08:31.14maejrepI was in that
08:31.15Skitzomaejrep, Untouchab1e, everyone else, you're amazing!
08:31.20Untouchab1eAha! My brother is currently in the Google Europe HQ in Dublin. :)
08:31.30Untouchab1eSkitzo: Hi ^^
08:31.50Skitzohow's things?
08:32.09Untouchab1eall is good. currently in class though, so basically just reading the convo here :)
08:32.14NetRippermaejrep, yea i was thinking the same thing, but we'll lose the seperate commits we have at the moment.. although we could reference to the old commits
08:32.20Skitzoahhh ;D
08:32.26Untouchab1eand yourself?
08:32.51Skitzojust got home from work to find a new build available :D
08:32.51maejrepNetRipper: really?  can you just take my version of the file and consider the jump from 2.6.25 HEAD to 2.6.27 a single revision?
08:33.01Untouchab1ehehe
08:33.13Untouchab1eSkitzo, do you have the Raph100 or raph800?
08:33.18Skitzo100
08:33.24maejrepSkitzo: whats in the new build?
08:33.26Untouchab1eCool
08:33.36Skitzokeyboard
08:33.42Skitzoisn't it your build, maejrep?
08:33.52Untouchab1emaejrep, It was just me that posted the build Netripper put together based on your work (with the Raph100 keyboard mapping)
08:33.59maejrepI wrote the driver, but only built a test kernel for some people here
08:34.12maejrepah ok, I think j0b0 did the raph100 keymap change
08:34.22Untouchab1eah, thats right
08:34.28Untouchab1eI stand corrected ^^
08:34.35Skitzoyou're managing the builds on connect-utb aren't you Untouchab1e ?
08:34.39Untouchab1ehe also threw in the auto-rotation on keyboard-slide
08:34.46Untouchab1eSkitzo, yeah, Im trying to anyhow
08:34.51maejrepNetRipper: found a bug in vreg:
08:34.53Untouchab1econnect-utb is my website at least ^^
08:34.54maejrep<PROTECTED>
08:34.54maejrep<PROTECTED>
08:35.00Skitzooh nice
08:35.08lavender-thello folks ! long time no see.
08:35.11maejrepwasn't adjusting the id like cr2 suggested
08:35.23Untouchab1ehi lavender! Been a long time :)
08:35.33Untouchab1eSkitzo, so just let me know if you have any problems :)
08:35.44Skitzowill do
08:35.48Skitzomany thanks for the hosting :)
08:35.57Untouchab1eNo problem! The least I can do
08:35.58maejrepNetRipper: I can tar up my changed files, or one large diff, if you'd like to see what I've changed
08:35.59lavender-ti had a friend visiting so i'm now totally lost :)
08:36.03Untouchab1ehehe
08:36.20maejreplavender-t: i have 2.6.27 booting on my raph :)
08:36.23Untouchab1e:D
08:36.33lavender-twow !
08:36.50Untouchab1emaejrep is awesome, hah! He solved the navi-led mystery, the qwerty keyboard, and now 2.6.27 :D
08:36.52lavender-tso we are officially on 2.6.27 ?
08:37.20maejreplavender-t: moving to it.. NetRipper's the brave one actually trying to do it properly ;)
08:37.29lavender-toh yeah. maejrep is awesome :)
08:37.37Untouchab1e^^
08:37.59Untouchab1ea shame that he has to do everything again since we are moving to 2.6.27
08:38.07maejrepnot really
08:38.09lavender-tso anyone's bricked a phone or two with 2.6.27 ?
08:38.25Untouchab1emaejrep: Not from scratch though ^^
08:38.37maejrepi mean there's some things that have gone backwards, and need to be re-fixed
08:38.53maejrepbut obviously staying close to mainline is a good thing
08:39.02lavender-thm let me git 2.6.27 and see how it works ...
08:39.36lavender-tmaejrep, do you have any diffs not checked in ? :)
08:39.36tmztswetland: in what timeframe are you moving to 2.6.28?
08:39.46maejrepa lot heh
08:39.55lavender-tdoh !
08:40.05maejreplavender-t: the changes I made to get 2.6.27 aren't committed to our ltg yet
08:40.53NetRippermaejrep is it possible for you to make a normal diff (not git-diff, unless git-diffs include new files?)
08:41.41lavender-tgit add the files and git diff ?
08:42.20NetRippereven then they're not in the git-diff
08:43.02tmztgit commit locally?
08:43.34swetlandtmzt: we did the rebase last week (friday?) and if we don't run into any serious problems we'll likely publish a branch this week
08:44.29maejrepNetRipper: they are if you do git diff HEAD^
08:44.44tmztbut will it replace 2.6.27 in android.git.kernel? is this part of the roadmap?
08:45.13swetlandit'll be a new branch  android-2.7.28, etc
08:45.16swetlander 2.6.28
08:45.28swetlandsince we rebase to move forward, and don't merge
08:45.49maejrepdiff --git a/arch/arm/configs/htcdiamond_defconfig b/arch/arm/configs/htcdiamond_defconfig
08:45.49maejrepnew file mode 100644
08:45.49maejrepindex 0000000..85c687c
08:45.49maejrep--- /dev/null
08:45.49maejrep+++ b/arch/arm/configs/htcdiamond_defconfig
08:47.19maejrephmm, still need to figure out how to reboot the phone :p
08:50.23Untouchab1ethat would be nice, hehe
08:50.54Untouchab1espeaking of rebooting, the G1s battery cover is kinda shit.. I am so sure its going to break each time I take it off
08:51.38tmztdoes the hardware reboot keys work? (forget what they are)
08:52.54maejreptmzt: the little reset button you press with the stylus does work
08:53.05maejrepbut I'd like to be able to type reboot on the command line :p
08:53.27tmztI mean Untouchab1e on G1, I thought there where three keys you can press to reboot
08:53.38maejrepoh
08:53.49Untouchab1etmzt, yeah there is..
08:53.52maejrepFn+Ctrl+backspace?
08:53.52maejrep:D
08:53.55Untouchab1ehaha
08:54.07Untouchab1ethink its menu+something+something_else
08:54.29Untouchab1ebut I still need to remove the battery-cover in order to get my SIM-card (to put it in my Raph100 before booting Android)
08:55.12lavender-tthe soft reboot will be a lot healther for the files ...
08:55.48maejrepits still a modem reset - meaning still equivalent to hitting the reset button on a PC
08:56.00maejrepwhich means the files will still be corrupted if in the middle of an operation
08:56.24tmztit should sync first, you add the reboot logic to the kernel's reboot commands
08:56.30maejrepunless you mean the 3-key reboot, which may actually go through a shutdown sequence
08:56.55tmztoh, not sure on g1 since it works in bootloader/spl too
08:56.56maejrepthe reset button on the phone doesn't do that - it just tells the arm9 core to reboot
08:56.57Untouchab1eI havent tried the 3-key reboot yet actually, so I am unsure if its just an instant reset, or an actual reboot (with a proper shutdown)
08:57.22Untouchab1ebut I have it with me, so if I just find out the 3-keys (il check now), I can see
08:58.38Untouchab1eIts the Green call button + Menu + End button
08:59.01Untouchab1ehmm..
08:59.18Untouchab1eimpossible to tell what really went on there, lol
08:59.31tmztsync first from terminal if you can
08:59.31lavender-tmaejrep, how's your proc_comm now ? can we use it to set the sd clocks now ?
09:00.12*** join/#htc-linux stefan_schmidt (n=stefan@c120.apm.etc.tu-bs.de)
09:01.21maejrepUntouchab1e: static struct keyreset_platform_data trout_reset_keys_pdata = {
09:01.21maejrep<PROTECTED>
09:01.22maejrep<PROTECTED>
09:01.22maejrep<PROTECTED>
09:01.22maejrep<PROTECTED>
09:01.22maejrep<PROTECTED>
09:01.24maejrep;)
09:01.40maejreplavender-t: clocks cannot be set by proc_comm on pre-6 amss
09:01.45Untouchab1eyeah, I figured out the keys
09:01.50Untouchab1ethanks :)
09:02.26lavender-toh ? i thought diamond was v6 ?
09:04.53maejrepno, the g1 sets clocks by proc_comm, but we have to use memory registers to set the clocks
09:06.33maejrepand afaik it should work fine
09:06.41maejrepwe just need to know where each clock's register is
09:06.47maejrepie, it works fine for sdcc
09:07.09maejrepsimilar code can work for other clocks, if we just know where to write
09:07.19Untouchab1ewhat did they do with the clocks on the vouge?
09:07.22maejrepwe also got that 7-arg function to work
09:07.34maejrepUntouchab1e: hard-coded the values, and then wrote to the appropriate register
09:08.16lavender-tok.
09:09.03*** join/#htc-linux timebomb (n=tb@e176096084.adsl.alicedsl.de)
09:09.07Untouchab1eBut the clocks are indeed set correctly and running fine on the vouge now, right?
09:09.18Untouchab1e(havent followed that project very closely)
09:10.25maejrepafaik
09:10.41maejrepi'm sure we can just use his clock id and register values
09:10.51Untouchab1emm
09:12.07maejrepthe actual Md/Ns values (that's the "official" name of the a0/a4 registers, lavender-t ;) we should mostly be able to calculate using cr2's 7-arg formula
09:12.09tmztUntouchab1e: it's more than the vogue
09:12.30Untouchab1ewhat is mroe than the vouge? heh
09:12.34Untouchab1emore*
09:12.47tmztmore devices than just the vogue
09:12.58Untouchab1ehehe, I know.. was just curious as to how they did it
09:13.01NetRipperermmm
09:13.02NetRipperso
09:13.23NetRippergiven android will move to 2.6.28 in a week or so, should we migrate to 2.6.27 or wait for .28?
09:13.48Untouchab1eDo we know how long they will stay with 2.6.28 though?
09:14.24tmztmy reading on mailing list discussions was that google would follow the last stable release but not stay current with upstream git
09:14.52NetRipperwhat does 'upstream git' mean?
09:15.11tmztI mean linus.git, the very latest tree
09:15.26tmztlike 2.6.29-rcX right now
09:15.35NetRipperah
09:15.35NetRipperok
09:15.43NetRipperin other words, they do as they please? ;)
09:15.49Untouchab1ehaha
09:16.07Untouchab1emaking it fun to try to keep up
09:16.26tmztswetland would be the one to ask if you can word the question better
09:16.59NetRipperwasn't really a question, i was just kidding
09:17.05NetRipperbad joke ;)
09:17.05lavender-tagree. better know what's in there for us.
09:17.20Untouchab1e:P
09:17.41lavender-toh netripper's sense of humor :)
09:18.08tmzthttp://thread.gmane.org/gmane.comp.handhelds.android.kernel/81
09:18.12Untouchab1enot compatible with tmzt's sense of humor
09:20.39maejrepheh
09:23.13*** join/#htc-linux DasFx (n=John@dasfx-lptp.euronet.nl)
09:24.03maejrepNetRipper: any idea why with: CONFIG_HTC_FB_CONSOLE_BOOT=y, it still continues to use it after it should have already moved on to the real fb?
09:24.47NetRippermaejrep, no, it should do a handover.. try to grep for it and see if you might have missed something
09:25.13NetRippermaybe druidu made a change in something kernel-specific
09:25.14maejrepweird thing is it does the handover about 60 seconds into the boot
09:25.19Untouchab1espeaking of humor, failpix of the day: http://failblog.files.wordpress.com/2009/01/fail-owned-age-to-pee-fail.jpg
09:25.31maejrepbut until then, it has the 1-sec delay between each message
09:25.47NetRippermaejrep, you can disable the delay at least ;)
09:26.04NetRippermaejrep, it doesn't cause corruption?
09:26.12maejrepthen at 120 seconds is when it starts dma on the fb
09:26.21maejrepin what sense?  I don't see any corruption
09:26.41NetRipperwell if you boot with both consoles active on 2.6.25, you'll see dma's getting mixed up..
09:26.47NetRippercausing weird behaviour
09:27.07maejrephmm
09:27.07maejrepno
09:27.07maejrepbut I see the real fb now
09:27.08maejrepit just takes about 3 minutes
09:27.15NetRipperlol
09:27.23maejrepmaybe it's all the printk's i have ;x
09:27.26NetRipperis the original proc_comm still active?
09:27.30maejrepno
09:27.39maejrepi actually removed it from Makefile
09:27.40NetRippersome other things that keep timing out?
09:27.41maejrepwell
09:27.58maejrepobj-$(CONFIG_MSM_AMSS_VERSION_6225) += proc_comm.o
09:27.58maejrepobj-$(CONFIG_MSM_AMSS_VERSION_WINCE) += proc_comm_wince.o
09:28.06maejrep(plus the other 2 6* versions)
09:28.38NetRippersounds like something in the init is not working properly and causing delays
09:28.39tmztthey have exactly the same api and names?
09:28.44maejrepproc comm does have like 4-5 prink's for debugging :p
09:28.47maejreptmzt: no
09:28.48*** join/#htc-linux Sti_0239 (n=Where_is@58.75-201-80.adsl-dyn.isp.belgacom.be)
09:29.06NetRippertmzt, no, they don't share the same .h file either.. it's a seperate implementation
09:29.24maejrepNetRipper: which means that your 2 vibra calls at boot actually last about 5 seconds ;)
09:29.35NetRippermaejrep, do they?
09:29.49maejrepfor me.. and in .27
09:29.53NetRipperhm
09:29.57maejrepi'm gonna disable the delay
09:29.59maejrepsee if that helps any
09:30.11*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
09:30.35NetRipperok
09:30.40NetRipperi gtg back to work
09:34.19lavender-thi maejrep, could you post your diffs somewhere and i'll give it a try ?
09:35.28maejrepfor .27?
09:35.33lavender-tyep
09:38.32maejrep290KB diff heh
09:40.20lavender-tso big ! gzip should be fine ...
09:40.47maejrephttp://www.privatepaste.com/041X08BBhM .. or http://www.privatepaste.com/041X08BBhM/download if you want to use wget
09:41.44maejrep1) i haven't updated diamond code to work yet, 2) some of the changes are specific to raph800, so you may also need to make some changes for raph100
09:41.51maejrepNetRipper: ^ you might like to have that as well :p
09:43.42lavender-tthanks maejrep ! oh yeah, the tux picture is in there ... :)
09:44.25maejrepheh yeah, I just went through adding stuff from when raph support was first added
09:50.26tmzthow many files did you change in 2.6.27?
09:50.48tmztgit diffstat I think
09:53.04maejrep21 new files, 34 modified files
09:53.19maejrepincluding things like Kconfig and Makefile
09:53.38tmztthose definately should be included
09:53.53maejrepyes
09:56.04*** join/#htc-linux radem205 (n=aaa@e144118.upc-e.chello.nl)
09:57.47maejreplavender-t: you can see cr2's formula implemented in clock-wince.c
09:57.50*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
10:02.50lavender-tcool thanks !
10:21.15*** join/#htc-linux TripleQ (n=joost@ip49-198-173-82.adsl2.static.versatel.nl)
10:35.02*** part/#htc-linux silven (n=zmc@lurian.net)
10:35.56*** join/#htc-linux Abracadabra (n=aaabraca@62-244-191-249.cust.exponential-e.net)
10:42.28*** join/#htc-linux myxor (n=myxor@pdbn-4d089516.pool.mediaWays.net)
10:45.29*** join/#htc-linux timebomb (n=tb@e176119079.adsl.alicedsl.de)
10:56.56*** join/#htc-linux rl2000 (n=rl2000@0x573b8b62.hhnqu1.dynamic.dsl.tele.dk)
11:01.55*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
11:03.42tmztsetprop ro.radio.usb-ppp yes # why didn't we see this before?
11:05.17tmztuse-ppp
11:08.57*** join/#htc-linux myxor (n=myxor@pdbn-4d089516.pool.mediaWays.net)
11:09.42*** join/#htc-linux skool (n=azachars@nat/sun/x-f591febb30d6801a)
11:12.21maejrep?
11:13.11tmzthey, it apparently enables ppp in the ril and eliminates the need for dzo's scripts
11:13.20tmztI think it was added for eeepc
11:13.41maejrepthat's a kernel parameter?
11:13.52tmztno, it goes in /init.rc
11:14.03tmztalso, the rild command line in /init.rc can be changed
11:14.14maejrepoh for android?
11:14.19tmztyeah
11:14.38tmztthat's was more relevant to what dcordes_ was working on
11:23.08*** join/#htc-linux ptl (n=patola@201.82.88.99)
11:23.11ptlHello
11:24.14ptlI am considering upgrading my ROM to a cooked one, like Michy's. I am searching for all xda-developers.com, but can't find a guide. Do any of you know such guide? And how do I find my SPL version? Lots of red numbers in the reboot, no 1.20 or 3.5/3.6 there.
11:24.28ptloh, my phone is HTC Athena.
11:28.39tmzthow do you get to bootloader on athena?
11:28.54*** join/#htc-linux skool (n=azachars@nat/sun/x-7407c809447c29ad)
11:32.44ptltmzt, I power it off then power it on. I also use WkTask 'reboot' and it gets to the bootloader screen. That is, the blank screen with numbers, right?
11:33.28tmztno, I mean the three-color screen assuming athena has one
11:33.45tmztsomeone in #xda-devs or #hpcdev can probably help you better with this
11:34.51*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
11:37.47ptlok... will try them. Thanks
11:52.11dcordes_maejrep: do you know how to fix the display problem in latest git?
12:23.54*** join/#htc-linux paulproteus (n=paulprot@2002:db69:2513:0:0:0:0:1)
12:31.10maejrepdisplay problem?
12:31.13maejrep.25 or .27?
12:33.19*** join/#htc-linux stefan_schmidt (n=stefan@w1189.wlan.rz.tu-bs.de)
12:33.24AstainHellbringmorning maejrep
12:50.02*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
13:00.07*** join/#htc-linux dcordes-x1 (n=zsirc@ip-90-187-232-75.web.vodafone.de)
13:13.41*** join/#htc-linux Othello (i=Othello@gateway/tor/x-f525f76f183e3e46)
13:19.30*** join/#htc-linux dariball_ (n=dariball@p4FDC492D.dip.t-dialin.net)
13:26.48*** join/#htc-linux Skitzo (n=DCLXVI@eth582.vic.adsl.internode.on.net)
13:47.47*** join/#htc-linux cr2 (n=konversa@crpl6.physik.uni-wuppertal.de)
13:48.47cr2maejrep: http://www.wipo.int/pctdb/images4/PCT-PAGES/2006/222006/06058052/06058052.pdf
13:54.24*** join/#htc-linux PoohbaLT (n=Poohba@pool-96-235-128-209.cmdnnj.east.verizon.net)
14:12.31*** join/#htc-linux drasar (n=maik@lamer.optinet.cz)
14:21.36dcordes_maejrep: in the .25 with 800
14:24.29NetRippermaejrep, how much did you merge from the .25?
14:24.40dcordes_maejrep: can you give me your 2.6.27 differences? I would like to see if it boots on x1
14:24.44dcordes_hej NetRipper
14:24.49NetRipperhi dcordes_
14:25.11NetRipperdcordes_, < maejrep> http://www.privatepaste.com/041X08BBhM .. or http://www.privatepaste.com/041X08BBhM/download if you want to use wget
14:25.30NetRippermaejrep, no need for me to repeat the work if you already did it ;)
14:26.08dcordes_10k lines
14:29.35dcordes_NetRipper: did you boot it on raph100?
14:36.29maejrepNetRipper: as in what?  only the new files were straight up copied
14:36.40maejrepeverything else I merged by hand
14:37.03maejrepdcordes_: display problem on raph800 being the color issue?
14:37.34maejrepif so, you need to change the color mode / bit packing, in msm_fb.c
14:38.14dcordes_maejrep: you got the color mode / bit packing patches for raph800 somewhere so I can test on x1?
14:38.53maejrepdcordes_: actually it's probably in that large diff ;)
14:39.23dcordes_okeh
14:39.30maejrep@@ -635,14 +650,14 @@ static void setup_fb_info(struct msmfb_info *msmfb)
14:40.06maejrepoff to work
14:40.48dcordes_patch unexpectedly ends in middle of line
14:40.48dcordes_patch: **** malformed patch at line 9997:
14:41.05dcordes_ok have a nice day
14:41.52maejrepyeah you can't patch it from that point ;p
14:41.55maejrepbut those are the changes
14:42.02maejrepand its the same in .25 or .27
14:42.17maejrepthere are other changes in that file, that's why it doesn't work with patch
14:42.18dcordes_Rotary Wombat
14:42.34dcordes_wait, I need a different diff?
14:44.05maejrepno i mean for the color mode change
14:44.24dcordes_ok so I need to include that manually from the .25 ?
14:44.43maejrepyeah just make those same few modifications to .25's msm_fb.c
14:45.04dcordes_uhm it doesn't compile with just the patch applied and htcraphael_defconfig
14:45.17dcordes_adscp.c
14:45.29maejreptake it out of .config
14:45.33dcordes_ok
14:46.03maejrepsorry, didn't update defconfig (cause we should plan to support that and the watchdog files eventually)
14:46.06dcordes_builds
14:46.46maejrepok leaving now, bbl
14:46.50dcordes_cya
15:14.03NetRippermaejrep, what i meant was, are there still things left to merge from *.25 in your diff?
15:14.25NetRipperim going to take a look when im back from work
15:14.53NetRipperdcordes_, no i didnt boot yet..
15:14.59NetRipperbbl again
15:17.01toerlo
15:28.40*** join/#htc-linux cr2 (n=cr2@ip-90-187-228-232.web.vodafone.de)
15:30.42*** join/#htc-linux goxboxlive (n=goxboxli@185.84-48-126.nextgentel.com)
15:51.31maejrep[w]NetRipper: no, that should be everything that's in .25 git afaik
15:59.23*** join/#htc-linux MethoS (n=lem@host-091-096-211-104.ewe-ip-backbone.de)
16:08.51*** join/#htc-linux exco (n=exco@e181097211.adsl.alicedsl.de)
16:13.14dcordes_cr2: got a link?
16:13.20dcordes_I know somebody who dows
16:13.25dcordes_s/dows/does/
16:17.41*** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com)
16:20.24*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfc685.pool.einsundeins.de)
16:28.55dcordes_I just tried to boot the http://www.privatepaste.com/041X08BBhM kernel on xperia. it freezes after console handover: boot [htc_fb-1] -> real [tty0]
16:29.16dcordes_somebody from the raph/diam faction got an idea?
16:38.47pichurridcordes_, that's the patch for 2.6.27, right?
16:38.56dcordes_yeap
16:39.18dcordes_I suspected it's the arch/arm/mach-msm/htc_fb_console.c thing
16:39.21dcordes_but doesn't look like it
16:39.34pichurridcordes_, I think its just long timeouts that maejrep had, leave it for a minute or so...
16:41.37dcordes_but that was also in the .25 kernel
16:41.40dcordes_the freeze after handover
16:43.53pichurridcordes_, hum, what is the output?
16:43.58*** join/#htc-linux daspsycho (n=daspsych@213.155.79.202)
16:44.56dcordes_console handover: boot [htc_fb-1] -> real [tty0]
16:45.56pichurridcordes_, sorry...
16:47.19maejrep[w]dcordes_: turn off HTC_FB_CONSOLE_BOOT=y (set to n)
16:47.26maejrep[w]and see how far it gets
16:47.34maejrep[w]you might be getting a kernel panic or oops
16:47.55maejrep[w]I was getting a couple NULL pointer dereferences when I was working with it
16:49.53*** join/#htc-linux miknix (n=miknix@12.104.145.50)
16:50.36dcordes_maejrep[w]: oks
16:51.19*** part/#htc-linux exco (n=exco@e181097211.adsl.alicedsl.de)
16:51.41dcordes_I want a plstic backcover for my x1. I'm getting the chills everytime I remove it because it can scratch the rest of the housing
16:52.54*** join/#htc-linux ewasx (n=armin@5-157.surfsnel.dsl.internl.net)
17:03.48dcordes_maejrep[w]: ok it panic'D
17:07.56maejrep[w]know where?
17:08.11maejrep[w]the backtrace should tell you where it's happening
17:22.17*** join/#htc-linux liberostelios (n=liberost@79.107.28.155)
17:24.02*** join/#htc-linux nizox_ (n=none@eros.ph0k.eu)
17:45.09*** join/#htc-linux pH5 (n=ph5@e178195059.adsl.alicedsl.de)
17:47.05*** join/#htc-linux mrincredible (n=wmirc_us@99-204-182-34.pools.spcsdns.net)
17:56.06*** join/#htc-linux exco (n=exco@e181097211.adsl.alicedsl.de)
17:59.26*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
18:02.05*** part/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
18:11.08*** join/#htc-linux Mullins (n=bw@89.204.243.128)
18:23.11*** join/#htc-linux dariball (n=dariball@p4FDC492D.dip.t-dialin.net)
18:32.19*** join/#htc-linux the_fish (n=cruel1@p5491C618.dip.t-dialin.net)
18:32.25the_fishhello..... anyone there?
18:34.30the_fishtmzt, u there? need help :|
18:41.36NetRipperdcordes_, you have to remove your backcover to soft-reset?
18:41.57*** join/#htc-linux dariball (n=dariball@p4FDC492D.dip.t-dialin.net)
18:42.30*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
19:01.24*** join/#htc-linux _newbie3 (n=kvirc@dslb-088-064-019-102.pools.arcor-ip.net)
19:08.56*** join/#htc-linux zsircusr (n=zsirc@ip-77-25-254-107.web.vodafone.de)
19:23.34*** join/#htc-linux Balsat (n=kll@87.72.13.87)
19:39.20*** join/#htc-linux sietse (n=sietse@vogons.xs4all.nl)
19:42.42Mullinsdzo: Are you there?
19:44.35BalsatTrying to compile a kernel, but get a error making tmp.vmlinux1 "arm-none-linux-gnueabi-ld: no machine record defined" anyone knows was wrong?
19:45.16Mullinsyou must ensure a MACH_TYPE is set
19:45.50tmztCONFIG_MACH_
19:45.55tmztin .config
19:46.51BalsatThanks
19:51.07*** join/#htc-linux cr2 (n=cr2@ip-90-186-133-197.web.vodafone.de)
19:52.37cr2http://pocketnow.com/images/brandon/lineup.jpg
19:57.06*** join/#htc-linux zycho (n=zycho@a89-182-8-231.net-htp.de)
20:10.33*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
20:10.34*** join/#htc-linux sean_d (n=sean@adsl-69-232-201-43.dsl.pltn13.pacbell.net)
20:10.34*** join/#htc-linux woodyPL (n=woody@gateway/shell/blinkenshell.org/x-1f097ac9de48f2cd)
20:10.48*** join/#htc-linux ChanServ (ChanServ@services.)
20:10.49*** mode/#htc-linux [+o ChanServ] by irc.freenode.net
20:11.28*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
20:13.37cr2~ping dcordes_
20:13.38aptpong dcordes_
20:13.56*** join/#htc-linux Xime (n=xime@bankize.net)
20:15.45*** join/#htc-linux pH5 (n=ph5@e178206050.adsl.alicedsl.de)
20:16.10*** join/#htc-linux pichurri (n=pichurri@194.230.146.32)
20:16.44cr2BabelO: http://www.sony.net/Products/Linux/Download/DSC-G3.html
20:18.12dzoMullins: yes,i'm here now.
20:19.43Mullinsdzo: ah, I figuresd it out. I was building cupcake but just realised I need to use mkcramfs on the system folder
20:21.22*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
20:21.50Mullinsdzo: There is no easy way to share the changes you make to cupcake dzo? The default build is not like yours
20:22.18*** join/#htc-linux dcordes-x1 (n=zsirc@ip-90-186-157-47.web.vodafone.de)
20:22.31dzook, no problem. I didn't make those changes it was foobar, I'll pm him.
20:22.43dcordes-x1cr2 pong
20:23.20dzohi dcordes
20:23.44dzogot audio working nicely now on kaiser.
20:24.28AstainHellbringnice dzo
20:24.51AstainHellbringwhat is still needing to be worked on for kaiser now?
20:25.33dzoI've managed to trace power collapse so will work on that next. we need charging and battery status too.
20:26.19cr2dzo: i've documented the full wince vreg api
20:27.03cr2dzo: now i'm looking at the unknown clocks
20:27.39dzocr2: good work, I think that is only used by newer devices though.
20:27.59dzo(if you mean the pcom interface)
20:28.52cr2dzo: how do you control vregs on 7200 ?
20:29.35*** join/#htc-linux Sti_0239 (n=Where_is@88.205-65-87.adsl-dyn.isp.belgacom.be)
20:29.49cr2i mean this one:
20:29.53cr2http://wiki.xda-developers.com/index.php?pagename=MSM_VREG
20:30.12cr27200 devices have less clocks, but the api is still the same
20:30.44cr2but you need to know which voltage is used for which device, and it varies wildly
20:32.10cr2the 0-8 wince ids are available on titan
20:33.25dzoI can't trace pcom on 7200, may have to modify haret to trace 4K pages.
20:33.45dzoOK got to go now, bye..
20:34.49Mullinscya later dzo
20:35.40*** join/#htc-linux frysee (i=4d14b78a@gateway/web/ajax/mibbit.com/x-01dfc7bde6515be6)
20:35.48cr2dcordes-x1: are you alive ?
20:37.04*** join/#htc-linux miknix (n=miknix@sjcc176x121.sjccnet.com)
20:37.50cr2maejrep[w]: i got an idea why the toshiba-like code is mixed with epson
20:40.23*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
20:42.11*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
20:42.44*** join/#htc-linux timebomb (n=tb@e176123067.adsl.alicedsl.de)
20:49.38*** join/#htc-linux Sti_0239 (n=Where_is@88.205-65-87.adsl-dyn.isp.belgacom.be)
20:49.55maejrep[w]cr2: you mean in the spl?
20:50.18maejrep[w]like how it still writes to 150000, as well as 300/30c/324 ?
20:50.25cr2maejrep[w]: yes
20:50.50cr2maejrep[w]: maybe some regs are predefined in the mddi spec
20:50.52*** join/#htc-linux chab7 (n=kvirc@212.92.4.114)
20:50.59Zooloochi folks
20:51.23Zooloocseems like the kaiser will be a well-supported device after all?
20:51.24cr2maejrep[w]: the 7200 mddi differs from 7201A, you can see it from kaisermddi vs. raphaelmddi
20:51.42cr2Zoolooc: after all :)
20:52.22cr2maejrep[w]: and we need to make audio work. it's the shame that we are behind 7x00 :)
20:52.52Zoolooccr2: remember that pessimistic atmosphere some more than a year ago ;) ?
20:53.37cr2Zoolooc: there were zero docs, and no androed
20:53.58Zooloocvery true
20:54.42cr2Zoolooc: omap850 is older, but is still not in such a good shape
20:55.23Zooloochacking sometimes goes mysterious ways
20:57.26cr2maejrep[w]: no, i don't see any new clocks. only 0xe0
20:57.56cr2which is not an MD/NS clock
20:59.04cr2maejrep[w]: so we have 5 clocks + 4 sd clocks
20:59.32tmztwhy doesn't g1 adsp work?
20:59.48cr2pwm,i2c,mddi,sdc1,sdc2,sdc3,sdc4,uart1dm,uart2dm
21:00.27cr2tmzt: audioParam differ even between vogue/kaiser/titan. we need to check our values
21:00.49tmztis there still a codec connected to msm?
21:01.30cr2maejrep[w]: there is also the uart clock 0xc0 (unused), and the strange 0xe0 clock without "enable" bit
21:01.44cr2i don't know if the 0xe0 clock is used at all
21:02.02*** join/#htc-linux miknix_ghost (n=miknix@12.104.145.50)
21:02.09tmztis this the 19.x clock?
21:02.32cr2dont'know. i'll check the dump
21:02.53cr2a86000e0 | 00000031
21:03.18cr20xc0 looks like a usual a-clock
21:03.22cr2a86000c0 | 00000a00
21:04.48cr21,5,3,6,7,b
21:06.30cr2maejrep[w]: the 0x1c pcom call looks interesting
21:08.13cr20,a,c
21:08.37cr2=0,1,5,3,6,7,a,b,c
21:10.56cr20 is bit 0x200, 1 is e0 10 20, 3 is e0 1000 2000, 5 is uart2dm
21:11.35tmztdid maejrep's notes about mddi id work?
21:13.42cr26 is sdc1, 7 is sdc2, a is mddi, c is something strange
21:13.50cr2which notes ?
21:14.30cr2for mddi clk there is 200 and 800
21:14.51cr2200+800=a00
21:15.06cr2that looks good
21:15.32dcordescr2: only semi
21:15.51cr2ok. so the a-clocks don't set the MSM_CLK "pseudo"-enable bit
21:17.46cr2maejrep[w]: so they don't need the MSM_CLK mask
21:18.26*** join/#htc-linux yoyey (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net)
21:19.51cr2maejrep[w]: i think that any further progress may be done only by disassembling amss. or looking at the 7201A docs
21:20.47cr2but since wince does not use them, we will be able to avoid controlling them too.
21:24.39cr2maejrep[w]: some clock are obviusly always enabled. like EBI1 and EBI2 ;)
21:27.15*** part/#htc-linux yoyey (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net)
21:27.31*** join/#htc-linux dwaradzyn (n=chatzill@chello089079197022.chello.pl)
21:28.23dwaradzyncr2: some 20 hours ago you asked for someone with blackstone. i'm here if you still need it
21:30.58cr2dwaradzyn: yes. do you have the wince dmesg ?
21:31.15dwaradzynnot yet
21:31.29cr2on umts phones it's usually at 0x17200000 (1MB)
21:31.38cr2can you check ?
21:33.05dcordeshi dwaradzyn
21:35.44excois usb already working in android on vogue/kaiser?
21:36.04cr2exco: dont think so. but don<'t really know
21:36.29cr2exco: working wifi will be much better to have
21:37.42excoyes, but until then :-)
21:43.17dcordesexco: the problem is msm7?00 doesn't have the same hsusb controller as found in the mms7201a boards like trout
21:43.22dcordeswhich has available sources
21:43.51excothat's a shame
21:53.58dcordesmaejrep: it only shows memory addresses and stack overflow bla
21:54.21dcordescache refill kmen
22:17.12cr2dwaradzyn: fall asleep ? :)
22:17.52*** join/#htc-linux MethoS (n=lem@host-091-096-211-104.ewe-ip-backbone.de)
22:18.10dwaradzyncr2: http://pastebin.com/m7820dee0 is it ok?
22:18.55cr2dwaradzyn: thanks. looks very good
22:19.23dwaradzynthere was more than 1mb of that
22:19.23cr2dwaradzyn: can you do a reset, and dump it again ?
22:19.29cr2more ?
22:21.31dwaradzynmistake, no more than 1 mb :)
22:24.24cr2athena/hermes had 3MB
22:24.29cr2what a waste ;)
22:27.54dcordescr2: any idea why newer raph kernel panics on kovsky?
22:30.41cr2dcordes: it half-panics on raph itself. do you have a backtrace ?
22:31.52cr2dwaradzyn: does the ts work for you ?
22:31.54dcordesyep
22:32.02cr2paste
22:32.15dcordescopy all the addresses and stuff manually?
22:32.23dcordesit's a lot of data
22:33.05dwaradzyncr2: screen is messy, not legible
22:33.47cr2dwaradzyn: ok. i just see that the ts config is different from raph
22:33.54cr2from the logs
22:34.22dwaradzynpastebin crashed on 1mb paste :(
22:35.08cr2dwaradzyn: bzip2+uuencode/mimencode ?
22:36.22dwaradzynhttp://rapidshare.com/files/186819347/wince_dmesg_blackstone.zip
22:37.23cr2ok
22:37.30cr222:34:49 [D:TP] pTsscRegs->tssc_ctl=0x107d(b)
22:37.30cr222:34:49 [D:TP] pTsscRegs->tssc_status=0x700(b)
22:39.39NetRippercr2, the other panel of raph is the epson?
22:39.59cr2NetRipper: only 800. 100 is sane :)
22:40.04NetRipperok
22:40.32cr2NetRipper: i'll go through 100 anyway. step by step
22:40.50cr2need to 'sed' the register names instead of the numbers there
22:41.01cr2so it's more readable
22:41.17NetRippercr2, you're going through the code you mean?
22:43.55cr2i'll go
22:44.03cr2we need to compare it with epson too
22:44.16cr2this the the last big RE project left :)
22:44.40dcordeswhat is the interesting part in a panic traceback?
22:45.25NetRipperwhy the last big?
22:45.25NetRipper:)
22:46.00NetRipperoh regarding this phone you mean
22:46.01NetRipper:P
22:48.44cr2NetRipper: everything else is more of less known
22:49.06cr2NetRipper: dzo made sound working on kaiser
22:49.15NetRippernice
22:49.29cr2you may check the data needed for raph
22:50.00XDwhats the latest on andriod for raph500?
22:50.01NetRipperi first need to sort out maejrep's patch
22:50.11NetRipperand apply it to git
22:52.32cr222:35:23 [K] !!! GetBatteryIDDetection, HTC_SMEM_BATTERY_ID = 655
22:52.48cr222:35:23 [K] !!! GetBatteryIDDetection, HTC_SMEM_BATTERY_ID = 681
22:52.55cr2strange
22:53.21cr2NetRipper: i have some comments there. and some things need to be fixed.
22:53.39cr2XD: the same as on 800.
22:54.06cr2XD: i think nobody did anything with android, because all the effort goes into the kernel
22:54.14*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
22:56.24dwaradzyncr2: i got it connected to usb, maybe thats the second battery :P
22:57.56maejrep[w]I was never able to find battery ID when I tried
22:58.03maejrep[w]smem is going to be fun to work with
22:58.37dcordeswhat is the half kernel panic you get on raphael?
22:59.46maejrep[w]who?
22:59.51maejrep[w]and what's a half kernel panic?
22:59.52cr2dcordes: the dmesg posted by maejrep[w]
23:00.14cr2maejrep[w]: you need to call pcom_wince to get the battery data into smem
23:00.36maejrep[w]right, 0x8a / 0x8b?
23:00.40maejrep[w]the one wince does every 10 seconds
23:01.22maejrep[w]but wouldn't it make sense for it to remain there?  It seems odd for it to only be in smem long enough for it to be read once
23:01.31dcordeswell I have a full panic on the x1. right after bootup
23:01.44cr2maejrep[w]: yes, the 10second irq
23:01.46maejrep[w]whats the panic message?
23:01.48NetRipperoh
23:01.50NetRipperthis is nice
23:02.27cr2maejrep[w]: the clk code should not set the bits for a-clocks
23:02.58cr2maejrep[w]: i've edited the MSM_CLK already. i consider it finished for practical purposes.
23:03.18maejrep[w]should not set which bits?
23:03.23maejrep[w]in glblclkena ?
23:03.31maejrep[w]or the Md/Ns regs?
23:03.33cr2hm. maybe the uart2DM divisors need to be studied after you'll enable the hs serial
23:03.49cr2MD/NS set the bit, but non-MD/NS do not.
23:04.10dcordesmaejrep[w]: where is the panic messages? it's a full page of output
23:04.15maejrep[w]the clkena bit?
23:04.22cr2maejrep[w]: yes
23:04.35maejrep[w]dcordes: the first line should say why it panicked (ie, "NULL pointer dereference")
23:04.42maejrep[w]then the backtrace will tell you *where*
23:04.45dcordesah ok
23:04.47cr2maejrep[w]: there are also several minor things to be fixed in your patch
23:04.52dcordeslet me boot again
23:04.58maejrep[w]cr2: which patch?
23:05.09maejrep[w].27?
23:05.37cr2the 15" 3x4 lcd is so much better than the lame 1024x600 ;)
23:05.59maejrep[w]@_@
23:06.23dcordesmaejrep[w]: the addresses of the traceback thing are printed very slowly
23:06.31maejrep[w]I'm on a 20" mac with a 22" ws 2nd monitor at work, and at home I have a dualhead, 22" ws and 26" ws ;x
23:06.33dcordesso it seems to be some corruption that slows down the system
23:06.40maejrep[w]dcordes: that's htc_fb_console
23:06.46NetRipperdcordes, the htc_fb_console slows down intentially
23:06.51maejrep[w]it deliberately puts a 1s delay between each printk
23:06.56cr2maejrep[w]: .27
23:06.57maejrep[w]and the kernel is doing a separate printk() for each address
23:07.04maejrep[w]thus 1s between each
23:07.06NetRippermaejrep[w], that's normal
23:07.11NetRipperuh
23:07.12NetRipperoops
23:07.13NetRippernvm
23:07.14NetRipper:)
23:07.15maejrep[w]i know ;)
23:07.30cr226" ? what is the pixel count/dpi ?
23:07.30NetRippercr2, let me know which minor things, as im preparing the patch for igt
23:07.36dcordesmaejrep[w]: stack: .. ?
23:07.40maejrep[w]dcordes: yep
23:07.46NetRippergit*
23:07.48maejrep[w]the first line there will say what function it was in
23:08.01cr2NetRipper: can you pastebin the ptch ?
23:08.09NetRippermaejrep[w], did earlier
23:08.11maejrep[w]cr2: eh. don't recall off hand..  but it's a westinghouse, so the quality is only so-so
23:08.28NetRipperhttp://www.privatepaste.com/041X08BBhM
23:08.41cr2maejrep[w]: the size only matters when the pixel count is appropriate
23:08.50maejrep[w]i agree
23:09.16dcordesmaejrep[w]: after stack: are only addresses like 10 lines. and then there is ...cache_alloc_refill+0x0/0x5d8...kmem_cache_alloc.....
23:09.17maejrep[w]it can do 1920x1080
23:09.23maejrep[w]the only issue I have with it is delay
23:09.24cr2on the other hand, vga on raph is an overkill :)
23:09.38cr2ok
23:09.55maejrep[w]dcordes: those are functions (cache_alloc_refill, etc)
23:10.00dcordeswith the wvga it's a whole new world of console reading
23:10.21cr2i have an old crt with 2048x1536@75Hz. it's great for google maps
23:10.23maejrep[w]need to find the top-most function to know where the panic happened at, then follow it down to see what is calling it in order to find where the error is
23:10.37maejrep[w]nice
23:10.42NetRippermaejrep[w], your patch removes clock.o from the Makefile... does the clock-wince.o replace clock.o fully?
23:11.28maejrep[w]yes
23:11.36maejrep[w]clock.c is only defines
23:11.41cr2#define MSM_SMI_BASE            0x00000000
23:11.44maejrep[w]rather, an enum of clocks
23:12.00cr2#define MSM_EBI1_BASE            0x10000000
23:12.00maejrep[w]clock-7x01a.c is what clock-wince was copied from
23:12.14NetRippermaejrep[w], no, clock.c is an implementation, clock-7x01a.c are only defines
23:12.18dcordesmaejrep[w]: before the stack: line there is a line "Process swapper (pid: 0, stack limit = ...
23:12.22cr2i think these should go into an msm*io.h header
23:12.48NetRippercr2, arent they already in msm_io.h?
23:12.50maejrep[w]cr2: they moved those
23:12.52maejrep[w](google)
23:13.09maejrep[w]NetRipper: no, some of the defines were moved into the files that use them
23:13.16NetRipperok
23:13.31cr2NetRipper: can you remove the &smc91x_device - related things ?
23:13.42maejrep[w]cr2: I already did, in my patch, no
23:13.46maejrep[w]+?
23:14.05cr2+vreg_mmc = vreg_get(0, "mmc");
23:14.06cr2+rc = vreg_enable(vreg_mmc);
23:14.18cr2raph/diam do not use "mmc" vreg
23:14.33maejrep[w]I didn't change that
23:14.52dcordesmaejrep[w]: maybe I need to define a mem value in cmdline?
23:15.05cr2we should create a list of vregs used by each phone, for what purpose
23:15.08maejrep[w]dcordes: what's the stack?
23:15.20maejrep[w]cr2: odd thing is it "just works"
23:15.37maejrep[w]so maybe it doesn't matter? the vreg is already on from wince?
23:15.41cr2maejrep[w]: raph config is the same as g1: gp6 for sd (afair)
23:15.53*** join/#htc-linux RZK333 (n=rzk@daemonet.ru)
23:16.04dcordesStack (0xc029ec8 to 0xc0294000)
23:16.08maejrep[w]cr2: btw, off topic..  do you know of anything that would cause the phone to reboot everytime it goes to sleep? :(
23:16.09cr2maejrep[w]: wifi is more difficult. g1 uses "mmc", raph/diam use msme+msmp
23:16.16NetRippercan you pastebin your .config maejrep[w]?
23:16.19NetRipperfor comparison
23:16.28maejrep[w]cr2: yeah will be good to have those things documented :)
23:16.41cr2maejrep[w]: corrupted smem ?
23:16.56dcordesmaejrep[w]: is that the info you asked for? there is more data but it's hard to copy manually
23:17.11cr2maejrep[w]: the ascii "reasons" need an own page too...
23:18.50cr2lol
23:18.55cr222:35:23 [K] IsDoForceDischargeRoutine_bMainBatteryReplaced - 0x1 BatteryVoltage-3972)!!!
23:19.37cr2uh
23:19.42cr2[K] +mddi_Change_Speed=814
23:19.43cr2[K] -mddi_Change_Speed=a41
23:19.43cr2[K] +mddi_Change_Speed=a41
23:19.43cr2[K] -mddi_Change_Speed=a19
23:20.19maejrep[w]NetRipper: http://www.privatepaste.com/631y4WkYZw
23:20.23NetRippermaejrep[w], thx
23:20.48*** join/#htc-linux lavender-t (n=hzhuang@c-24-17-204-47.hsd1.wa.comcast.net)
23:21.02maejrep[w]cr2: yeah, the reasons would be nice, but I can't even get it to trigger a reboot yet, or a power down for that matter
23:21.23lavender-tgood afternoon :)
23:21.25maejrep[w]cr2: corrupted smem would cause it to reboot on suspend? :x
23:21.26dcordesmaejrep[w]: more of these addresses are needed?
23:21.27NetRipperit does shut down the cpu though, as everything stops responding ;)
23:21.42maejrep[w]dcordes: I meant the stack of function calls
23:21.52maejrep[w]starting at the top, going down, list the function names
23:22.06dcordeswith two letters leading?
23:22.17maejrep[w][18:09:16]  <dcordes> maejrep[w]: after stack: are only addresses like 10 lines. and then there is ...cache_alloc_refill+0x0/0x5d8...kmem_cache_alloc.....  <-- ie, "cache_alloc_refill", etc
23:22.18cr2maejrep[w]: suspend is rather complex procedure, it reconfigures most gpios and does a lot of weird stuff
23:22.23dcordesI will try putting mem=128 now first
23:22.34maejrep[w]dcordes: is it 128M contiguous?
23:22.36cr2maejrep[w]: suspend is probably one of the most complex routines
23:22.38NetRipperdcordes, you should rather decrease memory
23:22.49dcordesI use no value now
23:22.55NetRipperuse mem=64M
23:22.58maejrep[w]cr2: is that something a hard reset and/or spl flash might "correct" ?
23:23.00dcordesok
23:23.12*** join/#htc-linux Sti_0239 (n=Where_is@88.205-65-87.adsl-dyn.isp.belgacom.be)
23:23.20maejrep[w]it only started happening this weekend, and probably only when i started working on .27 :(
23:23.23cr2maejrep[w]: spl flash - no, hard reset maybe
23:23.43maejrep[w]i always leave it plugged in when I'm doing development, so I never noticed it
23:23.46NetRippermaejrep[w], it reboots in wince on suspend as well?
23:23.56maejrep[w]but once it's off the charger, it'll reboot every 3 minutes
23:24.00maejrep[w]NetRipper: yup
23:24.04NetRippermaejrep[w], ouch
23:24.12maejrep[w]it gets to wince, waits 2min, goes to sleep, and reboot
23:24.34cr2maejrep[w]: i think we need to fix the vreg* asap, bcsause it can have unpleasant longterm effects
23:24.46maejrep[w]like making my phone reboot? :D
23:24.56NetRipperlol
23:24.58cr2maejrep[w]: hardreset as a first action
23:25.10maejrep[w]ok, will do that tonight
23:25.43maejrep[w]ok I need to get back to work
23:25.46maejrep[w]will be lurking
23:25.48lavender-tare you talking about .27 ?
23:26.24dcordesoh that fixed the bug
23:26.54NetRipperdcordes, good
23:27.18dcordeswhy is that needed? can't the kernel use the full mem?
23:27.37NetRipperdcordes, no, as some part of the mem is used by arm9
23:27.42cr2dcordes: the g1-type memory layout is fixed, and hardcoded
23:27.51*** part/#htc-linux Balsat (n=kll@87.72.13.87)
23:28.17cr2hehe. i need to create the DreamMemoryMap page
23:28.26cr2the Dream_GPIO is already there
23:28.59cr2NetRipper: the vibra pause on wince is 0xc8 :)
23:29.07NetRipperpause?
23:29.13cr2between on and off
23:29.18cr2ative time
23:29.23NetRipperohh.. so it restarts faster?
23:29.24cr2s/at/act/
23:29.37cr2it runs for 0xc8 msec
23:29.41dcordesmsmfb_start_dma printk spamming
23:29.53cr2debug messages
23:29.53NetRippercr2, when doing what?
23:30.14cr2NetRipper: the standard wince operation at startup
23:30.22NetRippercr2, isn't that spl?
23:30.34cr2sorry, yes
23:30.37NetRipperok
23:30.39cr2spl
23:30.55NetRipperi prefer two short ones ;p
23:31.00cr2:)
23:31.10NetRipperim stubborn
23:32.20*** join/#htc-linux balsat (n=kra@87.72.13.87)
23:33.12lavender-tnetripper, were you guys talking about booting .27 ?
23:33.27NetRipperlavender-t, we're porting to .27.. there are some issues
23:33.58cr2lavender-t: it boots but there are many issues with the lcd init
23:34.07lavender-tcool. i just compiled it with maejrep's diff sent last night
23:34.57lavender-ti mean for diam. but it didnt even hit the vibration yet and hang.
23:35.17NetRipperlavender-t, the diff is not good for diam
23:35.31NetRipperonly raphael
23:35.35lavender-tdid the raph work ?
23:35.41NetRipperyes
23:35.46NetRipperpartially
23:35.53NetRipperdiamond will too, just wait for git
23:35.55lavender-ti actually had to go in and fix some code to make diam even to compile
23:36.05NetRipperqdsp?
23:36.09NetRipperadsp i mean
23:36.12lavender-tyep
23:36.19NetRipperknown issue
23:36.23lavender-talso board-htcdiamond.c
23:36.31NetRipperyea it's not been updated
23:36.38lavender-tsome functions are changed, including gpio init
23:36.46cr2lavender-t: you have diam800 ?
23:36.59lavender-tcr2: diam110
23:37.14cr2lavender-t: yes, some raph800 gpios are hardcoded in the patch
23:37.15cr2ok
23:37.28cr2110 ? do you know the differences to 100 ?
23:37.58lavender-t110 is less sexier than 100. a big bulk battery to make americans happy
23:37.58NetRipperthere's a diam110? man.. :)
23:38.13maejrep[w][18:29:37]  <cr2> it runs for 0xc8 msec  <-- meaning, you can set 0xc8 to 100, then send 0x17 for vibra on, and not have to worry about turning it back off manually?
23:38.16cr2NetRipper: edit the wiki
23:38.37NetRippercr2, sir yes sir ;)
23:38.47cr2maejrep[w]: wince uses only the generic api 0x15/0x16
23:39.00cr2lol
23:39.06lavender-tit has the us 3g bands
23:39.13maejrep[w]cr2: but is that what you mean by c8?
23:39.17NetRipperlavender-t, on which msmsdcc_id is your sd card?
23:39.47cr2maejrep[w]: vibra on, msleep 0xc8, vibra off
23:39.47lavender-t2
23:39.58NetRipperlavender-t, ok and do you know abou twifi?
23:40.02maejrep[w]there's a pmic-vibra-on/off dex cmd, plus a 'vibra motor on/off' cmd (plus a generic pmic reg on/off)
23:40.13lavender-tno idea now.
23:40.17NetRipperlavender-t, ok
23:40.27maejrep[w]cr2: oh, so 0xc8 is the number of ms that spl sleeps?  it's not a built in sleep?
23:40.27cr2maejrep[w]: motor on/off is not used
23:40.29lavender-tbut i can do some research
23:40.34maejrep[w]cr2: but it works :)
23:40.55NetRipperlavender-t, it's probably on SDC1, but if you know for sure, can you remove the ? at the bottom of the page here? http://wiki.xda-developers.com/index.php?pagename=MSM_SDIO
23:41.25cr2maejrep[w]: yes. dzo says that if you change the vibra "voltage", then i'l lbe "custom vibra" :)
23:41.33maejrep[w]lol
23:41.36NetRipperlol
23:41.42maejrep[w]that sounds fun ;D~
23:41.42NetRipperdon't let the women know
23:41.45maejrep[w]haha
23:42.26dcordeslol onscreen keyboard orientation changed after opening the keyboard
23:42.49NetRipperyes lol
23:42.50NetRipperisn't it neat
23:42.51NetRipper;)
23:43.18NetRippermaejrep[w], btw, your "sd card slot detect" gpio, is my "keyboard slide" gpio ;)
23:43.30*** join/#htc-linux MethoS (n=lem@host-091-096-211-104.ewe-ip-backbone.de)
23:43.30maejrep[w]rofl
23:43.36maejrep[w]that could get annoying I'm sure :)
23:43.39NetRipperyes
23:43.41NetRipperwhen i open my keyboard
23:43.45NetRippermy mmc goes away
23:43.48maejrep[w]rofl
23:43.59maejrep[w]shouldn't that be the other way around?
23:44.01dcordesah that is expected? so x1 keyboard slide gpio is same as on raph
23:44.08NetRippermaejrep[w], the sd card slot detect is inversed
23:44.11maejrep[w]oh
23:44.12maejrep[w]right
23:44.14cr2NetRipper: i've forgot, did you find the stylus gpio ?
23:44.23NetRippercr2, no i havent looked for it
23:44.28NetRipperim already busy on 100 things
23:44.31cr2ok
23:44.32maejrep[w]cr2: I noted it on raph800
23:44.35maejrep[w]it's on the gpio page
23:44.39NetRippermy todo list only grows ;)
23:44.58cr2put it online :)
23:45.11NetRippercr2, how should stylus gpio be reported? via keypad?
23:45.18NetRipperor seperate driver?
23:45.49cr2no idea. it's more important which event it should send
23:45.55maejrep[w]NetRipper: put your todo list on the wiki
23:46.27NetRippermaejrep[w], it's a mess right now.. i'll make a todo list on wiki later
23:46.28maejrep[w]NetRipper: i would consider it an EV_SW
23:46.41NetRipperEV_SW turns landscape/portrait
23:46.43NetRipperon android
23:47.02maejrep[w]NetRipper: no, EV_SW is the type
23:47.06maejrep[w]SW_LID turns it landscape
23:47.07NetRipperoh
23:47.09NetRipperah ok
23:47.19maejrep[w]we can make it whatever other SW_* types there are that we want
23:47.22NetRipperjust added a todo to add a todo on wiki
23:47.26maejrep[w](ie, SW_POWER!)
23:47.31maejrep[w]haha
23:47.48dcordesNetRipper: make sure you don't end up with an infinite loop
23:48.18NetRipperdcordes, on what?
23:48.19maejrep[w]todo list:  1) see todo list
23:48.21NetRipperah
23:48.32NetRipperyes i'll make sure not to add that todo to the wiki too;)
23:50.22lavender-tcr2: the stylus in my diam100 is 37
23:50.28dcordesI think x1 i2c read/write is at a different location. how can I locate it?
23:52.14cr2dcordes: you are my hero :) now i've understood how they do pwm.
23:52.19NetRippermaejrep[w], do you think the gpio differences are GSM<->CDMA or worse?
23:52.31NetRipperpwm?
23:52.50maejrep[w]between x1 and raph?
23:52.55cr2dcordes: dump mmu 0xa9900000 2
23:53.01NetRippermaejrep[w], no, between raph and raph
23:53.03dcordesok
23:53.20NetRippermaejrep[w], raph gsm and raphcdma (i.e. raph100/110 vs raph500/800)
23:53.33cr2lavender-t: ok
23:53.33maejrep[w]i think its mostly 7200 vs 7500
23:53.41maejrep[w]720x(x) vs 750x(x)
23:53.45NetRippermaejrep[w], ah yes that's a better way of putting it
23:53.46NetRipper:)
23:54.01NetRippermaejrep[w], i think i'll add the _CDMA variants to use the same boardfile
23:54.03maejrep[w]since raph cdma matches vogue pretty closely
23:54.07NetRipperand update all #if's
23:54.14maejrep[w]strange thing about it though is kaiser .. aren't most kaisers gsm?
23:54.22maejrep[w]is kaiser 720x also?
23:54.31cr2maejrep[w]: you may detect 1A vs 0A too
23:54.55cr2maejrep[w]: the bit in a 0x270 reg afair. it's in wiki
23:55.01NetRippermaejrep[w], as i need some way to make it work for both raph100 and raph800, regarding your gpio's
23:55.18cr2NetRipper:pdata
23:55.25NetRippercr2, pdata?
23:55.48cr2NetRipper: and the vreg list name should be also in pdata. swetland bashing is in coming :)
23:56.13cr2NetRipper: yes, driver-specific data
23:56.22dcordes9a000000  | 00000000 |   1MB section | CB AP=1 T=7
23:56.22dcordesba000000  | 00000000 |   1MB section |    AP=1 T=7
23:56.22dcordesf0400000  | 00000000 |   1MB section |    AP=0 D=f
23:56.44maejrep[w]hmm
23:56.47NetRippercr2, how does that work?
23:56.49maejrep[w]dcordes: is that your i2c area?
23:57.00maejrep[w]my i2c is at b2300000 (virtual)
23:57.03cr2dcordes: ? it should list the virtal addresses for 0xa9900000
23:57.36cr2maejrep[w]: he does not se
23:57.41cr2e anything there
23:58.11maejrep[w]should be easy to find in spl
23:58.14dcordescr2: that?  cp15: r1=0085387f r2=103e0000 r3=00000001 r13=2c000000
23:58.27NetRippercr2, i think i'll do it the easy way now.. when we have the first (reasonably proper) commit, we can beautify things
23:59.36maejrep[w]NetRipper: that's what I did :P
23:59.45cr2maejrep[w]: wince kernel/drivers do multiple ioremaps
23:59.53lavender-tmy diam100 maps a9900000 to b2300000 and 92300000
23:59.58cr2NetRipper: ok

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