00:00:00 --- log: started forth/08.09.09 00:14:48 --- quit: ASau` (Remote closed the connection) 00:19:31 --- join: ASau` (n=user@host3-231-msk.microtest.ru) joined #forth 00:22:16 --- quit: JasonWoof ("off to bed") 00:48:26 --- quit: ASau` (Read error: 110 (Connection timed out)) 00:53:33 --- join: ecraven (n=nex@140.78.42.107) joined #forth 01:27:18 --- quit: malyn ("Disconnecting from stoned server.") 01:27:31 --- join: malyn (n=malyn@unaffiliated/malyn) joined #forth 01:40:24 --- quit: proteusguy (Read error: 110 (Connection timed out)) 01:40:55 --- join: proteusguy (n=proteusg@ppp-124-120-227-19.revip2.asianet.co.th) joined #forth 02:05:48 --- quit: Myoma ("Leaving") 02:06:22 --- quit: BobFunk () 02:15:38 --- quit: aum ("Leaving") 02:26:44 --- join: Myoma (n=witch@amcant.demon.co.uk) joined #forth 03:04:41 --- join: ygrek (i=user@gateway/tor/x-2e838353d202abd2) joined #forth 03:35:49 --- quit: proteusguy (Read error: 110 (Connection timed out)) 03:36:39 --- join: proteusguy (n=proteusg@61.7.144.97) joined #forth 03:36:39 --- join: qFox (i=C00K13S@234pc222.sshunet.nl) joined #forth 03:41:04 --- join: BobFunk (n=mathiasc@57.pool85-61-93.dynamic.orange.es) joined #forth 03:49:36 --- quit: Myoma ("Leaving") 04:48:57 --- quit: qFox (Read error: 60 (Operation timed out)) 04:59:04 --- join: Myoma (n=witch@amcant.demon.co.uk) joined #forth 05:27:49 --- quit: BobFunk () 05:42:14 --- quit: ramkrsna ("Leaving") 05:55:43 --- join: ramkrsna (n=ramkrsna@unaffiliated/ramkrsna) joined #forth 06:03:20 --- quit: ygrek (Remote closed the connection) 06:05:17 --- join: ygrek (i=user@gateway/tor/x-7060ceafcc9a05ab) joined #forth 06:09:27 --- quit: ygrek (Remote closed the connection) 06:10:25 --- join: ygrek (i=user@gateway/tor/x-3236d8da6ccb6094) joined #forth 06:24:34 --- quit: ramkrsna (Remote closed the connection) 06:40:16 --- join: qFox (i=C00K13S@234pc222.sshunet.nl) joined #forth 06:45:00 --- quit: gnomon (Read error: 110 (Connection timed out)) 06:46:01 --- join: BobFunk (n=mathiasc@57.pool85-61-93.dynamic.orange.es) joined #forth 06:59:10 --- quit: ecraven ("bbl") 07:58:17 --- quit: BobFunk () 08:20:10 --- join: JasonWoof (n=jason@c-65-96-160-164.hsd1.ma.comcast.net) joined #forth 08:20:10 --- mode: ChanServ set +o JasonWoof 08:43:21 --- join: Ian_Daniher (n=it@69.61.230.246) joined #forth 08:43:57 I'm trying to work with forth in openfirmware to set some register values on an x86 system 08:44:30 I'm way over my head and horribly confused, but I've found some basic forth tutorials and therefor have rudimentary understanding of the language 08:44:58 is anyone familiar with forth/ofw/x86 and willing and able to assist me? 08:54:00 --- quit: aguai (Remote closed the connection) 08:54:27 I've used of before 08:54:31 never very good about it 08:54:41 what kind of system do you have? 08:54:51 I thought apple dropped OF when switching to x86 08:55:07 s/about/at/ 08:56:37 --- join: lasts_ (n=lasts@77.207.25.109) joined #forth 09:01:02 JasonWoof: heard of OLPC? 09:01:42 One Laptop Per Child designed, programmed, and is now distributing small x86 based laptops for ~200usd each 09:01:43 yes, I'd like to work for them 09:01:56 JasonWoof: small world :) 09:02:07 JasonWoof: I'm a volunteer with them, working on some hardware hacking 09:02:11 I called yesterday to see if they had job openings, but apparently they get way too many phone calls to answer their phone 09:02:15 nice 09:02:23 JasonWoof: what is it you'd like to do? 09:02:54 so I just sent in an application (this is yesterday... yes, small world :)) 09:03:30 I'd like to get paid to write free software that impacts the world 09:03:50 did you see http://laptop.org/en/jobs.shtml ? 09:04:47 there's not too many openings right now, but trust me, within a year, we'll be begging for hardware and low-level software engineers 09:04:59 oh dear, don't think I did. I looked at their job listings at fsf.org and sent them an e-mail 09:05:09 ah, well, no worries 09:05:16 do you know the name of the individual who you sent it to? 09:05:32 Kim Quirk, Richard Smith, Jim Gettys? 09:05:36 I sent it to jobs-software-engineer@ 09:05:41 ah, ok 09:06:04 anyway, I'm trying to enable the second USART on the XO's southbridge 09:06:09 most of the job descriptions I read for them sounded like GUI stuff 09:06:19 JasonWoof: yeah, atm they are mostly GUI stuff :/ 09:06:27 I haven't done much with drivers 09:06:48 I got my forth environment to boot, and run on top of openfirmware on my mac once 09:06:59 what do you like to work on? 09:07:26 but I enlisted the help of a friend/cousin to get USB keyboard support 09:08:23 anything I can get curious about really... left to my own devices I tend to write fractal renderers and forth IDEs and automate the boring parts of my day job (making websites) 09:08:33 and a million random things 09:08:40 sounds like me :) 09:08:41 I've started helping out at the gnash project 09:08:51 that's fun. 09:08:56 they sure could use the help ;) 09:09:09 I think as of this morning we've got it compatible with the openstreetmap.org editor (sans yahoo satalite pictures) 09:09:32 and just started making a little music player app 09:10:02 cool 09:10:20 I want a service that accepts ratings from users, and guesses from all that data what you might like, and then recommends Creative Commons (or other open) music for you to listen to 09:10:40 the player allows you to input your rating with one click, and has a prominent "save" button 09:10:59 well, it will if I finish it 09:11:11 so far I've only put one night of coding into it 09:11:57 * Ian_Daniher nods 09:12:02 so far I've made it so you can edit an SVG file of what the display looks like with the widgets and such and it makes a slew of .png files and a header file with #defines for all the coordinates 09:12:15 haven't actually written any of the C code yet though 09:15:10 mk 09:15:22 last time I used Gnash, it didn't support youtube, do you know what the status of the support is? 09:15:32 I had some interpersonal difficulties with a gnash team member, but I feel good now 09:15:44 it's supported youtube for a while now 09:15:52 We shipped it with the XO during the last GiveOne GetOne, and the lack of youtube support was a big problem 09:15:53 seems to actually work well now 09:16:07 grab from bzr and ./configure it to use ffmpeg not gstreamer 09:16:07 ok, I'll have to try it out 09:16:51 it's not perfect, eg you can't seek (last I tried) and you can't click to the next video (but since it displays all the same videos on the right, this isn't so bad) 09:17:02 ah, ok 09:17:10 but they play 09:17:44 I'm very happy to have gnash 09:17:55 I was so freakin' sick of having the adobe plugin crash firefox 09:18:44 olpc could also go the route apple went with the iphone: to have a custom app to play youtube 09:19:05 my nokia tablet has an app called "mytube" which has all the features I use of youtube.com without going to the site 09:19:14 it's got the search, related videos, etc 09:19:23 and it downloads everything 09:21:23 oh, cool 09:21:42 yeah, the iPhone will likely have a big impact on the design of the XO2 09:21:53 whether or not anyone will admit it, is another matter all together ;) 09:23:17 heh 09:27:59 So what is it you're trying to do with OpenFirmware? 09:29:32 tathi: http://pastebin.com/f74f7ca9c 09:31:13 hrm. Yeah, that's probably over my head. :( 09:31:39 I did PPC for too long; I haven't gotten all that familiar with x86 hardware again. 09:31:56 Is there documentation for the OLPC's OFW somewhere? 09:31:58 tathi: here's what I've been told: http://pastebin.com/f4d0ae123 09:32:37 I don't know how to apply it though, as my low-level knowledge is pretty much exclusively limited to AVRs 09:34:48 Did you try just applying the stuff you have in your first paste? 09:36:00 I don't know how "#MSR 0x51400014 - set bits 20:22 to 0x05 (I/O offset 0x2F8)" doesn't seem to jive with "54 3e9 pc!" 09:38:46 ah. no, it doesn't. 09:38:56 Do you know any Forth, or not really? 09:39:28 ok, let's see. 09:40:45 they're different things 09:41:04 pc! is for writing a byte to an I/O port 09:41:09 pl! writes a 32-bit value 09:41:20 and msr! stores a 64-bit value to an MSR 09:45:33 --- join: aguai (n=aguai@122-116-183-8.HINET-IP.hinet.net) joined #forth 09:46:31 Ian_Daniher: I'd be happy to help with forth, but I don't know what a UART is 09:46:49 JasonWoof: it's a low-level serial port 09:46:55 (TTL level voltages) 09:47:03 tathi: not really 09:47:16 sorry, I poofed to AFK for a second, but I've poofed back 09:47:17 actually switching the connections of the individual wires on the connector? 09:47:37 Ian_Daniher: most of us here are pretty intermittent 09:47:43 don't worry about that 09:48:11 JasonWoof: the registers in my first paste will allow the kernel to use a second USART / serial port 09:48:32 there's an "olpc.fth" script in /boot which is run on, well, boot 09:58:46 in the first paste, I don't understand the Offset 0x00 - set GPIO 4 hi stuff 09:58:58 but the MSR stuff seems fairly straightforward. 09:59:31 Probably you have to read the MSR, change the bits, and write it back. 10:01:11 * Ian_Daniher nods 10:01:14 that would make sense 10:02:05 a number ending with a decimal point is a double-cell (64-bit) number 10:02:13 And apparently the MSRs are 64-bit. 10:02:41 presumably there's also an MSR@ 10:06:48 so probably something like 'hex 51400014 msr@ swap 700000 invert and 500000 or swap 51400014 msr!' 10:07:00 does that make any sense? 10:07:24 64-bit numbers are on the stack with the most-significant cell on top, hence the swaps 10:07:43 ofw might have DAND and DOR or something, I dunno. 10:19:03 sheesh. You'd think they'd have a link to the svn repository somewhere. 10:37:32 http://www.openbios.org/viewvc/cpu/x86/pc/olpc/romreset.bth?view=markup&root=OpenFirmware&pathrev=315/5 10:43:06 tathi: was that intended to link to a python failure? 10:43:08 It dieded for me :( 10:43:25 http://www.openbios.org/viewvc/cpu/x86/pc/olpc/ is 404'ed, just so you know 10:44:21 huh. I just copied it out of my browser; I was looking at the page 10:44:57 Oh, now I'm getting a python exception 10:45:48 er...I don't know how the /5 got at the end. 10:45:51 that's not supposed to be there 10:46:55 And yeah, the url you gave would fail; viewvc needs the ?root=OpenFirmware 10:47:57 also note that that's an old revision; the UART2 code isn't in the current one. 10:50:05 Oh, it's still there, they just moved it to inituart.fth 10:54:39 you looking at http://pastebin.com/d222256df ? 10:55:26 yeah 10:55:39 looks like it's about the same stuff as Mitch told you, only in actual code 11:09:57 mhm 11:11:16 --- join: BobFunk (n=mathiasc@57.pool85-61-93.dynamic.orange.es) joined #forth 11:18:09 --- quit: BobFunk () 11:24:54 --- join: ecraven (n=nex@plc31-103.linzag.net) joined #forth 11:25:40 --- quit: aguai (Read error: 104 (Connection reset by peer)) 11:50:35 --- join: BobFunk (n=mathiasc@57.pool85-61-93.dynamic.orange.es) joined #forth 12:19:18 --- quit: BobFunk () 12:36:12 --- quit: ecraven ("bbl") 12:41:16 --- join: aguai (n=aguai@122-116-183-8.HINET-IP.hinet.net) joined #forth 12:57:16 --- quit: Cygal (Read error: 110 (Connection timed out)) 13:19:13 --- join: forther (n=forther@207.47.34.100.static.nextweb.net) joined #forth 13:40:59 --- quit: forther ("Leaving") 14:00:41 --- quit: aguai (Read error: 110 (Connection timed out)) 14:18:01 --- join: aum (n=aum@60-234-243-247.bitstream.orcon.net.nz) joined #forth 14:26:32 --- quit: ygrek (Remote closed the connection) 14:50:04 --- join: grfrblshntz (n=smee@68-191-176-167.dhcp.stpt.wi.charter.com) joined #forth 14:52:43 --- join: aguai (n=aguai@122-116-183-8.HINET-IP.hinet.net) joined #forth 14:55:11 --- quit: grfrblshntz ("Bye") 15:00:24 --- quit: qFox (Read error: 104 (Connection reset by peer)) 15:11:09 --- quit: aguai (Read error: 104 (Connection reset by peer)) 15:15:19 --- join: aguai (n=aguai@122-116-183-8.HINET-IP.hinet.net) joined #forth 15:36:07 --- join: Mushbills (n=Ishmali@ip-77-24-63-86.web.vodafone.de) joined #forth 16:34:41 --- quit: ASau (Read error: 113 (No route to host)) 16:56:08 --- quit: nighty^ (Connection reset by peer) 16:56:35 --- join: nighty^ (n=nighty@x122091.ppp.asahi-net.or.jp) joined #forth 17:31:06 --- quit: tathi ("leaving") 17:48:22 --- join: nighty__ (n=nighty@210.188.173.246) joined #forth 18:40:07 --- quit: uiu (Read error: 104 (Connection reset by peer)) 18:47:02 --- quit: Ian_Daniher ("Mer?") 22:43:37 --- join: BobFunk (n=mathiasc@64.pool85-54-175.dynamic.orange.es) joined #forth 22:49:56 --- quit: JasonWoof ("bed") 22:52:54 --- quit: BobFunk () 23:35:54 --- join: ecraven (n=nex@140.78.42.107) joined #forth 23:43:38 --- quit: proteusguy (Read error: 110 (Connection timed out)) 23:44:14 --- join: proteusguy (n=proteusg@61.7.144.97) joined #forth 23:49:07 --- join: qFox (i=C00K13S@132pc222.sshunet.nl) joined #forth 23:56:32 --- join: ygrek (i=user@gateway/tor/x-2ec832cc8977dfc7) joined #forth 23:59:59 --- log: ended forth/08.09.09