IRC log for #htc-linux on 20120709

00:37.38*** join/#htc-linux jonpry (~jon@c-67-170-101-76.hsd1.wa.comcast.net)
01:01.20*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
01:05.44*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
01:09.34detulehey jonpry
02:07.51*** join/#htc-linux leviathan (~quassel@2001:470:26:484:6ef0:49ff:fee6:8dca)
02:09.43jonpryhi detule
02:10.16detulejonpry, this is what you guys are using https://gitorious.org/droid3-kexec/droid3-kexec-kernel/blobs/3.0.8-dev/arch/arm/mm/proc-v7.S#line63
02:10.51jonprymmm
02:11.07jonprywell depends
02:11.41jonprythat is not used in the kexec module loaded into the .35 host kernel
02:12.08jonpryin fact we don't use any cpu_reset in kexec. it kept busting for some reason
02:12.30detulenot turning the mmu off at all
02:12.44jonprywe turn mmu off
02:12.47jonpryfor sure
02:12.51detulewhere
02:13.00jonpryits built into relocate-kernel.S
02:13.13jonpryin the actual relocate-kernel entry point
02:13.25detulei thought to turn the mmu off one needs to flib a bit on the control register
02:13.31jonpryyeah it does
02:13.32detuledon't see that in relocate kernel
02:14.29jonpryhttps://gitorious.org/droid3-kexec/droid3-kexec-modules/blobs/master/arch/arm/kernel/relocate_kernel.S#line97
02:14.38jonpry0x7 is all bs off
02:14.49detuleoh yeah
02:14.50detulethat's what i need
02:15.01detulei think this turning the mmu off in setup_mm_for_reboot is bad mojor
02:15.10detules/mojor/mojo/
02:15.15jonpryit doesn't does it?
02:15.16detuleway too earl
02:15.18detuley
02:15.28jonpryit just prepares vm for mmu off
02:15.44detulei keep thinking it wipes out the instruction stream coz this pos keeps stalling
02:16.11jonpryouch
02:16.31jonpryi thought it was working except cpu1?
02:16.41detulewell god damnit i can't replicate my earlier success
02:17.12detuleeither my tree is polluted somehow or it was just dumb luck that it worked when i pulled that last_kmsg
02:17.16jonpryadb only works for me in one branch
02:17.20jonpryand i can't find the diff
02:18.24jonpryi really don't think setup_mm-for_reboot it turning mmu off
02:18.37jonpryyou should probably reanalyze that
02:20.13detuleoh yeah i said something definitely not true
02:20.41detuleit just takes out an identity map
02:21.24detulestill that mmu_off in cpu reset is earlier than putting it in relocate_kernel
02:22.18detulenot by much
02:25.15jonprythe trouble is that the place relocate_kernel gets copied to. might be above the identity map
02:25.27jonprythat isn't the case on my lowly 512mb phone
02:25.53detuleok but don't we pass the physical location of where it gets copied to
02:26.16jonpryit still must be in the identity map
02:26.27detuleoh
02:26.39detulethat would be my problem
02:26.56jonpryonly a function running inside of an identity map can achieve mmu off
02:28.30detulei have cpu_reset in the mapping but not relocate_kernel
02:29.21detuleif i leave cpu_reset turn the mmu off is this still an issue?
02:31.05*** part/#htc-linux ali1234 (~ajbuxton@s15821883.onlinehome-server.info)
02:31.35*** join/#htc-linux ali1234 (~ajbuxton@s15821883.onlinehome-server.info)
02:36.44jonprydetule, no i don't think so
03:36.55*** join/#htc-linux Rajko (~rajkosto@wan.rajkonet.info)
03:40.01*** join/#htc-linux leviathan_ (~quassel@2001:470:26:484:6ef0:49ff:fee6:8dca)
06:40.44*** join/#htc-linux kiozen (~kiozen@p578a42db.dip0.t-ipconnect.de)
06:44.15*** join/#htc-linux kiozen (~kiozen@p578a42db.dip0.t-ipconnect.de)
06:46.37*** join/#htc-linux walter79 (~walter79@31-17-62-189-dynip.superkabel.de)
06:55.09*** join/#htc-linux ychavan (ychavan@nat/redhat/x-qstxpeigahkqjkpp)
07:02.34*** join/#htc-linux Alex[sp3dev] (~alexander@195.208.175.17)
07:21.13*** join/#htc-linux eR^zeRa` (~zzeratul@88.103.98.168)
07:25.20*** join/#htc-linux kiozen (~kiozen@p578a42db.dip0.t-ipconnect.de)
07:27.59*** join/#htc-linux Ondalf (~ondalf@cable-roi-fff8dd00-39.dhcp.inet.fi)
07:28.03*** join/#htc-linux tmzt (~tmzt@76.244.156.141)
07:32.34*** join/#htc-linux DuperMan (~Duper@93-173-169-101.bb.netvision.net.il)
07:46.47*** join/#htc-linux khorben__ (~dont@mahce.defora.org)
09:33.53*** join/#htc-linux zeusk (~zeusk@h2041382.stratoserver.net)
09:33.59zeuskhi
09:34.34zeuskjonpry, why're you invalidating instruction tlb and data tlb after invalidating UTLB ?
09:39.27jonprythat's how the kernel does it
09:40.07jonpryi can't speak to the wisdom
09:40.26jonpryalso i think armv7 doesn't actually have UTLB
09:41.31zeuskARM docs mention ULTB, infact i can see UTLB operation in HTC SPL
09:41.47zeusk(for Cortex-A8, armv7-scorpion)
09:42.17zeuskwhat problem are you having ?
09:43.28zeuskyou should be disabling caches along/before MMU
09:43.45zeusks/MMU/disabling MMU/
09:45.59zeuskinvalidate L2, disable fpu if on, DSB, Invalidate icache and dcache, disable dcache, icache and mmu, invalidate tlb
09:46.04*** join/#htc-linux Alex[sp3dev] (~alexander@nat.rnd.stcnet.ru)
09:46.29Alex[sp3dev]finally stupid jtag works on a stupid pandaboard in my stupid hands
09:46.31jonpryno problem is happening
09:46.37jonpryit all works pretty good
09:46.51jonprygood enough to be kanged
09:47.26zeuskalex, woot, how does it feel to halt the core at own wish ? :D
09:47.50Alex[sp3dev]the problems were (1) my hands which connected arm 14-pin header to the 20-pin one in the wrong way and (2) a j-link clone that failed to work. olimex usb tiny works fine
09:47.55Alex[sp3dev]zeusk: feels so 1337
09:48.03Alex[sp3dev](gdb) x 0x4a002204
09:48.03Alex[sp3dev]0x4a002204:0x6b95c02f
09:48.24jonpryinvalidating TLB is probably not critical since it isn't used until mmu is reenabled
09:48.49Alex[sp3dev]now I need to figure out how to debug linux under jtag
09:49.39zeuskthe only board i have with such capability is a STM cortex-m0 with 8kb ram and no mmu, can i run android on it ?
09:50.36zeuskjonpry, that's how most software do it, invalidate TLB after turning MMU off but you could be right..
09:53.18jonprythat's how i do it too
09:53.33jonpryjust get everything squeaky clean
10:39.52zeuskscorpion's cache line is 64kb or 128kb ?
10:52.13*** join/#htc-linux BabelO (~wdlxtv@AMontpellier-553-1-42-41.w90-48.abo.wanadoo.fr)
11:23.37*** join/#htc-linux marc1706 (~Marc@phpbb/modifications/marc1706)
11:34.42*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
11:59.57*** join/#htc-linux khorben__ (~dont@mahce.defora.org)
12:42.20*** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net)
13:00.42*** join/#htc-linux kiozen (~kiozen@p578a42db.dip0.t-ipconnect.de)
14:11.46*** join/#htc-linux ychavan (ychavan@nat/redhat/x-zacvvcxqrrndiyam)
14:22.28*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
14:37.32*** join/#htc-linux BabelO__ (~fcr@AMontpellier-553-1-186-139.w92-133.abo.wanadoo.fr)
14:39.01*** join/#htc-linux BabelO__ (~fcr@AMontpellier-553-1-186-139.w92-133.abo.wanadoo.fr)
14:39.36*** join/#htc-linux BabelO (~fcr@unaffiliated/babelo)
15:03.51*** join/#htc-linux kiozen (~kiozen@ppp-93-104-74-207.dynamic.mnet-online.de)
15:15.14*** join/#htc-linux Willd (willd@citu-202.citu.kth.se)
15:38.17*** join/#htc-linux jonpry (~jon@c-67-170-101-76.hsd1.wa.comcast.net)
15:38.22*** join/#htc-linux BabelO (~fcr@unaffiliated/babelo)
16:09.10*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
16:14.39*** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029)
16:17.01*** join/#htc-linux Alex[sp3dev] (d5551202@gateway/web/freenode/ip.213.85.18.2)
16:46.58*** join/#htc-linux Cotulla (~myfakemai@nat100-255-205-109.tvoe.tv)
17:55.43*** join/#htc-linux kiozen (~kiozen@ppp-93-104-74-207.dynamic.mnet-online.de)
18:13.00*** join/#htc-linux skodde (~skodde@unaffiliated/skodde)
20:08.57*** join/#htc-linux Alex[sp3dev] (d5551202@gateway/web/freenode/ip.213.85.18.2)
20:23.18*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
21:00.06*** join/#htc-linux rajkosto (~rajkosto@cable-94-189-239-212.dynamic.sbb.rs)
21:01.08*** join/#htc-linux bitrot (~rajkosto@wan.rajkonet.info)
21:02.16*** join/#htc-linux khorben__ (~dont@mahce.defora.org)
21:58.32*** join/#htc-linux arif-ali (~arif-ali@94-192-24-56.zone6.bethere.co.uk)
22:02.20*** join/#htc-linux Alex[sp3dev] (d5551202@gateway/web/freenode/ip.213.85.18.2)
23:57.35*** join/#htc-linux walter79_ (~walter79@31-17-62-189-dynip.superkabel.de)
23:58.29*** join/#htc-linux walter79 (~walter79@31-17-62-189-dynip.superkabel.de)

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