IRC log for #htc-linux on 20120512

00:06.44*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
00:40.18*** join/#htc-linux BHSPitMonkey (~stephen@unaffiliated/bhspitmonkey)
01:17.24*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
01:30.28*** join/#htc-linux arif-ali (~arif-ali@ip-81-23-53-226.ask4internet.com)
01:31.12*** join/#htc-linux jonpry (~jon@c-67-170-101-76.hsd1.wa.comcast.net)
02:00.07*** join/#htc-linux toastcfh (~toastcfh@unaffiliated/toastcfh)
02:59.02*** join/#htc-linux NeoMatrixJR_away (~NeoMatrix@173-18-84-218.client.mchsi.com)
03:00.25*** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
03:02.07*** join/#htc-linux arif-ali (~arif-ali@ip-81-23-53-226.ask4internet.com)
03:16.35*** join/#htc-linux NeoMatrixJR (~NeoMatrix@173-18-84-218.client.mchsi.com)
03:25.26*** join/#htc-linux rajkosto (~rajkosto@cable-94-189-234-104.dynamic.sbb.rs)
03:26.16*** join/#htc-linux Rajko (~rajkosto@wan.rajkonet.info)
03:28.57*** join/#htc-linux NeoMatrixJR_away (~NeoMatrix@173-18-84-218.client.mchsi.com)
03:35.40*** join/#htc-linux NeoMatrixJR_away (~NeoMatrix@173-18-84-218.client.mchsi.com)
03:37.04*** join/#htc-linux mikeit (~mikeit@net-93-65-168-132.cust.dsl.vodafone.it)
04:35.19*** join/#htc-linux jonpry (~jon@c-67-170-101-76.hsd1.wa.comcast.net)
06:32.26*** join/#htc-linux mes (~mes@sentry.lazo.ca)
06:45.17*** join/#htc-linux lamikr (lamikr@nat/nokia/x-wilvobvwggenikkt)
07:25.25*** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno)
07:47.45*** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029)
08:13.34*** join/#htc-linux ftoz (~root@cst-prg-180-3.cust.vodafone.cz)
09:04.31*** join/#htc-linux LordDeath (~LordDeath@xdsl-87-78-106-142.netcologne.de)
09:16.01*** join/#htc-linux marc1706 (~Marc@phpbb/modifications/marc1706)
09:30.39*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
10:03.35*** join/#htc-linux ftoz (~root@cst-prg-29-235.cust.vodafone.cz)
10:11.48ftozanyone can help with tinboot?
10:20.23*** join/#htc-linux kiozen (~kiozen@ppp-93-104-82-80.dynamic.mnet-online.de)
10:45.44*** join/#htc-linux rajkosto (~rajkosto@cable-94-189-234-104.dynamic.sbb.rs)
10:46.33*** join/#htc-linux bitrot (~rajkosto@wan.rajkonet.info)
11:03.31*** join/#htc-linux kiozen (~kiozen@ppp-93-104-82-80.dynamic.mnet-online.de)
11:38.26*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
11:45.58*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
11:52.41*** join/#htc-linux Rajko (~rajkosto@cable-94-189-234-104.dynamic.sbb.rs)
11:53.27*** join/#htc-linux bitrot (~rajkosto@wan.rajkonet.info)
12:16.09*** join/#htc-linux kiozen (~kiozen@ppp-93-104-82-80.dynamic.mnet-online.de)
12:30.36*** join/#htc-linux rajkosto (~rajkosto@cable-94-189-234-104.dynamic.sbb.rs)
12:31.22*** join/#htc-linux Rajko (~rajkosto@wan.rajkonet.info)
13:19.13*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
13:40.38*** join/#htc-linux Rajko (~rajkosto@cable-94-189-234-104.dynamic.sbb.rs)
13:41.30*** join/#htc-linux bitrot (~rajkosto@wan.rajkonet.info)
13:45.55*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
13:53.01*** join/#htc-linux helicopter88 (~helicopte@host159-113-dynamic.246-95-r.retail.telecomitalia.it)
14:32.52*** join/#htc-linux rob_w (~bob@ppp-188-174-77-36.dynamic.mnet-online.de)
14:32.52*** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029)
14:56.12*** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
15:02.28*** join/#htc-linux toastcfh (~toastcfh@unaffiliated/toastcfh)
15:14.14*** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
16:02.05*** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net)
16:03.01*** join/#htc-linux lamikr (lamikr@nat/nokia/x-fsypmaogkxabkozj)
16:21.06*** join/#htc-linux riro06 (52e2bf1e@gateway/web/freenode/ip.82.226.191.30)
16:44.04*** join/#htc-linux JC_ (c9d0605a@gateway/web/freenode/ip.201.208.96.90)
16:44.25JC_Hi there...
16:45.07JC_Can some point me i nthe right direcction?? I have already look out in Gsensor.dll and I found bma150
16:46.02JC_Changed board-whitestone.c with I2C_BOARD_INFO("bma150", 0x70>>1), .platform_data = &htcwhitestone_bma150_pdata,
16:46.22JC_Copied gsensor_axis in startip
16:46.23JC_And nothing
16:46.39kam187error -110 whilst initialising MMC card
16:46.46kam187guys, where can i lookup what 110 is?
16:47.09JC_Maybe I am missing one gpio??
16:47.10Willdmsm7200a
16:47.18WilldFor kam187s problem :)
16:47.27kam187its in there?
16:47.42Willdkam187: No, but the platform is relevant..
16:58.15*** join/#htc-linux LordDeath (~LordDeath@xdsl-87-78-106-142.netcologne.de)
16:58.32*** join/#htc-linux jonpry (~jon@c-67-170-101-76.hsd1.wa.comcast.net)
16:59.18*** join/#htc-linux LordDeath (~LordDeath@xdsl-87-78-106-142.netcologne.de)
17:13.30*** join/#htc-linux helicopter88_2 (~helicopte@host178-89-dynamic.56-79-r.retail.telecomitalia.it)
17:16.38*** join/#htc-linux helicopter88 (~helicopte@host178-89-dynamic.56-79-r.retail.telecomitalia.it)
17:17.55*** join/#htc-linux helicopter88_3 (~helicopte@host20-19-dynamic.30-79-r.retail.telecomitalia.it)
17:33.57*** join/#htc-linux JC_ (c9d0605a@gateway/web/freenode/ip.201.208.96.90)
17:34.25JC_Accelerometer support
17:34.27JC_???
17:37.56*** join/#htc-linux zeusk (~zeusk@v2201204121607874.yourvserver.net)
17:42.44*** join/#htc-linux jonpry (~jon@unaffiliated/jonpry)
17:42.54zeuskhey jonpry
17:43.03zeuskbtw, that didn't work, still have data abort
17:43.06jonpryhi zeusk
17:43.22jonprywhen writing to phys?
17:43.30jonpryhow do you know about the data abort?
17:44.16zeuskbecause that is the only probable thing which happens when you write to an unmapped page, OR switching the mmu on itself crashes due to bad pagetable setup but that is unlikely
17:44.40zeuskyeah, i used phys == virt mapping
17:45.50jonpryso mmu_enable is the last time you see it?
17:45.56jonprylike writing to the cr?
17:45.58zeuskyes
17:46.55zeuski thought of using what lk does (map whole 4096mb of address space to itself with write to all to just test if the page tables are bad)
17:47.07zeuskbut don't think if that's a good idea
17:49.25jonpryyeah that sound promising
17:49.50jonprydo it right at the beginning of create_page_tables and the whole thing should still be able to boot
17:50.58zeuskatleast i will be able to trace through enable_mmu then, but how do i map 4096 mb ?
17:53.09jonpryfor every entry do the same thing as you were doing for ram console?
17:53.44jonpryare you sure your kernel is being built with the correct mmu options? seems like there is more than one mmu available on v7
17:53.45zeuskdoesn't that map a single page ?
17:53.59jonprybig pages
17:54.05jonpryi'm not sure how big tbh
17:54.30jonprybut i think SECTION_SHIFT - PMD_ORDER is 20 bits?
17:54.39zeuskmore than one mmu ? I am using the same config which worked on .32 and the same thing happens on a .38 bravo, though it was all fine till .35 from bravo
17:54.40jonpryso there are 2^12 superpages
17:54.59jonprymultiple pmd_orders available under v7
17:55.40zeuskbut in .38 where the same thing happens, create_page_tables doesn't use that, it has a hardcoded value of 18
17:57.01zeuskeven .38 goes all blank after enable_mmu
18:01.35jonpryfor section_shift?
18:02.14zeuskhopefully cotulla will bail us :/
18:02.20detulehey jonpry this should work for haret/nand right -> http://pastebin.com/rgYU27ki
18:02.27zeuskwhat about section_shift ?
18:02.35jonpryhard coded to 18?
18:02.45jonpryor section_shift - pmd_order?
18:03.13zeuskhard coded to 18
18:03.36jonprydo you know where in enable_mmu it dies?
18:03.46zeusk(section_shift - pmd_order) is hard coded as 18
18:03.47zeuskyes
18:03.51zeuskat cr write
18:03.55zeuskto enable mmu
18:04.28jonprydetule, i think so. maybe make an extern int hotboot?
18:04.42zeuskmcrp15, 0, r0, c1, c0, 0@ write control reg
18:05.01zeuskin __turn_mmu_on
18:07.56jonpryi think in  * Now setup the pagetables for our kernel direct
18:07.56jonpry<PROTECTED>
18:08.21jonpryyou could change kernel_start to 0. and kernel_end to 4gb-1 and it would map the whole 4gb
18:09.31zeuskso kernel_end -1 should be hardcoded as fffffffe right ?
18:10.39jonpryhrm. directmapped is probably not identity mapped
18:13.14*** join/#htc-linux swc|666 (~goldbond@65.101.151.78)
18:13.20*** join/#htc-linux swc|666 (~goldbond@Aircrack-NG/Friend)
18:14.22jonprydoes your arch have LPAE?
18:14.30zeusknope, i don't think so
18:14.36zeuskarmv7
18:14.53*** join/#htc-linux Peterka (~Peter78@c-4f667f7a-74736162.cust.telenor.se)
18:18.17jonprywhat mach-msm stuff are you using?
18:19.08jonpryie is PLAT_PHYS_OFFSET being defined correctly
18:21.54jonpryand Makefile.boot
18:22.02detulei know at least that one bit related to the alignment exceptions in the control register is set differently in 3.3 viz-a-viz .27 as far as our arch is concerned
18:22.37jonprythats normal
18:23.03zeuskI'm using the same msm board files from the supersonic .32 kernel which was ported to leo ~2010 (the files were inturn taken from the initial .27 port)
18:23.32jonpryspecifically Makefile.boot and include/mach/memory.h
18:23.36zeuskthere is no PLAY_PHYS_OFFSET being defined iirc but makefile.boot is accordingly done
18:23.44zeusklet em check
18:25.32zeuskit's just PHYS_OFFSET and RESET_VECTOR
18:25.38zeuskno PLAT_PHYS_OFFSET
18:25.44jonpryyou should use our mach-msm :p merge ftw
18:25.50zeuskmemory.h and makefile.boot is nice
18:26.01jonpryi think you need PLAT_PHYS
18:26.18jonpry./include/asm/memory.h:#ifdef PLAT_PHYS_OFFSET
18:26.19jonpry./include/asm/memory.h:#define PHYS_OFFSETPLAT_PHYS_OFFSET
18:26.49jonpryor it will #define PHYS_OFFSETUL(CONFIG_PHYS_OFFSET)
18:27.25jonprythen your identity map will barfu
18:28.14zeuskconfig PHYS_OFFSET hex depends on MACH_HTCLEO default "0x11800000" if MACH_HTCLEO
18:28.44jonpryi don't understand
18:28.55zeuskPHYS_OFFSET is set correctly for leo in kconfig
18:29.40zeuskraw.github.com/zeusk/tiamat-leo/ics/arch/arm/mach-msm/Makefile.boot
18:34.13jonpryseems ok. we have always use PLAT_PHYS_OFFSET in memory.h
18:34.27jonpryno interesting commit history
18:34.42zeuskif you want complete commit history of leo port, look here
18:34.59zeuskhttps://github.com/zeusk/android_kernel_htcleo-2.6.32-ics
18:36.50jonpryjust old kernel has PHYS_OFFSET. but we never had a working 39 like that. although i don't see exactly why it wouldn't work
18:39.03zeuskI'll try starting leo port from scratch but that will be some time later
18:40.36jonprymy theory is that /*
18:40.36jonpry<PROTECTED>
18:40.36jonpry<PROTECTED>
18:40.36jonpry<PROTECTED>
18:41.24jonpryand it depends on stuff like PHYS_OFFSET being correct
18:41.44jonprymaybe you can write the values of those registers into ram console?
18:42.30*** join/#htc-linux LordDeath (~LordDeath@xdsl-87-78-106-142.netcologne.de)
18:42.42zeuskyeah, i had a hunch about that too, maybe pc points to invalid/wrong address exactly after mmu init, but do not know how to confirm that
18:44.55zeuskworse part is badly documented linux code, most of the info about the registers used or referenced in the function seem wrong/outdated
18:45.20jonpryi think just confirming the value of r3,r4,r5 in that section will do it
18:45.35zeuskcreate_page_table ?
18:46.11zeuskr5 isn't being used
18:46.29zeuskatleast in the code im looking at
18:46.56jonpryhead.S:214
18:49.15zeuskhmm
18:50.08zeuskwhy r4, r4 is the pagetable address right ?
18:53.31jonprymaybe not r4
18:59.00*** join/#htc-linux ftoz (~root@cst-prg-204-247.cust.vodafone.cz)
19:00.59*** part/#htc-linux ftoz (~root@cst-prg-204-247.cust.vodafone.cz)
19:52.04*** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno)
20:19.26*** join/#htc-linux rob_w (~bob@ppp-188-174-77-36.dynamic.mnet-online.de)
20:19.26*** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029)
20:30.54*** join/#htc-linux NeoMatrixJR (~NeoMatrix@173-18-84-218.client.mchsi.com)
20:46.31*** join/#htc-linux mes (~mes@S0106000ce55186df.cc.shawcable.net)
20:50.39*** join/#htc-linux NeoMatrixJR (~NeoMatrix@173-18-84-218.client.mchsi.com)
21:16.40*** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno)
22:20.17*** join/#htc-linux Rajko (~rajkosto@cable-94-189-234-104.dynamic.sbb.rs)
22:21.08*** join/#htc-linux bitrot (~rajkosto@wan.rajkonet.info)
22:41.15*** join/#htc-linux rajkosto (~rajkosto@cable-94-189-234-104.dynamic.sbb.rs)
22:42.12*** join/#htc-linux Rajko (~rajkosto@wan.rajkonet.info)
22:42.23*** join/#htc-linux Regulator (~duffman@unaffiliated/regulator)
22:43.44*** join/#htc-linux Regulator (~duffman@unaffiliated/regulator)
22:44.02*** part/#htc-linux Regulator (~duffman@unaffiliated/regulator)
22:58.03*** join/#htc-linux lamikr (lamikr@nat/nokia/x-zvqpuxmguixbzyrq)
22:59.19*** join/#htc-linux bardzusny (~bardzusny@gateway/tor-sasl/bardzusny)
23:19.17*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
23:26.06*** join/#htc-linux whitekidney (~wk@141.0.136.22)

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