**** BEGIN LOGGING AT Thu Jan 26 02:59:57 2006 Jan 26 12:20:17 anyone there help me to config/compile actual version of apex to boot slug with 128MB RAM? Jan 26 12:48:20 sinclair73de, 128Megs? Nice. I'm starting to think going to 64Megs would be nice. Jan 26 13:16:44 :-) ITS RUNNING :-) :-) Jan 26 13:18:04 total used free shared buffers Jan 26 13:18:16 Mem: 128036 26984 101052 0 1020 Jan 26 13:18:51 nice! Jan 26 13:19:07 VoodooZ: do you know how to check the complete ram? Jan 26 13:20:00 check? Jan 26 13:20:26 I'm still at 32megs but I might consider upgrading to 64 if it's well documented enough. Jan 26 13:20:39 i want test the ram Jan 26 13:20:52 * VoodooZ_Work scratches in head. Jan 26 13:21:14 Not sure. I know linux has a memory tester but I wonder if it's available as a OE package. Jan 26 13:21:53 actually yes, the OE package is called memtest. Jan 26 13:22:05 don't you need a custom built kernel to use more than 32 mb? Jan 26 13:22:10 oops s/memtest/memtester/g Jan 26 13:22:11 thanks... Jan 26 13:22:20 never tried it though Jan 26 13:22:31 no, openslug works with more than 32MB Jan 26 13:23:03 sinclair73de, did you use special soldering equipment to yours? Jan 26 13:23:11 but you need apex bootloader Jan 26 13:23:47 I actually started using apex recently. Jan 26 13:23:59 mostly to shorten my robot's boot time. Jan 26 13:24:06 oh, then i must have confused it with unslung... i think Jan 26 13:24:08 I'm down to 31secs now. much better Jan 26 13:25:41 I got my usb sound dongle working with the flite text-to-speech synth but the problem is it takes loads of ram so 64megs would be better. Jan 26 13:25:59 i have the equipment at work, but my english is not good enough for describe Jan 26 13:26:21 that's ok. Jan 26 13:26:45 I had all the equipment at my old job but now I only have a simple soldering iron. Jan 26 13:27:10 I have to read the wiki first to see which method is best for me and find some RAM chips. Jan 26 13:27:26 i want to use udrec for recording my dbox2 (digital-tv-receiver) data to hdd, but these runs only under .NET/mono an needs much ram Jan 26 13:27:51 yeah. .net crap is not exactly lean. Jan 26 13:29:21 it runs with 32mb but when swaping, data is lost Jan 26 13:29:50 losing data is not very usefull when streaming Jan 26 13:31:32 thats right Jan 26 13:32:12 why don't you use nfs for streaming? Jan 26 13:32:30 and if 128MB is not enough, i have 2 more chips :-) Jan 26 13:33:27 hehe Jan 26 13:34:32 sinclair73de, what would it cost if you put the two other chips on my slug? :-) Jan 26 13:37:53 oh sorry... i have for one week a dead slug, because of one bad soldered pin and i thought i must buy a new one... Jan 26 13:39:14 okay :-) Jan 26 13:40:42 but if anyone want to now the ram data. I buyed this at a pc-shop here: Jan 26 13:41:29 http://www.arlt.com/shop/warenkorb.php?subm=get_it&wg=111&wgname=simm&subwg=61&searchwordfff=RAM%2B%22PC+133%22&artnr=1010272&Arlt_Session=e3a55e9c63264f31bf2de6b6f4ccb974 Jan 26 13:41:40 sorry, no shorter link found Jan 26 13:43:06 i unsolder it with hot air Jan 26 13:46:35 i see... but that wouldn't be an option for me. I don't have the experience and the tools needed for doing that :) Jan 26 13:49:18 bye Jan 26 13:50:42 Voodoo: where have you found memtest? Jan 26 13:52:29 * VoodooZ_Log on the phone Jan 26 13:52:57 ok... Jan 26 13:57:46 sinclair73de: if you've got the native compile environment installed, you can just google for "memtester". IIRC, it's the first link. Jan 26 13:57:51 memtest is available as an OE package under openembedded/packages/memtester Jan 26 13:58:06 yeah, but it doesn't build now Jan 26 13:58:17 atleast it didn't on nudi Jan 26 13:58:32 (I put it in the feeds, but it broke all the feeds) Jan 26 13:58:46 You might have to add the package to openslug conf files though as it's not part of the default list. Jan 26 14:01:05 one more question :-) do you know how to change to boot commandline? Jan 26 14:04:39 I remember seeing one in the kernel's defconfig but it's also referenced somewhere else. Jan 26 14:05:06 Read the various .conf files for openslug. the comments explains it. Jan 26 14:05:38 i can print it from apex with printenv, but how edit it? Jan 26 14:05:39 Apex also has a command line compiled in (optionally). That would probably be your best bet. Jan 26 14:05:51 not sure. You might have to recompile it. Jan 26 14:06:08 ok, i do this Jan 26 14:08:38 but to be sure which one is used check with jbowler or beewoolie-afk or [g2]. They know their stuff much more than me. Jan 26 14:08:50 anyways, I have to leave so take care. Jan 26 14:09:05 sinclair73de: speak my name... Jan 26 14:09:10 ok, bye bye! Thank for help! Jan 26 14:09:16 Are you trying to change the command line of APEX? Jan 26 14:09:31 yes Jan 26 14:10:11 You can just use APEX commands to change the boot command as long as the flash is available. Jan 26 14:10:16 * VoodooZ_Log thinks beewoolie-afk is the omni-present god of bootloaders. :) Jan 26 14:10:30 What does APEX say about the environment in the version command. Jan 26 14:10:33 :-) Jan 26 14:10:47 In other words, APEX will tell you if it can write to its environment. Jan 26 14:11:24 It will say, nowrite or empty or inuse. Jan 26 14:11:32 takes a few minutes, trying something else... Jan 26 14:11:56 Or as VoodooZ_Log wrote, you can compile in a different default boot command string. Jan 26 14:12:07 It is configurable with make xconfig (or whatever you prefer) Jan 26 14:14:34 i want to add "noirqdebug" because of the irq26: nobody cared Jan 26 14:16:01 Ah. Jan 26 14:16:06 That should be simple enough. Jan 26 14:16:35 The easiest way is to rebuild APEX with a different boot command line. That way, you don't need a console port to make the change. Jan 26 14:17:10 i have a console port Jan 26 14:17:43 there i see the irq debug message Jan 26 14:18:09 When you reboot and APEX signs on, what does it say about the environment? Jan 26 14:19:35 ok, i'm at reboot Jan 26 14:20:09 do printenv? Jan 26 14:20:20 What is in the signon message about the environment? Jan 26 14:20:36 If it is gone, you can use the 'version' command to show it again. Jan 26 14:20:43 these? Jan 26 14:20:45 env => nor:128k+64k (no-write) Jan 26 14:20:53 OK. That means that there is something else there. Jan 26 14:21:15 I recommend that you rebuild APEX. do you have facilities for that? Jan 26 14:22:05 I think I'm also going to change the default config to put the environment in the first block with the loader. Jan 26 14:22:22 yes, i build the apex 2 hours ago Jan 26 14:23:44 make xconfig or must i edit a file? Jan 26 14:24:42 make xconfig and envirenment... :-) Jan 26 14:25:02 xconfig is the easiest. Jan 26 14:25:08 Look in the environment section. Jan 26 14:26:26 i can add it to the end of the commandline or? Jan 26 14:26:31 Yeah. Jan 26 14:26:54 hello Jan 26 14:27:00 <[g2]> hi Jan 26 14:27:14 hi Jan 26 14:27:22 I have a few questions regarding the nslu2 Jan 26 14:28:27 can I ask them here? Jan 26 14:29:05 here or #nslu2-linux Jan 26 14:29:10 ok, binary is ready Jan 26 14:29:21 does the nslu2 have any moving parts? Jan 26 14:29:26 sinclair73de: I built one, too. It also moves the environment. Jan 26 14:30:17 spudse: Have you looked here http://www.nslu2-linux.org/ Jan 26 14:30:33 Lots of pics and basic system information. Jan 26 14:30:37 yes I have been looking around there Jan 26 14:30:38 alright Jan 26 14:30:57 beewoolie: can you say me step for step how to upload, test and flash it? I only have these upload from redboot Jan 26 14:31:21 maybe I can ask one more question before I start reading Jan 26 14:31:29 Once apex in in memory, you can use xmodem to download a new version. Jan 26 14:32:01 spudse: you can ask as many as you like. It's just easier for everyone if you've read what's out there. BTW, there are no moving parts. Jan 26 14:32:12 sinclair73de: use the xdownload command. Jan 26 14:32:20 apex> xdownload $bootaddr Jan 26 14:32:31 This will download to the same place it puts kernels. Jan 26 14:32:31 do you mean xreceive? Jan 26 14:32:35 Oh, right. Jan 26 14:32:45 It's been a while. Jan 26 14:32:47 I'm planning to create a public webserver with nslu2,is that possible or doesnt it have enough processor power? (i will run apache) Jan 26 14:33:00 spudse: I've got a couple of people doing that. Jan 26 14:33:06 Is it for instance possible to serve 10000 page requests a day ? Jan 26 14:33:30 I already had a webserver (celeron366 Jan 26 14:33:31 spudse: Don't know. set one up and do some performance testing for us. Jan 26 14:33:40 but I just toasted it :) Jan 26 14:33:49 alright. Jan 26 14:33:50 sinclair73de: Once it is downloaded, just do this: Jan 26 14:34:00 apex> g $bootaddr Jan 26 14:34:21 The newly download version will execute. You can verify that the command line has changed Jan 26 14:34:24 apex> printenv Jan 26 14:34:34 i need parameters for xreceive Jan 26 14:35:21 apex> xr $bootaddr Jan 26 14:36:46 ok, it is in printenv Jan 26 14:36:58 spudse: BTW, AFAICT, the number of page requests a day isn't nearly as interesting as the number of page requests a minute. Jan 26 14:37:21 but it is still only in sdram ? Jan 26 14:37:23 sinclair73de: then you can verify that all is well by booting. Jan 26 14:37:40 sinclair73de: Yeah, but you can go through that process again once you've verified that the new command line parameter works. Jan 26 14:37:59 ok, let him boot Jan 26 14:38:01 sinclair73de: when you are satisfied, there are just a couple of commands to make it permanent. Jan 26 14:40:28 oh, something wrong... my ram >32MB is away Jan 26 14:43:30 but ram bank size is 0x08000000 Jan 26 14:43:37 in xconfig Jan 26 14:44:49 sinclair73de: Reboot to APEX and look at the output of the version command. Jan 26 14:44:58 It will tell you what APEX thinks is present for memory. Jan 26 14:45:08 You can download the new version and compare. Jan 26 14:48:32 ok, apex boot from flash: memory: 0x0 0x08000000 (128 MiB) Jan 26 14:48:49 sinclair73de: And that's correct? Jan 26 14:49:08 yes Jan 26 14:49:24 then you need to modify the apex configuration to tell it you've got a fat slug. Jan 26 14:49:31 didn't you do that before? Jan 26 14:49:57 one moment... Jan 26 14:50:08 i try it from ram Jan 26 14:51:40 still: memory: 0x0 0x08000000 (128 MiB) Jan 26 14:53:56 oh, there is a line in the boot messages: Jan 26 14:53:59 Kernel command line: root=/dev/mtdblock4 rw rootfstype=jffs2 mem=32M@0x00000000 Jan 26 14:55:10 sinclair73de: That's wrong. Jan 26 14:55:21 there should not be a mem= on the command line. Jan 26 14:55:48 when booting apex from flash, there is not mem= in the line Jan 26 14:55:59 That isn't in the APEX source code. Jan 26 14:56:07 Perhaps you added it previously? Jan 26 14:56:22 And where is the noirqdebug? Jan 26 14:59:21 from flash: no "noirgdebug" and no "mem=.." Jan 26 14:59:44 from sdram: "noirgdebug" AND "mem=..." Jan 26 15:00:01 value in xconfig is: Jan 26 15:00:06 console=ttyS0,115200 rootfstype=jffs2 root=/dev/mtdblock4 rw init=/linuxrc noirgdebug Jan 26 15:02:57 That's right. Jan 26 15:03:13 Try strings on the version of APEX you uploaded Jan 26 15:03:21 oh... a error, i write noirGdebug instead of noirQdebug in xconfig Jan 26 15:03:22 # strings apex.bin | grep console= Jan 26 15:03:38 Oh, yeah, that's not right. Jan 26 15:03:53 But it doesn't explain the differing environment. Jan 26 15:04:11 one more try Jan 26 15:04:15 I built APEX with this command line option. I can make it available on my FTP server. Jan 26 15:07:11 i build it... Jan 26 15:07:17 this looks better Jan 26 15:08:00 128MB and noirqdebug Jan 26 15:08:27 sinclair73de: Is there a mem= in the environment? Jan 26 15:09:33 no Jan 26 15:10:21 now ist is exactly that from xconfig Jan 26 15:11:01 hmm? Jan 26 15:12:30 possible the line with the mem is the "target default kernel command line" ? Jan 26 15:12:52 and because of the write-error it used this? Jan 26 15:14:09 how to flash? Jan 26 15:14:33 sinclair73de: I don't understand what you are saying. Jan 26 15:14:41 If you are ready to flash, it takes two commands. Jan 26 15:14:50 apex> erase nor:0 Jan 26 15:14:58 apex> copy $apex nor:0 Jan 26 15:15:36 ah, the same as before Jan 26 15:19:57 ok, everything fine... many thanks!!! Jan 26 15:20:30 Excellent. Jan 26 15:22:45 VoodooZ was right with: "* VoodooZ_Log thinks beewoolie-afk is the omni-present god of bootloaders. :)" Jan 26 15:22:50 :-) Jan 26 15:23:55 yeah! Now I have three APEX users. Is it time for a users' group? Jan 26 15:24:11 did you count me? ;) Jan 26 15:24:24 Four users! Jan 26 15:24:55 NAiL: in the next release, the environment will move down to be in the same block as the loader so that you can set it at runtime. Jan 26 15:24:55 in da yahoo-group database i'm the fourth user Jan 26 15:25:05 beewoolie-afk: cool :) Jan 26 15:25:18 I've also added this noirqdebug option to the default command line. Jan 26 15:25:30 I'll appreciate it as well. Jan 26 15:25:35 beewoolie-afk: btw, the last time I checked, apex had a changelog entry about something changing in the openslug layout? what was that? Jan 26 15:25:41 I didn't know there was a way to disable those messages. Jan 26 15:26:13 NAiL: the latest release of openslug doesn't put a kernel in the JFFS2 partition. Jan 26 15:26:20 oh Jan 26 15:26:22 We were reading the kernel from there, by default. Jan 26 15:26:36 i log the redboot messages to file and there is noirqdebug in the commandline too Jan 26 15:26:39 Now, apex reads the kernel from flash Jan 26 15:26:52 yeah Jan 26 15:27:00 Nothing to worry about. Jan 26 15:32:10 is there a debianslug channel? Jan 26 15:34:14 #debonaras Jan 26 15:37:51 <[g2]> a Jan 26 16:24:27 ok, going to bed... bye Jan 26 16:26:44 NN Jan 26 21:35:05 how come when i update a .bb file "monotone diff" doesn't see it? Jan 26 21:35:15 fresh pull and co. Jan 26 21:35:26 it is def. a diff (-; **** ENDING LOGGING AT Fri Jan 27 03:00:04 2006