00:01:34 | Russ|werk | SA-1110.h lays it all out pretty clear for a quick ref |
00:02:13 | prpplague | looks |
00:08:36 | prpplague | Russ|werk: i don't have a SA-1110.h in my kernel, is that part of a patch? |
00:09:11 | Russ|werk | er, try SA-1100.h |
00:09:21 | prpplague | ohh |
00:09:50 | Russ|werk | writing an email filter is fun |
00:10:06 | Russ|werk | "there's a CR in the header field, outlook express chokes, mother it" |
00:10:41 | Russ|werk | also, if a \r\n..\r\n crosses packet boundries between the .'s, outlook express will think the pop server signaled end of email |
00:10:50 | Russ|werk | and then you can't get your email |
00:11:20 | Russ|werk | both, along with dozens of other DoS and buffer overflow exploits are out there with no fix |
00:11:23 | prpplague | doh |
00:15:47 | prpplague | Russ|werk: can you explain something about the SA-1100.h , the only gpio's associated with irq's listed there are 0-10, but erikm said 11-27 |
00:17:03 | BZFlag | erikm: yep. thanx. /me feels like a hardware designer. |
00:18:04 | prpplague | BZFlag: mind if i ask what spawned you question? |
00:18:09 | BZFlag | 11-27 all share one irq bit. |
00:18:29 | BZFlag | vercel http://www.vercel.com/ hardware folk asking me questions. |
00:18:46 | BZFlag | right now they have power buttons mapped to gpio26. this is not a good idea. |
00:19:00 | erikm | BZFlag: definatively not |
00:19:07 | BZFlag | power button(s) should map to some non-shared irq. |
00:19:32 | BZFlag | so I told em so. ;-) |
00:19:42 | prpplague | BZFlag: else events on the other gpios could be interepted as a power down? |
00:19:52 | BZFlag | erikm: want to review the schematics under a verbal NDA for me? |
00:20:01 | BZFlag | prpplague: exactly. |
00:20:22 | BZFlag | prpplague: well... actually it's the power up I'm worried about. |
00:20:30 | prpplague | BZFlag: mind if i write up a note on that? |
00:20:43 | BZFlag | knock yourself out. |
00:20:55 | BZFlag | grins |
00:21:28 | erikm | BZFlag: actually... I want to go to sleep... |
00:21:31 | prpplague | BZFlag: you'd be surprised how simple questions like that can be hard to find docs on |
00:22:13 | BZFlag | erikm: I could mail em to ya to review when you get a chance. |
00:23:25 | Russ|werk | BZFlag: I'll do a quick review if you like |
00:24:00 | BZFlag | Russ|werk: cool. I copy you. |
00:24:01 | erikm | BZFlag: ok, send them by email. I'll have a look at them on sunday |
00:24:21 | BZFlag | email will have some known issues that are being changed in the next rev. |
00:24:31 | BZFlag | I expect a new rev in less than a week. |
00:25:15 | BZFlag | "I copy you" wow. I guess I can't think and type. I meant "I'll copy you" which you probably guessed. |
00:25:29 | Russ|werk | prpplague: sorry, I meant arch-sa1100/irqs.h |
00:26:08 | BZFlag | Russ|werk, erikm: either of you have SD/MMC designs? If so how did you attach them? |
00:27:06 | prpplague | Russ|werk: there is also info there in the SA-1100.h file |
00:27:38 | BZFlag | They are thinking of using the SPI mode on the uart. hmm.. 0 or 1? checking... |
00:28:17 | BZFlag | 1 iirc. |
00:28:56 | BZFlag | nope. I was wrong. it's 0 =( |
00:30:03 | prpplague | Russ|werk: from SA-1100.h - #define IC_GPIO11_270x00000800/* GPIO [11:27] |
00:30:29 | Russ|werk | ah, well, irqs.h is another good source for info anyway |
00:30:43 | Russ|werk | BZFlag: what verbal NDA do you want? |
00:30:50 | erikm | BZFlag: what do you mean with SD design? |
00:31:30 | BZFlag | Russ|werk: you need to say "I won't pass this on to anyone without asking" ;-) |
00:31:52 | Russ|werk | ok, I will not pass this on to anyone without asking |
00:31:52 | BZFlag | sa11xx systems with a SD/MMC slot. |
00:32:03 | BZFlag | Russ|werk: that will do. ;-) |
00:32:33 | Russ|werk | oops, evolution has a vunerability in common with outlook |
00:33:04 | erikm | BZFlag: ah, right. IIRC Steve Wiseman's balloon2 board has that |
00:33:14 | Russ|werk | oh, nm, my asu.edu email servers fixed the email for me |
00:34:18 | Russ|werk | a incorrect fix, but fixed none the less |
00:34:20 | erikm | goes zzz |
00:34:22 | erikm | bye |
00:34:28 | prpplague | bye |
00:46:47 | prpplague | http://www.abcsinc.com/small-linux/gpio-irqs.txt |
00:46:55 | prpplague | BZFlag: check that out |
00:47:06 | prpplague | Russ|werk: you too |
00:47:22 | prpplague | see if there is anything i need to add or is incorrect |
00:50:41 | prpplague | Russ|werk: looks like everything is set on the camion, it should go out monday or tuesday |
00:52:35 | Russ|werk | cool |
00:52:45 | Russ|werk | hmm...something is eating my memory... |
00:54:54 | prpplague | Russ|werk: parana app? |
00:55:23 | prpplague | Russ|werk: you look over the gpio doc? |
00:56:59 | Russ|werk | it was galeon, one sec |
00:59:44 | Russ|werk | you might mention something briefly about GPLR, GPDR, GPSR, GPCR, and GAFR |
01:00:06 | prpplague | will do |
01:00:11 | Russ|werk | and how for each GPIO there is a bit mask, a number, and an IRQ number associated with it |
01:01:03 | prpplague | hmm, your right, i didn't explain that well |
01:19:44 | Russ|werk | also, gives gpio 11-27 an chained irq number |
01:19:53 | Russ|werk | s/ gives/linux gives/ |
01:20:03 | Russ|werk | #defineIRQ_GPIO1132 |
01:20:03 | Russ|werk | #defineIRQ_GPIO1233 |
01:20:03 | Russ|werk | ... |
01:20:27 | prpplague | yes i saw that, but i'm not sure how that is used |
01:20:34 | Russ|werk | when you register it |
01:20:46 | Russ|werk | there are a lot of steps you go though |
01:21:12 | Russ|werk | GFAR, GPDR, set the edge, register the IRQ (I think thats right) |
01:21:58 | prpplague | GFER and GPDR, ok |
01:22:00 | Russ|werk | GFAR and GPDR take the mask, setting the edge might take the gpio or the irq, I forget which, and registering it takes the irq number |
01:22:36 | prpplague | ok i'm with ya |
01:23:19 | Russ|werk | request_irq and set_GPIO_IRQ_edge |
01:23:57 | Russ|werk | (see arch/arm/mach-sa1100/irq.c) |
01:28:04 | prpplague | Russ|werk: oh i see now, each GPIO has its own irq defined however, irq_gpio11 through irq_gpio27 only triger irq_gpio11_27 |
01:28:48 | Russ|werk | right, but it gets propogated to the right irq handler |
01:29:13 | prpplague | Russ|werk: gotcha |
01:29:34 | Russ|werk | sa1100_GPIO11_27_demux() |
01:33:04 | prpplague | so after resceiving a irq_gpio11_27 the demux() polls each of the 11-27 gpios? |
01:40:48 | prpplague | wb |
01:40:58 | prpplague | did you get my last question? |
01:44:19 | Russ|werk | take a quick look at arch/arm/mach-sa1100/irq.c |
01:45:04 | prpplague | Russ|werk: ya thats where i'm looking |
01:46:08 | prpplague | for (i = 11; i <= 27; ++i) { |
01:46:08 | prpplague | if (irq & (1<<i)) { |
01:46:08 | prpplague | do_IRQ(IRQ_GPIO11 + i - 11, regs); |
01:46:08 | prpplague | } |
01:46:08 | prpplague | } |
01:52:17 | russ_ | just goes through, and sees what irq's need servicing |
01:53:08 | prpplague | thats what i thought |
02:02:23 | | Test Failed! |
02:02:23 | BZFlag | ibot test |
02:02:26 | | Test Successful! |
02:02:26 | BZFlag | ibot test |
02:02:29 | BZFlag | heh |
02:03:27 | | Russ|werk: excuse me? |
02:03:27 | Russ|werk | ibot: go test yourself |
02:03:40 | Russ|werk | brb |
02:06:11 | prpplague | Russ|werk: http://www.abcsinc.com/small-linux/gpio-irqs.txt |
02:06:30 | prpplague | Russ|werk: i'll work on the control registers info a little more tomorrow |
02:06:48 | prpplague | Russ|werk: but i think i got things strait |
02:07:12 | prpplague | BZFlag: you welcome to add any additional info too |
02:09:22 | prpplague | russ_: having problems? |
02:11:52 | russ_ | testing stuff |
02:11:59 | prpplague | ohh |
02:12:24 | prpplague | russ_: well thanks for the 101 clas |
02:12:27 | prpplague | clas |
02:12:29 | russ_ | brb again |
02:12:48 | prpplague | BZFlag: and thanks for the question |
02:15:22 | prpplague | russ__: holy cow its russ, long time no see |
02:17:45 | russ_ | last time |
02:18:43 | prpplague | round n round he goes, where he'll no body knows |
02:18:57 | prpplague | argh too much coffee |
02:20:47 | russ_ | or not...going to just disconnect for a bit to avoid bugging people |
02:21:12 | prpplague | ohh well |
02:23:06 | prpplague | BZFlag: i'm out of here, thanks again, i know a guru like you don't need them much, but i've start collecting notes here - http://www.abcsinc.com/small-linux/notes.htm |
02:26:32 | BZFlag | nice, I'll browse sometime. |
02:31:29 | prpplague | later |
06:23:32 | Russ | BZFlag: can you put that pdf up again? |
06:37:33 | Russ | er, nm |
06:45:01 | prpplague | Russ: should you be out at some college party or something? |
07:14:32 | Russ | watching movie with girl |
07:15:29 | prpplague | cat attention > /dev/gf |
07:36:28 | prpplague | wb BZFlag |