00:03.36 | ginge_ | it is trying to read from address 0xc8004000 |
00:04.43 | dcordes_ | ginge_: did you mmutrace or is it in the cose? |
00:04.50 | dcordes_ | s/cose/code/ |
00:06.00 | ginge_ | dcordes_: When it called __raw_readl in msm_read, it read from address port->membase + off (which as far as I can tell should be the uart address) offset. |
00:25.33 | ginge_ | dcordes_: you got any terminal apps in angstrom? |
00:25.47 | dcordes_ | ginge_: cu |
00:26.04 | dcordes_ | try cu -l <node> |
00:27.17 | ginge_ | line in use |
00:27.57 | dcordes_ | I had that error when I tried to write smd |
00:28.02 | dcordes_ | try with screen |
00:28.22 | dcordes_ | simply screen <node> |
00:29.01 | dcordes_ | o and there was some bit you need pass in order to enable write I think |
00:29.36 | dcordes_ | chmod 0777 device && cu -l device? |
00:30.47 | ginge_ | no joy |
00:31.25 | ginge_ | permission denied |
00:31.41 | ginge_ | creating lock file |
00:31.49 | dcordes_ | I suspect something is wrong with the filesystem |
00:32.20 | dcordes_ | in a previous build that nasty lock file error wasn't present |
00:32.26 | dcordes_ | echo works? |
00:33.52 | ginge_ | I dont have the <> redirectors on the keyboard. hmm |
00:34.14 | dcordes_ | shift zero |
00:34.24 | ginge_ | :) |
00:34.50 | dcordes_ | cat shows nothing? |
00:35.16 | ginge_ | no such device or address |
00:35.58 | dcordes_ | wronf major? |
00:36.06 | ginge_ | probably |
00:36.30 | ginge_ | mknod c 4 64 is what I did |
00:37.13 | *** join/#htc-linux GPFerror (i=GPF@cpe-76-187-41-132.tx.res.rr.com) |
00:37.31 | dcordes_ | did ypu look in that proc file for major? |
00:37.43 | ginge_ | no I guessed |
00:38.05 | ginge_ | pretty acedemic anyway as I have the read function commented out :) |
00:38.33 | ginge_ | s/acedemic/academic |
00:38.56 | dcordes_ | yea you can tell the uart a lot :D |
00:54.12 | swc|666 | BabelO: btw, is there a particular kernel you know of for sure that doesn't have quite as many keyboard issues? |
00:56.53 | dcordes_ | ginge_: trid anything else? |
00:56.58 | dcordes_ | tried |
00:57.15 | ginge_ | just trying something now... |
01:01.46 | ginge_ | nope nothing |
01:02.40 | dcordes_ | maybe dzo can help us or somebody of the present h4xors |
01:04.31 | ginge_ | yeah. At least we narrowed it down. |
01:09.47 | dcordes_ | ginge_: yep nice step. im looking forward to bluetooth support |
01:09.56 | dcordes_ | gotta take a nap bye |
01:10.08 | ginge_ | any connectivity is a bonus. Time for me to sleep too. Cya |
01:12.34 | *** part/#htc-linux ginge_ (n=baz@cpc6-ward3-0-0-cust579.manc.cable.ntl.com) |
01:29.38 | *** join/#htc-linux surgex (i=surge@pool-71-186-163-107.bflony.fios.verizon.net) |
01:32.12 | *** join/#htc-linux Othello__ (i=Magorium@gateway/tor/x-3b86c1b98145e691) |
02:14.49 | *** join/#htc-linux ndavey (n=neil@pc075650.workstation.griffith.edu.au) |
03:24.40 | *** join/#htc-linux aLeSD (n=alex@252.Red-79-144-69.staticIP.rima-tde.net) |
04:16.25 | *** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196) |
05:47.12 | *** join/#htc-linux kiozen (n=oeichler@p54929E3E.dip0.t-ipconnect.de) |
05:51.34 | *** join/#htc-linux TimRiker (n=timr@rikers.org) |
06:36.23 | *** join/#htc-linux Othello (i=Magorium@gateway/tor/x-923042cb117f977e) |
06:45.48 | *** join/#htc-linux rob_w|laptop (n=rob@Mbd5c.m.pppool.de) |
06:47.00 | *** join/#htc-linux rob_w (n=bob@Mbd5c.m.pppool.de) |
08:55.48 | *** join/#htc-linux ginge (n=baz@80.229.188.31) |
09:01.04 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
09:19.12 | *** join/#htc-linux ndavey (n=neil@220-244-142-101.static.tpgi.com.au) |
09:52.10 | dcordes_ | hi |
10:58.07 | dcordes | cr2: ginge got write to UART working. kernel doesn't die when one does comment out the read function in msm_serial.c |
10:59.18 | martin__ | dcordes: i dunno if that means we've actually got writes to the uart |
10:59.53 | dcordes | martin__: oh right. Don't know why I was assuming it worked |
11:00.08 | dcordes | how can we make sure write works? |
11:00.38 | dcordes | printk on success? |
11:00.40 | martin__ | what ginge was commenting out there was the one line that actually reads from memory |
11:00.47 | martin__ | anywhere in the uart registers |
11:00.51 | martin__ | data, config, all of it |
11:01.23 | dcordes | 02:06 < ginge_> dcordes_: When it called __raw_readl in msm_read, it read from address port->membase + off (which as far as I can tell should be the uart address) offset. |
11:01.26 | dcordes | not anywhere |
11:01.53 | dcordes | did you see my UART1 mmutrace results? |
11:03.12 | ginge | dcordes: did you get smoe actual results then? |
11:04.10 | dcordes | yes. no reads and writes to each of the virtual addresses with 1M offset that map to UART1 phys from our code/memmap |
11:04.41 | dcordes | also put the physical with p2v(<phys_base>) |
11:05.03 | ginge | did you trace the zone recommeded by martin? It mentions BT in the wiki notes |
11:05.17 | dcordes | nothing. 3 options. 1) I traced in a wrong way 2) haret is b0rken 3) addresses are wrong |
11:06.17 | dcordes | I'm still interested in where cr2 picked the addresses in map |
11:06.26 | dcordes | ginge: no will try |
11:10.21 | dcordes | addlist mmutrace 0xb1500000 0x30 |
11:10.26 | dcordes | wirq 30 |
11:10.36 | dcordes | activated/deactivated/activated bt |
11:10.37 | dcordes | nada |
11:10.51 | ginge | hmm. odd |
11:13.34 | dcordes | <PROTECTED> |
11:14.21 | dcordes | that's the physical of the bit martin__ refered to |
11:14.34 | dcordes | looks like nothing |
11:16.01 | dcordes | there's also an 1K space that maps to 0xa0200000 and 1M 0xb1500000 but that shows nothing |
11:17.18 | dcordes | again 3 options what might be wrong |
11:17.22 | dcordes | I guess I'm tracing wrong |
11:18.42 | dcordes | martin__: can you have a try? |
11:19.31 | ginge | martin__: "i dunno if that means we've actually got writes to the uart" I don't think it does. none of the printk's were triggered after I mknod'd the device ttyMSM0. |
11:19.56 | dcordes | yea so the addresses might be complete bs |
11:20.09 | dcordes | or something else in the code? |
11:21.31 | ginge | it surely has to be some address problems. Before I gave up I was tracing where the raw read got the address from. |
11:21.52 | dcordes | < ginge_> dcordes_: When it called __raw_readl in msm_read, it read from address port->membase + off |
11:22.25 | dcordes | we need an mmutrace guru |
11:22.48 | ginge | right. off (offset value) is 0 port->membase is assigned through a kernel call which by the looks of it should be assigned the UART1 address, which it doesn't seem to be |
11:23.09 | dcordes | where's that call? |
11:23.14 | dcordes | how can we correct this |
11:23.37 | dcordes | thought the base is set in msm_iomap.h and that's fine |
11:24.05 | ginge | we need an accurate memory map, assuming the one we have is right, we need to trace through the serial kernel functions to make sure that addresses in msm_iomap are right |
11:24.24 | dcordes | most in the map is correct and useful |
11:24.35 | ginge | if they are right then we need to make sure that the values written when initialising the clock are right |
11:24.48 | ginge | I am still not sure what those writes do in the clock init function |
11:24.57 | dcordes | o wait.. clocks. how can we make sure the cloks turn on? |
11:25.05 | dcordes | s/cloks/UART1 clock/ |
11:25.29 | dcordes | does a function reply something when it was turned on correctly? |
11:25.34 | ginge | I will see if I can compile a kernel with dtrace |
11:25.50 | dcordes | what's that? |
11:25.52 | ginge | normally >=0 |
11:26.09 | dcordes | so the function turns it on and replies Hz? |
11:26.19 | dcordes | or state 0/1? |
11:26.28 | dcordes | mmc told me something about Hz.. |
11:27.04 | ginge | I am not sure of the specific intended return values, but they are all returning 0 |
11:27.12 | ginge | which normally indicates that they return ok |
11:27.31 | dcordes | ah return 0 means the function is silent after it's done? |
11:27.32 | ginge | dtrace is real time kernel tracing |
11:27.47 | *** join/#htc-linux Tonny (n=chatzill@set25-1-88-166-169-49.fbx.proxad.net) |
11:28.06 | *** join/#htc-linux hagisbasheruk (n=hagisbas@78.148.139.115) |
11:33.53 | dcordes | ginge: isn't that for solaris? |
11:34.55 | ginge | you are right. The linux one is called systemtap (iirc) same difference |
11:35.41 | dcordes | it requires kprobes and module support in the kernel |
11:35.47 | dcordes | systemtap that is |
11:35.57 | ginge | worth looking at |
11:36.39 | dcordes | Enable CONFIG_DEBUG_INFO, CONFIG_KPROBES, and optionally CONFIG_RELAY and CONFIG_DEBUG_FS. |
11:43.21 | dcordes | martin__: got any clue how to check for uart1 clock being enabled correctly? |
11:49.40 | *** join/#htc-linux premy (n=pr@132.190.98-84.rev.gaoland.net) |
12:53.30 | *** join/#htc-linux andy_ (n=andy@207.96.50.10) |
12:54.17 | *** join/#htc-linux par (n=par@dipole.idlepattern.com) |
13:49.59 | *** join/#htc-linux Othello__ (i=Magorium@gateway/tor/x-03a2086226d1fc62) |
13:59.57 | *** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes) |
14:45.00 | *** join/#htc-linux JohnnyK (n=johnnyk@nfx-nat-229.pilsfree.net) |
14:54.56 | *** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com) |
14:58.33 | *** join/#htc-linux hagisbasheruk (n=hagisbas@78.148.139.115) |
15:31.32 | *** join/#htc-linux ginge (n=baz@80.229.188.31) |
15:32.11 | *** join/#htc-linux pH5 (n=ph5@e178225085.adsl.alicedsl.de) |
15:35.08 | dcordes | ginge: did you try systemtap? |
15:35.13 | dcordes | hi pH5 |
15:35.25 | pH5 | hi dcordes |
15:36.20 | ginge | I decided to build msm_serial as a module instead for now |
15:36.40 | dcordes | yes looks complicated to enable systemtap |
15:36.51 | dcordes | any success with the module? |
15:36.55 | ginge | I would need a new angstrom too |
15:37.12 | dcordes | that's not a problem. what does it lack? |
15:37.42 | ginge | not sure :) I use dtrace at work, which as you stated i solaris only. Never used systemtap |
15:37.44 | martin__ | dcordes: what are you using to build that image? |
15:38.00 | dcordes | martin__: openembedded |
15:38.06 | martin__ | k |
15:38.22 | dcordes | http://angstrom-distribution.org/building-angstrom |
15:38.26 | martin__ | will have to see about getting myself a build environment set up with that |
15:38.38 | dcordes | would be useful |
15:38.38 | martin__ | btw, i have a crazy idea |
15:38.59 | dcordes | kaiser is in there as a machine type so it's not much of a hassle building |
15:39.16 | dcordes | it also builds the kernel - from linuxtogo repo |
15:39.42 | martin__ | so one of the big problems is that we don't have any comms at all to the device |
15:39.53 | dcordes | yea |
15:40.15 | dcordes | screw it open and solder a cable to the serial port? |
15:40.19 | martin__ | which means we can't just use a debugger with the kernel |
15:40.33 | martin__ | actually i was thinking even crazier and non-invasive |
15:40.44 | dcordes | so what is it? |
15:40.47 | martin__ | flash the screen |
15:40.48 | ginge | debug via audio :) |
15:40.52 | ginge | aww, so close |
15:41.01 | dcordes | martin__: ?? |
15:41.02 | martin__ | audio would do too if audio worked |
15:41.12 | ginge | figures |
15:41.12 | martin__ | write a serial driver that uses the framebuffer |
15:41.24 | ginge | It would only need to flash a few pixels |
15:41.29 | martin__ | then use a photodetector to read it |
15:41.44 | ginge | didn't some guy do that on a psion? |
15:41.45 | dcordes | that's crazy indeed |
15:41.47 | martin__ | you could read out data that way |
15:41.57 | martin__ | dude, someone did it for reading firmware out of canon cameras |
15:42.01 | martin__ | using just the camera led |
15:42.10 | dcordes | I heard of the cannon linux |
15:42.25 | martin__ | problem is going the other way though |
15:42.32 | martin__ | building something to press keys is more fiddly |
15:42.41 | dcordes | but where would it get us reading data from it? |
15:42.51 | ginge | can we read the keyboard ambient light sensor? |
15:42.57 | martin__ | well if we had something going the other way too |
15:43.12 | martin__ | we could write a driver that turned the whole lot into a serial/network/whatever interface |
15:43.18 | dcordes | sounds a bit too crazy to me |
15:43.26 | dcordes | let's rather find out where those uart1 registers are.. |
15:43.27 | ginge | sounds amazing and simple |
15:43.32 | martin__ | and use a kernel debugger so we could actually step through stuff and poke around interactively |
15:43.55 | dcordes | how are you going to interact with a flashing display? |
15:44.23 | martin__ | we need something to go the other way |
15:44.52 | dcordes | morse?! |
15:45.08 | dcordes | why not using the keyboard |
15:45.09 | ginge | if you can read the light sensor on the keyboard you could led flash it |
15:45.26 | dcordes | I think that's just a gpio pin on the cpld |
15:45.31 | dcordes | should be no problem |
15:45.51 | *** join/#htc-linux LunohoD_ (n=alex@e180066253.adsl.alicedsl.de) |
15:45.54 | martin__ | I don't think you could build something that could press and release it fast enough to be useful, but if you could get a button off and wire onto the contacts that might do it |
15:46.09 | martin__ | trying to come up with a way that's non-destructive |
15:46.25 | dcordes | http://wiki.xda-developers.com/index.php?pagename=Kaiser_GPIO |
15:46.29 | dcordes | not on the cpld sorry |
15:46.43 | martin__ | ideally we want something that's directly on the cpu |
15:47.07 | dcordes | would be easier to solder a cable on the onboard serial |
15:47.24 | ginge | if we are soldering... how about good ol jtag? |
15:47.35 | dcordes | that's what I'm talking about |
15:47.55 | martin__ | nobody has any jtag info for that chip |
15:48.01 | ginge | damn |
15:48.03 | martin__ | and it's probably a bga or something |
15:48.14 | martin__ | so practically impossible to get at the pins directly |
15:49.30 | ginge | does angstrom have arm toolchain? |
15:49.44 | martin__ | ginge: you want to build on the kaiser? |
15:49.48 | ginge | :) |
15:49.55 | martin__ | the image would be colossal |
15:50.03 | ginge | I want to build kernel modules |
15:50.07 | martin__ | get sd working first |
15:50.15 | dcordes | cr2 has high resolution photos of the boards. |
15:50.24 | ginge | martin__: fair enough |
15:50.39 | martin__ | being more serious |
15:50.52 | martin__ | beyond the android kernel work |
15:51.06 | martin__ | which tells us how a closely related, but not identical chip works |
15:51.21 | martin__ | our only reference for the msm7200 is what wince does |
15:51.36 | martin__ | we need mmutracing to work properly on the kaiser |
15:51.42 | ginge | is the Kaiser the only device based on that chipset? |
15:52.00 | dcordes | building on device=insane |
15:52.19 | dcordes | ginge: grab the source, cross compile those modules |
15:52.27 | martin__ | ginge: not sure what else is, probably others, also there's the MSM7200A which is presumably similar, and probably more similar than the 7500A. |
15:52.44 | ginge | dcordes: works on my blueangel :) |
15:53.03 | dcordes | maybe I'm not patient enough lol |
15:53.28 | dcordes | I think there is an lg with 7200 |
15:53.31 | dcordes | ks20 or so |
15:54.02 | dcordes | and there is htc niki |
15:54.16 | dcordes | http://wiki.xda-developers.com/index.php?pagename=Niki_Research |
15:55.05 | dcordes | aka touch dual |
15:55.22 | ginge | oh well. I will upload my modular kernel when I get home shortly. Hopefully I can get some interesting output. No doubt catch you later with more dumb questions |
15:55.42 | ginge | cya |
15:55.49 | *** part/#htc-linux ginge (n=baz@80.229.188.31) |
15:56.58 | dcordes | martin__: http://pdadb.net/index.php?m=cpu&id=a7200 click browse all on bottom |
15:59.13 | *** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com) |
16:02.08 | martin__ | maybe I should just wait for a new phone based on the MSM7500A to come out |
16:02.17 | martin__ | then the android code will work... |
16:02.25 | martin__ | but this is more fun. |
16:05.51 | dcordes | martin__: what's the problem with haret mmutrace you refered to earlier |
16:08.21 | martin__ | that it doesn't get anything for the smem or uart |
16:08.49 | dcordes | that assumes uart1 register in memory map is correct |
16:10.07 | martin__ | that's true |
16:10.15 | martin__ | however for the smem, we know it's right |
16:11.27 | dcordes | I see reads and writes to the smem when I trace all virtual addresses that map to the smem |
16:11.37 | dcordes | remember the paste with the phone call reads/writes? |
16:14.55 | *** join/#htc-linux FilipeR (n=FilipeR@ns1.cresolcentral.com.br) |
16:15.09 | martin__ | those were all up near the top of the smem IIRC |
16:15.16 | martin__ | not at the actual head/tail/data bit |
16:15.34 | *** join/#htc-linux ginge_ (n=baz@cpc6-ward3-0-0-cust579.manc.cable.ntl.com) |
16:16.00 | dcordes | did they match anything we probably lack in the map? |
16:16.13 | FilipeR | successfully install linux on htc-s621??? |
16:16.21 | FilipeR | this run wm 6.1 |
16:16.49 | FilipeR | i'm very interested in install linux... |
16:16.55 | FilipeR | HTC-S621 |
16:16.58 | pH5 | excalibur? |
16:17.16 | FilipeR | someone help me? |
16:17.18 | FilipeR | pH5, yes |
16:17.23 | FilipeR | excalibur... exactly |
16:18.11 | martin__ | dcordes: where's that paste again? |
16:20.25 | pH5 | FilipeR: I don't think anybody has ported linux to that one yet |
16:20.41 | pH5 | but it's an OMAP850 device, isn't it? |
16:20.46 | dcordes | martin__: http://rafb.net/p/lMs8qq18.html |
16:22.03 | FilipeR | yes pH5 |
16:22.16 | FilipeR | architecture arm |
16:23.02 | martin__ | dcordes: yeah, that looks like some sort of control/status registers |
16:23.11 | martin__ | might be associated with the audio for the call |
16:23.18 | dcordes | proc_comm |
16:23.34 | martin__ | what actually *is* proc_comm? |
16:23.38 | pH5 | FilipeR: you could check out the htc-omap branch from the linuxtogo.org git repo, the omap850 phones are all very similar. |
16:23.50 | FilipeR | hum |
16:23.52 | pH5 | a bit of kernel work is going to be needed |
16:25.42 | dcordes | martin__: only know it enables audio and vibration and needs smem |
16:26.32 | dcordes | martin__: http://rafb.net/p/Z8xSXh92.html that's a patch that merges dzo's changes that enable proc comm to our tree |
16:26.46 | dcordes | it doesn't work though and I'm not sure if something is missing |
16:28.12 | martin__ | ah, okay |
16:28.17 | martin__ | that's probably quite easy to debug |
16:28.35 | martin__ | since we can see it in the trace |
16:28.58 | martin__ | we really need to be able to see the smd stuff though |
16:29.08 | martin__ | without that i don't see how we're going to get it working |
16:31.31 | dcordes | we should talk to dzo again |
16:31.37 | dcordes | I think he assumes it's ok now |
16:32.26 | martin__ | we should talk to kevin2 |
16:32.27 | dcordes | martin__: http://linuxtogo.org/~lgorris/*.log |
16:32.44 | dcordes | martin__: s/dzo/kevin2/ that's what I meant |
16:47.06 | *** join/#htc-linux infernixx (i=nix@unaffiliated/infernix) |
17:14.46 | *** join/#htc-linux AstainHellbring (n=Administ@unaffiliated/astainhellbring) |
17:17.49 | *** join/#htc-linux tsdogs (n=tsdogs@195.32.71.229) |
17:31.33 | *** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net) |
18:20.28 | *** join/#htc-linux hagisbasheruk (n=hagisbas@78.148.139.115) |
18:46.00 | lama | http://www.enkin.net/ nice |
19:02.19 | *** join/#htc-linux Tonny_ (n=chatzill@set25-1-88-166-169-49.fbx.proxad.net) |
19:43.54 | *** join/#htc-linux Xmoo (n=Info@h241015.upc-h.chello.nl) |
19:44.06 | Xmoo | Wassuuuup |
19:45.54 | Xmoo | someone know why my HaReT is soft resetting instantly on Kaiser? |
20:02.08 | *** join/#htc-linux Tonny_ (n=chatzill@set25-1-88-166-169-49.fbx.proxad.net) |
20:03.08 | *** part/#htc-linux Tonny_ (n=chatzill@set25-1-88-166-169-49.fbx.proxad.net) |
20:13.50 | *** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes) |
20:15.35 | Xmoo | dcordes |
20:15.38 | Xmoo | just who I needed |
20:15.41 | Xmoo | I'm Xmoo from XDA |
20:15.47 | Xmoo | the thread started of android on kaiser |
20:15.57 | dcordes | hi Xmoo |
20:15.59 | Xmoo | My HaReT suddenly makes my phone soft reset all the time |
20:16.07 | Xmoo | thank god I have 2 devieces |
20:16.11 | Xmoo | but dunno why it does that |
20:16.14 | Xmoo | when I press run |
20:16.18 | Xmoo | it directly soft reset |
20:16.30 | dcordes | fbi installed a watchdog! |
20:16.44 | dcordes | did you do a rom update? |
20:16.59 | Xmoo | also i've addes set kernelexe 1 in default.txt |
20:17.00 | Xmoo | nope |
20:17.03 | Xmoo | still on dutty's |
20:17.09 | Xmoo | and my other phone on Laretines Lite rom |
20:17.30 | dcordes | so it stopped working out of the blue? |
20:17.31 | Xmoo | also i've added |
20:17.33 | Xmoo | set cmdline "rw fbcon=rotate:3 rdinit=/init psplash=false" |
20:17.36 | Xmoo | Na it works |
20:17.42 | Xmoo | but when I press run in Haret |
20:17.47 | dcordes | huh |
20:17.47 | Xmoo | the phone soft reset |
20:18.01 | dcordes | so it stopped booting out of the blue? |
20:18.40 | Xmoo | dunno what you are meaning by out of the blue |
20:18.45 | Xmoo | but yes it stops booting |
20:19.23 | Xmoo | Thank god have 2 dievices to test it one |
20:19.28 | Xmoo | but got some questions tho |
20:19.31 | Xmoo | what does rw quiet |
20:19.34 | Xmoo | do? |
20:19.55 | dcordes | rw means read write and quiet means it's not verbose |
20:20.13 | Xmoo | and this one? fbcon=rotate:3 rdinit=/init psplash=false |
20:20.28 | dcordes | fbcon=rotate:3 means the framebuffer is rotate 3*90° |
20:20.41 | dcordes | s/rotate/rotated/ |
20:20.49 | dcordes | so you get a landscape console, not portrait |
20:20.56 | dcordes | psplash is the bootup logo |
20:21.25 | Xmoo | so is it good to add both in default.txt |
20:21.29 | dcordes | and rdinit is where the kernel is looking for the init file inside the initial ramdisk |
20:21.33 | Xmoo | or is landscape mode in android fu up? |
20:21.42 | Xmoo | Have you seen this? |
20:21.49 | Xmoo | Update(6/6/08): I've fixed the browser problems, the G icon should appear now and data will work much more reliably. I've also added support for switching off the panel backlight. Click the power button and then tap on "Turn Off Screen", This doesn't put the machine into a very low power state but it does let you use it as a phone. I carried it around yesterday and the battery lasted about 12 hours. Don't select power off, it will disable the button |
20:21.49 | dcordes | you should only need to specify the rotate |
20:22.13 | dcordes | yes |
20:22.25 | Xmoo | the new initrd is very fast |
20:22.29 | Xmoo | I don't see any lag |
20:22.31 | dcordes | didn't cope with power management on kaiser yet. I think it's done with proc_comm which is not implemented yet in the kaiser tree |
20:22.53 | dcordes | you should be worried more about kernel level ;) |
20:22.53 | Xmoo | A friend of my is getting his HTC Diamond this friday |
20:23.01 | Xmoo | first thing ima doe is trying to egt Android on it :P |
20:23.11 | AstainHellbring | Chainfire has his now |
20:23.21 | dcordes | what do you wanna do with a shiny graphical user interface when you can't do anything with it? |
20:23.23 | Xmoo | Could you tell me how youre default.txt looks like |
20:23.29 | dcordes | mine? |
20:23.31 | Xmoo | yeah |
20:23.35 | dcordes | hold on.. |
20:23.41 | Xmoo | dunno but still cool that android has the drivers |
20:23.45 | Xmoo | and windows mobile doesn't :P |
20:24.01 | dcordes | android has no drivers |
20:24.12 | Xmoo | linux* |
20:24.15 | dcordes | the msm kernel tree does |
20:24.16 | dcordes | yes |
20:25.06 | *** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes) |
20:26.39 | Xmoo | so you've got yourse default.txt? |
20:32.37 | Xmoo | dcordes_ |
20:33.53 | dcordes_ | Xmoo: I put together my stuff http://linuxtogo.org/~lgorris/kaiser-bootkit/ |
20:34.04 | dcordes_ | you need to update the thread. all links are broken now ;) |
20:34.15 | Xmoo | what is the angstorm console |
20:34.19 | Xmoo | seen it on some sites |
20:34.23 | Xmoo | ok :P |
20:34.33 | dcordes_ | that's what you want the fbcon:rotate=3 for |
20:34.56 | Xmoo | aha |
20:35.10 | dcordes_ | you get a console there :) |
20:35.32 | dcordes_ | hope the default.txt helps. I doubt it though if you did not change it before it stopped working |
20:35.57 | Xmoo | is this a good thing to have? |
20:35.58 | Xmoo | set kernelcrc 1 |
20:36.59 | dcordes_ | don't know this option |
20:37.59 | Xmoo | from the haret site |
20:38.00 | Xmoo | HaRET can double check that the kernel (and optional initrd) are correctly copied to ram prior to jumping to the kernel. It can do this by CRCing the kernel as it is read from disk and again just before jumping to it. To enable, run: |
20:38.12 | Xmoo | gonna boot haret |
20:38.14 | Xmoo | fingers crossed |
20:38.32 | Xmoo | soft-reset |
20:38.33 | Xmoo | :@:@:@:@ |
20:39.22 | dcordes_ | try downloading all the stuff in the kaiser-bootkit folder to one folder on your kaiser and retry |
20:43.30 | Xmoo | k |
20:43.34 | Xmoo | copying to phone |
20:44.29 | Xmoo | just press run |
20:44.34 | Xmoo | or listen for network |
20:44.35 | Xmoo | then run? |
20:44.59 | dcordes_ | just press run |
20:46.06 | Xmoo | yeah |
20:46.07 | Xmoo | it boots |
20:46.29 | Xmoo | i'm seeing the commands now in landscape mode |
20:46.42 | dcordes_ | kewl glad I was able to help |
20:47.01 | Xmoo | what kinda screen is this? |
20:47.06 | Xmoo | linux kernell or something like that |
20:47.09 | Xmoo | looks like matrix |
20:47.10 | Xmoo | xD |
20:47.36 | dcordes_ | it just looks like it's a screen, it's all fictional, Neo! |
20:47.44 | Xmoo | :P |
20:47.54 | Xmoo | lol my linux skool skills ar working |
20:48.00 | dcordes_ | type |
20:48.16 | dcordes_ | root and then press enter to login |
20:48.50 | Xmoo | i get /bin/sh: boot not found |
20:48.58 | dcordes_ | mknod /dev/smd0 c 254 0 && cat /dev/smd0 |
20:49.28 | dcordes_ | then enter. then you can see what I talked about in the thread, that we can read from the modem. |
20:49.44 | *** join/#htc-linux premy (n=pr@49.190.98-84.rev.gaoland.net) |
20:49.51 | *** part/#htc-linux premy (n=pr@49.190.98-84.rev.gaoland.net) |
20:50.04 | Xmoo | i get /bin/sh: boot not found |
20:51.03 | *** join/#htc-linux exco (n=exco@e181097220.adsl.alicedsl.de) |
20:51.04 | Xmoo | wait |
20:51.07 | Xmoo | I can login now |
20:51.15 | Xmoo | (none) login: |
20:51.28 | Xmoo | what is username pass? |
20:53.17 | dcordes_ | username is root |
20:53.38 | Xmoo | yeah now i'm root logged in |
20:54.34 | Xmoo | woow mknod /dev/smd0 c 254 0 && cat /dev/smd0 brings out the real matrix |
20:56.06 | Xmoo | is Openmoko running good on kaiser? |
20:58.08 | dcordes_ | know what that is? |
20:58.17 | dcordes_ | it's what the modem talks |
20:58.21 | dcordes_ | call yoursel or write an sms |
21:00.25 | Xmoo | but this zImages .. Works on Android OpenMoko and the angstrom |
21:00.41 | dcordes_ | yes |
21:01.12 | dcordes_ | zImage is the kernel, the base system containing all the drivers and so, thing which are needed to work with the hardware |
21:01.33 | StyleWarz | pH5: is there any work going in the direction of getting mac80211 into angstrom kernel-sources? (or getting stuff ported to >2.6.22) |
21:01.44 | Xmoo | damn I'm gettin to know these thing a bit more :D |
21:02.12 | dcordes_ | and on top of it you can do all kinds of stuff |
21:02.34 | dcordes_ | the kernel is the operating system so to say |
21:03.02 | Xmoo | yeah know that but ehmm |
21:03.06 | Xmoo | in the android ddirectory |
21:03.11 | Xmoo | there is also a file named diff |
21:03.14 | Xmoo | is that one needed? |
21:03.38 | dcordes_ | which android directory? |
21:03.50 | Xmoo | well the guy from vogue |
21:04.03 | Xmoo | has also a .config file and a diff.txt in de folder were he runs android |
21:04.05 | dcordes_ | oh. you know about that git.linuxtogo.org thing? |
21:04.09 | Xmoo | are those 2 files actualy needed? |
21:05.44 | dcordes_ | you need them only if you want to build your own kernel (for vogue) |
21:05.48 | Xmoo | damn |
21:05.52 | Xmoo | haret soft resets again |
21:05.53 | Xmoo | :( |
21:05.56 | pH5 | StyleWarz: is e800's wifi acx100? |
21:05.56 | dcordes_ | you put the instructions on how to build kaiser kernel in the first post of the thread, remember? |
21:06.10 | Xmoo | I know :P |
21:06.11 | Xmoo | but still |
21:06.17 | dcordes_ | Xmoo: so obviously something in your wince changed |
21:06.18 | Xmoo | mayb some files are not usefull |
21:06.30 | Xmoo | well we just got the cab :P |
21:07.04 | pH5 | BabelO had a first shot at integrating that with mac80211, not sure if that is in the linuxtogo repo. I don't think we have anything working yet. |
21:07.15 | Xmoo | you know what the funny thing is. On the beta rom of dutty. HarET recognized MSM7200 as a MSM7500. and it boots up all the time |
21:07.25 | Xmoo | so if the hardware is not corect but the name is haret will boot |
21:07.28 | Xmoo | like wtf :S |
21:07.40 | dcordes_ | Xmoo: the cab idea is not so useful. people download it and have an obsolte zImage. then they have to fiddle around to replace the kernel. it will be better if they download all the stuff from one place directly |
21:08.28 | StyleWarz | pH5: i was talking about my BlueAngel which needs wpa2 :P |
21:09.02 | pH5 | ah, I keep getting confused with all those geeks and their loads of different devices :) |
21:09.27 | dcordes_ | StyleWarz: poke babel0 he already fiddled with mac80211/wpa on blueangel |
21:09.29 | StyleWarz | i had the e800 way before my blueangel ;) i just like it better because it got higher resolution and a bigger screen |
21:09.54 | dcordes_ | now that pH5 is mentioning it, I remember. But I also doubt he got it working |
21:10.06 | pH5 | my personal plans for blueangel are porting to mainline from the basics once asic3 support is upstream, but right now magician and hx4700 come first. |
21:10.17 | pH5 | I don't know who else is working on BA right now. |
21:10.43 | Xmoo | damnnnn |
21:10.45 | StyleWarz | anyhow, if i get one of those devices working properly i'd be delighted |
21:10.54 | Xmoo | I think once haret has booted one time in a directory it keeps soft resetting it |
21:10.56 | pH5 | always compiles kernels for magician+hx4700+blueangel, they just don't boot on the latter yet |
21:10.59 | dcordes_ | Xmoo: I'm happily booting 100% w/o any freezes with dutty may 22nd |
21:11.01 | Xmoo | but when I move haret to other directory |
21:11.03 | Xmoo | first boot works |
21:11.15 | Xmoo | I ain't using his may22nd anymore |
21:11.21 | Xmoo | cause it had to many bugs :$ |
21:11.36 | dcordes_ | I can make calls and boot linux |
21:11.42 | dcordes_ | what do you want more? |
21:12.06 | Xmoo | well the contact page is a bit fu up |
21:12.10 | Xmoo | alsoe some apps are not working |
21:12.20 | Xmoo | he ported like 95% of the daimond rom to kaise |
21:12.25 | Xmoo | and that gives some errors |
21:12.32 | Xmoo | I'm using this rom now on my deviece |
21:12.34 | Xmoo | http://forum.xda-developers.com/showthread.php?t=398271 |
21:13.46 | Xmoo | wtf |
21:13.47 | dcordes_ | Xmoo: you keep confusing me. I though you didn't change anything in your rom? |
21:13.51 | Xmoo | this is weird |
21:13.59 | Xmoo | Na I got 2 devieces |
21:14.05 | Xmoo | one is running this rom |
21:14.17 | Xmoo | and the other is running http://forum.xda-developers.com/showthread.php?t=400118 |
21:14.28 | Xmoo | I told ppl to use that rom for android developement |
21:14.51 | Xmoo | cause dutty made a registery thing so the phone gets known as a MSM7500 in stead of a MS7200 |
21:14.59 | Xmoo | that why HaReT boots up all the time |
21:15.06 | Xmoo | cause haret works 100% with MSM7500 |
21:15.42 | Xmoo | But one question tho, Does openmoko-fso work on kaiser? |
21:15.53 | dcordes_ | oh that's interesting. I wonder what haret does with this info and how far this affects boot process. most important is set in the default.txt: machine type and ramsize and address |
21:16.30 | AstainHellbring | haret works 100% of the time on my custom rom I built from my kitchen lately as well w/o showing as 7500... |
21:16.31 | dcordes_ | Xmoo: it boots but X (graphical interface) doesn't start |
21:17.23 | Xmoo | AstainHellbring |
21:17.27 | Xmoo | and what deviece you have? |
21:17.49 | AstainHellbring | kaiser |
21:17.59 | AstainHellbring | att tilt version of it |
21:18.07 | Xmoo | MSM7201a? |
21:18.11 | Xmoo | or jsut the MSM7200? |
21:18.39 | AstainHellbring | 7200 |
21:19.04 | Xmoo | DCordes |
21:19.14 | dcordes_ | martin__: did you look at the other mmutrace I referred to? |
21:19.25 | Xmoo | my haret soft reset's when ever I try to open android or openmoko |
21:19.36 | Xmoo | but when i open angstrom it works |
21:19.51 | dcordes_ | Xmoo: both are bigger than the angstrom-console. maybe that's a pointer.. |
21:19.59 | dcordes_ | ram usage on boot time? |
21:20.03 | Xmoo | So I don't have engouh ram? |
21:20.08 | dcordes_ | probably |
21:20.09 | Xmoo | whoops you were faster |
21:20.10 | Xmoo | :P |
21:20.17 | Xmoo | let me check that :P |
21:20.31 | dcordes_ | yes kill everything unnecessary and retry |
21:21.02 | Xmoo | PROGRAMM Free: 47.39 |
21:22.16 | dcordes_ | 22nd reports about the same when I boot |
21:22.37 | dcordes_ | but I can also start all kinds of programs and it starts also |
21:23.54 | Xmoo | so 50mb free |
21:23.59 | Xmoo | gonna try to boot openmoko |
21:24.06 | Xmoo | realy want to see that one on my kaiser |
21:24.18 | Xmoo | soft reset |
21:24.20 | Xmoo | wtf |
21:24.30 | dcordes_ | you will get the hassle all the time over and over on that rom. Don't waste your time trying that |
21:24.48 | Xmoo | Well i have spoken with dutty |
21:24.54 | Xmoo | and he is building new rom |
21:24.56 | dcordes_ | maybe it will work here and now but why don't you just use your other kaiser? |
21:24.59 | Xmoo | so when it'r done |
21:25.01 | Xmoo | gonna flash it |
21:25.21 | Xmoo | cause the other one is for real use :P |
21:25.27 | dcordes_ | it's no news that on some roms it works, on some it doesn't |
21:25.27 | Xmoo | is this oen crashes it does not mather |
21:25.53 | dcordes_ | can you screw the test one open and solder a jtag cable to the serial pins? |
21:26.07 | dcordes_ | so you can debug the kernel for us :) |
21:26.12 | Xmoo | but dcordes_ does openmoko boot on yours? |
21:26.33 | dcordes_ | 23:16 < dcordes_> Xmoo: it boots but X (graphical interface) doesn't start |
21:26.35 | Xmoo | haha well no i'm just 18 dunno how to solder :P |
21:27.03 | Xmoo | that;'s too bad the screenshot's look awesome |
21:27.08 | dcordes_ | I such at it but I think I soldererd my first stuff with 14 |
21:27.15 | dcordes_ | suck I mean |
21:27.39 | dcordes_ | Xmoo: openmoko-fso? |
21:27.48 | dcordes_ | it's not the normal orangeish openmoko |
21:27.57 | Xmoo | ooh |
21:28.10 | Xmoo | well i'm talking boutthe real openmoko |
21:28.16 | Xmoo | the one with the GUI |
21:28.21 | dcordes_ | well what's under the hood is pretty much the same but the gui changed |
21:28.32 | dcordes_ | it has gui but different one than normal openmoko |
21:29.30 | Xmoo | the orignal one only runs with the neo devieces? |
21:31.20 | dcordes_ | you can run it on virtually every device which runs the linux kernel |
21:31.33 | dcordes_ | also on your x86 desktop |
21:31.40 | dcordes_ | pda |
21:31.43 | dcordes_ | whatsoever |
21:31.45 | Xmoo | mine is x64 :P |
21:31.52 | dcordes_ | also x64 |
21:31.55 | Xmoo | cause of the momory |
21:32.09 | Xmoo | damn gonan try to boot one more time |
21:32.10 | dcordes_ | lol, vista eh |
21:32.13 | Xmoo | if not working ima go to sleep |
21:32.21 | Xmoo | have skool 2 morrow |
21:32.24 | dcordes_ | it won't make you happy booting fso. as I said you don't see anything |
21:32.51 | Xmoo | but this thing 23:25 dcordes_ can you screw the test one open and solder a jtag cable to the serial pins? |
21:32.58 | Xmoo | just booting one of the 3 :P |
21:33.01 | Xmoo | android did not boot |
21:33.04 | Xmoo | openmoko not |
21:33.07 | Xmoo | only the console |
21:33.36 | dcordes_ | wait for dutty's slimfast rom |
21:34.06 | Xmoo | :P |
21:34.13 | Xmoo | but bro is this for real? |
21:34.15 | Xmoo | 23:25 dcordes_ can you screw the test one open and solder a jtag cable to the serial pins? |
21:35.44 | dcordes_ | martin__: commented on the onboard serial earlier. if you wanna help maybe ask him |
21:36.11 | *** join/#htc-linux LunohoD (n=alex@e180066253.adsl.alicedsl.de) |
21:36.25 | Xmoo | Damn were you guys live? Mayb can sendthe deviece when i birck it :P |
21:36.27 | Xmoo | brick* |
21:37.50 | dcordes_ | I'm in .de |
21:38.00 | dcordes_ | your live in the netherlands, right? |
21:38.36 | dcordes_ | martin__: you not there, are you? |
21:39.05 | Xmoo | yeah |
21:39.08 | Xmoo | were in de? |
21:39.15 | Xmoo | ich spreche deutsch |
21:39.17 | Xmoo | :P |
21:39.34 | dcordes_ | ratingen near DUS |
21:40.01 | Xmoo | omfg |
21:40.04 | dcordes_ | like 40 mins from roermond |
21:40.08 | Xmoo | i know |
21:40.11 | Xmoo | I lived in venlo |
21:40.17 | dcordes_ | cool that's even closer here |
21:40.18 | Xmoo | and one time I went to dusseldorf with bike |
21:40.19 | tcccp | Northrhine-Westafrica is not Germany! |
21:40.33 | Xmoo | now i live in Eindhoven |
21:40.43 | Xmoo | those germans came to venlo to buy some weed |
21:40.43 | Xmoo | x |
21:41.20 | dcordes_ | Xmoo: are there good biking paths? |
21:41.40 | Xmoo | from dusseldorf to venlo? |
21:41.56 | dcordes_ | tcccp: africa? |
21:41.56 | dcordes_ | yea |
21:42.00 | tcccp | hrhr |
21:42.08 | Xmoo | yeah |
21:42.10 | Xmoo | :O |
21:42.13 | dcordes_ | tcccp: ? |
21:42.15 | Xmoo | mayb you can bike to there |
21:42.18 | tcccp | dcordes_: Here in lower saxony we call northrhine-westfalen "northrhine-westafrica" |
21:42.20 | Xmoo | and i come to venlo by train :P |
21:42.26 | dcordes_ | tcccp: good for you |
21:42.38 | tcccp | :-P |
21:42.38 | Xmoo | tcccp you black? :P |
21:43.00 | tcccp | Xmoo: I tend to be caucasian although I catch up sunlight very well :-P |
21:43.32 | Xmoo | hahaha |
21:43.34 | Xmoo | i'm asian |
21:43.39 | Xmoo | i'm orgin from Iran |
21:43.53 | Xmoo | but live in netherlands since i'm 3 |
21:43.59 | Xmoo | and now 18 zo for 15 years nwo :( |
21:46.16 | Xmoo | dcordes |
21:46.18 | Xmoo | how old you? |
21:47.43 | Xmoo | Guys gonna come back 2 morrow night |
21:47.47 | Xmoo | have to go to sleep |
21:47.49 | Xmoo | good luck all |
22:02.18 | *** join/#htc-linux surgex (i=surge@pool-71-186-163-107.bflony.fios.verizon.net) |
22:04.07 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
22:10.16 | *** join/#htc-linux swc|666 (n=swc|666@unaffiliated/swc666/x-4934821) |
22:13.12 | *** join/#htc-linux CD_Fighter (n=c@dslb-084-058-130-038.pools.arcor-ip.net) |
22:17.03 | CD_Fighter | moin, is there something new about hermes since last 5 months? |
22:18.12 | CD_Fighter | still no sd support? |
22:20.09 | *** join/#htc-linux Patrick_Bateman (n=swc|666@c66-235-5-56.sea2.cablespeed.com) |
23:20.39 | martin__ | If anyone really does have hardware surplus to requirements, send it to me and I will see about soldering debug lines to it. |
23:21.23 | martin__ | I have microscope, SMT soldering gear, JTAG debuggers, fancy scope, etc at work. |
23:21.25 | dcordes_ | hey martin__ |
23:21.43 | dcordes_ | oh sounds good. maybe Xmoo wanna supply his |
23:21.49 | dcordes_ | I will ask him tomorrow |
23:22.21 | dcordes_ | did you see the other mmutrace I referred to earlier? http://linuxtogo.org/~lgorris/haretlog-20080614_063536.log |
23:23.42 | martin__ | dcordes_: yeah, I looked at that |
23:23.53 | martin__ | still nothing on the actual smd channel |
23:24.28 | dcordes_ | good |
23:27.24 | martin__ | I dunno really how to proceed without working traces of that |
23:27.25 | dcordes_ | martin__: I put a brief documentation on the kaiser port at http://linuxtogo.org/~lgorris/kaiser-bootkit/README.txt |
23:28.03 | dcordes_ | martin__: we should email haret mailing list koconnor at handhelds.org |
23:28.14 | dcordes_ | Kevin2: ping |
23:29.59 | martin__ | dcordes_: looks good |
23:30.08 | martin__ | hope it gets us some more developers :) |
23:30.32 | dcordes_ | did you notice anything missing/wrong? |
23:36.54 | martin__ | dcordes_: no, that's what i was doing pretty much |
23:37.13 | martin__ | i was looking at specifically the AT area so i didn't see the stuff you did |
23:37.39 | martin__ | worth a read: http://www.handhelds.org/moin/moin.cgi/HaRET_20Tracing_20Details |
23:37.57 | dcordes_ | thanks wasn't aware of it |
23:39.11 | martin__ | best guess from that, unless there's some dma going on, is that something is temporarily adding a mapping and then using that to access the smem |
23:39.34 | dcordes_ | interesting point |
23:39.36 | martin__ | so it doesn't show up in the dumps |
23:40.16 | dcordes_ | we could do an mmu dump while heavy AT traffic is going down? |
23:41.45 | martin__ | yeah, we could try that |
23:42.19 | martin__ | or we could use the polling options of haret to trace instead |
23:42.42 | martin__ | wouldn't tell us exactly what's going on, but we might see what bits are actually changing. |
23:42.45 | dcordes_ | I'ma read out the docu |
23:42.55 | dcordes_ | can you try that polling thing? |
23:44.14 | *** join/#htc-linux LennySh (n=DooM@unaffiliated/lennysh) |
23:44.16 | *** part/#htc-linux LennySh (n=DooM@unaffiliated/lennysh) |
23:45.30 | martin__ | i will at some point |
23:45.33 | martin__ | gotta get to bed now |
23:45.59 | dcordes_ | good night |