00:00.29 | sorphin | kergoth: does a stock Z have any telnet server to enable? |
00:00.44 | kergoth | probably. edit inetd.conf |
00:00.46 | kergoth | or just install ssh |
00:01.33 | sorphin | kergoth: heh, i gotta install ppp 1st :P since the only thing that does ppp around here is my TS |
00:01.53 | kergoth | heh |
00:01.56 | kergoth | use usb networking |
00:02.11 | sorphin | heh |
00:02.16 | sorphin | *that* ive never done :P |
00:02.41 | sorphin | got some sort of FM to RT somewhere? :P |
00:02.50 | kergoth | doc.zaurus.com |
00:04.02 | sorphin | heh |
00:04.03 | sorphin | Alert!: Unable to connect to remote host. |
00:04.43 | sorphin | We're sorry, the website you have reached is no longer in service. Please check the url and try again. This is a recording. :P |
00:05.01 | kergoth | heh |
00:05.03 | kergoth | docs.zaurus.com then maybe |
00:05.05 | kergoth | i forget |
00:05.20 | sorphin | ya |
00:05.22 | sorphin | that's it |
00:06.32 | kergoth | you mean dont call it zaurus, just the Z? |
00:06.34 | kergoth | heh |
00:07.17 | sorphin | ya |
00:07.26 | sorphin | hey, that's what we mostly call it :P |
00:07.44 | sorphin | then you can have openz :P |
00:07.45 | kergoth | yeah |
00:07.55 | kergoth | then we just ditch openzaurus and call it oz |
00:08.00 | kergoth | welcome to oz |
00:08.51 | sorphin | :) |
00:10.45 | Russ | 'S3C2500 has a stuff to think about with arbiter operation.' |
00:15.15 | sorphin | Russ: huh ? |
00:18.05 | kergoth | heh |
00:18.18 | Russ | thats what I said |
00:18.38 | sorphin | Russ: where in the world did that come from ? |
00:35.33 | Russ | samsung manual for an arm processor |
00:36.42 | sorphin | ah |
00:39.46 | kergoth | grr |
00:40.44 | sorphin | kergoth: hmm? |
00:41.53 | kergoth | opie launcher is segfaulting on my c700 :\ |
00:42.27 | sorphin | doh |
00:42.34 | sorphin | kergoth: blame that shitty xscale ;) |
01:02.13 | mastermnd | If anyones interested, I just noticed a webpal/tuxscreen keyboard on ebay: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=3409382822&category=15389 |
01:04.41 | kergoth`bbl | sorphin: you can use one of those keyboards on your Z you know |
01:04.42 | mastermnd | Yeah, I figured everyone here probably has at least a few, but maybe it'll help someone. |
01:04.43 | kergoth`bbl | sorphin: :) |
01:05.45 | sorphin | kergoth`bbl: heh |
01:05.51 | sorphin | kergoth`bbl: how? :P |
01:07.33 | sorphin | mastermnd: what i like is the webpal's remote |
01:08.53 | mastermnd | sorphin: I dunno, don't have a webpal. |
01:16.36 | chouimat | sorphin: I like the feel of the webpal keyboard |
01:16.45 | sorphin | nod |
01:18.48 | mastermnd | I just wish the left-ctrl key was in the right place.. and it needs a delete key. |
01:20.34 | *** join/#elinux TimRiker (~timr@66.147.151.194) |
01:22.09 | sorphin | TimRiker: evening |
01:22.42 | *** join/#elinux Sammy (~sam@210.241.233.74) |
01:50.25 | sorphin | heh |
02:05.09 | CosmicPenguin | mmm... pasta en forno |
02:12.00 | sorphin | CosmicPenguin: which is? |
02:12.18 | CosmicPenguin | sorphin: literally - baked pasta |
02:17.28 | *** join/#elinux TheMasterMind1 (foobar@h-68-166-72-162.MCLNVA23.covad.net) |
02:17.58 | sorphin | CosmicPenguin: ah |
02:29.16 | sorphin | yay |
02:34.52 | CosmicPenguin | yeah doggy - its ready |
02:59.07 | sorphin | kergoth: yo |
02:59.20 | kergoth | hey |
02:59.22 | sorphin | Linux localhost 2.4.6-rmk1-np2-embedix |
02:59.26 | sorphin | that tell you anything? :) |
02:59.43 | kergoth | you got into the z eh |
02:59.47 | sorphin | ya |
03:00.20 | sorphin | after rebooting the Z once i had to fight w/ the damn usb networking to get the Z to respond again to dhcp etc |
03:00.40 | sorphin | kergoth: any hints on where i need to mmap? |
03:00.58 | kergoth | hold |
03:01.00 | sorphin | k |
03:01.24 | kergoth | /usr/src/corgi$ cat build/tslib/plugins/collie.c |grep FLASH_MEM|grep define |
03:01.24 | kergoth | #define FLASH_MEM_BASE 0xFFC000 |
03:01.31 | kergoth | thats the base of the flash |
03:01.48 | kergoth | i have a module here which mmap's flash to retreive magic numbers for a ts transform |
03:01.51 | kergoth | its a tslib module |
03:01.59 | kergoth | the principle is of course the same, just need to write to the correct place |
03:02.15 | sorphin | yeah |
03:02.24 | kergoth | take a look at the sa1100 mtd map c file in the Z kernel sources |
03:02.27 | kergoth | it has the flash partiioning |
03:02.30 | kergoth | partitioning rather |
03:03.46 | sorphin | yeah yeah i know.. i'm so demanding ;) |
03:03.54 | kergoth | slacker |
03:03.55 | kergoth | email addy? |
03:04.04 | sorphin | dans@captainrock.com |
03:04.24 | sorphin | kergoth: send that module for a ref too? |
03:04.29 | kergoth | will do |
03:04.32 | sorphin | thanks |
03:04.56 | kergoth | i'll send arch/arm/mach-sa1100/collie.c as well, which has the static memory map w/ the flash base address i used to create the tslib module |
03:05.00 | kergoth | cool |
03:05.05 | sorphin | k |
03:06.16 | sorphin | heh |
03:06.40 | sorphin | <PROTECTED> |
03:06.46 | kergoth | ah yeah |
03:06.47 | kergoth | forgot about that |
03:07.08 | kergoth | not much else you need then. you have the base address, and now you know the offset to the partition in question |
03:07.13 | kergoth | i'll email you the tslib module |
03:07.46 | sorphin | theDevil-: size erasesize name |
03:07.46 | sorphin | mtd0: 01000000 00020000 "mtdrom" |
03:07.49 | sorphin | damn bx |
03:07.53 | kergoth | hmm |
03:07.58 | kergoth | oh right, sharp rom |
03:08.00 | kergoth | its partitioning sucks |
03:08.01 | sorphin | yeah |
03:08.04 | sorphin | yup |
03:08.05 | kergoth | i'll email you mine |
03:08.45 | sorphin | still recommend the 40/24 ? |
03:08.48 | kergoth | up to you |
03:08.54 | kergoth | i have a 64mb sd card that i install my apps to |
03:08.56 | kergoth | so i run 64/0 |
03:09.00 | sorphin | nod |
03:09.19 | sorphin | those 256M MMC cards are running ~$80 on ebay, and 128's are still 45 on pricewatch |
03:09.26 | sorphin | so i'll be getting a good price |
03:10.31 | *** join/#elinux scanline (micah@aden2-42-dhcp.resnet.Colorado.EDU) |
03:10.32 | kergoth | sent. |
03:11.01 | sorphin | so i see |
03:11.04 | sorphin | "collie" stuff |
03:11.08 | kergoth | yeh |
03:11.47 | sorphin | hmm |
03:11.55 | sorphin | 137 bogomips |
03:12.46 | kergoth | the tslib module is ugly, but does get the values from flash. I still need to figure out how to reproduce the conversion to float, then cut back to int that results in the values i need |
03:12.59 | kergoth | previously it was done in kernel space (in 2.4.6.. this is for 2.4.19) |
03:13.17 | kergoth | shit accessed functions in nwfpe directly |
03:13.18 | kergoth | heh |
03:14.27 | kergoth | sorphin: check this |
03:14.28 | kergoth | <PROTECTED> |
03:14.28 | kergoth | <PROTECTED> |
03:14.35 | kergoth | ^^ wtf do i do with that? |
03:14.37 | kergoth | heh |
03:15.12 | kergoth | i tried the obvious.. int blah = x_slope * (float)TS_OFFSET |
03:15.14 | kergoth | no such luck |
03:15.41 | *** part/#elinux GPSFan (~kenm@65.114.238.130) |
03:16.10 | *** mode/#eLinux [+o TimRiker] by ChanServ |
03:16.15 | sorphin | kergoth: umm.. shoot the person who wrote that? |
03:16.19 | sorphin | kergoth: or ask tim ;) |
03:16.25 | kergoth | or shoot tim |
03:16.28 | kergoth | ;) |
03:16.30 | kergoth | hey TimRiker, whats goin on |
03:16.34 | TimRiker | huh? what? /me runs away |
03:16.43 | kergoth | oh just cursing lineo code |
03:16.49 | sorphin | ;) |
03:16.54 | kergoth | <PROTECTED> |
03:16.54 | kergoth | <PROTECTED> |
03:17.16 | TimRiker | what is that from? touch screen stuff? |
03:17.21 | kergoth | yep |
03:17.23 | sorphin | yup |
03:17.32 | kergoth | TimRiker: trying to move that transform into userspace |
03:17.36 | kergoth | TimRiker: any ideas? |
03:17.44 | kergoth | i dislike kernel code that touches floats |
03:18.16 | chouimat | float in kernel code???? |
03:18.19 | scanline | Is that code for setting the calibration or transforming raw values into coordinates? |
03:18.33 | kergoth | scanline: the latter |
03:18.43 | kergoth | raw transofrm based on magic values stored in flash |
03:18.45 | scanline | why would it need float for that? |
03:18.56 | kergoth | because the values in flash are these huge useless values |
03:19.06 | kergoth | it mlultiplies by 0x10000 and truncates back to int |
03:19.09 | kergoth | results in something useful |
03:19.10 | scanline | are you sure it's IEEE float? |
03:19.22 | kergoth | dont ask me man, its calling nwfpe functions directly |
03:19.25 | chouimat | kergoth: it's like using C++ andSTL in a micro kernel |
03:19.59 | scanline | kergoth: what data type is x_slope? |
03:20.07 | kergoth | int |
03:20.11 | scanline | ah |
03:20.29 | scanline | try using *(float*)&x_slope |
03:20.50 | scanline | to force it to use that as a float without the usual conversion from int |
03:21.02 | TimRiker | eek |
03:21.27 | kergoth | scanline: you're evil. i like that. |
03:21.30 | TimRiker | I'd add some printk's to dump the values myself. just to check the ranges. |
03:21.50 | CosmicPenguin | kergoth: why even bother? Just pass the raw values to userland and deal with em there |
03:21.52 | kergoth | i have the raw values both before and after that calculation |
03:21.52 | scanline | kergoth: well, if that works I'd suggest making that variable a float and doing the cast when you read it :) |
03:21.59 | chouimat | wow template <interrupt> { ... |
03:22.09 | TimRiker | *32_to_*32 should be doing a conversion, not just a type cast. |
03:22.19 | kergoth | it does |
03:22.32 | scanline | TimRiker: the original code doesn't do the conversion for x_scale though, indicating it's already an IEEE float stuffed into an int |
03:22.56 | scanline | if that's true, you'd need to suppress the automatic conversion when doing normal C float math |
03:23.18 | kergoth | oh i see, because its passing an unconverted x_slope to the _mul |
03:23.23 | scanline | yep |
03:23.24 | kergoth | i'll give it a shot |
03:24.12 | kergoth | CosmicPenguin: because it seems these stored values in flash (which vary between units) result in more sane coordinates |
03:24.17 | TimRiker | hmm... it ought to get promoted by the compiler. |
03:24.27 | CosmicPenguin | kergoth: grrrr.... |
03:24.34 | kergoth | CosmicPenguin: yeah, i'll second that |
03:24.54 | scanline | TimRiker: the compiler will do a proper int to float conversion, whereas what I think we want is to treat that same sequence of bytes as a float without converting it |
03:24.54 | CosmicPenguin | kergoth: even with the advanced tslib math? why would the stored values be any better? |
03:25.19 | kergoth | CosmicPenguin: havent tested it without this, maybe its unnecessary |
03:25.44 | kergoth | i assumed that it existed at all indicates it ahd a purpose |
03:25.44 | TimRiker | scanline: I'm not sure that's true. |
03:26.01 | scanline | TimRiker: me neither, it's just a guess based on looking at the code kergoth pasted |
03:26.12 | kergoth | TimRiker: any ideas? |
03:26.17 | CosmicPenguin | kergoth: well, back about a year and a half ago, everyone thought that kernel calibration was peachy keen |
03:26.21 | TimRiker | CosmicPenguin: there is a built in calibration app that is supposed to be run at the factory. I presume it updates those values. |
03:26.33 | CosmicPenguin | TimRiker: ahh - and the flash is only accessable by the kernel then? |
03:26.39 | kergoth | no |
03:26.43 | CosmicPenguin | uhhh... |
03:26.44 | CosmicPenguin | Ok |
03:26.56 | kergoth | thats just where they had the transform |
03:27.01 | kergoth | in kernel |
03:27.08 | kergoth | i'm attempting to move it to a raw tslib module |
03:27.18 | kergoth | (which is now possible) |
03:27.23 | TimRiker | the user space app could read the same values and do the conversion. just need to change all gui apps to use the same lib. (/me sounds like rmk now) |
03:27.30 | kergoth | that is, a module that affects all reads, including ts_read_raw |
03:27.36 | kergoth | TimRiker: bingo |
03:27.40 | kergoth | thats exactly what i'm doing |
03:27.42 | CosmicPenguin | TimRiker: thats not a bad thing - thats what PicoGUI does, and thats what Microwindows now does |
03:28.06 | kergoth | but i need to figure out what to do with this value i read from flash :) |
03:28.06 | TimRiker | yeah... /me has heard rmk rant about it countless times. |
03:28.17 | kergoth | hehe, i bet |
03:28.26 | *** join/#elinux gatofisch (~trillian@eastquad-170-211.reshall.umich.edu) |
03:29.03 | kergoth | scanline: i'll give your idea a shot next time i flash my Z w/ 2.4.19. thanks. |
03:29.06 | TimRiker | my bet is that the value in flash is an it. make sure you promote to float before doing the math. |
03:29.12 | scanline | kergoth: hope it works |
03:29.36 | kergoth | TimRiker: I read it as an int, tried int blah = x_slope * (float) TS_OFFSET; .. tried numerous variations on that theme |
03:29.44 | scanline | TimRiker: if it was an int, why didn't the original code use int32_to_float32? |
03:29.47 | kergoth | the values are nowhere near where they are after that in kernel calculation |
03:34.50 | TimRiker | scanline: no idea, but the compiler should do the promotion. check the prototype for the mul and see if it takes a float. |
03:35.33 | kergoth | float32 float32_mul( float32, float32 ); |
03:35.40 | TimRiker | hmm. |
03:35.40 | scanline | I thought the whole point of those functions was that compiler-provided floating point math isn't available in the kernel? |
03:35.45 | kergoth | typedef unsigned long int float32; |
03:35.46 | kergoth | ^^ |
03:35.51 | kergoth | scanline: bingo |
03:35.56 | scanline | if the compiler could promote it, int32_to_float32 wouldn't be necessary anyway |
03:35.57 | TimRiker | wild. |
03:36.03 | kergoth | yep |
03:36.04 | kergoth | exactly |
03:36.12 | kergoth | fun stuff. |
03:36.14 | scanline | but the fact that it's used for TS_OFFSET and not for x_slope indicates that x_slope is an IEEE float stuffed into an int |
03:36.48 | TimRiker | how does one stuff an IEEE float into an int? |
03:37.04 | kergoth | have i mentioned how much I hate the collie and corgi and poodle lineo kernel code yet today? |
03:37.04 | scanline | they're both 32 bits |
03:37.26 | scanline | in this case at least |
03:37.28 | TimRiker | hmm. /me thought IEEE was 6 bytes... goes to look... |
03:37.39 | scanline | float is 4 bytes, double is 8 bytes IIRC |
03:38.04 | scanline | 6 bytes would really be asking for trouble on 32-bit machines :) |
03:38.16 | sorphin | yup ;) |
03:38.24 | TimRiker | ah! yes. single precision is 32 bits. |
03:38.41 | scanline | it sounds like the casting trick ought to work |
03:38.51 | kergoth | yep, theoretically |
03:39.00 | scanline | though it would make more sense to use a float for x_scale, and do the funny casting when copying from flash to that variable |
03:39.06 | kergoth | yep |
03:39.15 | TimRiker | agreed |
03:39.49 | *** join/#elinux gonkulator (~brandon@h-66-167-168-33.DNVTCO56.covad.net) |
03:39.50 | kergoth | heh |
03:40.31 | *** part/#elinux gonkulator (~brandon@h-66-167-168-33.DNVTCO56.covad.net) |
03:41.44 | kergoth | <PROTECTED> |
03:41.47 | kergoth | <PROTECTED> |
03:41.53 | kergoth | that oughtta do |
03:42.25 | kergoth | sorphin: get the kernel location nailed down? |
03:43.10 | sorphin | kergoth: sorting through this mess ;) |
03:43.21 | kergoth | hehe |
03:44.45 | sorphin | kergoth: shouldn't it just be monitor + size of monitor + MTDPART_OFS_APPEND + size + MTDPART_OFS_APPEND + size ? or something like that |
03:45.18 | kergoth | less complecated than that |
03:45.22 | kergoth | hold on |
03:46.28 | sorphin | kergoth: it usually is ;) |
03:46.43 | kergoth | flash base + angel size + cf updater size + diags size should be sufficient |
03:46.50 | kergoth | i'd mmap the location, read the data and confirm its a kernel |
03:46.54 | kergoth | if so, write the new one there |
03:47.43 | sorphin | k |
03:48.05 | sorphin | and the initrd ? |
03:48.15 | kergoth | + kernel size |
03:48.22 | sorphin | k |
03:48.31 | kergoth | its not really an initrd anyway, its the jffs2 rootfs |
03:48.33 | kergoth | stupid naming |
03:48.37 | kergoth | but it immediately follows kernel |
03:48.39 | sorphin | kergoth: either or |
03:48.40 | kergoth | hey tomw |
03:48.49 | TomW | hello |
03:48.50 | sorphin | TomW: evening mr walsh |
03:49.06 | kergoth | ugh, headache |
03:49.15 | sorphin | kergoth: math does that ;) |
03:49.16 | TomW | kergoth: I've had one all day |
03:49.22 | kergoth | its a monday |
03:49.26 | kergoth | what else is new |
03:51.23 | TomW | #$!$#!$ Acrobat won't send files to the printer. |
03:51.45 | sorphin | TomW: you'd love the fun i have printing that kinda stuff :P |
03:52.25 | TomW | I can print it if I print to a file, then run the gimp and print it from there.. |
03:53.33 | sorphin | heh |
03:54.36 | sorphin | ummmm |
03:54.46 | sorphin | oh, also use rtel |
03:55.06 | chouimat | sorphin: and 120V |
03:55.33 | sorphin | chouimat: unless you're monmotha ;) |
03:55.43 | MonMotha | come again? |
03:56.33 | sorphin | MonMotha: you don't have 120v ;) |
03:56.46 | MonMotha | yes I do |
03:56.52 | TomW | grrrr |
03:57.00 | sorphin | since when did you voltage become normal? :P |
03:57.26 | MonMotha | sorphin: ah, I see what you mean |
03:57.33 | MonMotha | let me check what the power in my home is right now |
03:59.41 | MonMotha | note to self: get a meter that doesn't suck |
04:00.00 | sorphin | hehe |
04:00.11 | sorphin | TrueRMS |
04:00.14 | MonMotha | 122.5V |
04:00.26 | sorphin | wow |
04:00.31 | sorphin | that's.... close |
04:00.36 | MonMotha | for me? yeah |
04:00.39 | sorphin | yup |
04:00.48 | scanline | does it measure frequency too? :) |
04:00.53 | sorphin | scanline: mine? |
04:00.54 | sorphin | yes |
04:00.55 | sorphin | and temp |
04:00.57 | sorphin | and caps |
04:01.00 | sorphin | and transistors |
04:01.04 | scanline | inductors? |
04:01.26 | sorphin | scanline: inductors are the only thing it doesn't measure.. tho i've never came across a meter that did |
04:01.47 | scanline | I should get around to building an inductance meter one of these days so I can wind my own inductors :) |
04:02.17 | sorphin | scanline: what i hate is when i have something that uses caps smaller than my meter can handle |
04:02.47 | scanline | :) |
04:03.04 | scanline | I have a really cheapo meter, but it does capacitance and diode check |
04:03.33 | MonMotha | mine does VDC, VAC, Diode Check, Resistance/Continuity |
04:03.52 | MonMotha | I need to get a good analog one tho |
04:04.15 | MonMotha | you know, that's pathetic |
04:04.28 | MonMotha | the army national guard commericals are in spanish |
04:04.32 | MonMotha | here at least |
04:05.56 | sorphin | this one cost me $80 few years ago |
04:06.02 | sorphin | it's survived everything |
04:06.22 | sorphin | i did have to repair the dial tho, it lost it's clickability, was easy |
04:07.43 | scanline | http://blinkenlights.sourceforge.net/images/yoshi/im000449.jpg |
04:08.26 | sorphin | scanline: heh, i need a scope |
04:08.33 | sorphin | too pricey for me tho |
04:09.05 | scanline | I've had this one for ages.. my dad got it at a garage sale for a couple hundred |
04:10.28 | sorphin | can never find my damn real calc |
04:10.41 | MonMotha | I should probably get a scope too...though a half-way decent meter would be nice first |
04:12.14 | TomW | yah, a fluke |
04:13.23 | TomW | I've got a Fluke 8021 meter and a Tektronixs 565 scope. We are state-of-the-art here, circa 1980. |
04:13.40 | sorphin | TomW: hey, if it works.. |
04:13.43 | sorphin | that's all that counts |
04:14.20 | TomW | scope wiggles, although I have to pull the shades to see the high speed stuff. |
04:15.42 | sorphin | ok |
04:15.46 | sorphin | someone check this for me :P |
04:15.54 | sorphin | 0xffc00000+0x00020000+0x00020000+0x00080000 = 0xffcc0000 |
04:16.24 | scanline | >>> "0x%08X" % (0xffc00000+0x00020000+0x00020000+0x00080000) |
04:16.24 | scanline | '0xFFCC0000' |
04:16.29 | scanline | python :) |
04:16.40 | kergoth | FFC00000 + 00020000 + 00020000 + 00080000 |
04:16.40 | kergoth | FFCC0000 |
04:16.43 | kergoth | bc :) |
04:16.54 | sorphin | kergoth: heh, i couldn't get bc to do it worth a damn |
04:17.04 | kergoth | sorphin: no 0x, chars must be uppercase |
04:17.13 | kergoth | and you need to set ibase and obase properly |
04:17.19 | sorphin | kergoth: ah, yeah, did the base bit |
04:17.25 | sorphin | kergoth: btw.. that's the kernel start point ;) |
04:18.17 | kergoth | fun |
04:18.26 | kergoth | now read it and see if you get a kernel out of it |
04:18.27 | kergoth | :) |
04:19.14 | sorphin | kergoth: soon as i find where my arm compiler ran off to :P |
04:19.20 | kergoth | heheh |
04:20.46 | sorphin | hmm |
04:20.51 | chouimat | FFC00000 + 00020000 + 00020000 + 00080000 = FFCC0000 by hand :) |
04:21.18 | sorphin | chouimat: i can do hex math by hand, but not at 10pm when i'm tired :P |
04:21.21 | kergoth | ~fishslap chouimat for not being nearly lazy enough |
04:21.26 | | ACTION slaps chouimat up side the head with a wet fish for not being nearly lazy enough |
04:21.26 | sorphin | kergoth: is it me... |
04:21.44 | chouimat | kergoth: ok I will go take my valium |
04:22.07 | sorphin | or is it because your kernel is arm that the file command can't tell it's something other than data (and the 1st few bytes aren't consistant) ? |
04:22.35 | kergoth | heh, dont ask me.. |
04:22.36 | kergoth | dont know |
04:24.03 | kergoth | that is interesting though |
04:24.12 | sorphin | ? |
04:24.19 | sorphin | nevermind, misread that |
04:24.22 | kergoth | is it zImage vs bzimage it doesnt recognize? |
04:24.24 | kergoth | or x86 vs arm? |
04:24.24 | chouimat | kergoth: ok I just took it |
04:24.34 | sorphin | well |
04:24.41 | sorphin | kergoth: /boot/vmlinuz: Linux kernel x86 boot executable RO-rootFS, root_dev=0x301, Normal VGA |
04:24.46 | sorphin | that's giga's kernel |
04:24.50 | sorphin | it's a bzimage |
04:25.05 | sorphin | tho it doesn't mention bzimage, it just knows it's a kernel |
04:25.09 | sorphin | and this is stock magic |
04:25.25 | kergoth | yeah |
04:25.34 | TomW | sorphin: Walmart has a $5 (five) dollar cheapo calc that does hex math, it comes with a second solar powered 4 func calc in the same package. |
04:25.50 | kergoth | so again, its either zImage vs bzimage, or x86 vs arm.. i'd like to teach my file to recognize an arm zimage though, thatd be spiffy |
04:26.12 | sorphin | TomW: i have a calc, i just keep losing it in my room :P |
04:26.13 | TomW | sadly, this is the only freakin' calc that I can find that I can figure out how to do hex math with it. |
04:26.20 | sorphin | kergoth: working on it |
04:26.23 | kergoth | k |
04:26.52 | chouimat | sorphin: how did you get your kernel info? |
04:27.05 | sorphin | chouimat: ? |
04:27.21 | kergoth | bvi = spiffy |
04:27.26 | TomW | aha, update cups (and other stuff) and acrobat now prints fine. |
04:27.46 | chouimat | sorphin: nm |
04:28.00 | sorphin | kergoth: bvi ? |
04:28.06 | kergoth | binary vi |
04:28.10 | sorphin | kergoth: heh, 1st thing file does |
04:28.11 | kergoth | hex editor with vi key bindings |
04:28.13 | sorphin | 514 string HdrS Linux kernel |
04:28.36 | sorphin | tis at 0x202 |
04:29.32 | sorphin | yours has data from the beginning |
04:30.05 | sorphin | hmm |
04:31.55 | sorphin | bbl. |
04:41.47 | CosmicPenguin | andersee: you present and accounted for? |
04:48.27 | chouimat | hmmm rfc3514 is interesting |
04:48.41 | MonMotha | chouimat: you noticed |
04:49.00 | chouimat | MonMotha: yup |
04:57.49 | chouimat | MonMotha: I really that evil flag :) |
04:57.57 | chouimat | add like somewhere |
04:58.10 | MonMotha | the best is the 128 bit "strength" field in IPv6 :) |
05:20.06 | *** join/#elinux julie_ (~julie@ultrasparc.ipv6.magenet.com) |
05:21.10 | chouimat|Zzz | night |
05:58.33 | sorphin | this 'new bit definition' is about as pointful as ECN as far as how fast people will think anything will be implemented |
05:59.51 | sorphin | unless it's a stupid and pointless april 1 joke :P |
06:00.04 | sorphin | since all apr 1st jokes are stupid and pointless |
06:07.49 | sorphin | kergoth: re |
06:07.55 | kergoth | hey dan |
06:08.02 | kergoth | any luck with your cf-less flash? |
06:08.20 | sorphin | kergoth: just now getting back to it, when i bbl'd it was to talk to sarah |
06:08.36 | sorphin | btw.. also noticed.. that the stuff file uses for the magic stuff |
06:08.50 | sorphin | the 1st thing is the header bit set in arch/i386/boot/setup.S |
06:08.59 | kergoth | ah |
06:08.59 | sorphin | which my arm dir doesn't have a version of... |
06:09.02 | kergoth | hm |
06:09.07 | sorphin | <PROTECTED> |
06:09.38 | kergoth | sorphin: well, you can do this.. get ahold of the version of the sharp rom you have installed |
06:09.43 | kergoth | rip it apart with romburst from zsi |
06:09.54 | kergoth | compare the zimage bin from the sharp rom against what you read from flash |
06:10.00 | kergoth | to confirm you're at the correct location |
06:10.16 | sorphin | nod |
06:10.26 | sorphin | was just gonna look for where i dumped that too before |
06:10.37 | kergoth | ah |
06:10.39 | sorphin | just a matter of finding the right damn dir ;p |
06:18.22 | sorphin | kergoth: btw |
06:18.35 | sorphin | care to enlighten me how to use the webpal/tux keyboard with the Z? :P |
06:20.57 | kergoth | iirc theres a package for using them |
06:21.00 | kergoth | ibot: zsi irk |
06:21.22 | kergoth | bleh |
06:33.09 | [mbm] | ugh. umode -w for me |
06:33.21 | sorphin | [mbm]: always am :P |
07:35.14 | sorphin | kergoth: boo |
07:35.30 | kergoth | yo |
07:35.45 | sorphin | minor confusion |
07:35.51 | sorphin | static unsigned long collie_max_flash_size = 0x01000000; |
07:35.52 | sorphin | yet |
07:35.56 | sorphin | 00020000 + 00020000 + 00080000 + 00100000 + 00E20000 + 00020000 |
07:35.57 | sorphin | 1160000 |
07:36.20 | kergoth | interesting. |
07:36.30 | sorphin | the latter being the sum of the sizes in sa1100-flash.c |
07:45.12 | sorphin | kergoth: should i use that, or do like you do and just go by page size ? |
07:45.33 | kergoth | well, if you dont map on page boundry you'll likely get a page fault |
07:45.37 | kergoth | its pretty picky |
07:45.38 | kergoth | brb |
07:47.29 | sorphin | k |
08:41.42 | sorphin | kergoth: fun fun |
11:47.55 | *** join/#elinux file (file@mctn1-7597.nb.aliant.net) |
13:09.09 | *** join/#elinux mallum (~mallum@pc-80-193-218-21-hw.blueyonder.co.uk) |
14:00.16 | *** join/#elinux GPSFan (~kenm@65.114.238.130) |
14:40.33 | sjhill | well, i have the 3 rh9 iso images, any have the srpm iso's? |
14:55.54 | *** join/#elinux balor (~balor@pgh17.cs.may.ie) |
14:56.22 | balor | how does one create a floppy-disk image from a file system? |
14:58.04 | sjhill | balor: please hop over to #linuxnewbies or #kernelnewbies....not here |
15:04.23 | *** join/#elinux CosmicPenguin (~jordanc@12-255-37-66.client.attbi.com) |
15:08.09 | *** join/#elinux klu5ter_nut (~klu5ter@12.148.134.9) |
15:09.39 | sorphin | sjhill: heh, my sympathies |
15:09.53 | sorphin | sieve: heh |
15:09.54 | sieve | morning all |
15:10.07 | sorphin | sieve: so that was you all this time eh? :P |
15:10.24 | sieve | yea.. |
15:10.34 | sorphin | damn abcsinc'ers ;) |
15:10.40 | sieve | hehe |
15:11.00 | sieve | well.. somebody on sourceforge already has sieve as a nick soooo... |
15:11.08 | sorphin | ah |
15:11.18 | sorphin | well, there's no accounting for sf intelligence ;) |
15:12.03 | sieve | :) |
15:12.39 | sorphin | sieve: what's new in the land of the POS drones? |
15:13.38 | sieve | sorphin: nothing to speak of. same shit different day |
15:13.42 | sorphin | nod |
15:13.44 | sorphin | heh |
15:14.05 | sorphin | "Enlightenment goes 1.0" "And you guys all thought it would never happen! BGDM!"... no.. more like i never gave a damn if it happened |
15:14.19 | sieve | april fools |
15:14.33 | sorphin | i wish |
15:15.06 | sorphin | heh |
15:15.16 | sorphin | <PROTECTED> |
15:15.23 | sorphin | they already had the RFC w/ the security bit |
15:15.38 | sorphin | now he same rfc w/ the 'evil bit' |
15:15.41 | sorphin | boooooooooooooooring |
15:15.46 | sieve | yup |
15:16.01 | sorphin | but then |
15:16.12 | sorphin | taco isn't very good at looking at previous posts |
15:16.21 | sorphin | seeing as he is incompetent |
15:17.16 | sieve | he's a web designer... how much more can you expect? ;) |
15:17.25 | sorphin | sieve: no, he just thinks he is ;) |
15:17.47 | sorphin | and of course all the /. trolls worship him, and he even found someone stupid enough to marry him |
15:17.47 | sieve | hehe |
15:24.00 | CosmicPenguin | Morning folks |
15:24.34 | sieve | CosmicPenguin: morning |
15:24.59 | pattieja | morning |
15:26.56 | sorphin | lo jason, CP |
15:43.08 | kergoth | morning people |
15:53.57 | *** join/#elinux prpplague (~JoeBob1@12.148.134.9) |
15:53.57 | *** mode/#eLinux [+o prpplague] by ChanServ |
15:57.32 | CosmicPenguin | mmmm... coffee |
15:59.20 | sorphin | kergoth: yo |
15:59.25 | CosmicPenguin | prpplague: wassup? |
15:59.26 | sorphin | prpplague: morning davey |
15:59.31 | prpplague | morning guys |
15:59.34 | prpplague | ssdd |
15:59.43 | prpplague | just higher and stinkier |
15:59.53 | kergoth | hey |
16:00.03 | sorphin | kergoth: one word |
16:00.05 | sorphin | kergoth: segv |
16:00.15 | CosmicPenguin | sorphin: same here.. :) |
16:00.22 | kergoth | heh |
16:00.29 | sorphin | CosmicPenguin: this is code wise on my Z |
16:00.33 | kergoth | here too. my opie launcher segfaults on my c700 |
16:00.42 | CosmicPenguin | sorphin: this is codewise on my desktop |
16:00.44 | sorphin | kergoth: it mmaps |
16:00.48 | CosmicPenguin | mmap is bad |
16:00.49 | sorphin | kergoth: is mallocs |
16:00.53 | CosmicPenguin | for jffs2 |
16:00.58 | sorphin | kergoth: when it tries to read |
16:01.05 | sorphin | Segmentation Fault |
16:01.15 | sorphin | i've tried 100 diff ways |
16:01.35 | sorphin | tried the ways i do on both a mips and ppc tivo, which work on a peecee too |
16:01.38 | sorphin | segv |
16:01.41 | sorphin | damn arm |
16:02.20 | *** join/#elinux ade|indy (~adrian@unimatrix.ex.ac.uk) |
16:02.34 | sorphin | and its all ade's fault ;) |
16:04.48 | mallum | hey ppl |
16:05.06 | sorphin | mallum: allo |
16:05.18 | ade|indy | lo |
16:06.09 | ade|indy | sorphin: yeah it is my fault again :) .. next time you can take the blame |
16:06.19 | sorphin | ade|indy: you just have bad timing is all ;) |
16:06.28 | sorphin | you walk in right when i needed a scapegoat ;) |
16:07.21 | ade|indy | oh well, guess i deserve it. last week even the police were after me :( |
16:07.42 | sorphin | uh oh |
16:07.53 | sorphin | ade|indy: did you go the wrong way around a roundabout again? :P |
16:08.53 | ade|indy | sorphin: nope was reported as missing by friends, as i was 4 hours late off the mountain |
16:09.04 | sorphin | ade|indy: doh |
16:09.17 | sorphin | kergoth: got strace or such compiled for these things? :P |
16:09.25 | sorphin | kergoth: or wanna laugh at my code? :P *grin* |
16:15.02 | sorphin | ok you arm experts |
16:15.24 | sorphin | is there something i should know about w/ memcpy on arm that wouldn't cause a prob elsewhere? |
16:25.24 | sieve | sorphin: hmmm... another dup evil bit posted on /. |
16:25.39 | sorphin | sieve: no shock there |
16:26.10 | sorphin | damn even |
16:26.22 | *** join/#elinux Julie (Julie@166.180.9.241) |
16:26.34 | sorphin | julie_: morning |
16:26.44 | sorphin | erm |
16:26.51 | Julie | argh! |
16:26.56 | sorphin | Julie: morning even, this must be dup day :P |
16:27.25 | Julie | I'm logged in via an aircard right now |
16:27.42 | sorphin | nod |
16:27.49 | Julie | my car is costing me a fortune to keep fixing |
16:27.50 | *** join/#elinux andersee (~andersen@codepoet.org) |
16:27.50 | *** mode/#eLinux [+o andersee] by ChanServ |
16:27.53 | sorphin | andersee: yo |
16:28.06 | sorphin | andersee: maybe a codepoet can help ;) |
16:28.11 | sorphin | :) |
16:28.21 | mallum | kergoth: you dont perhaps know who made the freetype package ? |
16:28.33 | andersee | sorphin: morning |
16:28.47 | sorphin | mallum: i think kergoth is busy digi'ing himself |
16:28.56 | mallum | sorphin: oh err missus |
16:29.15 | sorphin | andersee: got a mo for some arm pondering? |
16:29.22 | sorphin | mallum: something like that |
16:30.12 | CosmicPenguin | sorphin: so, whats the intellegence behind the evil bit? |
16:30.30 | CosmicPenguin | sorphin: isn't that like asking nicely if muggers will wear a "I'm a mugger" t-shirt? |
16:30.38 | CosmicPenguin | andersee: whats happening |
16:30.39 | andersee | sorphin: Sure, I have a Magneto Optical drive |
16:30.45 | sorphin | CosmicPenguin: it's an overboard April Fools joke :P |
16:30.50 | andersee | CosmicPenguin: nada, just working |
16:30.50 | CosmicPenguin | sorphin: ahh |
16:30.57 | sorphin | andersee: um.. i meant moment |
16:31.01 | CosmicPenguin | sorphin: like the IP over carrier pigon? |
16:31.10 | sorphin | CosmicPenguin: heh |
16:32.08 | CosmicPenguin | I hate 4/1 on /. |
16:32.34 | sorphin | CosmicPenguin: i hate 4/1 period |
16:33.10 | sorphin | stop faulting dammit |
16:46.05 | CosmicPenguin | sorphin: whats it doing? |
16:46.27 | sorphin | CosmicPenguin: the more i look at this |
16:46.36 | sorphin | this segv acts like a page fault |
16:47.16 | sorphin | Base: 0x40019000, Virtual: 0x40019000, Mask: 0xfff, Target: 0xffc000 |
16:47.39 | kergoth | mallum: for OE/OZ? I dont recall. either scanline or i. whats up with it? |
16:47.46 | sorphin | kergoth: there you are |
16:48.11 | kergoth | had to do some real work |
16:48.15 | sorphin | kergoth: bah |
16:48.19 | sorphin | kergoth: now cut that out ;) |
16:48.38 | sorphin | kergoth: i'm majorly hitting the wall here :( |
16:48.53 | scanline | mallum: I did it |
16:50.53 | CosmicPenguin | sorphin: so it is page faulting then? Bad memory perhaps? |
16:51.18 | kergoth | if its page faulting, you're doing something you shouldnt be doing :) |
16:51.23 | sorphin | CosmicPenguin: shouldn't be.. this is my Z |
16:51.36 | sorphin | kergoth: well, maybe you can help me find which it's doing? :) |
16:51.38 | CosmicPenguin | sorphin: that doesn't mean anything |
16:51.58 | sorphin | CosmicPenguin: well, the thing works fine :P its likely my access method that the ARM doesn't like |
16:52.06 | sorphin | ppc/mips/x86 don't care |
16:53.26 | mallum | scanline: wanna update it to something newer ;-) |
16:53.43 | scanline | mallum: not particularly :) |
16:53.51 | scanline | mallum: shouldn't it just be a matter of changing the date? |
16:54.11 | scanline | or you could be boring and use a release.. |
16:54.12 | kergoth | yep |
16:54.28 | scanline | but CVS is always better with freetype :) |
16:54.57 | mallum | scanline: indeed :-) |
16:55.13 | sorphin | kergoth: this is confusing.. you want me take this into /query or yahoo or something? |
16:55.57 | mallum | scanline: do you follow freetype dev ? |
16:56.23 | scanline | mallum: only when I'm actively working on font code really |
16:57.07 | mallum | scanline: okey, I should really follow it. I think it can now do bitmap fonts too now or summin |
16:57.20 | scanline | it's been able to do bitmap fonts for a long time |
16:57.30 | kergoth | mallum: when i eject, or insert a card, my c700 hangs for a bit. have you seen this behavior? |
16:58.03 | mallum | kergoth: no, though I leave my card in most of the time |
16:58.21 | kergoth | hmm |
17:10.01 | mallum | kergoth: any idea how to pass --rpath into a configure script ? |
17:10.14 | mallum | kergoth: eg so resulting Makefiles use it |
17:12.01 | kergoth | pass it in via an LDFLAGS var |
17:12.36 | kergoth | LDFLAGS+=-Wl,rpath,blah after the include of Vars.make, assuming a buildroot build |
17:14.10 | mallum | kergoth: cool, will try that |
17:15.56 | sorphin | kergoth: heh, i finally just pulled the bk tree of the source :P what's w/ all the stuff it keeps around in deleted? :P |
17:16.16 | kergoth | sorphin: its like cvs's attic. cvs keeps all that around too |
17:16.19 | kergoth | difference is |
17:16.27 | kergoth | a bk clone grabs the entire repos, it isnt a _checkout_ |
17:16.33 | kergoth | its like tarring up the fucking cvs repos and pulling it local |
17:16.39 | sorphin | nod |
17:16.43 | sorphin | gotcha |
17:17.03 | sorphin | kergoth: well, least now you won't have to send me any more files |
17:17.19 | sorphin | assuming i don't bang a hole in my desk in 45 mins |
17:17.51 | kergoth | heheh |
17:17.55 | sorphin | the mmap is correct |
17:18.06 | sorphin | when i attempt to read |
17:18.09 | sorphin | it kicks out |
17:18.25 | kergoth | ah |
17:18.54 | sorphin | kergoth: what i'm used to, with how i do it |
17:18.58 | sorphin | would be... |
17:19.05 | kergoth | look at my collie module |
17:19.23 | kergoth | are you doing it the same way? |
17:19.31 | sorphin | umm |
17:19.34 | kergoth | <PROTECTED> |
17:19.37 | kergoth | + if (map_base != (void *)-1) { |
17:19.40 | kergoth | + virt_addr = map_base + (target & page_mask); |
17:19.43 | kergoth | + if (*(volatile unsigned int *)(virt_addr + FLASH_TOUCH_MAGIC_ADR) == FLASH_TOUCH_MAGIC) { |
17:19.56 | sorphin | everything after the virt_addr |
17:20.01 | sorphin | is confusing :P |
17:20.27 | sorphin | kergoth: i'm used to being able to do memcpys |
17:20.37 | sorphin | her's how my flash prog dumps flash |
17:20.40 | kergoth | k |
17:20.40 | sorphin | <PROTECTED> |
17:21.09 | sorphin | <PROTECTED> |
17:21.09 | sorphin | <PROTECTED> |
17:21.09 | sorphin | <PROTECTED> |
17:21.09 | sorphin | <PROTECTED> |
17:21.09 | sorphin | <PROTECTED> |
17:21.10 | sorphin | <PROTECTED> |
17:21.12 | sorphin | <PROTECTED> |
17:21.14 | sorphin | <PROTECTED> |
17:21.19 | sorphin | diskbuf is a 512 byte array |
17:21.33 | sorphin | chipbase is char * volatile ChipBase; |
17:22.12 | sorphin | i've tried that way, i've tried w/ a void |
17:22.19 | sorphin | it must just not like memcpys |
17:22.43 | sorphin | or the way i'm poking at the address |
17:22.50 | sorphin | <PROTECTED> |
17:23.07 | sorphin | that's just current, there've been 50 diff variations of that |
17:23.08 | sorphin | all fault |
17:23.24 | kergoth | and you're sure you're mapping on page boundary? you noticed the collie module mmap's at target & ~page_mask, not target |
17:23.34 | sorphin | yes |
17:23.39 | sorphin | here's my mmap |
17:23.43 | kergoth | well fuck if i know then :) |
17:23.45 | sorphin | <PROTECTED> |
17:23.53 | sorphin | :P |
17:24.29 | sorphin | when i get to the point where i'd read |
17:24.31 | sorphin | it shows: |
17:24.40 | sorphin | Base: 0x40019000, Virtual: 0x40019000, Mask: 0xfff, Target: 0xffc000 |
17:25.18 | kergoth | well i dunno then man |
17:25.24 | sorphin | hrm |
17:25.30 | kergoth | you're doing the memcpy on the virt addr, not on the mapped addr, right? |
17:25.39 | sorphin | i've tried both |
17:25.49 | sorphin | which way should i 'access' the virtual ? |
17:26.05 | sorphin | w/ the monster cast ? |
17:26.22 | kergoth | i see no reason memcpy shouldnt work |
17:26.26 | kergoth | but i've never attempted its use |
17:26.39 | sorphin | also am trying to read addr+ |
17:26.53 | sorphin | in a for loop |
17:27.13 | sorphin | kergoth: my brain can't parse what you have in collie |
17:27.19 | kergoth | hehe |
17:27.33 | kergoth | you have no idea how many google searches and reads of other peoples mmap code it took to get that to work |
17:27.54 | sorphin | kergoth: arm must just be really picky |
17:28.06 | sorphin | cuz every other platform this works on the 1st go :P |
17:28.21 | kergoth | sorphin: it is. does the first read fail, or is it some point during the loop that it fails? |
17:28.28 | sorphin | 1st |
17:28.49 | kergoth | well i'm out of ideas. let me get some caffeine. brb |
17:28.56 | sorphin | been trying to figure out how to do it w/o a memcpy |
17:29.23 | kergoth | hm |
17:29.25 | kergoth | random idea |
17:29.30 | sorphin | ? |
17:29.51 | kergoth | 1) memcpy a single byte. 1 in third arg |
17:29.54 | kergoth | 2) use the cast |
17:30.00 | kergoth | see what the results of those are |
17:30.17 | sorphin | k |
17:36.21 | kergoth | k |
17:36.39 | sorphin | kergoth: memcpy(DiskBuf, *(volatile unsigned int *)virt_addr, 1); |
17:36.46 | sorphin | Reading from: 44414d43 |
17:36.46 | sorphin | Segmentation fault |
17:36.58 | kergoth | memcpy expects a pointer not an unsigned int |
17:37.01 | sorphin | that 444 is what *(volatile unsigned int *)virt_addr is at the time of read |
17:37.13 | kergoth | you're dereferencing it and passing the read value as the pointer |
17:37.14 | kergoth | :) |
17:37.20 | sorphin | true |
17:37.37 | sorphin | you said to use the cast, caffeine boy :P |
17:37.40 | kergoth | memcpy(DiskBuf, virt_addr, 1); shoudl be sufficient |
17:37.40 | kergoth | yes |
17:37.42 | kergoth | i.e. |
17:38.00 | kergoth | char var = *(volatile unsigned char *)virt_addr; |
17:38.17 | sorphin | btw |
17:38.24 | sorphin | got 3 of these in my code :P |
17:38.25 | sorphin | flashread.c:61: warning: passing arg 2 of `memcpy' discards qualifiers from pointer target type |
17:38.38 | kergoth | yeah, thats because its volatile |
17:38.41 | sorphin | oooer |
17:38.42 | kergoth | and memcpy doesnt give a shit |
17:38.44 | sorphin | no segv |
17:38.50 | sorphin | Reading from: 40019000 |
17:38.50 | sorphin | Data: bffffb44 |
17:39.00 | kergoth | with memcpy or the cast? |
17:39.04 | sorphin | memcpy |
17:39.15 | kergoth | ah |
17:39.38 | sorphin | <PROTECTED> |
17:39.45 | sorphin | <PROTECTED> |
17:39.45 | sorphin | <PROTECTED> |
17:40.05 | sorphin | so it grabs that byte |
17:40.39 | sorphin | time to figure out how to "kick it up a notch" :P |
17:40.45 | kergoth | so its something with the attempt to read that much data in a big ass memcpy. I dont understand how these things work to say why |
17:41.01 | sorphin | i'm not reading more than 512 bytes at a time |
17:41.05 | kergoth | frankly i'm over my head here, but i'm good at fucking with things till it works |
17:41.08 | kergoth | :) |
17:41.17 | sorphin | kergoth: and OZ was born ;) |
17:41.19 | kergoth | hehe |
17:41.52 | sorphin | kergoth: ok, so now it reads |
17:42.14 | sorphin | instead of virtual |
17:42.28 | kergoth | so change target to the kernel base addy instead of the flash base |
17:42.30 | sorphin | so just do virt_addr+kerneloffset |
17:42.34 | sorphin | ah |
17:42.35 | kergoth | or that |
17:42.52 | sorphin | heh, if i can just use the kernel base |
17:42.54 | sorphin | i will :P |
17:42.58 | kergoth | i'd say do the former, cleaner |
17:43.00 | kergoth | yeah |
17:43.36 | kergoth | and to think.. all this cause you're too cheap to buy a cf card.. :P |
17:43.44 | sorphin | heh |
17:43.49 | sorphin | not cheap |
17:44.13 | sorphin | just pointless since i won't be able to use it afterwards since i'll be using other things i nthe damn cf slot |
17:44.22 | sorphin | blame sharp for only allowing to use the CF slot for this shit :P |
17:44.48 | sorphin | kergoth: think this for(i = 0; i < 0x00100000; i++) { |
17:45.03 | sorphin | is sufficient for incrementing the addr for the kernel read? |
17:45.19 | kergoth | hehe |
17:45.21 | kergoth | worth a shot |
17:45.42 | sorphin | kergoth: worst it can do is fault again ;) |
17:46.10 | kergoth | yup |
17:47.13 | sorphin | kergoth: recommend building w/ the 2.95.x tree or the 3.2 tree if i built the source now |
17:47.16 | sorphin | ? |
17:47.31 | sorphin | ooer |
17:47.34 | sorphin | seems to be reading |
17:47.35 | kergoth | 2.95. you lose binary compatibility if you build qt and opie with gcc3 due to the changed abi |
17:47.39 | kergoth | cool |
17:47.42 | sorphin | k |
17:48.13 | sorphin | since i made it print read/write each read/write |
17:48.25 | kergoth | hehe |
17:48.42 | sorphin | should just make it do the / - \ | :P |
17:50.32 | sorphin | heh |
17:50.38 | sorphin | we just hit the high for today already :P |
17:50.40 | sorphin | 77 |
17:50.50 | kergoth | ibot: tuesday |
17:50.50 | | Tuesday sucks, because it follows Monday (see monday) |
17:50.58 | sorphin | hehe |
17:52.35 | sorphin | kergoth: heh, it's writing too |
17:52.36 | sorphin | <PROTECTED> |
17:52.42 | sorphin | looks like progress ;) |
17:52.56 | kergoth | nice |
17:53.07 | kergoth | here's hoping it matches your romburst zimage |
17:53.13 | sorphin | ya |
17:54.01 | sorphin | well, it's already bigger physically since i'm reading the whole 0x00100000 |
17:54.09 | kergoth | yeah |
17:54.24 | kergoth | its empty flash, it'll just be 0xFF's on the end i'm sure |
17:54.33 | sorphin | yay |
17:54.34 | sorphin | it's done |
17:55.15 | sorphin | 1048576 bytes received in 1.42 secs (719.4 kB/s) |
17:55.23 | sorphin | not bad for pseudo ethernet ;p |
17:55.52 | sorphin | kergoth: erm |
17:56.01 | sorphin | it doesn't even remotely match :P |
17:56.04 | kergoth | hah |
17:56.11 | kergoth | you're sure thats the same rom you're running? |
17:56.13 | sorphin | 00000000 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ |
17:56.13 | sorphin | 00000010 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ |
17:56.13 | sorphin | 00000020 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ |
17:56.25 | sorphin | that's what it read out of flash |
17:56.27 | kergoth | ah |
17:56.29 | kergoth | emtpy |
17:56.33 | sorphin | or thinks it did |
17:56.44 | sorphin | and i happen to know there's a kernel there ;) |
17:56.56 | kergoth | guess we got its location wrong |
17:56.58 | kergoth | here's an idea |
17:57.03 | sorphin | hmm? |
17:57.05 | kergoth | read the beginning of the rootfs |
17:57.08 | kergoth | you'll find the jffs2 magic |
17:57.16 | kergoth | easier than this comparison shit |
17:57.21 | sorphin | yeah |
17:57.32 | kergoth | then at least we know we're in the right ballpark |
17:57.51 | kergoth | god i almost forgot how long a opie compile takes.. |
17:57.55 | sorphin | hehe |
17:57.59 | kergoth | i had to clear my ccache cache :( |
17:57.59 | sorphin | compiling on what? :P |
17:58.12 | kergoth | an old athlon tbird 1ghz |
17:58.19 | kergoth | that box could use an upgrade |
17:58.51 | sorphin | heh |
17:58.54 | sorphin | i got one of those |
17:59.03 | sorphin | kergoth: that's what giga is |
17:59.05 | sorphin | oddly enough |
17:59.15 | sorphin | in win2k, my damn PIII 850 laptop smokes it |
17:59.18 | sorphin | can't figure it out |
17:59.29 | sorphin | the poort tbird crawls like a p100 :P |
17:59.34 | kergoth | weird |
18:02.56 | sorphin | hrm |
18:03.36 | sorphin | something's not right |
18:05.02 | sorphin | kergoth: this time i just got a buncha 00000000 AE AE AE AE AE AE AE AE AE AE AE AE AE AE AE AE ................ |
18:05.02 | sorphin | 00000010 AE AE AE AE AE AE AE AE AE AE AE AE AE AE AE AE ................ |
18:05.13 | sorphin | then 69's then AE's again |
18:05.16 | kergoth | fun |
18:05.31 | kergoth | not the same location i hope? ;) |
18:05.34 | sorphin | no |
18:05.47 | sorphin | 0x1099900 |
18:06.08 | sorphin | which if FFCC0000 + 100000 |
18:06.10 | kergoth | hey, you could be evil and search the entire flash from base on up for the jffs2 magic |
18:06.11 | sorphin | is even |
18:06.14 | kergoth | hehe |
18:06.46 | sorphin | i don't think memcpy would be the option if i did that ;) |
18:06.53 | sorphin | i'd have to use some ugly code like you did |
18:07.00 | sorphin | and like i do for checkign for the tivo rom's magic |
18:07.14 | kergoth | yep |
18:07.32 | kergoth | byte by byte deref the pointer adn compare against the magic |
18:07.35 | kergoth | fun fun |
18:07.45 | mallum | kergoth: in your x-compiling adventures, have you ever seen an error like this :- |
18:07.55 | mallum | : undefined reference to `rpl_malloc' |
18:08.05 | sorphin | kergoth: i'd be better off reading the whole damn flash :P |
18:08.20 | kergoth | heheh |
18:08.47 | kergoth | mallum: hm, doesnt ring a bell. wheres rpl_malloc defined i wonder? |
18:08.54 | kergoth | mallum: what are you building? |
18:09.09 | mallum | kergoth: every matchbox malloc call is giving that error for some wierd reasion |
18:10.13 | kergoth | hm |
18:10.20 | kergoth | od |
18:10.23 | kergoth | bleh |
18:10.24 | kergoth | odd |
18:10.28 | mallum | kergoth: matchbox |
18:11.21 | sorphin | hmmm |
18:11.22 | kergoth | sorphin: start a flash search for the jffs2 magic at the initrd addy.. |
18:11.28 | kergoth | thats what i'd do next. |
18:11.37 | kergoth | confirm that location is correct |
18:11.38 | sorphin | kergoth: actually i just started reading from ffc00000 |
18:11.42 | mallum | kergoth: I think configure is doing something dumb :( |
18:11.44 | sorphin | read off 4k |
18:11.57 | mallum | kergoth: this /* Define to rpl_malloc if the replacement function should be used. */ |
18:11.57 | mallum | #define malloc rpl_malloc |
18:11.57 | mallum | <PROTECTED> |
18:12.04 | kergoth | mallum: aha |
18:12.07 | kergoth | mallum: hmm |
18:12.10 | kergoth | mallum: do this |
18:12.16 | sorphin | should the 1st thing starting at ffc00000 be BOOTSHP2.BIN-20020126 ? |
18:12.19 | sorphin | erm |
18:12.23 | sorphin | that file i mean |
18:12.40 | kergoth | mallum: look in packages/ipkg/Makefile |
18:12.51 | kergoth | mallum: note the $(call installcache prior to the configure run |
18:12.55 | kergoth | mallum: do that in your makefile. |
18:13.07 | kergoth | mallum: that'll install a config.cache with test results for the architectur eyou're building for |
18:13.18 | mallum | kergoth: ok cool, will give it ago |
18:13.46 | kergoth | <PROTECTED> |
18:13.53 | kergoth | s/\/C\///; |
18:14.57 | sorphin | kergoth: should BOOTSHP2.BIN be the first file in the flash starting at FFC00000 ? |
18:15.06 | sorphin | if so.. then houston, we have a problem |
18:15.42 | kergoth | i doubt it. the sharp rom format for flashing doesnt necessarily perfectly coincide with the flash partitioning.. |
18:15.51 | sorphin | hmm |
18:16.05 | kergoth | look at sa1100-blah.c as your guide, that should be closest to reality |
18:16.14 | sorphin | if i knew what's supposed to be 1st, i'd know what i'm seeing here.. |
18:16.19 | sorphin | sa1100-flash.c ? |
18:16.22 | kergoth | yeah |
18:16.38 | sorphin | well |
18:16.43 | sorphin | according ot this |
18:16.44 | mallum | kergoth: hmm still happening |
18:16.48 | sorphin | the Angel Monitor is 1st |
18:16.58 | kergoth | mallum: then figure out what test result you need to supply |
18:17.09 | kergoth | mallum: oh, are you calling configure with -C ./config.cache? you may need to |
18:17.15 | kergoth | mallum: depending on the version of the configure script |
18:17.33 | kergoth | do you see it load config.cache? |
18:17.35 | kergoth | in the configure output? |
18:17.39 | mallum | kergoth: okey do worry I should be able to figure this out |
18:17.44 | mallum | s/do/dont/ |
18:17.45 | kergoth | k |
18:18.07 | kergoth | make sure its obeying the cache, then read the cache file after the run and find the incorrect result.. append it to the config in def-tests/ |
18:19.35 | mallum | kergoth: -C fixed it :-) |
18:19.45 | kergoth | ah |
18:19.45 | mallum | kergoth: and I now have a shiny mb ipkg |
18:19.49 | kergoth | excellent |
18:24.34 | mallum | for your amusement new hh.org homepage -> http://handhelds.org/~mallum/ ;-) |
18:25.25 | kergoth | hah |
18:30.27 | mallum | kergoth: I sent you a changeset for an initial matchbox |
18:30.49 | mallum | kergoth: I've also made some updates for the xfree Makefile, but I get: |
18:31.00 | mallum | bk ci Makefile |
18:31.00 | mallum | delta: Makefile writable but not checked out? |
18:31.08 | kergoth | mv Makefile Makefile.safe |
18:31.10 | kergoth | bk edit Makefile |
18:31.13 | kergoth | mv Makefile.safe Makefile |
18:31.17 | kergoth | bk ci Makefile |
18:31.56 | sorphin | kergoth: welp.. looks like it's signature scanning time |
18:32.54 | sorphin | hrm |
18:33.06 | kergoth | having fun yet? |
18:33.07 | sorphin | ok, what IS the jffs2 magic? it's not in my magic file :P |
18:33.32 | kergoth | uhm, hold on.. i have a bit of code somewhere that searched a jffs2 image for it to determine the eraseblock size of the image |
18:33.46 | sorphin | k |
18:36.53 | kergoth | hm |
18:36.57 | kergoth | i think i lost that bit of code |
18:37.03 | kergoth | that sucks, that was handy |
18:37.15 | kergoth | well, look at mkfs.jffs2.c |
18:37.35 | kergoth | should be there |
18:46.39 | sorphin | kergoth: #define JFFS2_SUPER_MAGIC 0x72b6 what you mean? |
18:47.07 | kergoth | any jffs2 magic would be found wtihin the initrd partition.. |
18:47.13 | sorphin | true |
18:47.17 | kergoth | thatd at least check our sanity |
18:50.25 | kergoth | mallum: you runnin gcc3 built image, right? or gcc2? |
18:55.37 | mallum | kergoth: sorry was eating dinner |
18:55.42 | kergoth | np |
18:55.43 | mallum | kergoth: yeah gcc3 |
18:55.46 | kergoth | k |
19:00.53 | mallum | kergoth: hmm, another little bk prob ; |
19:00.55 | mallum | mallum@debian:~/src/OZ/buildroot-oz$ bk commit |
19:00.56 | mallum | Missing delta (chk2) in packages/xfree86/config.in |
19:01.15 | kergoth | thats odd. indicates one of your changes against that file is missing |
19:01.20 | kergoth | try bk repair |
19:03.48 | sorphin | kergoth: should i 'resync' since i checked out this morning ? |
19:04.13 | kergoth | bk pull; bk -r co -q; to update your tree with whats upstream |
19:04.19 | kergoth | not much has changed though |
19:05.12 | sorphin | 13 revisions ;) |
19:07.08 | sorphin | kergoth: erm |
19:07.46 | mallum | kergoth: I got; |
19:07.48 | mallum | =================================== ERROR ==================================== |
19:07.48 | mallum | takepatch: packages/xfree86/SCCS/s.config.in has uncommitted changes |
19:07.48 | mallum | Please commit pending changes with `bk commit' and reapply the patch. |
19:07.48 | mallum | <PROTECTED> |
19:07.48 | mallum | takepatch: patch left in PENDING/2003-04-01.02 |
19:07.49 | mallum | ============================================================================== |
19:08.06 | kergoth | mallum: you got that tyring to bk repair? |
19:08.11 | mallum | yeah |
19:08.17 | kergoth | bk -r check -af |
19:09.03 | mallum | kergoth: okey, that seems to have run ok |
19:09.10 | mallum | kergoth: now should I commit ? |
19:09.14 | kergoth | bk commit still error? |
19:09.14 | kergoth | yeah |
19:09.31 | mallum | yeah same error :( |
19:09.55 | kergoth | okay, theres what you do |
19:10.11 | kergoth | you need to get rid of those pending changes against config.in |
19:10.16 | kergoth | you can either strip them off and redo them |
19:10.31 | sorphin | kergoth: so they take this cramfs, make a jffs2 in flash for it and dump it in ? |
19:10.33 | kergoth | or you can export a patch with bk diffs |
19:10.39 | kergoth | and _then_ strip off the change |
19:10.49 | mallum | kergoth: the changes I made to config.in were simple, of I can get a fresh version I can easily re add them |
19:10.53 | kergoth | once the change is stripped off, you can bk repair, which will restore your missing delta |
19:10.56 | kergoth | okay |
19:11.01 | kergoth | bk prs packages/xfree86/config.in|head |
19:11.31 | mallum | ok |
19:11.46 | kergoth | thats the revision of the recent delta you need to strip off |
19:12.01 | kergoth | now |
19:12.03 | mallum | how do I strip it off ? |
19:12.39 | kergoth | bk stripdel -r# packages/xfree86/config.in |
19:13.48 | kergoth | then bk repair again |
19:14.10 | mallum | -r with the smallest number from the list bk prs gave me ? |
19:14.19 | kergoth | the most recent # |
19:14.31 | mallum | okey |
19:15.58 | kergoth | bk repair rocks |
19:16.03 | kergoth | if you accidentally remove a SCCS file or dir |
19:16.10 | kergoth | it'll pull it all down from your parent repos and fix yours |
19:16.32 | kergoth | what cramfs? |
19:16.49 | sorphin | the name for Compressed ROM fs |
19:16.55 | kergoth | i know what cramfs is |
19:16.56 | sorphin | no idea where they came up w/ cram tho |
19:17.00 | sorphin | oh |
19:17.00 | kergoth | i mean how does it apply here? |
19:17.02 | sorphin | misread |
19:17.05 | sorphin | umm |
19:17.11 | sorphin | ROMDISK is a cramfs |
19:17.17 | kergoth | in sharp it is. |
19:17.20 | kergoth | in oz is jffs2. |
19:17.24 | kergoth | oh right |
19:17.24 | sorphin | well |
19:17.27 | kergoth | yo need to search for cramfs magic |
19:17.29 | kergoth | yeah |
19:17.31 | sorphin | hehe |
19:17.31 | kergoth | heh |
19:17.36 | kergoth | i can neither type or think today |
19:17.48 | sorphin | kergoth: you need this caffeine I.V. ;) |
19:18.26 | kergoth | truee that |
19:19.45 | mallum | kergoth: hmm config.in has now totally dissapeared :/ |
19:19.53 | sorphin | doh |
19:19.55 | kergoth | mallum: of course it has |
19:20.01 | kergoth | its checked in |
19:20.03 | kergoth | check it back out |
19:20.05 | kergoth | bk co config.in |
19:20.08 | kergoth | bk -r co -q |
19:20.26 | kergoth | what hav eyou |
19:20.37 | kergoth | when a file is checked in, its no longer checked out |
19:20.41 | kergoth | you must check it back out |
19:20.49 | kergoth | heh |
19:20.51 | mallum | yeah I did that |
19:20.53 | mallum | <PROTECTED> |
19:20.53 | mallum | CosmicPenguin: SCCS/s.config.in doesn't exist. |
19:20.55 | sorphin | kergoth: how 14m3 |
19:21.03 | kergoth | eh, you did bk repair? |
19:21.03 | sorphin | hehe |
19:22.28 | mallum | kergoth: yeah |
19:22.45 | mallum | I'll run it again |
19:23.06 | sorphin | kergoth: heh, interesting i just testing on the ROMDISK file, the signature is backwares from what's in the .h file for cramfs.. heh instead of being 28cd3d45 it's 453DCD28 someone's smoking something around here, and it's not me |
19:24.50 | kergoth | ehh odd. cant be an endian issue |
19:25.14 | sorphin | yeah, that's not bswap'd that's just plain backwards |
19:25.30 | kergoth | er, yeah |
19:25.31 | kergoth | odd. |
19:26.46 | mallum | kergoth: repair end with; |
19:26.49 | mallum | Applying 2 revisions to new file packages/xfree86/Makefile delta: RESYNC/packages/xfree86/SCCS/s.Makefile already exists |
19:26.49 | mallum | delta: No such file or directory |
19:26.49 | mallum | <PROTECTED> |
19:26.49 | mallum | takepatch: patch left in PENDING/2003-04-01.04 |
19:26.49 | mallum | ============================================================================== |
19:27.41 | kergoth | hm |
19:28.00 | *** join/#elinux Russ (~russ@65.39.81.228) |
19:29.28 | kergoth | mallum: rm -rf RESYNC.. rm -rf packages/xfree86/SCCS/s.config.in .. bk repair |
19:29.43 | *** join/#elinux pattieja (~pattieja@sc2-24.217.177.39.charter-stl.com) |
19:38.00 | prpplague | mallum: was this guy at conics hard to reach? |
19:38.16 | sorphin | prpplague: bout time you woke up :P |
19:38.21 | mallum | prpplague: no , sometimes took 24hrs to reply to a mail |
19:39.03 | sorphin | hrm |
19:39.09 | sorphin | this thing scans 32M awful fast :P |
19:39.32 | prpplague | mallum: hmm, still no response |
19:39.44 | mallum | kergoth`lunch: wierd still no joy, config.in has gone from SCCS/ even |
19:39.44 | prpplague | mallum: i guess i'll wait another 24 |
19:48.45 | mallum | prpplague: yeah he should get back to you |
19:48.53 | mallum | prpplague: dc has just put an order in with him |
19:49.04 | mallum | kergoth`lunch: I readded the file and it seems fine |
19:49.18 | mallum | kergoth`lunch: I think you should be getting a few changesets in the mail ... |
19:57.51 | kergoth`lunch | ok |
20:05.03 | sorphin | kergoth`lunch: this just gets more and more annoying |
20:05.11 | kergoth`lunch | story of my life |
20:05.26 | sorphin | kergoth`lunch: i scan the whole thing, find nothing.. then realize, i wasn't incrementing virt_addr |
20:05.29 | sorphin | so |
20:05.33 | sorphin | i remedy that |
20:05.37 | kergoth`lunch | hah |
20:05.52 | sorphin | somehow it manages to zoom through 16M at warp speed and segfaults |
20:05.53 | sorphin | :P |
20:06.00 | kergoth`lunch | hmm |
20:06.02 | kergoth`lunch | fun |
20:06.24 | sorphin | kergoth`lunch: tell me what you see if anything wrong here |
20:06.26 | sorphin | <PROTECTED> |
20:06.26 | sorphin | <PROTECTED> |
20:06.26 | sorphin | <PROTECTED> |
20:06.26 | sorphin | <PROTECTED> |
20:06.27 | sorphin | <PROTECTED> |
20:06.29 | sorphin | <PROTECTED> |
20:06.31 | sorphin | <PROTECTED> |
20:06.41 | sorphin | DiskBuf = 4 bytes atm |
20:07.16 | kergoth`lunch | hm |
20:07.20 | kergoth`lunch | how is diskbuf declared? |
20:07.29 | sorphin | <PROTECTED> |
20:07.44 | sorphin | simple 4 byte array |
20:08.00 | sorphin | it was fine till i decided to +i virt_addr |
20:08.02 | kergoth`lunch | ah. i never trust sizeof. that sizeof is returning 4? |
20:08.04 | kergoth`lunch | hmm |
20:08.08 | sorphin | yes, it is |
20:09.27 | kergoth`lunch | looks fine then |
20:09.28 | kergoth`lunch | hmm |
20:10.31 | sorphin | something still can't be right.. cuz before it took forever to scan 16M worth even tho it was scanning the same spot obviously... but still.. this flies through in 3 seconds |
20:11.40 | kergoth`lunch | heh |
20:11.44 | kergoth`lunch | you're copying 4 bytes at a time |
20:11.51 | kergoth`lunch | makes sense it'd be faster |
20:12.00 | kergoth`lunch | put your trusty printfs in that loop :) |
20:12.13 | sorphin | well, i was before too when it didn't have the +i |
20:12.22 | sorphin | just copied the same 4 bytes over and over ;) |
20:12.26 | kergoth`lunch | hm |
20:12.33 | kergoth`lunch | well that makes no sense than |
20:12.34 | kergoth`lunch | then |
20:12.35 | sorphin | and took a lil while |
20:15.03 | sorphin | heh |
20:15.12 | sorphin | damn Z isn't taking my new version |
20:16.41 | sorphin | kergoth`lunch: cheating onw :P |
20:16.43 | sorphin | Scanning flash... |
20:16.44 | sorphin | Addr: 40019000, Data: 43 4d 41 44 |
20:16.44 | sorphin | Addr: 40019004, Data: 93 00 00 00 |
20:16.44 | sorphin | Addr: 40019008, Data: ff ff ff ff |
20:16.44 | sorphin | Addr: 4001900c, Data: ff ff ff ff |
20:16.46 | sorphin | ..... |
20:16.56 | file | Greetings all |
20:16.58 | sorphin | w/ 1 second sleeps between each :P |
20:17.01 | sorphin | file: lo |
20:17.20 | kergoth`lunch | sorphin: okay |
20:17.20 | file | sorphin: what'cha up to? |
20:17.23 | sorphin | kergoth`lunch: hrm.. something's not right.. |
20:17.48 | sorphin | unless the angel is only a few bytes long and the rest of it's partition if ff ff ff.... |
20:17.54 | sorphin | file: battling code |
20:17.58 | file | sorphin: evil |
20:18.19 | sorphin | file: something like that |
20:22.16 | sorphin | kergoth`lunch: something's not right about the address i'm starting from, it can't be i start from virt_addr w/ a base of 0xFFC000 |
20:22.41 | sorphin | i find 4 bytes of actual stuff, then the rest is ff ff ff ff for well.. a long time atleast still |
20:22.55 | kergoth`lunch | well, collie.c shows you the static map w/ phys and virt addresses |
20:22.58 | prpplague | sorphin: you got that dilbert url? |
20:23.01 | kergoth`lunch | look at that and confirm the flash start point |
20:34.58 | sorphin | prpplague: hmm? |
20:36.37 | sorphin | kergoth: you mean tslib-collie or collie ? |
20:36.43 | prpplague | sorphin: remember that dilbert cartoon, the one about "who's my bitch?" |
20:36.44 | kergoth | collie |
20:36.50 | kergoth | thats arch/arm/mach-sa1100/collie.c |
20:36.51 | sorphin | prpplague: ah yeah |
20:36.53 | kergoth | bottom of the file |
20:36.57 | kergoth | near there anyway |
20:37.06 | sorphin | kergoth: you mean the map_desc ? |
20:37.31 | sorphin | man this crap's nasty looking code |
20:37.37 | kergoth | yes |
20:37.38 | sorphin | i hope tim wrote very little of this ;) |
20:37.38 | kergoth | no shit |
20:37.52 | kergoth | this is the crap i had to deal with |
20:38.00 | sorphin | prpplague: lemme see if i can dig it up |
20:38.55 | prpplague | kergoth: you think it was lineo in general or just their jp offices that create nightmare code? |
20:39.09 | kergoth | never seen lineo us code |
20:41.13 | sorphin | prpplague: prp: can't find.. |
20:41.16 | sorphin | grr |
20:41.18 | sorphin | -prp: |
20:42.07 | sorphin | kergoth: they say in their damn comments "32M main flash" "32M boot flash" |
20:42.10 | sorphin | ummm |
20:42.22 | kergoth | heh |
20:42.23 | sorphin | since when is there 32M of flash :P |
20:42.25 | kergoth | dont ask me wtf that means |
20:42.30 | kergoth | they had a bunch of dev models |
20:42.48 | kergoth | thats what COLLIE_TS is |
20:42.57 | kergoth | and XIP_ROM isnt enabled, Z doesnt use XIP |
20:50.00 | kergoth | god its beautiful outside here today |
20:50.05 | kergoth | i wish i wasnt stuck in a cubical |
20:50.26 | sorphin | kergoth: heh, we just blew today's high away |
20:50.34 | kergoth | nice |
20:50.38 | sorphin | was supposed to be 77, we had that before noon, it's currently 83 |
20:51.28 | prpplague | sorphin: ohh ok, no |
20:51.32 | prpplague | sorphin: problem |
20:52.32 | sorphin | prpplague: i do know the one you mean tho |
20:52.51 | sorphin | prpplague: if i happen to find it, i'll let you know.. and vise versa ;) |
20:54.49 | sorphin | umm |
20:54.50 | sorphin | George Foreman USB iGrill |
20:54.53 | kergoth | heh |
20:54.57 | kergoth | ~cluebat kergoth |
20:54.58 | | ACTION pulls out a ClueBat (tm) and thwaps kergoth. |
20:55.07 | sorphin | that's got to be one of the lamest 04/01/03 jokes |
20:55.09 | sjhill | i decided to completely ignore /. today...being april 1st and all |
20:55.10 | sorphin | i've seen yet |
20:55.15 | kergoth | sjhill: same |
20:55.24 | sorphin | jeez |
20:55.38 | sorphin | that makes *5* posts about "RFC3514" today |
20:55.41 | sorphin | lame |
20:55.43 | kergoth | heh |
20:55.48 | kergoth | just close the browser |
20:55.51 | kergoth | you can do it |
20:55.54 | kergoth | :P |
20:55.58 | chouimat | sorphin: yup |
20:56.18 | sorphin | kergoth: i'm trying to find a damn way to decipher this crap |
20:57.32 | sorphin | kergoth: is the collie_ts ours? |
20:57.49 | kergoth | collie_ts? |
20:57.59 | sorphin | #ifdef CONFIG_COLLIE_TS |
20:58.01 | sorphin | { 0xe8000000, 0x08000000, 0x02000000, DOMAIN_IO, 1, 1, 0, 0 }, /* 32M main flas |
20:58.01 | sorphin | { 0xea000000, 0x00000000, 0x02000000, DOMAIN_IO, 1, 1, 1, 0 }, /* 32M boot flas |
20:58.01 | sorphin | { 0xec000000, 0x10000000, 0x02000000, DOMAIN_IO, 1, 1, 0, 0 }, /* 32M telios fl |
20:58.01 | sorphin | { 0xf2000000, 0x18000000, 0x00001000, DOMAIN_IO, 1, 1, 0, 0 }, /* 4kb debug LED |
20:58.01 | sorphin | { 0xf3000000, 0x48000000, 0x00001000, DOMAIN_IO, 1, 1, 0, 0 }, /* 4kb CF buf ct |
20:58.02 | sorphin | #else |
20:58.02 | kergoth | oh |
20:58.04 | kergoth | nope |
20:58.04 | sorphin | { 0xe8000000, 0x00000000, 0x02000000, DOMAIN_IO, 1, 1, 0, 0 }, /* 32M main flas |
20:58.06 | kergoth | thats a dev unit |
20:58.06 | sorphin | { 0xea000000, 0x08000000, 0x02000000, DOMAIN_IO, 1, 1, 0, 0 }, /* 32M boot flas |
20:58.08 | sorphin | { 0xf2000000, 0xC2000000, 0x02000000, DOMAIN_IO, 1, 1, 0, 0 }, /* 32M Special C |
20:58.10 | sorphin | #endif |
20:58.14 | sorphin | ok |
20:58.16 | sorphin | so were the other side of that ifdef |
20:58.20 | sorphin | k |
20:58.20 | kergoth | yea |
20:59.54 | sorphin | kergoth: any idea where collie_io_desc[], which ever |
21:00.01 | sorphin | -which ever |
21:00.04 | sorphin | is defined? |
21:00.26 | kergoth | uh |
21:00.30 | kergoth | you're reading its definition |
21:00.34 | sorphin | nono |
21:00.40 | kergoth | yesyes |
21:00.46 | kergoth | static struct map_desc collie_io_desc[] __initdata = { |
21:00.50 | sorphin | that tells what each part of the array is :P |
21:00.59 | sorphin | { 0xe8000000, 0x00000000, 0x02000000, DOMAIN_IO, 1, 1, 0, 0 }, /* 32M main flas |
21:01.06 | kergoth | you mean, where is *map_desc* *declared* |
21:01.09 | kergoth | heh |
21:01.12 | sorphin | that too |
21:01.21 | sorphin | then second guessed :P |
21:01.34 | sorphin | kergoth: gimme a break i'm tired too :P |
21:01.56 | kergoth | /usr/src/gatekeeper$ grep -nr map_desc /usr/src/corgi/build/linux/include/asm-arm/ |
21:02.00 | kergoth | /usr/src/corgi/build/linux/include/asm-arm/mach/map.h:12:struct map_desc { |
21:02.02 | kergoth | /usr/src/corgi/build/linux/include/asm-arm/mach/map.h:31:extern void iotable_init(struct map_desc *); |
21:02.05 | kergoth | grep is your friend |
21:02.06 | kergoth | :) |
21:02.24 | sorphin | unless that happens to also be in the stock linux kernel |
21:02.37 | sorphin | it's not, cuz i havent' seen anything in buildroot but patches :P |
21:02.39 | kergoth | sorphin: make SUBDIRS=packages/kernel-collie package; |
21:02.47 | kergoth | buildroot downloads what it needs when it needs it |
21:02.49 | kergoth | and not before |
21:03.44 | kergoth | actaully all you really need is sourcetrees |
21:03.50 | kergoth | make SUBDIRS=packages/kernel-collie sourcetrees |
21:03.54 | kergoth | that'll download and extract the kernel |
21:03.56 | kergoth | but wont build |
21:04.02 | kergoth | then dig in build/linux/ |
21:04.05 | sorphin | heh |
21:04.07 | sorphin | no it won't ;) |
21:04.17 | kergoth | eh? |
21:04.42 | sorphin | apparently i have to do *everything* on that bitkeeper step :P |
21:04.43 | sorphin | aka |
21:04.48 | sorphin | the cp, the make menuconfig |
21:04.56 | sorphin | the make |
21:04.56 | kergoth | or oldconfig |
21:05.00 | kergoth | yep |
21:05.06 | kergoth | it wont be happy with you otherwise |
21:05.19 | sorphin | well |
21:05.21 | sorphin | it's not happy now |
21:05.22 | sorphin | CosmicPenguin: cannot stat `def-configs/openzaurus': No such file or directory |
21:05.24 | sorphin | grr |
21:05.29 | kergoth | ibot: oz buildroot |
21:05.29 | | hmm... oz bk is bk clone bk://openzaurus.bkbits.net/buildroot buildroot-oz; cd buildroot-oz; bk -r co -q; cp def-configs/collie-opie .config (for zaurus 5000d/5500) .. make oldconfig; make; or see bitkeeper (free download but non-gpl) or see 'oz snapshot' if you either cannot or will not use bitkeeper. |
21:05.31 | kergoth | sorphin: ^^ |
21:05.36 | kergoth | the faq is outdated |
21:05.40 | kergoth | havent had a chance to update it |
21:05.48 | sorphin | :P |
21:06.41 | sorphin | doh |
21:06.52 | sorphin | error |
21:06.53 | sorphin | :P |
21:06.58 | kergoth | heh |
21:07.06 | sorphin | gcc -O2 -Wall -g -fPIC -c zconf.tab.c -o zconf.tab.o |
21:07.06 | sorphin | In file included from zconf.l:17, |
21:07.06 | sorphin | <PROTECTED> |
21:07.06 | sorphin | zconf.tab.h:8: conflicting types for `YYSTYPE' |
21:07.06 | sorphin | zconf.y:39: previous declaration of `YYSTYPE' |
21:07.07 | sorphin | zconf.tab.h:44: conflicting types for `zconflval' |
21:07.13 | kergoth | eh |
21:07.19 | kergoth | install flex and bison |
21:07.22 | kergoth | and read docs/BUILD |
21:07.53 | kergoth | most likely |
21:08.00 | kergoth | i know very very little about parser generation |
21:09.59 | sjhill | kergoth: same here....i remain ignorant....on purpose...that stuff is insane |
21:10.09 | kergoth | agreed |
21:10.20 | kergoth | it has its place.. i just dont want to be in that place |
21:10.24 | kergoth | :) |
21:10.30 | sjhill | ;) |
21:10.55 | sorphin | well |
21:10.58 | sorphin | upgraded bison/flex |
21:11.14 | sorphin | damn conflicitng types BS |
21:11.59 | sorphin | kergoth: are you using that new kernel config crap? |
21:12.04 | sorphin | please say no |
21:12.54 | sorphin | ugh |
21:12.55 | sorphin | you are |
21:13.03 | sorphin | ~lart kergoth |
21:13.59 | sorphin | kconfig's own files are conflicting eachother |
21:15.46 | kergoth | what? |
21:15.50 | kergoth | works fine for everybody else |
21:15.54 | sorphin | heh |
21:15.57 | sorphin | just worked here :P |
21:16.00 | sorphin | did a make clena in kconfig |
21:16.00 | kergoth | heh |
21:16.04 | sorphin | clean even |
21:16.27 | sorphin | zconf.tab.h:8: conflicting types for `YYSTYPE' |
21:16.27 | sorphin | zconf.y:39: previous declaration of `YYSTYPE' |
21:16.33 | sorphin | those were conflicting |
21:16.40 | sorphin | did a make clean and make |
21:16.49 | sorphin | it remade everything :P |
21:17.06 | sorphin | coo |
21:17.08 | sorphin | works now :P |
21:18.10 | sorphin | kergoth: whatever you have sitting in buildroot's kconfig in bk shouldn't be pregenerated it looks like, it should do a make in kconfig to make the files when you go to config *shrug* |
21:18.27 | kergoth | one of the generated files is in bk? |
21:18.36 | kergoth | are you sure you didnt have a remnant from your attempt to build with old bison/flex? |
21:19.24 | sorphin | kergoth: don't thikn i did... can you check in bk to make sure there's not already a zconf.tab.h in there ? |
21:20.57 | kergoth | yeah, i'll check |
21:21.10 | sorphin | grr |
21:21.53 | sorphin | ok, make oldconfig completed just fine, but now even if it do SUBDIRS=packags/kernel-collie |
21:21.54 | sorphin | make[1]: *** No rule to make target `/root/openz/src/buildroot-oz/stamps/.ipkg-utils.sourcetree', needed by `/root/openz/src/buildroot-oz/stamps/.ipkg-utils.binary'. Stop. |
21:22.28 | sorphin | kergoth: you'll never get a beer from me at this rate ;) |
21:28.59 | kergoth | ah, at least we're in the realm of known behaviors now |
21:29.02 | kergoth | i just ran into that one :) |
21:29.04 | kergoth | hold on |
21:31.05 | kergoth | sorphin: bk pull; bk -r co -q; |
21:31.07 | kergoth | sorphin: make |
21:31.32 | sorphin | there |
21:32.21 | sorphin | heh |
21:32.28 | sorphin | it found my ccache/distcc :P |
21:33.15 | sorphin | heh |
21:33.18 | sorphin | perl error |
21:33.21 | kergoth | perl error? |
21:33.37 | sorphin | it wants bytes.pm to make autoconf |
21:35.05 | kergoth | sorphin: make SUBDIRS=packages/kernel-collie sourcetrees |
21:35.19 | sorphin | kergoth: you're the one that said type make ;) |
21:35.19 | kergoth | its building x86 apps it generally needs, but really arent needed for a kernel build |
21:35.24 | kergoth | yeah, i know |
21:37.10 | sorphin | kergoth: i wish there were a way to have 1 copy of the kernel to appease every project instead of 50 of them ;) :) |
21:38.56 | *** join/#elinux prpplague (~JoeBob1@12.148.134.9) |
21:38.56 | *** mode/#eLinux [+o prpplague] by ChanServ |
21:39.05 | sorphin | ~fishslap prpplague |
21:39.07 | | ACTION slaps prpplague up side the head with a wet fish. |
21:40.00 | prpplague | sorphin: whats that for? |
21:40.12 | sorphin | prpplague: for being so scarce today :P |
21:40.29 | prpplague | sorphin: ahh |
21:40.45 | prpplague | sorphin: been working on phpgroupware and getting IE5.5 running under wine |
21:41.09 | sorphin | ewww |
21:41.34 | sorphin | prpplague: keep that up and you'll get cluebatted too *grin* |
21:42.40 | sorphin | kergoth: ah, finally |
21:42.40 | prpplague | sorphin: lol, ya well, if these m$ dick sucking vendors would stop making ie only sites i wouldn't have to bastardize a perfectly good server |
21:42.48 | sorphin | kergoth: struct map_desc { |
21:42.48 | sorphin | <PROTECTED> |
21:42.48 | sorphin | <PROTECTED> |
21:42.48 | sorphin | <PROTECTED> |
21:43.28 | sorphin | prpplague: heh, wcom is stopping 'support' for NS4, etc april 4th |
21:43.39 | sorphin | atm, it randomly directs you to a corporate standard browser page |
21:43.40 | fontenot | <PROTECTED> |
21:43.46 | sorphin | fontenot: ya think? |
21:43.55 | fontenot | :-) |
21:43.57 | sorphin | fontenot: should be up to their 6th RFC posting |
21:43.59 | sorphin | :P |
21:44.23 | fontenot | yeah i was just about to say |
21:45.04 | sorphin | kergoth: hmm |
21:45.16 | sorphin | based on that |
21:45.49 | sorphin | if this is the right one |
21:45.50 | sorphin | { 0xf0000000, 0x40000000, 0x01000000, DOMAIN_IO, 1, 1, 0, 0 }, /* 16M LOCOMO |
21:46.07 | kergoth | no |
21:46.12 | kergoth | locomo is a gate/array in the Z |
21:46.18 | kergoth | sharp proprietary chip |
21:46.20 | sorphin | then that leaves |
21:46.24 | sorphin | 0xe8 |
21:46.26 | sorphin | 0xea |
21:46.30 | sorphin | and 0xf2 |
21:46.34 | sorphin | for physical |
21:46.48 | sorphin | those are the only other non COLLIE_TS ones |
21:46.49 | *** part/#elinux MuscleNerd (eric@adsl-63-203-103-49.dsl.lsan03.pacbell.net) |
21:51.57 | *** join/#elinux chouimat (~dieu@modemcable120.184-130-66.que.mc.videotron.ca) |
22:01.11 | sorphin | kergoth: ooer.. bus error |
22:01.15 | sorphin | finally something new :P |
22:15.50 | sorphin | kergoth: hmmm |
22:16.13 | sorphin | kergoth: i just dd'd /dev/mtdblock0 to a file, and hexedited it... the beginning of that 16M file |
22:16.16 | sorphin | is hte initrd |
22:22.14 | kergoth | remember, that sa1100-flash.c you got from me is an oz partitioning, not sharp |
22:22.18 | kergoth | :P |
22:22.33 | kergoth | the zimage still remains in flash w/ sharp |
22:22.46 | kergoth | but its not accessiable via an mtd device in sharp |
22:24.24 | sorphin | kergoth: any idea what the /dev/collie-fl is for ? |
22:31.32 | prpplague | sorphin: fl=frontlight ? |
22:32.17 | chouimat | prpplague: cat read from it |
22:32.23 | chouimat | s/cat/can't |
22:32.53 | kergoth | yes, its frontlight |
22:39.08 | jacques | lol http://www.museumofhoaxes.com/top100.html |
22:39.16 | jacques | top 100 april fool's jokes |
22:39.25 | jacques | amazing what ppl will believe |
22:40.27 | jacques | #8: Alabama Changes the Value of Pi |
22:40.29 | jacques | heh |
22:40.34 | kergoth | heh |
22:44.12 | chouimat | #17: The Left-Handed Whopper |
22:49.54 | jacques | i got one of those by accident once |
22:51.53 | chouimat | jacques: http://www.freeswan.ca/code/patriotswan/ |
22:52.29 | jacques | lol |
22:52.53 | jacques | hmm I shouldn't laugh - before long that might be real |
22:53.26 | chouimat | jacques: the tar.gz file is 2.5MB |
22:56.38 | chouimat | ls -l ipsec_alg_rot13.c |
22:56.39 | chouimat | -rw-r--r-- 1 234 users 4173 Mar 31 22:14 ipsec_alg_rot13.c |
23:00.28 | jacques | how big is the tarball of enlightenment 1.0 ? |
23:03.28 | prpplague | jacques: size is more like purgatory |
23:03.30 | chouimat | jacques: sais pas |
23:09.41 | CosmicPenguin | prpplague: syncing is done, man |
23:12.21 | CosmicPenguin | prpplague: notice I didn't say bug free... :( |
23:18.04 | prpplague | CosmicPenguin: lol |
23:18.07 | prpplague | CosmicPenguin: cool beans |
23:18.13 | kergoth | sorphin: any luck? |
23:18.22 | sorphin | kergoth: heh, what's it's point? (the frontlight thing) |
23:18.29 | sorphin | um.. just got home, so, no.. |
23:18.33 | kergoth | heh |
23:18.48 | kergoth | collie_fl is the interface for controlling frontlight brightness in our 2.4.6 tree |
23:19.00 | kergoth | in 2.4.19 i usee russ' backlight drivers |
23:19.29 | sorphin | ah |
23:19.32 | prpplague | sorphin: i had a bastardization of one of the ipaq utils to work with it |
23:19.47 | prpplague | sorphin: iirc blset |
23:20.04 | sorphin | nod |
23:20.09 | sorphin | kergoth: where i left off however |
23:20.20 | sorphin | i can't seem to read more than 4k |
23:20.23 | sorphin | before a segv |
23:20.30 | sorphin | if i try from ea |
23:20.32 | sorphin | i sigbus |
23:21.05 | kergoth | heh |
23:21.21 | kergoth | is 4k the page size? |
23:21.38 | sorphin | heh. prolly.. lemme take a looksie |
23:23.17 | sorphin | yes |
23:23.52 | kergoth | well then. you cant read across page boundry |
23:23.57 | kergoth | id' say mmap a 4k chunk at a time |
23:23.58 | sorphin | yeah |
23:24.01 | kergoth | move i tup, move it up |
23:24.02 | kergoth | heh |
23:24.08 | sorphin | ugh |
23:24.12 | kergoth | neeeddd coffeeeee orrr alcohholll |
23:24.15 | sorphin | this sucks ass |
23:24.38 | sorphin | kergoth: help me get this shiz going, i'll owe you a beer :P |
23:24.40 | sorphin | or 2 |
23:26.12 | sorphin | why is it only the Z is this much trouble? :P |
23:26.22 | sorphin | the tivo's i mmap the whole damn flash |
23:26.25 | sorphin | works fine |
23:26.27 | sorphin | :P |
23:27.15 | sorphin | and it's 128k |
23:28.25 | kergoth | tivo != Z |
23:28.28 | kergoth | heh |
23:28.35 | sorphin | yeah |
23:28.36 | sorphin | i know |
23:28.40 | kergoth | arm behaves differently, its expected |
23:28.41 | sorphin | the Z's more of a bitch :P |
23:29.01 | sorphin | kergoth: heh, well, i'm not even remotely an arm expert, muchless a novice :P |
23:29.13 | kergoth | heheh |
23:29.18 | kergoth | i'm still a newbie |
23:29.23 | kergoth | learning though |
23:29.46 | sorphin | kergoth: i knew it was gonna be a pain |
23:29.54 | kergoth | heh |
23:29.58 | sorphin | when i saw there was physical vs virtual :P |
23:30.02 | kergoth | all ya have to do is glance at the collie tslib module to see that |
23:30.05 | kergoth | :) |
23:30.13 | sorphin | and lucky you |
23:30.16 | sorphin | you stay in the 1st damn page |
23:30.21 | kergoth | hehe |
23:30.22 | kergoth | yep |
23:30.25 | sorphin | bastard |
23:30.30 | kergoth | :D |
23:30.45 | sorphin | kergoth: and ya know, i'm doing all this crap |
23:30.49 | sorphin | JUST so i can run OZ :P |
23:30.58 | sorphin | wonder if it's all worth it :P |
23:32.23 | kergoth | after fighting your sharp z just to get telnet, can you really ask that question? |
23:32.26 | kergoth | :P |
23:32.58 | sorphin | kergoth: the main fighting there was just the usb being uncooperative |
23:32.59 | sorphin | :P |
23:33.07 | sorphin | this is down right unruley |
23:33.10 | sorphin | if i didn't know better |
23:33.16 | sorphin | i'd think my Z was from TX :P |
23:35.45 | sorphin | kergoth: so.. digiwhore |
23:35.58 | sorphin | ever gotten bc to do conversion between bases? |
23:48.54 | prpplague | sorphin: yes |
23:49.02 | prpplague | sorphin: bc is fun |
23:49.52 | sorphin | prpplague: ok, quicky then, how to convert between bases ;) |
23:50.02 | sorphin | so i can start page hopping.. (damn ARM) |
23:50.25 | prpplague | from dec to hex or hex to dec? |
23:51.13 | sorphin | both actually |
23:52.05 | prpplague | ok start bc, set you input base with: ibase= |
23:52.09 | prpplague | i.e ibase=10 |
23:52.20 | prpplague | then set your output base with: obase= |
23:52.28 | prpplague | i.e. obase=16 |
23:52.46 | kergoth | dont forget that your ibase affects the number youenter when inputting obase |
23:52.48 | kergoth | :) |
23:52.50 | prpplague | then type the number and press enter, the next line will output the conversion |
23:52.57 | sorphin | heh |
23:53.25 | sorphin | heh |
23:53.26 | sorphin | finally |
23:53.28 | sorphin | something that works :P |
23:53.38 | prpplague | i've got a 99 bottles of beer script for bc |
23:53.43 | prpplague | pretty funny stuff |
23:53.51 | sorphin | prpplague: toss it on over |
23:54.00 | sorphin | i could use the entertainment atm |
23:54.22 | sorphin | kergoth: i get to scan/map 4096 4k pages :P |
23:54.34 | sorphin | ~lart ARM |
23:56.48 | prpplague | http://www.datebo.com/areas/linux/programming/99bottles/ |
23:58.35 | sorphin | thanks |
23:59.05 | kergoth | prpplague: hah |
23:59.10 | kergoth | i like the zen beer |
23:59.11 | kergoth | <PROTECTED> |
23:59.11 | kergoth | <PROTECTED> |
23:59.11 | kergoth | <PROTECTED> |
23:59.14 | kergoth | <PROTECTED> |
23:59.44 | sorphin | heh |