IRC log for #htc-linux on 20120502

00:03.03CptAJoh my... added the remote writes and the panel inits properly now
00:03.07CptAJduring bootup
00:03.23CptAJhere's hoping this affects the unblanking
00:07.20CptAJoh no
00:07.22CptAJnevermind that
00:07.26CptAJwrong zimage XD
00:08.07CptAJwas using the one from old 27
00:10.34*** join/#htc-linux d3tul3 (~detule@unaffiliated/d3tul3)
00:12.17d3tul3CptAJ, mic is working?
00:12.36CptAJyeah
00:13.18CptAJunless my friend can read minds through CDMA =P
00:13.32d3tul3thing still get incorrectly routed to your handset instead of speaker?
00:17.49d3tul3hi jonpry
00:19.07CptAJyeah, still coming through the handset
00:19.10jonpryhi d3tul3
00:19.13jonprywrong zimage?
00:19.34CptAJyeah, I still have the old .27 kernel around =P
00:19.43CptAJaccidentally used that instead of the new one
00:19.56jonpryic. so test still in the works?
00:20.15CptAJjust did it, problem still crops up with the remote writes activated
00:20.31CptAJI'm gonna tweaking the timing like you said
00:20.44jonprywhat about during boot?
00:21.50CptAJstill blank
00:21.58jonpryhrm
00:24.22jonpryd3tul3, you break the slow data barrier?
00:24.55d3tul3no same data transfers while at work....
00:25.11d3tul3perhaps sprint just sucks in baltimore
00:25.26jonpryor sprint just sucks
00:25.52d3tul3i was reading some logs last night of last june when you tweaked smd.....
00:26.19d3tul3btw i am a happy camper with the ppp hack but i bet those slab failures was because of the larger memory management issue the kernel was having back then
00:26.50jonprymaybe
00:27.40d3tul3CptAJ, you got dmesg output during these failed wakes after an all out suspend
00:28.27CptAJhttp://paste2.org/p/2004136 here's one
00:28.59CptAJsuspended, unplugged from usb, tried to wake, took too long so plugged back in, after a long time it came up for a sec
00:29.46d3tul3this is the part when you actually plugged back in no?
00:30.23d3tul3how about just a plain ol' unplug turn screen off...try to turn back on after a second....then plug in and collect logs
00:32.07CptAJthats kinda what I did, except without the suspend phase
00:32.16CptAJ<4>[ 4717.970000] arch/arm/mach-msm/board-htcwhitestone.c: usb_phy_reset thats when the cable comes off
00:32.47CptAJthe wakeup event happened while unplugged. it just took so long that it eventually did the brightness cycle AFTER i had already given up on it
00:32.59CptAJI'll get another one, hold on
00:33.24d3tul3try to get a failed resume sequence without usb pollution
00:34.01jonprylol
00:34.15jonprymaybe it needs dilution
00:34.30CptAJhey its waking up now
00:34.44CptAJI reduced all the msleeps to 5ms
00:35.04d3tul3nah i scarred it into submission
00:35.30jonprylol
00:37.05jonprywhere can we get a nand tester
00:37.19raymonddullwell... I have a mogul if that counts
00:37.37jonpryrhod only
00:38.22d3tul3arrrghhh,
00:38.41jonprydidn't he blow it up already?
00:38.54CptAJI have a rhod with a broken digitizer
00:38.55d3tul3pretty sure he's got more than one rhod around
00:39.18CptAJwell, "have" used very loosely there. a friend does
00:39.19jonpryCptAJ, is it a 400 or 500?
00:39.23CptAJno idea
00:39.33d3tul3movilnet branded?
00:39.35CptAJI told him to buy a digitizer so I could fix it for him the other day
00:39.42CptAJprobably is, d3tul3
00:39.46d3tul3500
00:39.50jonpryoO
00:40.42jonprypreferably it would be somebody that has the capability to cook up those crazy tinboot nbh's
00:41.34d3tul3what other than that imem reset did you change?
00:41.47jonpryi didn't change anything
00:42.02jonpryi think our clock's may not require anything
00:42.43d3tul3our clocks are pretty badass....and by our i mean Alex[sp3dev] 's
00:43.44jonpryit checks that imem clock before reset so it might not crash
00:43.59jonpryalthough i am not convinced what is being checked is anything like the imem clock
00:44.51d3tul3nand 3.x .... what's next, the world?
00:45.29jonprytouchpad
00:45.34jonpryand leo
00:45.50d3tul3here's a post to make you feel good jonpry  http://forum.xda-developers.com/showpost.php?p=25552337&postcount=674
00:45.59d3tul3he's on 3.3.x
00:46.33d3tul3if only i had a touc...oh wait....i don't even know where it is
00:47.00jonprypretty sure its the best kernel around
00:47.05jonpryever since you fixed the slowdown
00:47.31d3tul3what slowdown i take no credit for any fixes....just kangs
00:48.35jonpryi dunno. never happened to me. turned out to be OOM or something. you spent like months looking for it
00:50.59d3tul3this moboot fela'...looks like he's the only (?) guy working on the touchpad kernel
00:51.32jonpryjcsullins?
00:51.35d3tul3yeah
00:53.04CptAJyou guys talking about the hp touchpad?
00:53.50d3tul3the one and only
00:54.23jonpryi wonder if they did anything to the kernel for ics
00:54.43CptAJman, I remember lusting over one of those when they did the price drop
00:55.13jonprywe got. and i ported :p
00:55.34d3tul3bricked you say?
00:55.38CptAJhad to be done
00:55.53CptAJalthough really, out of all the operating systems WebOS has the best name
00:56.01CptAJspecially if you speak spanish >_>
00:56.07jonpryi have a working one now
00:56.13d3tul3WebOS has a lot of bests
00:56.20CptAJ(means balls, or nuts)
00:56.50d3tul3CptAJ, jonpry pretty much got the touchpad port of the ground....if you look at the early kernel commit history it's littered with his code
00:58.45CptAJrock on
00:59.27jonprynow we just need 3.3
01:01.14d3tul3jcsullins private ICS kernel repo is where it's at apparently https://github.com/jcsullins/kernel-tenderloin-3.0/branches
01:01.54CptAJjonpry, what do you do for a living? just curious if you're working on systems stuff
01:02.16jonpryi make electronics stuff
01:02.48jonprylike avionics testing hardware
01:02.56CptAJ*drool*
01:03.00jonpryand there is the prypad. but its not finished
01:03.11CptAJprypad?
01:03.26jonprytablet for musicians
01:03.41CptAJdo tell
01:04.20CptAJjordan rudess from dream theater has rocked my socks live with an ipad. it's definitely gonna catch on
01:04.23d3tul3CptAJ, so screen working ? as in can collect GetLogs of this routing problem
01:04.46CptAJtesting right now
01:04.55CptAJits behaving
01:04.58jonpryit runs android and has a bunch of analog and digital audio interfaces. lots of hardware inside for doing strange things with audio in real time. so far i only really built a phase vocoder on it though
01:05.31CptAJI need to give it a nudge to wake up by unlocking the phone. If I turn on autobacklight it becomes less reliable. Hasn't failed yet with manual backlight
01:05.41CptAJI'll tweak the timings down further after some more testing
01:06.03CptAJyou're designing this yourself?
01:06.06jonprythere are two {REG_WAIT, xxx},
01:06.25jonprymaybe get rid of the second one
01:06.42jonpryyeah i built it. like there is a real one
01:07.37jonprybut the man has loured me away from it with promises of big $$$
01:08.07CptAJthere's definitely a market for it. Get a few musicians on board and it'll take off
01:08.27CptAJmaybe kickstarter investment run material?
01:08.59jonprywell its kind of done and i don't really need any money. just time to write some more apps for it
01:09.26CptAJfor mass production I mean =P
01:09.58jonpryi guess why not. kickstarter is essentially free money
01:10.08CptAJor maybe just sell it to some instrument maker
01:10.33CptAJhaving a working prototype does help
01:10.58jonpryyeah it could be cool
01:11.49jonprybut the man is persuasive
01:12.58CptAJno reason you can't do both. Just hire another engineer to handle production and oversee the project from the lofty heights of your cushy high-paying job? =P
01:13.23CptAJunless there IS a reason, like weird "dont work on anything else" agreements
01:14.19*** join/#htc-linux mitsutaka (~mitsutaka@219.143.36.82)
01:42.29*** join/#htc-linux ahigerd (~ahigerd@173.218.142.90)
01:42.30*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
01:44.44jonprystuff needs to get done fast. deadlines to meet
03:43.22*** join/#htc-linux d3tul3 (~detule@unaffiliated/d3tul3)
04:11.50*** join/#htc-linux FlawlesStyle (~LOL@unaffiliated/flawlesstyle)
04:40.59*** join/#htc-linux jonpry (~jon@c-24-17-200-206.hsd1.wa.comcast.net)
04:47.30*** join/#htc-linux Entropy512 (~quassel@cpe-69-205-145-233.stny.res.rr.com)
05:50.19*** join/#htc-linux infernix (nix@cl-1404.ams-04.nl.sixxs.net)
05:50.19*** join/#htc-linux infernix (nix@unaffiliated/infernix)
06:04.23*** join/#htc-linux kiozen (~kiozen@p578a42db.dip0.t-ipconnect.de)
06:06.52CptAJ“I love deadlines. I like the whooshing sound they make as they fly by.” ~Douglas Adams
06:41.53*** join/#htc-linux mes_ (~mes@sentry.lazo.ca)
06:58.24*** join/#htc-linux Mavy (mavfree@unaffiliated/mavy)
07:07.58*** join/#htc-linux lamikr (lamikr@nat/nokia/x-yhptrvbomtlihsyj)
07:37.30*** join/#htc-linux lamikr (lamikr@nat/nokia/x-hidqilukkjuutbhz)
07:50.45*** join/#htc-linux gauner1986 (~Miranda@ip-178-202-173-31.unitymediagroup.de)
08:06.34*** join/#htc-linux Guest54866 (fakker@cpc13-hitc6-2-0-cust129.9-2.cable.virginmedia.com)
08:28.00*** join/#htc-linux ychavan (ychavan@nat/redhat/x-ascckvcezovbqrzp)
08:32.54*** join/#htc-linux MacDrunk (~marper@201.164.167.130)
08:35.50*** part/#htc-linux MacDrunk (~marper@201.164.167.130)
09:18.55*** join/#htc-linux MethoS (~clemens@134.102.106.250)
09:31.52*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
09:42.08*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
10:05.36*** join/#htc-linux LordDeath (~LordDeath@cable-81-173-165-254.netcologne.de)
10:17.03*** join/#htc-linux Alex[sp3dev] (~alexander@178.76.204.13)
10:18.04Alex[sp3dev]omg. XobotOS doesn't sound like a cool name ;)
10:42.11*** join/#htc-linux rajkosto (~rajkosto@212-200-65-127.3gnet.mts.telekom.rs)
10:49.54*** join/#htc-linux AstainHellbring (AstainHell@unaffiliated/astainhellbring)
10:57.40*** join/#htc-linux lamikr (lamikr@nat/nokia/x-pvuqryobashvtjac)
11:07.10*** join/#htc-linux Rajko (~rajkosto@212-200-65-127.3gnet.mts.telekom.rs)
11:28.07*** join/#htc-linux zmc (~zmc@lurian.net)
11:37.40*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
13:11.51*** join/#htc-linux apt (~apt@rikers.org)
13:11.51*** topic/#htc-linux is Welcome to the HTC Linux project | Community portal & WiKi http://htc-linux.org | For IRC logs, HaRET & kernel mailing lists etc. see http://htc-linux.org/wiki/index.php?title=Contact | The htc-linux.org project is not affiliated with the HTC Corporation | This channel is for development purposes - Join #htc-linux-chat for offtopic
13:26.02d3tul3jonpry, ping
13:27.49*** join/#htc-linux Alex[sp3dev] (~alexander@178.76.204.13)
13:31.00jonpryhey d3tul3
13:38.34d3tul3need yaffs
13:38.49d3tul3and != MTD_RO in defconfig
13:40.54jonpryhmm
13:41.18jonprycan we do mtd on the command line? sounds risky
13:43.20d3tul3perhaps, http://dl.dropbox.com/u/38520332/boot3.img this is with yaffs and rw mtd
13:44.40jonpryunless it boots will it make any difference?
13:47.47d3tul3can't boot wo yaffs
13:48.13d3tul3and mtd is a kconfig dependency for yaffs
13:48.20jonpryif we get so much as some flying text i'll be ready to celebrate
13:48.43d3tul3i got a pm on xda today
13:48.44d3tul3walter
13:48.53d3tul3saying he got flying text but then it just stopped
13:49.01jonpryoh
13:49.54d3tul3"I tried one of the latest 3.3 kernels with ramdisk (init.rc ...) for nand build. Kernel boots like normal haret boot. After a few second it stops working. Can`t make any log."
13:50.40d3tul3should i see if i can get him out here, he seems to have no inhibitions to flashing
13:50.43jonpryguess its time for celebration
13:51.58*** join/#htc-linux Alex[sp3dev] (~alexander@178.76.204.13)
13:52.13jonpryok new updater: http://www.box.com/s/92ac6e4362f76a679d18
13:52.30d3tul3that's with mtd rw?
13:52.31jonpryyou had me all confused for a minute :p
13:52.34jonpryyes
13:53.02d3tul3what was confusing
13:53.40jonpryi was wondering why your trying to fix the filesystem when it might be hanging in clock init or a million other places
13:54.10d3tul3oh yeah
13:55.03jonpryacl is using the nand partition atag?
13:55.32d3tul3i *think*so ... i pmed walter back and told him to swing by htc-linux
13:55.56d3tul3the yaffs and defconfig stuff is in my local branch
13:56.23jonpryiirc they also had a problem with usb hanging the kernel
13:58.26d3tul3i haven't really had that happen since we took out idle pc
14:00.54jonpryjust going through acl's nand history
14:01.14jonpryfirst thing was imem, which we don't need. then they fixed rpc router
14:01.23jonprythen i think there is some usb problem
14:14.34d3tul3bbl
14:14.37jonpryac4dded6e8323ed49c38f508549bc41dc69f3105
14:30.05*** join/#htc-linux Alex[sp3dev] (~alexander@178.76.204.13)
14:38.42detulejonpry, that's pre-gadget?
14:38.48detulewonder how relevant it is
14:57.37*** join/#htc-linux LordDeath (~LordDeath@xdsl-87-78-106-79.netcologne.de)
15:08.13*** join/#htc-linux ahigerd (~ahigerd@173.218.142.90)
15:08.14*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
15:13.53jonprydetule, not sure. but we need rpc
15:14.23detulethis rpc patch probably can't coexist with haret
15:17.13ahigerd*curious* What have I stumbled into?
15:18.38jonprynand
15:19.01jonprydetule, i think the only real change is to send hello or bye on startup
15:19.41Alex[sp3dev]jonpry, detule: you can safely send hello/bye on nand
15:19.54Alex[sp3dev]take a look at my .35 tree. it has smd/rpc which works both on haret and nand
15:20.10jonprythats the stuff
15:20.58Alex[sp3dev]although modding codeaurora/google smd is a bit tricky, it tends to hang with every custom patch...
15:21.17detulethanks Alex[sp3dev]
15:21.41Alex[sp3dev]no problem. btw, .27 should work as well
15:23.55detulehot_boot?
15:24.28jonprychooses to send hello
15:24.32Alex[sp3dev]detule: yes, but it is hardcoded to 1. because it doesn't break nand
15:24.44Alex[sp3dev]moreover, without hot_boot and hello, sound crashed on 5225 on nand
15:25.00jonpryit's hard coded to zero
15:25.12Alex[sp3dev]hm.. really?
15:25.19jonpryhttps://gitorious.org/~ast/linux-on-qualcomm-s-msm/alex-linux-xperia/blobs/android-2.6.35/arch/arm/mach-msm/smd_rpcrouter.c
15:25.24Alex[sp3dev]indeed
15:26.01jonprydoing it via cmd line is fine by me
15:26.13Alex[sp3dev]anyway, cmdline smd_rpcrouter.hot_boot=1 is hardcoded in lk and cyanogen makefiles
15:26.40jonprymight negate it though. cold_boot would require less changes
15:26.53jonpryisn't nand a cold boot?
15:26.55Alex[sp3dev]for now, you should just try to get this stuff working on your kernel or port the needed changes
15:27.13jonpryi would consider haret a hot boot
15:27.15Alex[sp3dev]nand is a cold boot. anyway, i guess for wince devices it is always safe to do a bye/hello
15:27.50Alex[sp3dev]jonpry: so what are  you at now? 3.3, xdandroid 2.3 and nand?
15:28.41jonpryi'm not going to run nand personally. some people are asking for it. and if acl could come over to our kernel we would have like 4 more users
15:29.30jonpryi think we have 3.3.3 gbx0 something
15:30.25jonpryand we have whitestone
15:50.32*** join/#htc-linux ahigerd (~ahigerd@173.218.142.90)
15:50.32*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
15:52.17*** join/#htc-linux ftoz (~root@cst-prg-68-252.cust.vodafone.cz)
15:52.57*** join/#htc-linux d3tul3 (~detule@128.220.159.3)
15:53.10*** join/#htc-linux d3tul3 (~detule@unaffiliated/d3tul3)
15:54.19d3tul3jonpry, something like this http://pastebin.com/D55tSKiS
15:56.33*** join/#htc-linux wk (~wk@141.0.136.22)
15:57.48jonprywhat is 0x3000fffe all about?
15:58.22Alex[sp3dev]some callback endpoint
15:58.32Alex[sp3dev]needed for sound iirc
15:59.52jonpryi don't see why its only done for hot_boot
16:00.32jonpryyour code only register early_servers for hot_boot. but it isn't clear is this endpoint is considered early or not
16:01.35Alex[sp3dev]jonpry: yes, early_servers are passed via pdata in amss_5225.c
16:02.13Alex[sp3dev]6125 doesn't need it probably
16:02.56jonprywe need
16:04.29detulenot on nand apparently
16:04.48jonpryi think it auto registers
16:05.08jonprylooks good detule
16:07.22*** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14)
16:19.14detulewith smd_rpcrouter.hot_boot=0 in cmnd line http://dl.dropbox.com/u/38520332/boot5.img
16:23.10jonprydoes it work in haret?
16:23.28detulei haven't actually tried
16:23.37detulei guess i should
16:25.23*** join/#htc-linux ftoz (~root@cst-prg-128-26.cust.vodafone.cz)
16:26.06jonpryguess the box.com link is the same every time
16:27.03detuledidnt break haret
16:27.19detulewhew
16:27.29detuleyou got me scarred about the mtd rw
16:28.40jonpryi once used that technology to brick somebodies phone
16:29.12jonpryrip wozzer
16:29.14detuledon't tell walter that when he stops by later
16:29.51jonprywe tried to flash a winmo radio from within linux
16:29.57jonpryer winmo rom
16:30.11jonpryapparently got a little radio in there by accident
16:31.01detulelol
16:41.21*** join/#htc-linux |Jeroen| (~jeroen@d5153E8CC.access.telenet.be)
16:41.37*** join/#htc-linux JC__ (ba5d8997@gateway/web/freenode/ip.186.93.137.151)
17:23.41*** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029)
17:33.14*** join/#htc-linux kiozen (~kiozen@ppp-93-104-73-63.dynamic.mnet-online.de)
17:37.35*** join/#htc-linux ftoz (~root@cst-prg-156-8.cust.vodafone.cz)
17:48.34*** join/#htc-linux ALo (~alogeno@170.Red-88-1-104.dynamicIP.rima-tde.net)
18:02.22*** join/#htc-linux ALoGeNo (~alogeno@117.Red-79-152-90.dynamicIP.rima-tde.net)
18:02.22*** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno)
18:19.55*** join/#htc-linux furtardo (~mks@nat/yahoo/x-nfurvlarvrlclaqd)
18:31.29*** join/#htc-linux ftoz (~root@cst-prg-132-26.cust.vodafone.cz)
18:52.39*** join/#htc-linux zmc (~zmc@lurian.net)
19:08.43*** join/#htc-linux ahigerd (~ahigerd@173.218.142.90)
19:08.43*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
19:13.13*** join/#htc-linux raymonddull (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
19:17.10detulejonpry, you have any idea what's this qualcomm libstagefrghthw that we are building in froyo but not GB?
19:17.43jonpryomx for froyo?
19:17.57detulebut codeaurora also has a gingerbread branch
19:18.27detuleand it's in our gb source, but it's ifdef-ed only for 7x30
19:18.52jonprydunno
19:19.24detuleQcomHardwareRenderer.cpp fancy names
19:38.46*** join/#htc-linux mes_ (~mes@S0106000ce55186df.cc.shawcable.net)
19:39.25*** join/#htc-linux Alex[sp3dev] (~alexander@178.76.204.13)
19:54.18*** join/#htc-linux balans2 (~user@82-170-217-205.ip.telfort.nl)
19:54.43*** join/#htc-linux gregor__ (~gregor@31-17-62-189-dynip.superkabel.de)
19:57.43detulejonpry, gregor__ is walter79
19:57.45gregor__hi, gregor = walter79
19:58.06detulegregor__, give this a go http://www.box.com/s/92ac6e4362f76a679d18
19:58.19detuleso which kernel were you trying before?
19:58.22detuleby the way
19:58.30detuleall usual disclaimers associated with that package
19:58.38detuleas in hopefully it doesnt wreck your device
19:58.58gregor__latest 3.3 kernel not the 3.3.4
19:59.11gregor__from autobuild
19:59.17detule3.3.3 but not 3.3.4?
19:59.52gregor__yes, no time for 3.3.4 i repacked zimage and module --> boot.img
20:00.31detulethat box.com is a repackage of 3.3.4 with some nand changes made + acl's ramdisk
20:00.56detuleif you want to view the changes before you flash
20:01.03detuleto make sure you know what you are doing
20:01.41detulethey are here https://gitorious.org/~detule/linux-msm-rhod/detules-linux-msm-rhod/commits/local-3.3
20:04.08gregor__ok sound good. will give it a try. will be back in some minutes
20:07.20jonpryhi gregor__
20:09.39jonpry<PROTECTED>
20:10.01jonpryi still haven't found the thread where walter79 is messing with stuff
20:11.13detulexda he pm'ed me about having tried to repackage 3.3.x and stalling during boot
20:11.23detule3.3.3 didn't even have the nand driver
20:11.51jonpryfor the longest time nand ran off the sd card anyways
20:12.00*** join/#htc-linux balans2 (~user@53543D72.cm-6-5a.dynamic.ziggo.nl)
20:12.10detulehe posted i think in our kernel thread on xda i think a few pages about wanting to unify the kernels
20:13.33jonpryic
20:15.20*** join/#htc-linux gregor__ (~smuxi@31-17-62-189-dynip.superkabel.de)
20:15.49gregor__back, kernel boots last i can see is gpio ...  after this black screen
20:16.22detuleyou have a funky screen don't you
20:16.38gregor__it is like a haret boot
20:17.24gregor__i can see some mesg but it is ultra fast
20:17.24jonpryi wonder if ram console would survive the flashing of another kernel
20:17.25detulecan you be a bit more specific where it dies
20:17.50gregor__i will try. needs some reboots
20:18.04detulefurther along than your previous attempt?
20:18.18gregor__i will check
20:18.29gregor__no adb
20:18.35jonprymaybe if we should him the dmesg from a working boot he can use it as a frame of reference?
20:18.54gregor__last is something with mtr..
20:19.35gregor__sorry mt9..
20:20.19gregor__cclock after this something with mt9
20:21.17gregor__i can make a video from boot
20:22.40*** join/#htc-linux balans2 (~user@53543FDD.cm-6-5a.dynamic.ziggo.nl)
20:24.39detulelet me see if i can pull a dmesg from a good boot
20:24.54*** join/#htc-linux balans2 (~user@53543FDD.cm-6-5a.dynamic.ziggo.nl)
20:26.07gregor__<PROTECTED>
20:26.30detulesee if this helps you pinpoint it http://pastebin.com/qC2XD7Ti
20:27.26gregor__05-02 16:24:55.010 WARN : mt9t013_init
20:28.36gregor__this is one of the mesg that i can see
20:29.14*** join/#htc-linux raymonddull (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
20:29.38gregor__is it possible to push ACLs nand battery driver (htc rhodium) to sdcard kernels?
20:30.25gregor__it works realy good. only 1% differents
20:30.32detulejonpry, take out camera?
20:30.47jonprymaybe
20:31.03gregor__i use rhodium 100 de
20:31.03jonpryi still think a ramconsole can be grabbed if done carefully
20:31.42gregor__with display from a at&t touch pro 2
20:31.44jonprydoes it reboot itself?
20:31.46gregor__no
20:31.54detulethe panel just blanks
20:31.55gregor__only reset works
20:31.58gregor__yes
20:32.33jonpryso reset, flash, /proc/last_kmsg
20:33.01gregor__i have to flash .27 kernel to get it boot
20:33.11jonpryyes
20:33.23jonpryjust never power off. only use reset switch
20:34.00gregor__ok. first boot wit 3.3 kernel --> flash .27 --> boot -> kmsg ?
20:34.11jonpryyes
20:34.18gregor__ok will do it
20:36.13detulecould be these vfe clls
20:39.49gregor__http://pastebin.com/TMaMiT1F
20:40.03gregor__kmsg only for 27. kernel
20:40.05jonpryneed /proc/last_kmsg
20:40.17gregor__file
20:40.19gregor__?
20:40.37jonprythere is /proc/kmsg which is the current boot
20:40.44jonpryand /proc/last_kmsg which is the previous
20:41.19gregor__ok
20:42.05jonprylooks like it found it. [    1.827239] ram_console: found existing buffer, size 33691, start 33691
20:42.22gregor__pastbin was last_kmsg
20:43.36*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
20:43.36jonpryand 27 only booted once after 3.3?
20:44.42gregor__i flash 3.3 kernel --> reboot --> wait some time for boot --> reset --> CWM-recovery --> kernel .27 flash --> reset
20:45.10jonprycwm probably did this
20:45.21*** join/#htc-linux balans21 (~user@53543FDD.cm-6-5a.dynamic.ziggo.nl)
20:46.11jonpryoh well. i think removing camera might fix it
20:47.56jonprydetule, new image?
20:48.02detulesure let me see
20:48.37*** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029)
20:49.21jonprydoes cwm give something like adb shell?
20:49.51detulehm lk has usb?
20:50.25jonprycwm is linux
20:50.49gregor__did have 3.3 kmsg
20:52.02gregor__http://pastebin.com/C5MhWBJB
20:52.17gregor__last_kmsg with 3.3 kernel
20:53.20gregor__kernel panic at the end.  ACL use kernel panic=0  in kernel cmd line
20:53.28detulea11 reset
20:53.29detule:)
20:53.30detuleimem
20:54.35gregor__acl .27 kernel boots fine without any commandline parameter
20:54.39*** join/#htc-linux ray|yar (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
20:54.49detulegregor__, this is fixable hold on
20:55.03gregor__ah cool
20:56.23jonpryi think we need a better solution than just having imem_base be broken
20:58.14Alex[sp3dev]what is broken?
20:58.38Alex[sp3dev]ah, just remove that imem stuff from clock code
20:59.00jonprywe can't reset the imem_cfg for some unknown reason. i figure its a pclk is off. could be periph mpu
20:59.11Alex[sp3dev]let me remember..
20:59.52Alex[sp3dev]enable imem_clk, mdp_clk and pmdh_clk. well, i just did that in LK and imem worked since then
21:00.07jonprythe docs say it uses cc_pbus_clk
21:00.49detulegregor__, try this http://dl.dropbox.com/u/38520332/boot6.img
21:00.51Alex[sp3dev]https://gitorious.org/lk-msm7200a-htc-wince/lk-msm7200a-htc-wince/blobs/master/target/msm7200a_htc_wince/init.c#line264 here is what i have anyway.. acl's version may differ
21:01.40gregor__ok will try
21:02.57jonprygregor__, use that box.com link again. i just packaged it
21:03.35detulethat's no imem reset and no camera
21:03.48jonprycamera works i think
21:04.03gregor__ok
21:04.32jonprywhere does acl keep his lk source
21:04.52detulejonpry, so this [    0.000000] Ignoring unrecognised tag 0x57494649
21:05.11Alex[sp3dev]jonpry: https://gitorious.org/~ast/linux-on-qualcomm-s-msm/alex-linux-xperia/blobs/android-2.6.35/arch/arm/mach-msm/clock-msm-a11.c#line933
21:05.15jonprycould be the partitions
21:06.02jonpryAlex[sp3dev], thats pretty much what we have
21:06.49Alex[sp3dev]jonpry: if the check is there, it should not hang. and btw. you need cotulla's driver (from my or acl tree) for nand, some setup is different from google's msm_nand
21:07.21jonpryit does hang
21:07.46jonpryi think imem_clk doesn't support the imem_cfg registers
21:07.57jonpryso the whole thing is silly
21:08.00gregor__http://pastebin.com/4Xjr2yGM
21:08.31gregor__[    2.740000] init: Unable to open persistent property directory /data/property errno: 2
21:08.42jonpryadb works?
21:08.54Alex[sp3dev]i don't think resetting imem is needed at all. but who knows
21:09.06jonpryit isn't. especially if the fclk isn't running
21:09.12jonpryer pclk
21:09.22gregor__adb works now
21:09.37detuleour nand driver is from emwe's tree which I assume is from yours Alex[sp3dev]
21:10.17jonprythere is a commit in acl's tree about using leo's nand driver
21:10.44jonprygregor__, can you get  a logcat?
21:10.49Alex[sp3dev]detule: well, just double-check. in my tree, i have both drivers with a kconfig switch. emwe didn't use nand so probably didn't pull that patch
21:10.58gregor__logcat did not work
21:11.48gregor__panel is black
21:11.54jonpryi don't see if having loaded the nand driver anywhere
21:12.23Alex[sp3dev]to begin with, you need to compile it in kernel. by default it is a separate module
21:12.39Alex[sp3dev]i suggest that you take the driver from my tree and compare your defconfig with my
21:12.50jonpryoh nm
21:13.18Alex[sp3dev]you may take it from acl's tree as well, but it is the same one, i suppose
21:14.12jonpryguess that atag is mac address
21:14.45detuleer
21:15.33detulewth this isn't right
21:15.47detule(can't trace the nand drive lineage)
21:16.28jonpryi did something terrible to it
21:17.04detuleswapping them out for acls
21:17.29jonprythose apis have had changes
21:17.34jonpryand its painful :(
21:18.35jonpryupgrading through 16 major versions at one time
21:20.49*** join/#htc-linux Guest39663 (~clemens@134.102.106.250)
21:20.58*** join/#htc-linux ray|yar (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
21:22.26detulenot too bad only a page or so of errors
21:22.34jonprylol
21:23.06*** join/#htc-linux walter79 (~smuxi@31-17-62-189-dynip.superkabel.de)
21:23.11*** join/#htc-linux grego651 (~smuxi@31-17-62-189-dynip.superkabel.de)
21:23.57*** part/#htc-linux grego651 (~smuxi@31-17-62-189-dynip.superkabel.de)
21:25.36walter79no i use my normal name
21:26.08detuledown to 3 errors
21:28.45detulewe're in business
21:31.29detulejonpry, http://dl.dropbox.com/u/38520332/boot7.img
21:31.43jonpryno warnings?
21:31.51walter79should i test boot7.img ?
21:32.01jonpryi need to package it
21:33.08walter79ok
21:33.28jonpryok. same box.com link
21:33.48walter79http://dl.dropbox.com/u/38520332/boot7.img  this one?
21:34.39jonpryhttp://www.box.com/s/92ac6e4362f76a679d18
21:35.39jonpryunless you are able to do something with the .img files
21:35.47jonpryi though this required zips for some reason
21:36.25arrrghhhoh nice, you guys got him testing.
21:36.43jonpryand its basically working
21:36.47arrrghhhwow
21:37.02detulehaving adb will make this easy
21:37.06detuleier
21:37.24detulejonpry, it's up in my local tree if you want to see the damage i did
21:39.25jonprylooks pretty benign
21:40.51walter79http://pastebin.com/id0APUyx
21:40.56walter79black screen
21:43.05jonpryneed to go through that init script and see what is going wrong
21:43.31jonprycould be something stupid like assuming the mtd device major
21:44.47detulethose nand partition listings look encouraging
21:45.28detulethough why is the offset 0x0 on all
21:45.58detulehis offsets
21:46.05detulein .27 are definately not 0x0
21:46.06walter79bootloader protection
21:46.45jonprythat looks wrong to me
21:49.02jonpryslash is wrong
21:49.12jonpryare we using acl's nand_partitions.c?
21:49.21detulei thought i just swapped it in for his
21:49.28walter79https://www.gitorious.org/~acl/lk-msm7200a-htc-wince/acls-lk-msm7200a-htc-wince/commits/google_lk
21:49.43detuleyeah we are
21:49.50walter79gsm has diff nand offset for SN so adjustment was made.
21:50.21detulethat's for something different
21:51.00walter79ok
21:51.11jonprywhch toolchain are you using?
21:51.39detulenew one
21:51.45detuleugh
21:51.52jonpry:)
21:53.29jonprythis code is definitely not alignment safe
21:54.33detulealright walter79 building a last image than i am out of here
21:55.45walter79ok i will wait for this build. if you need to test some builds tomorrow or later sent me a PM at xda
21:55.59detulewe won't coz this sucker will work
21:55.59*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
21:56.55*** join/#htc-linux bardzusny (~bardzusny@gateway/tor-sasl/bardzusny)
21:58.35detulehttp://dl.dropbox.com/u/38520332/boot8.img
22:00.18jonpryk its ready
22:02.00detulei don't get this unrecognised atag
22:02.05detulei can't even find it in arch/arm
22:02.06walter79boot8.img flashed
22:02.23jonpryacl added this stuff for dealing with wifi mac
22:02.33detuleoh so it's in lk?
22:02.38jonpryyes
22:03.04jonpryhe must have some kind of tag reader for it. i'm guessing it rewrites the cmd line or something
22:03.20jonprygonna be a pita
22:04.01detulewho needs wifi
22:04.02walter79looks better have now /system
22:04.20jonprythats a good start
22:04.26walter79sorry i am in CWM recovery
22:05.55detuleit rebooted on you or what
22:06.36walter79no reboot black screen. wait a second for kmsg
22:07.07walter79http://pastebin.com/Namvgy1X
22:07.42jonprysame tag problem
22:07.53detulewonder what we are doing wrong
22:08.16jonpryi'm tempted to disassemble the nand_partition.o from both
22:08.27jonprycould be build flags messing it up
22:08.29walter79we can try to boot system from sdcard? loopfile?
22:08.43detuleall of our sizes are his offsets in .27
22:08.51jonpryyes
22:09.11jonpryso flags should be the size right?
22:09.45jonpryoh it doesn't even save the flags
22:10.14jonpryi think struct msm_ptbl_entry is just not packing right or something
22:10.32detulebut somehow sizes are also in there but not showing
22:10.48jonpryi think its off by one dword
22:12.09jonpryits got to be bad code generation somehow
22:13.02jonprylike entry++. which is esentially entry += sizeof(msm_ptable_entry). must be working
22:13.20jonpryso sizeof is 28 bytes
22:13.44jonprybut entry->size is the wrong entry?
22:13.53detuleaparently acl compiles with an older still toolchain
22:13.57detule4.4.3
22:14.33jonprymaybe check that ((uint)entry)%4 == 0
22:14.56jonpryif somehow that is off anything could happen
22:15.14detuleoh yeah something is off
22:15.18detulethe control register changes
22:15.59jonpry?
22:16.09detulecr=00c5387f
22:16.29detulepretty sure the last few bits of that are things like hardware alignment checks etc
22:17.33jonpryif we can confirm the atag is unaligned we can just align it with a memcpy really quick
22:17.48jonpryor use those macros. cpu_to_le32 or whatever
22:19.00detulewait i must have done something bad because the bit that;s changed the A-bit is precisely the software_alignemnt register
22:19.04detuleso somehow i didn't undo it
22:21.06jonpryguess it is just ptn->offset = get_unaligned(entry->offset)
22:21.25jonpry#include <asm/unaligned.h>
22:21.29jonpryez
22:23.51detuleget_unaligned(entry->offset) * 64 * 2048 ?
22:24.01jonpryyep
22:24.31detulesame for size i guess?
22:25.00jonpryshould be
22:26.57detuledidn't really like that
22:27.13detulearch/arm/mach-msm/nand_partitions.c:74:17: error: invalid type argument of unary '*' (have '__u32')
22:27.28jonpryer &entry->offset
22:29.12detulehttp://dl.dropbox.com/u/38520332/boot9.img
22:31.20jonprydone
22:32.26jonprybbl
22:35.58walter79http://pastebin.com/1iTDeWrN
22:36.05walter79black screen no reboot
22:37.17detulethanks i gotta go as well...i am sure we'll bug you again
22:38.15walter79no problem contact me at xda
22:38.20*** join/#htc-linux milaql (~milaq@v2201204121607874.yourvserver.net)
22:53.28*** join/#htc-linux NeoMatrixJR (~NeoMatrix@173-18-84-218.client.mchsi.com)
23:25.35*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
23:34.05*** join/#htc-linux ahigerd (~ahigerd@173.218.142.90)
23:34.05*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
23:53.23*** part/#htc-linux walter79 (~smuxi@31-17-62-189-dynip.superkabel.de)

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