**** BEGIN LOGGING AT Thu Apr 23 02:59:57 2009 Apr 23 09:15:51 morning Apr 23 09:44:23 Sleep_Walker, I sent some patches to LAKML, the GPIO VBUS one might be interesting for you Apr 23 09:47:31 marex: thanks for info, I'll check that Apr 23 09:47:41 dammit Apr 23 09:47:52 there's either bug in linux kernel or in cocoboot, but something is broken again Apr 23 09:48:13 palmte2 indicates 16megs of ram in cocoboot, but 8 in linux Apr 23 09:48:25 maybe the atag is done for ... hmmm Apr 23 09:49:38 hrm jeez ... now it works Apr 23 09:49:44 probably old version of cocoboot Apr 23 09:52:29 damn, it works randomly Apr 23 21:46:46 hmm v0.6.1 cocoboot that I just compiled from git works on my treo 755p but anything newer than that tag crashes before I even see the cocoboot config screen..I am not a programmer anyone have any ideas what the next commit after that could have done? Apr 23 21:48:37 3/26/2009 and newer crashes..I didnt check the two commits before that yet Apr 23 21:50:57 mpannen, dunno, there were no changes that could crash your device Apr 23 21:51:04 why dont you use some precompiled binary ? Apr 23 21:51:14 what toolchain do you use ? Apr 23 21:52:20 ive tried as many pre-compiiled ones as i could find, but whenever i try to boot my treo 755p resets, so I decided to try compiling my own from git Apr 23 21:52:29 boot linux Apr 23 21:54:00 the one i tried from the newest commit doesnt even load cocoboot, it resets the phone immedidately, however the 0.6.1 tag that i compiled myself does load (but still crashed upon trying to load the kernel) Apr 23 21:54:15 does that make any sense? Apr 23 21:54:27 hang on Apr 23 21:54:28 my explanation, does that make sense? Apr 23 21:54:49 http://marex.hackndev.com/cocoboot-xscale-dump.prc Apr 23 21:55:01 try this one, tap Menu -> LCD registers Apr 23 21:55:08 ok Apr 23 21:55:10 one sec Apr 23 21:55:16 I wonder if it resets the device Apr 23 21:56:38 yes it does immediately upon trying to load the app Apr 23 21:56:56 while loading you say ... hmm Apr 23 21:56:59 yes Apr 23 21:57:12 not booting linux, but the load of cocoboot Apr 23 21:57:20 yes, I got your point Apr 23 21:57:23 damn Apr 23 21:57:25 ok Apr 23 21:59:50 the only change I can think of is the ram detection code Apr 23 22:00:11 how much ram does T755p have ? Apr 23 22:00:27 hmm Apr 23 22:01:24 i thought it was 32mb Apr 23 22:01:31 not sure how to verify that Apr 23 22:01:59 see m68k/mem.c ... try sticking return 0x2000000; at the top of that function Apr 23 22:02:14 errr ... at the top of get_ram_size(); Apr 23 22:02:20 ive reverted back to 3/26 and that crashed too Apr 23 22:02:22 ok Apr 23 22:02:46 which version of git? Apr 23 22:02:51 latest Apr 23 22:02:54 ok Apr 23 22:05:44 right after that first bracket? Apr 23 22:06:20 right past line 70 Apr 23 22:06:37 68 UInt32 get_ram_size() Apr 23 22:06:37 69 { Apr 23 22:06:37 70 UInt32 mem; return 0x2000000; Apr 23 22:06:37 .... } Apr 23 22:09:22 ok cocoboot loaded! Apr 23 22:09:28 should i try the kernel? Apr 23 22:09:55 what kernel ? Apr 23 22:10:00 linux? Apr 23 22:10:12 well yes, but what kernel exactly Apr 23 22:10:17 treo680 one ? Apr 23 22:10:45 i compiled one from arm-devel plus patches Apr 23 22:10:56 or ii could download the 680 one that is done Apr 23 22:11:29 well if you have one, go ahead, good luck Apr 23 22:11:48 dont forget to change the machine ID either in the kernel or in cocoboot Apr 23 22:12:08 heh lol i forgot Apr 23 22:12:42 hey marex Apr 23 22:12:45 how is the jtag building going Apr 23 22:13:01 havent touched it yet Apr 23 22:13:31 ah ok Apr 23 22:13:40 let me know how it goes Apr 23 22:13:53 that xlinx one looked insteresting, basically a wiggler with extra functions Apr 23 22:14:16 mpannen, so ... how's it going ? Apr 23 22:14:55 my kernel load resulted in a reset with mach id 1230, im gonna try the treo one right now Apr 23 22:15:20 http://sleepwalker.hackndev.com/release/T680/linux-2.6-arm/partition/4/ Apr 23 22:15:23 mpannen, try Disable memory protection from menu Apr 23 22:15:27 before booting Apr 23 22:15:30 is that the one i should try? Apr 23 22:15:34 ok Apr 23 22:15:56 dunno, SleepWalker is offline now but he comes here often Apr 23 22:16:03 http://sleepwalker.hackndev.com/release/T680/linux-2.6-arm-hnd/kEdAR/1/zImage.T680.sw1 try this too Apr 23 22:17:05 ok ill give em a download...i can just use the kernel image to test? or do i have to install the rootfs and modules to check the boot? Apr 23 22:17:22 nah, just use the kernel itself Apr 23 22:17:49 actually, to bring up a new platform might be a little tricky Apr 23 22:18:08 I guess you don't know the GPIO setup yet for T755p, right ? Apr 23 22:18:52 hi everybody Apr 23 22:19:06 well i have dumps from gpiotrace and haret/p Apr 23 22:19:07 mpannen, btw. once you tap that "Disable memory protection", you'll be able to use any cocoboot without modification till reboot Apr 23 22:19:09 ijaera, hello Apr 23 22:19:28 mpannen, gpiotrace sucks, but ok ;) Apr 23 22:19:33 oh Apr 23 22:19:43 it does it's job somehow Apr 23 22:20:05 just from some addresses ive seen posted using haret Apr 23 22:20:48 ijaera, what do you need ? Apr 23 22:21:44 mpannen, look, what you need to do now: take t680 sources, strip away all you dont need from arch/arm/mach-pxa/t680.c (or st. like that) - that is backlight, irda, gsm, leave just framebuffer Apr 23 22:21:50 also, disable mfp config Apr 23 22:21:55 you might be able to boot using that Apr 23 22:22:32 ok Apr 23 22:25:21 marex: im sorry Apr 23 22:25:24 i was AFK Apr 23 22:25:27 now im back Apr 23 22:25:45 i just want to get more knowledge bout the defacement world Apr 23 22:26:12 about what ? Apr 23 22:26:39 defacement Apr 23 22:26:47 have u ever heard to talk about? Apr 23 22:27:46 I dont unterstant ur engrisch Apr 23 22:28:08 heh Apr 23 22:28:57 sorry Apr 23 22:29:00 im braziliand Apr 23 22:29:16 and i havent so much experience with ehglish Apr 23 22:29:16 no problem ... so what do you need ? anything related to handheld hacking ? Apr 23 22:29:22 or linux ? Apr 23 22:29:23 no Apr 23 22:29:28 linux Apr 23 22:29:29 I dont have that word in my dictionary Apr 23 22:29:36 defacement? Apr 23 22:29:39 yes Apr 23 22:29:41 wow Apr 23 22:29:41 here Apr 23 22:29:50 its a word very famous Apr 23 22:30:04 ijaera, so ... what about linux do you need ? Apr 23 22:30:05 let me pick up a wikipedia link Apr 23 22:30:05 for u Apr 23 22:30:09 mpannen, how's it going ? Apr 23 22:30:16 ijaera, Im fine without it Apr 23 22:30:29 ok Apr 23 22:30:50 i wanted to learn a little bit more about defacement Apr 23 22:31:00 but you dont know about that Apr 23 22:31:51 hi Apr 23 22:31:54 the inux-2.6-arm/partition/4/ kernel reset the phone Apr 23 22:32:03 sql inj Apr 23 22:32:05 ? Apr 23 22:32:10 mpannen, start stripping down the kernel Apr 23 22:32:12 im working on downloading the hnd one right now Apr 23 22:32:14 ok Apr 23 22:32:20 adfaf, read the topic, go to hell, good bye Apr 23 22:32:44 what is handhelds stf u Apr 23 22:32:52 lol Apr 23 22:33:47 is there a specific kernel .config i should use to start with? Apr 23 22:33:50 now he starts spamming my PM ... jeez Apr 23 22:33:57 besides the code modification Apr 23 22:34:01 mpannen, probably the treo680 one Apr 23 22:34:21 but also strip it to bare minimum (just the machine support and framebuffer, nothing else) Apr 23 22:36:01 mpannen, it's for best to compile the kernel yourself with minimum configuration ... I have serious suspicion that the T755p hardware is different from T680 one which results in problems while loading the kernel Apr 23 22:36:16 ok Apr 23 22:36:22 (the mainline kernel configures the CPU properly (that's the MFP)) Apr 23 22:37:24 i should just comment out the appropriate GPIO1_GPIO | WAKEUP_ON_EDGE_BOTH Apr 23 22:37:32 stuff like that? Apr 23 22:37:56 i see they are commented here and there Apr 23 22:39:29 see the bottom of the file Apr 23 22:40:14 there is static void __init palmsomething_init(void) Apr 23 22:40:25 comment out pxa2xx_mfp_config Apr 23 22:40:25 ok Apr 23 22:40:31 well Apr 23 22:40:45 comment out everything but set_pxa_fb_info(); Apr 23 22:40:51 in that function Apr 23 22:40:55 that might do the trick Apr 23 22:44:16 platform_add_devices(devices, ARRAY_SIZE(devices)); Apr 23 22:44:18 setup_unknown_in_gpios(); Apr 23 22:44:22 how about those? Apr 23 22:44:25 gone? Apr 23 22:44:32 remove it all Apr 23 22:44:43 leave just set_pxa_fb_info() Apr 23 22:45:23 ok Apr 23 22:52:44 compiling right now Apr 23 23:02:23 hmm machid 1230, diabled mem protection, and the new zImage with that stuff commented out and it resets, i am guessing that wasnt expected Apr 23 23:04:18 does the program have any output that verifies that mem protection was disabled or is it silent? Apr 23 23:06:49 should i turn off preemtible kernel? Apr 23 23:10:25 thanks for your help im gonna keep stripping kernel options and try again Apr 23 23:12:47 marex Apr 23 23:12:59 what is status of disk on chip g3 I think is what they used in t5 Apr 23 23:14:05 if i disable memory protection and thenn select 'dump mmu' should that casue the device to reset? Apr 23 23:16:58 if this is a palm os device Apr 23 23:17:05 why do you need to disable memory protection or dump mmu Apr 23 23:17:06 oh apparently it has 128mb of ram, not 32 Apr 23 23:17:10 isn't that palm os native? :P Apr 23 23:17:29 haha Apr 23 23:17:40 what,,,the crashing part? Apr 23 23:17:42 haha Apr 23 23:18:33 palm os and mmu don't go together Apr 23 23:18:34 never did Apr 23 23:18:49 I am very disappinted in my t5 but I am goign to spend around $100 to get it fixed up and run it till it dies Apr 23 23:18:57 cause I got about $500 in it not going to just toss it Apr 23 23:19:03 espically once I get linux on it 24/7 Apr 23 23:19:11 the biggest holdback is all my plucker files Apr 23 23:20:40 mpannen, sorry, I was away for a while Apr 23 23:21:19 palmos uses MMU extensively Apr 23 23:21:42 uh Apr 23 23:21:44 since when?!?!? Apr 23 23:21:47 mpannen, no, disable memory protection doesnt give any output, it just doesn't reset when you tap "LCD registers" or such stuff Apr 23 23:21:54 flyback, ever since 5.0 Apr 23 23:22:06 uh no Apr 23 23:22:06 marex, the treo755p has 128mb not 32mb Apr 23 23:22:09 it still can't multitask Apr 23 23:22:14 apps can shitcan the os all the time Apr 23 23:22:16 mpannen, I think those 128 megs is just non-volatile memory Apr 23 23:22:24 and even with oh Apr 23 23:22:51 flyback, treos use arm memory protection Apr 23 23:22:57 it resets when i tap on lcd registers even with protection disabled Apr 23 23:23:12 that's bad Apr 23 23:23:16 very bad actually Apr 23 23:23:24 marex could have fooled me Apr 23 23:23:27 not from what I seen Apr 23 23:23:34 there's only one more thing I can think of - palmos running not in system mode Apr 23 23:23:42 yeah thats what i thought Apr 23 23:24:01 can that change based on the rom file in the phone? Apr 23 23:24:06 flyback, ram is mapped at VA 0x0, PA is 0xa<<28, fine ? Apr 23 23:24:19 mpannen, I doubt so Apr 23 23:24:21 PA ? Apr 23 23:24:25 physical address Apr 23 23:25:19 what's the point Apr 23 23:25:29 it's obvious the os isn't doing a good job Apr 23 23:25:59 I believe you I am just surprised Apr 23 23:26:08 considering what a fucking piece of shit palm os was Apr 23 23:26:11 glad to see it die Apr 23 23:26:49 ok so now i see that it has 60mb of ram avail for apps out of a total of 64mb Apr 23 23:27:14 would that affect the memory protection? sorry i havent much of a clue on these things Apr 23 23:28:27 flyback, calm down Apr 23 23:28:43 I am not angry with you :) Apr 23 23:28:47 mpannen, that has nothing to do with it Apr 23 23:28:51 ok Apr 23 23:28:53 my t5 was just a dissapointment I put a lot of time and money into Apr 23 23:28:59 flyback, but you spew naughty words again Apr 23 23:29:09 oh those bother you? Apr 23 23:29:10 ok Apr 23 23:29:31 mpannen, sorry, but I'll have to take my leave, it's 1.30am here and I'm teaching tomorow (today) at 7 Apr 23 23:29:35 (am) Apr 23 23:30:07 ouch Apr 23 23:30:09 ok Apr 23 23:30:10 mpannen, I'm sure you can try tracing where cocoboot hangs Apr 23 23:30:24 if you know which GPIO for example controls some LED, that can be useful Apr 23 23:30:24 yeah i was gonna mess with that Apr 23 23:30:39 thanks for your time Apr 23 23:30:51 or you can just stop the LCD clock ... no whine => you hit the checkpoint ;) Apr 23 23:31:04 no problem, I'll be here tomorow probably Apr 23 23:31:22 I hope you won't give up too easily ;) Apr 23 23:31:26 heheh Apr 23 23:31:48 i have the house to myself this weekend no one to piss off if i am on front of the computer Apr 23 23:32:01 hehe :) Apr 23 23:32:05 :) Apr 23 23:32:41 gnight Apr 23 23:34:24 * flyback has a bad feeling something is about to happen to this area Apr 23 23:39:35 http://www.geeks.com/details.asp?invtid=CB2EC-DT&cat=CCD **** ENDING LOGGING AT Fri Apr 24 02:59:57 2009