| 07:25.48 | *** join/#htc-blueangel JuNuKN (n=JuNuKN@K8147.k.pppool.de) |
| 07:25.58 | JuNuKN | ~seen llange |
| 07:26.00 | apt | llange <n=llange@lange.nom.fr> was last seen on IRC in channel #htc-blueangel, 16d 8h 37m 2s ago, saying: 'no probs. =)'. |
| 07:39.06 | *** join/#htc-blueangel rob_w-cgi (n=txuser@dd1010.kasserver.com) |
| 07:39.06 | *** mode/#htc-blueangel [+o rob_w-cgi] by ChanServ |
| 07:39.29 | rob_w-cgi | morning |
| 08:51.18 | *** join/#htc-blueangel |oxi| (n=oxi@212.106.207.206) |
| 12:50.40 | *** part/#htc-blueangel geers_ (n=DevzMan@c51008F31.inet.catch.no) |
| 14:02.03 | *** join/#htc-blueangel cp15 (i=joyrdo@p549A386F.dip0.t-ipconnect.de) |
| 14:02.03 | *** mode/#htc-blueangel [+o cp15] by ChanServ |
| 14:02.19 | cp15 | Good morning |
| 14:29.22 | oxi | morning(noon here) |
| 14:31.50 | cp15 | http://www.total-knowledge.com/~ilya/mips/ugt.html |
| 14:31.58 | cp15 | Where are you from? |
| 14:33.12 | oxi | LOL |
| 14:33.15 | oxi | spain |
| 14:33.22 | oxi | good morning then :D |
| 14:36.06 | cp15 | Have you already looked into how to use haret? |
| 14:36.36 | oxi | not yet |
| 14:36.46 | oxi | first im trying to port a basic kernel image |
| 14:36.51 | oxi | with oe |
| 14:37.37 | cp15 | Haret is the first step. Please look into it. A kernel image which doesn't work is useless |
| 14:37.59 | cp15 | I will try to make a generic one which should run on every pxa machine |
| 14:38.19 | oxi | it wont even catch the lcd display? |
| 14:39.42 | oxi | i wouldnt like to make you waste your time... i should do that work myself shouldnt i |
| 14:42.18 | cp15 | The LCD display will work, since it is already set up by windows. It is using a generic framebuffer which needs start address and resolution |
| 14:47.10 | oxi | omg this is so complicated i wish i could contact cr2. If he was leading the porting project i guess i could contribute... but doing it myself alone i think thats beyond my potential |
| 14:55.32 | cp15 | Climbing a mountain starts with a first step |
| 15:18.56 | rob_w | hey dude |
| 15:20.02 | cp15 | Hi rob_w |
| 15:24.27 | oxi | hi |
| 15:24.32 | oxi | true cp15 :) |
| 15:33.12 | cp15 | Universal has WM 5.0, true? |
| 15:40.45 | oxi | yup |
| 15:41.34 | cp15 | Might be a problem... At least on the BA haret doesn't work with WM 5.0 |
| 15:41.38 | oxi | this is my first and only pda so i dont know whether its better than previous versions or not.... |
| 15:41.49 | oxi | damn it.... |
| 15:43.03 | oxi | maybe i could downgrade to ppc2003? |
| 15:47.53 | oxi | not sure... but will KITL help doing the reverse engineering thing? |
| 15:48.20 | oxi | i got this option on my boot menu, pulsing a combo when resetting |
| 15:49.56 | oxi | pressing not pulsing* |
| 15:52.00 | cp15 | Don't think it is possible to downgrade the Universal |
| 15:52.06 | cp15 | But maybe we can fix haret |
| 15:53.01 | cp15 | Universal has a pxa27x, if I remember correctly |
| 15:53.08 | cp15 | Can you tell me your framebuffer base? |
| 15:53.32 | oxi | yes |
| 15:53.48 | oxi | uhh... how do i do this... |
| 15:56.44 | cp15 | Install haret, telnet to it, and type print "%08x" VRAM |
| 16:01.04 | Funklord | hey =) |
| 16:01.21 | Funklord | I got my BA back =D |
| 16:02.00 | Funklord | since I bought one, I've got two now |
| 16:02.13 | cp15 | How did you get it back? |
| 16:02.26 | Funklord | I went to the club a couple of days later |
| 16:02.37 | Funklord | they got it from someone |
| 16:03.13 | Funklord | as usual, the stylus wasn't in it =P |
| 16:03.29 | cp15 | Hmm... But now you probably won't get the money from the insurance? |
| 16:03.49 | Funklord | I wasn't going to get any money from them anyways |
| 16:04.05 | Funklord | bastards had a clause for cell-phones and theft |
| 16:04.17 | cp15 | OTOH: Now you have a development BA and can fully take part of the project |
| 16:04.49 | Funklord | apparently, if you tell them you *lost* it, the insurance will cover it |
| 16:04.57 | Funklord | but not due to theft |
| 16:05.26 | oxi | awsome |
| 16:06.09 | Funklord | yeah I will definitely try to get hooked in development |
| 16:08.34 | oxi | HaRET(1)# print "%08x" VRAM |
| 16:08.34 | oxi | 00000000 |
| 16:09.17 | cp15 | Try VRAMV instead of VRAM |
| 16:09.23 | cp15 | This value doesn't make sense |
| 16:09.47 | Funklord | cp15: how do you charge it while it's running linux? |
| 16:10.57 | oxi | HaRET(5)# print "%08x" VRAMV |
| 16:10.57 | oxi | Error: line 5: Unknown variable 'VRAMV' in expression |
| 16:10.57 | oxi | 000005c8 |
| 16:11.10 | cp15 | Just a moment |
| 16:11.38 | rob_w | cu |
| 16:11.47 | oxi | bye rob_w |
| 16:12.29 | cp15 | VRAMV should exist |
| 16:12.35 | cp15 | Hmm |
| 16:13.05 | cp15 | Funklord: Just like with windows. The charger operates independently from the cpu |
| 16:13.24 | oxi | may i paste the introductory message in telnet? |
| 16:13.58 | Funklord | cp15: the last times I've tried it's in the cradle, but still runs out of power |
| 16:16.40 | cp15 | Hmm... That would be strange |
| 16:17.18 | Funklord | I keep it connected for shell acces |
| 16:18.05 | Funklord | but it still runs out of power and refuses to work until I get the emergency charge routine going |
| 16:19.23 | Funklord | or, maybe some battery meter goes nuts |
| 16:19.35 | Funklord | (I haven't measured the battery voltage) |
| 16:20.07 | cp15 | Hmm... In the newest release the battery monitor is working (partly...) Maybe you can check it |
| 16:23.05 | Funklord | ok, yeah, I'll have to unravel this mystery ;) |
| 16:27.47 | Funklord | ttyl |
| 16:27.48 | oxi | cp15: http://pastebin.com/466716 |
| 16:33.07 | cp15 | Hmm... |
| 16:33.19 | cp15 | Maybe we have to dump the pxa registers to get its value |
| 16:34.47 | cp15 | The pxa lcd is quite complicated |
| 16:39.27 | oxi | is that gpio? |
| 16:41.21 | oxi | http://pastebin.com/466731 |
| 16:48.00 | cp15 | No... We have to determine the framebuffer address from the pxa registers, since haret doesn't know it |
| 16:48.41 | cp15 | do a pd 0x44000204 4 |
| 16:49.34 | oxi | 44000204 | a3fe77a0 | .w.. |
| 16:51.16 | cp15 | Try again to see if the value is constant |
| 16:52.12 | oxi | nope |
| 16:52.23 | oxi | where did you get that address? |
| 16:52.30 | cp15 | From the data sheet |
| 16:52.49 | oxi | hmm |
| 16:52.53 | cp15 | Try 10 times and then tell me the minimum you get |
| 16:53.03 | oxi | okay |
| 16:53.10 | cp15 | It probably gives the current display address, not its base address |
| 16:53.57 | cp15 | Apart from that it looks good: It is at the top of the memory |
| 16:54.34 | cp15 | When done, try print "%08x" RAMSIZE to see if the memory is right |
| 16:54.46 | oxi | 5c006400 |
| 16:55.02 | cp15 | What is that? |
| 16:55.09 | oxi | the min value i got |
| 16:55.21 | oxi | HaRET(19)# print "%08x" RAMSIZE |
| 16:55.22 | oxi | 06000000 |
| 16:56.03 | cp15 | The min value doesn't look right, I assume it is 0xa3fe6400 |
| 16:56.10 | cp15 | Lot of guesswork... |
| 16:56.14 | cp15 | Lets see the ram size |
| 16:56.25 | oxi | some of them start with a3, others start with 5c |
| 16:57.21 | cp15 | 5c is the internal memory... Hmmm |
| 16:57.54 | cp15 | But it is too small to hold the picture |
| 16:58.03 | cp15 | But we can try to paint some black pixels |
| 16:58.17 | oxi | heheh cool |
| 16:59.51 | cp15 | Try pfw 0xa3fe77a0 10 0 |
| 17:00.01 | cp15 | Should get you some black pixels somewhere |
| 17:00.56 | oxi | nothing :( |
| 17:01.07 | cp15 | Try pfw 0xa3fe77a0 10 0xffffffff |
| 17:01.19 | cp15 | To get some white one (maybe it was already in a black area) |
| 17:01.52 | oxi | nothing... |
| 17:02.28 | cp15 | Try pd 0xa3fe77a0 after each of the above command to see if something has changed |
| 17:02.52 | cp15 | pd 0xa3fe77a0 4 I mean |
| 17:03.07 | oxi | yes its full of f's |
| 17:03.25 | cp15 | After the pfw with the fff? |
| 17:03.41 | cp15 | Then try the one with 0 again and see if you get 0s |
| 17:03.57 | oxi | yes |
| 17:04.19 | cp15 | And nothing changes on the screen? |
| 17:04.29 | cp15 | :-( |
| 17:04.42 | cp15 | Try to replace 10 with 100 to get a bigger area |
| 17:05.32 | oxi | 10/100 is for 10/100 words? |
| 17:05.46 | cp15 | Yes |
| 17:05.55 | oxi | YES |
| 17:05.58 | oxi | i see a line! |
| 17:06.03 | oxi | yay! |
| 17:06.29 | oxi | its a bit above by the center |
| 17:06.31 | cp15 | Is it horizontal or vertical |
| 17:06.39 | oxi | horizontal |
| 17:06.50 | cp15 | In landscape format? |
| 17:07.01 | oxi | i got the screen in vertical mode, to see the whole haret window |
| 17:07.28 | cp15 | So the the height is bigger than the width? |
| 17:07.38 | oxi | yes |
| 17:07.56 | cp15 | Ok, now lets get the base address |
| 17:08.20 | cp15 | Try to lower the address in the pfw until the line starts in the upper left corner |
| 17:08.21 | oxi | hmm i wonder if it'd write a horizontal line in landscape format this wat |
| 17:08.26 | oxi | way* |
| 17:08.34 | oxi | okay! |
| 17:08.38 | cp15 | Try it if you can, would be interesting |
| 17:09.26 | oxi | uh oh |
| 17:09.37 | oxi | i think i went beyond the limit |
| 17:09.44 | oxi | suddenly the screen turn white... |
| 17:09.53 | cp15 | Reset time |
| 17:09.56 | oxi | lol |
| 17:15.48 | oxi | almost |
| 17:16.22 | cp15 | The address is probably a round one, so if you are close it might be enough |
| 17:19.38 | oxi | 0xa3faa787 this is the closest i got, but not sure if got to the limit |
| 17:20.36 | cp15 | It needs a 0 at its end |
| 17:20.36 | oxi | 0xa3faa788 seems to paint the upper-leftmost dot, but not sure |
| 17:20.51 | oxi | hmm |
| 17:20.57 | cp15 | Hmm... Maybe not... |
| 17:21.26 | oxi | gonna try white dots |
| 17:22.29 | cp15 | It is probably 0xa3faa000 |
| 17:23.00 | cp15 | You are off 4 lines and 4 pixels |
| 17:23.17 | oxi | hmm |
| 17:23.35 | cp15 | Lets do some calculation |
| 17:24.05 | oxi | hmm yes i was missing some line |
| 17:24.22 | cp15 | Buahh... It doesn't make sense |
| 17:24.47 | oxi | why? |
| 17:25.04 | cp15 | 640*480*2=0x96000 |
| 17:25.11 | cp15 | Resolution*Bytes per pixel |
| 17:25.27 | oxi | only 2 bytes per pixel? |
| 17:25.41 | oxi | oh yes |
| 17:26.06 | cp15 | A3FAA000+96000 = A4040000 |
| 17:26.14 | cp15 | Which is off limit for the ram |
| 17:26.57 | oxi | how do you know the ram limit? |
| 17:27.00 | oxi | where is it |
| 17:27.10 | cp15 | Try pfw with count 240 |
| 17:27.16 | cp15 | Does it fill a complete line? |
| 17:27.53 | oxi | yes |
| 17:28.02 | cp15 | http://wiki.xda-developers.com/index.php?pagename=UniversalMemoryMap |
| 17:29.20 | cp15 | Maybe the screen is split. Part of it is in the external ram, part of it in the internal |
| 17:31.50 | cp15 | Ok, we do a trick. We reduce the resolution to 360*480, so the linux screen will be only a part of the whole screen for now, but it fits in the external ram |
| 17:33.05 | cp15 | Wanna test the first kernel? |
| 17:33.24 | oxi | sure :))) |
| 17:33.37 | oxi | theres something i dont get about this: |
| 17:33.37 | cp15 | Ok, can you do dcc? |
| 17:34.12 | oxi | i think so |
| 17:34.38 | oxi | forget it... |
| 17:39.11 | oxi | thank you :) |
| 17:39.15 | cp15 | put startup.txt and zImage in the same directory as haret and run haret. But make a backup first if you have valuable data |
| 17:39.37 | cp15 | When you are lucky you will se a kernel panic |
| 17:39.56 | oxi | okay |
| 17:39.58 | cp15 | When you have less luck, you will see something unrecognizeable |
| 17:40.18 | cp15 | If you have even lesser luck, you will see a penguin with red eyes |
| 17:40.56 | cp15 | If you don't even see the red eyes, haret needs to be fixed |
| 17:42.10 | oxi | LOL |
| 17:42.34 | oxi | i see microscopic letters in the upper side of screen |
| 17:42.43 | oxi | kernel panic :) |
| 17:42.55 | cp15 | A huge success I would say |
| 17:43.07 | oxi | i agree :) |
| 17:43.58 | oxi | i guess its taking the upper part of screen cause it can only write there, right? |
| 17:44.17 | cp15 | Yeah, we have to find out where the lower half is |
| 17:44.53 | oxi | why did they design it this way? isnt it too... stupid |
| 17:45.32 | cp15 | Well, maybe not... There is 256KB memory integrated into the pxa. This one is probably used for the other half |
| 17:45.53 | cp15 | It frees memory bandwith and is a good use for the internal memory |
| 17:46.04 | oxi | hmm |
| 17:46.33 | cp15 | Ok, I will prepare a diff to the kernel sources |
| 17:59.23 | cp15 | Ok, this is what you need to do next: |
| 17:59.33 | cp15 | Get a arm toolchain |
| 17:59.40 | cp15 | ftp://ftp.handhelds.org/projects/toolchain/arm-linux-gcc-3.4.1.tar.bz2 |
| 17:59.51 | cp15 | might work, but I am using gcc 3.4.4 |
| 18:00.04 | oxi | hmm got oe installed, doesnt that have one? |
| 18:00.19 | cp15 | Ok, if you have oe installed, you don't need the external one |
| 18:00.59 | cp15 | You need to set your PATH like this: |
| 18:01.02 | cp15 | PATH=$BUILD/tmp/cross/bin:$BUILD/tmp/staging/i686-linux/bin:$PATH |
| 18:01.18 | cp15 | where $BUILD is your oe build directory |
| 18:01.49 | cp15 | Check out the BA kernel sources: |
| 18:01.50 | oxi | okay |
| 18:01.54 | cp15 | cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xanadux co -ko -r K2-6-12-hh2-xda0-ba0 linux-2.6-xda |
| 18:02.13 | cp15 | apply the diff I sent you on these sources |
| 18:03.02 | cp15 | In linux-2.6-xda, do a cp arch/arm/configs/arm_defconfig .config |
| 18:03.05 | cp15 | make |
| 18:03.35 | cp15 | Try out the kernel arch/arm/boot/zImage |
| 18:04.15 | cp15 | If it works, cp -rp arch/arm/mach-pxa/generic arch/arm/mach-pxa/universal |
| 18:04.33 | cp15 | Edit the appropriate Files to use universal instead of generic |
| 18:04.48 | cp15 | Test the kernel again |
| 18:05.28 | cp15 | Maybe set a larger font, so you don't need a microscope |
| 18:05.49 | cp15 | Try to get usb working... Not easy, but would be even harder if you don't have a screen |
| 18:06.20 | cp15 | Create a initrd which sets up a usb connection |
| 18:06.40 | cp15 | Remove the vsfb framebuffer and use pxafb |
| 18:06.48 | cp15 | Enough for now :-) |
| 18:07.09 | oxi | phew... |
| 18:11.54 | cp15 | Oops, one of my instructions was wrong |
| 18:11.56 | cp15 | Replace |
| 18:12.00 | oxi | so much homework :) |
| 18:12.07 | cp15 | In linux-2.6-xda, do a cp arch/arm/configs/arm_defconfig .config |
| 18:12.10 | cp15 | with |
| 18:12.23 | cp15 | In linux-2.6-xda, do a cp arch/arm/configs/generic_defconfig .config |
| 18:12.32 | oxi | okay |
| 18:12.39 | oxi | thank you a lot :))) |
| 18:13.11 | cp15 | You are welcome |
| 18:13.26 | cp15 | If you are stuck, don't hesitate to ask |
| 18:13.39 | cp15 | But I am afraid you have to find out much by yourself |
| 18:13.48 | cp15 | Have you already tried to contact cr2? |
| 18:20.38 | *** join/#htc-blueangel rob_w (n=bob@p85.212.151.171.tisdip.tiscali.de) |
| 18:20.38 | *** mode/#htc-blueangel [+o rob_w] by ChanServ |
| 18:20.39 | oxi | nope i couldnt find an email in that webpage |
| 18:20.50 | oxi | hi rob_w |
| 18:20.58 | cp15 | http://forum.xda-developers.com/profile.php?mode=viewprofile&u=16735 |
| 18:21.15 | rob_w | hey< |
| 18:21.18 | cp15 | You have to register with xda-developers to send a mail |
| 18:21.34 | oxi | thanks again :) |
| 18:28.23 | rob_w | anybody interessted in dtmf tones playing when dialing ? |
| 18:30.21 | *** join/#htc-blueangel pH5 (n=ph5@e178248116.adsl.alicedsl.de) |
| 18:30.44 | pH5 | cp15: what is going on in the blueangel world? |
| 18:34.29 | rob_w | hey pH5 |
| 18:34.34 | pH5 | hey rob_w |
| 18:35.21 | rob_w | cp15 did already a incredible job .. also many others are working together now .. did get a nice little project |
| 18:37.28 | rob_w | how about you pH5 |
| 18:38.49 | pH5 | regarding my magician, I didn't achieve anything yet |
| 18:39.30 | rob_w | his price dropped now to the 1 € +contract |
| 18:45.01 | cp15 | Tell me whether it worked or not |
| 19:23.31 | *** join/#htc-blueangel BrianR___ (i=brianr@c-24-61-206-174.hsd1.ma.comcast.net) |
| 19:23.52 | *** part/#htc-blueangel BrianR___ (i=brianr@c-24-61-206-174.hsd1.ma.comcast.net) |
| 19:45.37 | pH5 | cp15: the zImage only gives me my haret pixels and than stays at bigeye-tux |
| 19:45.41 | pH5 | trying zImage now |
| 19:45.49 | pH5 | s/zImage/Image/ |
| 19:52.29 | cp15 | Hmmm... Then I guess there is still some memory corruption |
| 19:52.31 | cp15 | Strange |
| 19:53.23 | cp15 | I will prepare a diff so you can compile your own kernel |
| 19:54.47 | pH5 | cp15: thanks. great work anyway. I'm curious what the difference will be to my last tries |
| 21:02.29 | *** join/#htc-blueangel apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
| 21:02.29 | *** topic/#htc-blueangel is HTC BlueAngel is still under development ! Feel free to ask and check also -> http://www.handhelds.org/moin/moin.cgi/BlueAngel | http://wiki.xda-developers.com/index.php?pagename=BlueangelResearch | http://gnulinux.biz/files/blueangel/sd/linux/ channel chat logs at http://ibot.rikers.org/%23htc-blueangel/ * http://www.userfriendly.org/ * |
| 21:31.48 | immolo | :o MS are taking the graphic interface out of the kernel :o |
| 21:33.08 | immolo | That's like the main speed boost windows gets over X11 gone |
| 21:33.11 | cp15 | Yeah? Where do they put it? In an X-Server? |
| 21:33.20 | immolo | userspace |
| 21:33.29 | immolo | that's all they are saying |
| 21:34.18 | immolo | they say 90% of crashes are do with that |
| 21:34.49 | immolo | so now vista is pretty much looking like linux |
| 21:35.03 | bhima | Windows XP, I believe, does some nifty stuff with auto-reloading of device drivers that crash. |
| 21:35.17 | bhima | A friend of mine had his video driver crash. |
| 21:35.32 | immolo | so I guess blackcomb will probley just be the linux kernel with some ms tools |
| 21:35.33 | bhima | The monitor flickered, and then it auto-loaded a default VGA driver for his card. |
| 21:35.48 | immolo | heh, that's pretty cool |
| 21:35.57 | bhima | immolo: there's a _lot_ more to OS design than how much is in the kernel and how much is in userspace... |
| 21:36.19 | immolo | bhima, I never got much further then the boot loader :P |
| 21:36.30 | bhima | Removing the video stuff from kernelspace is really only a small simililarity. |
| 21:36.58 | immolo | I was talking about the user permissions |
| 21:37.14 | immolo | it's why you can only install NTFS on vista |
| 21:37.23 | immolo | no more admin account |
| 21:49.09 | immolo | how is gomunictor looking these days? |
| 21:49.59 | rob_w | ~larts immolo for having a typo in THAT name |
| 21:50.09 | rob_w | ~lart immolo for having a typo in THAT name |
| 21:50.57 | immolo | which is pretty bad seeing english is my native langauge and you can spell better then me :P |
| 21:51.34 | rob_w | i just thought about rearranging the visuals vice versa , so then we put a volume slider in the free space and connect the physical up/down to the mixers |
| 21:52.34 | immolo | nice |
| 21:53.00 | immolo | so then we could turn the volume off for the phone but keep it on for the pda |
| 21:54.28 | immolo | there are so many things I wish I could code for this device |
| 22:01.31 | cp15 | rob_w: Did you get the doc driver? |
| 22:03.07 | immolo | you can read the onboard storage now? |
| 22:03.33 | rob_w | they didnt had one ;-) |
| 22:04.17 | rob_w | gomunicator breaks on not knowing PATH_MAX ? |
| 23:13.32 | cp15 | immolo: I am working on a doc "shim" that allows a doc driver for an older motorola kernel to be loaded |
| 23:14.08 | cp15 | I can already get the partitions and with a userspace test program I can even read sectors |