09:14:02 | Sammy | rest time...... |
17:31:22 | Russ | new branch today? |
17:31:33 | Russ | btw, is bootldr GPL? |
17:31:37 | erikm | wait a second I just found an important bug |
17:32:04 | erikm | we specify RAMDISK_SIZE in bytes, while it should be specified in KILObytes :) |
17:33:46 | erikm | do you have some recent bootldr source? |
17:34:52 | Russ | no |
17:35:13 | Russ | hmm....is that why ramdisk never worked on the tuxscreen maybe? |
17:39:03 | erikm | that might be very well, yes |
17:39:03 | erikm | let me commit the change |
17:39:03 | erikm | ok, it's in CVS right now |
17:39:03 | BZFlag | CRL bootldr is NOT gpl. weren't your jffs2 patches GPLed? |
17:40:03 | BZFlag | I tried to get em to go GPL, and they refused. |
17:40:03 | erikm | BZFlag: IIRC the kernel is downloaded at the first bank |
17:40:03 | Russ | it also contains some of david's gpl code |
17:40:03 | BZFlag | and the sodimm would be the last 2 banks right? |
17:40:09 | erikm | BZFlag: they almost used blob when they started with the iPaq |
17:40:23 | BZFlag | why didn't they? |
17:40:50 | BZFlag | this split effort is silly at this point. |
17:41:05 | BZFlag | Russ: david? |
17:41:22 | erikm | jamey and (forgot his name) |
17:41:47 | erikm | they didn't because at that point their bootldr was more advanced |
17:41:57 | erikm | their licensing is a bit strange right now |
17:42:30 | erikm | the main part is X11-like license |
17:42:39 | BZFlag | yep. I'd like to convince them to drop bootldr and use blob now. then efforts would be reused more. |
17:42:56 | erikm | BZFlag: I asked jim gettys for hardware info |
17:43:14 | BZFlag | no did the bootldr come into existance? I was wondering why they didn't start with an existing loader. |
17:43:15 | erikm | BZFlag: he thought it was a good idea, but jamey hicks should do the details |
17:43:24 | BZFlag | but I wonder that for the yopy folk too. ;-) |
17:43:36 | erikm | BZFlag: but jamey was/is on holiday |
17:43:44 | BZFlag | ah. |
17:43:58 | erikm | they used bootldr for their personal server and skiffcluster |
17:44:09 | erikm | it was something they already had |
17:44:18 | BZFlag | are we making a new branch? or tagging and adding onto the main? |
17:44:18 | erikm | (I remember his name: george france) |
17:44:32 | erikm | I think tagging on the main |
17:44:40 | BZFlag | nice. I agree. |
17:44:48 | BZFlag | like to avoid branches... ;-) |
17:44:53 | erikm | maybe I'll branch a 2.0.3-fixes branch |
17:45:07 | erikm | to put the obvious fixes in |
17:45:15 | erikm | (like the RAMDISK_SIZE one I just put in) |
17:45:28 | BZFlag | I think we can get a new release out soon, I vote for branching only if that turns out to not be true. |
17:46:00 | erikm | BZFlag: well, I think I'm gonna release even tomorrow. the RAMDISK_SIZE bug is deadly on LART |
17:46:09 | BZFlag | that makes sense. |
17:46:16 | BZFlag | 2.0.3.1 ? ;-) |
17:46:30 | erikm | nah, let's just make it 2.0.4 |
17:46:40 | BZFlag | awww, yer no fun. |
17:47:03 | BZFlag | grins |
17:47:51 | BZFlag | hey you know about the kingston cf eth cards I have? $20 usd each. |
17:48:18 | BZFlag | they include a pcmcia carrier and work with pcnet_cs.o |
17:49:54 | erikm | hmm, not too much |
17:50:15 | erikm | I got one that came with my Assabet |
17:50:59 | BZFlag | 10baseT with an integrated connector. I picked up 30 of them to resell with phones. |
17:51:28 | BZFlag | just filling ya in in case you need/want some. they are selling fast at $20. |
17:52:37 | erikm | I don't think it's necessary, I also have a 3com 574B PCMCIA card |
17:53:02 | BZFlag | no prob. just offering. |
17:53:04 | erikm | that's 5V, or do I need a 3.3V version? |
17:53:19 | BZFlag | Tux only does 3.3v |
17:53:40 | BZFlag | CF adapters are required to handle both 3.3 and 5 so they are safe. |
17:54:09 | erikm | the CF adapter that came with the assabet is from socketcom.com |
17:54:44 | BZFlag | that's a better board. already included in the pcmcia config files and draws less power than any eth card I've ever seen. |
17:55:08 | erikm | it also uses the pcnet_cs driver, IIRC |
17:55:20 | BZFlag | yep. I have one here. |
17:55:48 | BZFlag | they are pricy though. the cheapest I've seen em was like $120 usd |
17:57:46 | erikm | so how did you get the kingstons? |
17:59:47 | BZFlag | they work. average speed. dongle free, but require adding a pcmcia/config line. I've sent the patch to david hinds so that shouldget fixed soon. |
18:00:18 | BZFlag | I just use em cause I got em cheap. they are discontinued, but kingston still supports em. |
18:00:54 | BZFlag | hunting on the net. from justdeals.com who had em on sale. I cleaned them out. |
18:01:35 | erikm | hehe :) |
18:02:16 | erikm | BTW, bootldr licensing is strange: it's X11 like, but some parts are GPL |
18:03:04 | erikm | so everythin in load_kernel is GPL, but that would mean that bootldr automatically becomes GPL |
18:03:39 | erikm | thinks they have a license problem |
18:08:47 | BZFlag | agrees |
18:10:33 | BZFlag | wonders if we can stop "Consider yourself LARTed!" and perhaps consider ourselves blobbed? |
18:10:45 | BZFlag | grins |
18:11:21 | erikm | it doesnt have to say it bites, right? |
18:37:33 | Russ | david = david woodhouse, jffs2 developer/mtd maintainer |
18:38:19 | Russ | where can I find the bootldr source |
18:40:23 | Russ | turns on the tuxscreen |
18:41:55 | erikm | Russ: no, dave woodhouse's IRC nick is dwmw2 |
18:42:13 | erikm | Russ: the easiest is to get it from the handhelds.org CVS |
18:42:26 | Russ | I know his irc nick |
18:42:35 | Russ | I was just using his first name |
18:43:15 | Russ | hmm....need to make a ramdisk, and a kernel for it |
18:46:28 | Russ | wonders why it still says "blob version 1.0.9-hack" |
18:46:57 | BZFlag | it says 2.0.3 now. |
18:47:12 | BZFlag | Russ has an old version. |
18:47:15 | erikm | Russ cvs update -dAP |
18:47:33 | Russ | I had to rm Makefile and config.status |
18:47:45 | BZFlag | like -PdA cause it's easier to remmember. ;-) |
18:47:53 | Russ | even with rebuild-gcc and --enable-maintainer-mode |
18:48:12 | BZFlag | has a rebuild scropt and runs that each time. |
18:48:38 | erikm | oh, I have a rebuild script that compiles for all architectures (debug and non-debug versions) |
18:50:01 | erikm | quite nice if you want to know if all architectures still compile correctly |
18:50:07 | erikm | interested? |
18:50:24 | Russ | add it to tools? |
18:50:30 | Russ | or maybe scipts/ |
18:50:41 | BZFlag | yeah, scripts would be nice. |
18:50:46 | erikm | it's not really part of blob |
18:51:15 | BZFlag | but useful none the less. |
18:51:23 | erikm | I'll just send it to you two |
18:51:40 | Russ | just add it to cvs |
18:51:47 | BZFlag | I think I could recreate it, it's the newbies I'm more interested in. |
18:52:23 | BZFlag | well, "concerned with" might be more accurate. ;-) |
18:52:29 | BZFlag | heads into work |
18:52:37 | Russ | cya |
18:52:51 | erikm | ok, I'll make a scripts directory in CVS |
18:53:43 | Russ | lemme think about the name for a sec |
18:54:06 | Russ | because my jffs2/cramfs code has userspace debug stuff |
18:54:43 | Russ | and the paramater block code will need code seperate from the blob binary to create a paramater block |
18:55:10 | erikm | yes |
18:55:30 | Russ | so maybe an apt directory name for all that stuff |
18:55:53 | erikm | are you talking about my scripts or jor jffs2 stuff? |
18:56:09 | Russ | everything that isn't blob, but related to blob |
18:56:29 | erikm | utils? |
18:57:06 | Russ | sounds good, just a suggestion though, different tools can go in different directories |
18:57:13 | erikm | sure |
18:57:20 | erikm | so utils/build? |
18:58:04 | Russ | sounds good |
18:59:16 | erikm | does that justify blob-2.0.4 instead of 2.0.3.1? :) |
18:59:40 | Russ | think so |
19:00:34 | Russ | ramdisk still doesn't work |
19:00:47 | Russ | lemme make sure I have the diff |
19:01:18 | erikm | include/main.h should have: |
19:01:20 | erikm | #define RAMDISK_SIZE (8 * 1024) |
19:01:52 | Russ | yup |
19:02:04 | erikm | oh, also add root=/dev/ram |
19:02:08 | Russ | yup |
19:02:27 | erikm | so your commandline should be something like: console=ttySA0,9600 root=/dev/ram |
19:03:02 | Russ | it is |
19:05:20 | erikm | hmm |
19:05:25 | Russ | my makefile won't come back... |
19:05:35 | erikm | what are the kernel messages? |
19:05:42 | erikm | makefile? |
19:05:47 | Russ | in blob |
19:06:21 | erikm | head config.status, cut the current configuration |
19:06:35 | Russ | ./configure --with-board=shannon --with-linux-prefix=/home/russ/jtag/kernel/working --enable-maintainer-mode |
19:06:53 | erikm | now make distclean ; cvs update -dAP ; tools/rebuild-gcc ; tools/rebuild-gcc ; <paste with mouse> ; make |
19:07:13 | Russ | can't make distclean |
19:07:40 | erikm | weird |
19:07:50 | Russ | cvs update -dAP does nothing |
19:08:11 | Russ | and I've already done the rebuild-gcc thing ttwwiiccee, and configure |
19:08:48 | Russ | ah, finally got a makefile |
19:09:03 | Russ | a broken one... |
19:09:13 | Russ | er |
19:09:22 | Russ | I need to do CC, OBJCOPY |
19:09:55 | erikm | OBJCOPY shouldn't be necessary |
19:10:09 | erikm | and you need to add arm-linux-unknown-gnu to the configure line |
19:16:32 | Russ | still locks at RAMDISK: Compressed image found at block 0 |
19:16:46 | Russ | even if the command line is "console=ttySA0,9600 console=tty1 root=/dev/mtdblock2 init=/linuxrc" |
19:17:33 | erikm | no "Freeing initrd memory: 3072K"? |
19:17:55 | Russ | nope |
19:18:04 | Russ | it just dies on some ramdisks, and not others |
19:18:33 | Russ | and no sysrq |
19:18:35 | erikm | what does the line "RAMDISK driver initialized: " say? |
19:18:53 | Russ | RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize |
19:19:01 | erikm | that's good |
19:19:16 | erikm | unless you only have a 4MB ramdisk |
19:19:19 | Russ | er, wait, I have sysrq on the keyboard |
19:20:12 | Russ | its in schedule() I think |
19:20:18 | Russ | er |
19:20:19 | Russ | no |
19:20:35 | Russ | its task 0 thats running, which makes sense |
19:20:51 | Russ | it just says PC "current" which is unhelpfull |
19:21:00 | erikm | which kernel is that? |
19:21:13 | Russ | show regs does nothing |
19:21:21 | Russ | 2.4.7-rmk2-np1-tux1 |
19:22:14 | erikm | did you already send some basic stuff to rmk? |
19:22:21 | Russ | not yet |
19:22:26 | Russ | been a bit busy lately |
19:22:31 | erikm | heh :) |
19:23:15 | Russ | is show regs not implemented on arm? |
19:25:05 | erikm | can't try right now, just in the middle of an e2fsck |
19:25:11 | erikm | re, tim |
19:29:00 | erikm | Russ: magic-sysrq P shows the regs |
19:30:09 | Russ | SysRq: Show Regs |
19:30:09 | Russ | SysRq: Show Regs |
19:30:09 | Russ | SysRq: Show Regs |
19:30:35 | erikm | SysRq: Show Regs |
19:30:36 | erikm | pc : [<c0013b18>] lr : [<c0013b18>] |
19:30:42 | erikm | and then all registers |
19:30:54 | erikm | this is 2.4.6-rmk2-np1 |
19:31:08 | erikm | haven't tried it in 2.4.8-ac12-rmk1-np1 yet |
19:32:39 | Russ | I don't get it |
19:37:08 | erikm | well. the system isn't completely up right now |
19:37:20 | erikm | so that might explain |
19:59:29 | erikm | ok, I'm going to submit my scripts to CVS |
19:59:41 | erikm | I'll also kick the version number to 2.0.4 :) |
20:00:05 | erikm | s/submit/commit/ |
20:05:21 | erikm | re, Russ |
20:08:34 | erikm | Russ: scripts commited |
20:08:56 | erikm | you really need to do tools/rebuild-gcc after you cvs update your tree |
20:28:51 | erikm | Consider yourself LARTed! |
20:28:51 | erikm | blob version 2.0.4 |
20:28:53 | erikm | :) |
20:46:04 | erikm | goes zzz |