**** BEGIN LOGGING AT Sun May 23 02:59:57 2010 May 23 06:47:04 Hey guys :) May 23 06:47:51 I'm trying to get the usb - serial connection working in win7. Where can I get the driver needed for it? (it's a sheevaplug) May 23 06:55:44 SuperRoach: putty May 23 06:56:46 yeah, it needed ft2232D drivers. Think I just found them May 23 06:57:47 I dont think you need anything besides putty May 23 06:58:52 SuperRoach: This is a tutorial by someone who uses windows May 23 06:58:53 http://luca.dentella.it/blog/en/connessione-a-sheevaplug-su-console-seriale.html May 23 07:00:02 i'm following this one: http://nil-techno.blogspot.com/2009/10/sheevaplug-lets-get-cracking.html he seems to have the same problem, where when I plug it in on a win7 box, it doesn't have the drivers needed to mount the comport for it. May 23 07:00:56 im probably going to have trouble tracking down the original cd to use its drivers May 23 07:21:32 got one, thank you :) when on the marvell boot menu, what can i use to boot a sd card? I see a usbboot , no reference to sd though. May 23 07:24:55 hm, this might be a reason, I'm running U-boot 1.1.4 , marvell version 3.4.19 . Maybe this version was previous to the sd boot. May 23 07:50:14 SuperRoach: at marvel prompt what does May 23 07:50:25 printenv bootcmd May 23 07:50:27 return? May 23 07:51:02 one moment May 23 07:51:24 it returns this: http://pastie.org/pastes/973131 May 23 07:52:06 i was hoping yours was setup like mine May 23 07:52:17 where it tries the mmc (ie sd card) then the nand May 23 07:52:37 btw when you talk about the driver do you mean for the usb jtag port to talkto your computer? May 23 07:52:37 http://www.ftdichip.com/FTDrivers.htm May 23 07:53:16 I got the drivers in the end from a copy of the marvell cd - it did need those ftdi drivers though, yes May 23 07:53:39 im sorry i cant reboot mine at the mo May 23 07:53:43 mmc first then nand sounds like a really practical and wise idea - take sd card out, reboot and no need to reconfigure May 23 07:54:01 exactly May 23 07:54:18 actually ive modified mine to look to esata first ... then mmc then nand May 23 07:54:54 which model of sheeva is yours? May 23 07:54:58 ah neat - you using esata much for it? May 23 07:55:25 its a rev 1.1 / model 003-SP1001, if thats what you mean May 23 07:55:53 more the general name for your model ... mines a white esata sheevaplug multi May 23 07:56:13 it its already setup booting off sd card (which was supplied with debian squeeze) May 23 07:56:47 ah ok. Mines from earlier 2009. The uboot was very primitive back then, i've updated it at least once May 23 07:56:59 yes i boot off an external esata drive and run a home security webcam (or 3) on it ... zoneminder May 23 07:57:08 your likely 1.3, since oyu mentioned esata May 23 07:57:16 yeah prob May 23 07:57:22 ive only had it a week or so May 23 07:57:23 love it May 23 07:57:33 now as to booting off sd isnt too hard i think May 23 07:58:18 youd have to modify your bootcmd ... and to keep it multibooting separate the bootargs for nand and mmc May 23 07:58:34 there is a newit page that had all the _default_ env vars listed May 23 07:58:39 trying to find it for you May 23 07:59:28 found it May 23 07:59:28 http://www.newit.co.uk/forum/index.php?topic=194.0;wap2 May 23 07:59:31 ah neat May 23 07:59:57 note id use this as a guide ... i would do a lot more reading and take more advice before you bork up your sheeva May 23 08:00:11 aha, their marvell version is newer May 23 08:00:20 I guess i should update flash first then May 23 08:00:22 pls back up your current env vars .... even if its by hand copy and past into a doc May 23 08:01:02 well i think the multi is with esata ... and that needs a special vers of uboot and of course uptodate linux kernels May 23 08:01:42 for your guide you need to note the May 23 08:01:47 bootcmd_nand May 23 08:01:53 bootcmd_mmc May 23 08:01:57 bootargs_nand May 23 08:02:02 bootags_mmc May 23 08:02:08 and then finallly bootcmd itself May 23 08:02:30 bootcmd=run bootcmd_mmc; run bootcmd_nand May 23 08:02:45 see how it first tries mmc ... if that fails or isnt present then it tries nand May 23 08:03:03 awesome guide.. May 23 08:03:41 yeah its pretty nice to separate the args that way ... so you can just have it fall back to the next in line if booting off hd or sd fails May 23 08:04:02 arcNumber=2097 May 23 08:04:07 thats important too ^^ May 23 08:04:13 but pls read up about it as to why May 23 08:04:17 also .... May 23 08:04:41 looking ... but cant find it yet ... May 23 08:05:15 mainlineLinux=yes May 23 08:05:42 ahh if you scroll down to the MULTI-BOOT CODE section May 23 08:05:51 those are the differences between it and factory May 23 08:06:08 . May 23 08:06:09 . May 23 08:06:09 . May 23 08:06:21 SuperRoach: as i say back up your current vars PLS May 23 08:18:34 got to love tea getting in the way, just starting on it now May 23 08:24:17 liking your plug so far, by the way? May 23 08:55:06 yeah SuperRoach i love it May 23 08:55:17 5w of sheer linux delight May 23 08:55:22 yeah :) May 23 08:55:22 i shall defo be getting some more May 23 08:55:39 I done a talk on it at a barcamp, and noone had heard of it before. i think half of them had ordered one latter on May 23 08:55:44 other than the slightly different booting process ... its just debian for me ... very familiar May 23 08:55:54 hehe May 23 08:56:01 we should all be on commision ;) May 23 08:56:05 haha :p May 23 08:56:33 ill be getting a guru as a router next and prob wait for the 2GHz one to improve on this zoneminder setup May 23 08:56:53 Hm, im following through that guide, and I'm trying to set the changes using set is that the wrong way to do it? when i try any of the bootcmd_* 's, it seems to just interpret it and try to booot May 23 08:56:59 yeah that guru looks really good May 23 08:57:41 when you printenv May 23 08:57:43 it gives you May 23 08:58:19 printenv bootcmd May 23 08:58:19 bootcmd=run bootcmd_mmc; run bootcmd_nand May 23 08:58:25 so if you want to set it May 23 08:58:29 for instance May 23 08:58:41 marvell> setenv 'bootcmd run bootcmd_sata; run bootcmd_mmc; run bootcmd_nand' May 23 08:58:48 and now if you printenv May 23 08:58:56 printenv bootcmd May 23 08:59:22 bootcmd=run bootcmd_sata; run bootcmd_mmc; run bootcmd_nand May 23 08:59:24 ahah! I havn't been quoting it May 23 08:59:34 ah yes single quotes May 23 08:59:46 and of course saveenv at the end May 23 09:00:03 i wrote this rought guide for sata booting May 23 09:00:04 https://dizzykey.co.uk/sheeva-boot-esata.txt May 23 09:01:20 looks like a good guide for sata May 23 09:01:32 if you have a starting point as i did May 23 09:01:38 ie sheeva multi esata jobbie May 23 09:02:03 in any case you can also just duplicate your sd card in a similar way ... if you plug in a card reader May 23 09:02:06 boot to nand May 23 09:02:09 plug in the orig sd May 23 09:02:16 plug in the cardreader with new sd May 23 09:02:24 partition and format the new sd May 23 09:02:30 cp -a the orig sd May 23 09:02:42 and thats a good backup May 23 09:02:45 i might give that a try soon, just to make sure my boot sd is fine May 23 09:02:54 exactly May 23 09:03:13 ah also you can do similar for usb hd's ... just the boot args are slightly different May 23 09:03:22 theres a start usb command involved May 23 09:03:24 rather than ide May 23 09:04:03 i might just do that May 23 09:04:10 make the sheeva quad booting ;) May 23 09:04:16 hehe May 23 09:04:48 more things should have a ftdi on it May 23 09:04:55 fascinating seeing boots at such a low level May 23 09:05:08 fascinating and damn useful May 23 09:05:46 the alix 2d3 lx800 i have for a router is similar with a jtag console ... except its serial so you need a usb dongle to see the console May 23 09:05:47 was worried i bricked it, but was forgetting to press a key to see the boot screen ;) May 23 09:05:58 hehe May 23 09:07:37 i might just try again using quotes and set the env's properly first, then try the sd copying after if successful May 23 09:15:59 hehe, think your right about the mmc not being valid, i did a test run bootcmd_mmc , and got a bad magic number error. I think that means corrupt image May 23 09:23:42 hehe borked it. I'll give it a reflash with the newer installer i noticed on openplug May 23 09:38:05 aw, the esia seems to have messed my usb ports on my netbook, there goes my sheeva for now then May 23 10:32:28 SuperRoach: it gives that message when the sd card is missing May 23 10:32:34 or doesnt have a valid boot image on it May 23 10:32:49 thats the correct working May 23 10:33:05 should then revert to nand May 23 10:34:28 i should qualify that more ... doesnt have a valid boot image on or the path in the args to the uImage is wrong May 23 10:35:01 SuperRoach: esia ? May 23 10:35:32 yeah, fairly sure the boot image would be dodgy. It was from a friends 1.3 sheeva given to me May 23 10:36:34 newit have a dl page ... google will find it May 23 10:36:43 im sure therell be a valid image for you May 23 10:37:13 jzaw, yeah, the forums have some forum of new installer: http://plugcomputer.org/plugforum/index.php?topic=1400.0 May 23 10:38:49 ah nice page May 23 10:40:01 yeah, seems like a good start May 23 10:41:13 though i do prefer to do things in the cli rather than an app ;)( May 23 10:41:53 still nice to have the option though May 23 10:41:56 the osx pdf does however explain how to modify the plist to get the fdti kext working for the sheeva May 23 10:42:23 true ... sometimes reading a gui version gives you clues to the underlying cli commands anyway May 23 10:42:28 it appears that app has a bunch of distros prebuilt, so you can pick and run easily which is good. If they do their webupdate of those, that'd be neat May 23 10:42:56 well id be tempted to install squeeze and then just keep it aptitude udated May 23 10:43:02 yeah May 23 10:43:13 which is what i did with the orig sd i got from newit May 23 10:43:20 (after backing it up of course) May 23 10:45:07 big warning about installing it though - the usb driver it installs disabled all my usb devices, including sound and wifi. Thats a pretty big breaker. May 23 10:46:23 ouch! May 23 10:47:55 i installed the ftdi driver manually from the manufacturers site May 23 10:48:05 in osx of course ;) May 23 10:48:15 from memory with the cli app, all i needed was the ftdi too May 23 10:48:38 it does have a habit of kp'ing the macbook if i unplug the sheeva jtag from the mac before i close down screen and kextunload the driver May 23 10:48:53 i see May 23 10:49:13 btw this is zoneminder 3 usb cams on my sheeva and 3 on a nano-itx May 23 10:49:14 http://photos.dzki.co.uk/six_screens.jpg May 23 10:49:23 actually theres a 4th on the nanno May 23 10:49:42 looks good. How's its performance? May 23 10:50:34 320x240 @ 2fps 1 or two motion detect zones on each ... loadavg about 20-30% most of the time May 23 10:50:45 3 cams at above res and speed May 23 10:51:02 very low percent, very nice May 23 10:51:08 i was shocked May 23 10:51:14 as to how good it was May 23 10:51:15 also May 23 10:51:35 the sheeva is powering a small belkin hub and then the usbcams with no psu to the hub May 23 10:52:27 oh and the cams are on extended usb cables ... so its about 3m to the hub and then about 4.5m to each of the cams May 23 10:53:03 do you need powered usb cables, or does an extension work fine May 23 10:53:16 just the 3m extensions work fine May 23 10:53:23 A female to A male May 23 10:53:42 with the 1.5 m on the cam itself makes about 4.5m total May 23 10:53:54 usb2 should work ok to 5m May 23 10:54:20 ah, missed the total length May 23 10:54:24 actually ive got one self made extension cable which is about 7m + the 1.5 makes about 8.5m from cam to the other laptop May 23 10:54:37 i have a usb to ethernet adapter which works well (falls back to usb 1.1) May 23 10:54:52 * jzaw nods May 23 10:55:06 although it looks weird having a mouse cable coming from a wall socket May 23 10:55:39 lol May 23 10:56:47 btw the reason the pics look a weird colour is cos i took off the IR filters off the backs of the lenses on the webcams May 23 10:56:55 making them truely ir sensitve May 23 10:56:58 that's for better night vision i take it May 23 10:57:17 aye May 23 10:57:17 http://www.hoagieshouse.com/IR/ May 23 10:57:25 http://www.hoagieshouse.com/IR/Lens_Unmodified.jpg May 23 10:57:38 take that little bit of glass off the lens May 23 10:57:52 and bingo all the IR reaches the cmos sensor May 23 10:57:54 yeah, i've heard of the idea. People do similar by taking the ir filter off the pseye to have better motion detection May 23 10:58:34 the phone example on that page looks very odd, seeing right into the ir receiver May 23 10:59:08 wow the pseye has some spec May 23 10:59:09 Resolution May 23 10:59:09 * 640×480 pixels @ 60 Hz[1] May 23 10:59:09 * 320×240 pixels @ 120 Hz[ May 23 10:59:18 you betcha! amazing webcamm May 23 10:59:27 it uses uvc based drivers, its very flexable May 23 10:59:34 interesting May 23 10:59:46 though these ones ive got are £8 a shot from pcworld May 23 10:59:48 uvc May 23 10:59:52 just work ® May 23 11:00:06 yeah, i think uvc is meant to be fairly standard once running May 23 11:00:22 aye just wish more makers would conform eh May 23 11:00:28 nudge m$ May 23 11:00:45 afaik most creative cams and quite a few logitech are uvc May 23 11:01:06 yeah May 23 11:02:59 well, you inspired me to see if i can restore the variables back to stock so it boots again :p May 23 11:03:08 hehe May 23 11:03:18 you did make note of them before you started? May 23 11:03:21 :P May 23 11:03:31 yeah, I made a copy of them on pastie May 23 11:04:53 might as well see if i can diag the error, looks like i've got two main ones May 23 11:06:48 i see May 23 11:06:57 btw remember the output of printenv May 23 11:07:03 puts a = sign in the line May 23 11:07:27 you need to remove that and (single) quote the statement before you paste it in May 23 11:07:39 as per previous examples May 23 11:08:11 yeah, understood May 23 11:08:21 could see someone writing a script to do that May 23 11:10:27 heres the modified printenv, with the error at the top. Looks like a wrong var: http://pastie.org/pastes/973236 May 23 11:10:40 so far ive just done it copy and past from a text doc ... cos i only had 3 lines to do May 23 11:12:01 i only had a few lines to add as well, mainly the _mmc type ones and bootcmd May 23 11:12:02 have you noticed the recover1 2 and 3 ? May 23 11:12:54 ah but recover4 looks like it needs the images on usb stick May 23 11:12:59 ... dont go there yet May 23 11:13:25 looking at them there, they seem ok... May 23 11:13:51 the error message by the way is before it attempts to boot nand (so im guessing it ignores the mmc command) May 23 11:21:16 ah poo, i done a diff between pre and after config changes, and the nand isn't booting the image May 23 11:48:12 woohoo, I think i still have an old 1.0 installer May 23 11:54:41 with a hard drive connected via esata May 23 11:54:51 what kind of smb performance is expected from a guruplug? May 23 11:56:06 you should be getting more than 5mb/s ... read? May 23 11:56:53 is that all?! May 23 11:56:55 :( May 23 11:57:07 should be getting about 20 + May 23 11:57:16 according to op forums May 23 11:57:36 a 7200rpm drive does about 50 or so doesnt it? May 23 11:58:01 gigabit theoretical max is about 125 May 23 11:58:09 so let say 60 realistic :P May 23 11:58:27 would FTP be any quicker? May 23 11:59:01 it depends on where your reading it too May 23 11:59:15 i find smb failr quick May 23 11:59:20 ftp bloody slow May 23 11:59:27 hang on sorry brb May 23 11:59:29 afp (netatalk) damn quick May 23 11:59:49 remember that your copying end to end ... and its a chain May 23 11:59:49 smb i found was slower than afp, a little bit. could be the os May 23 12:00:04 if any link including the hd speeds are slow ... then its slow May 23 12:00:25 best test would be ramdisk to ramdisk May 23 12:01:38 ive seen 5-7MB/s with samba May 23 12:01:55 where as the same sharepoint got 45MB/s with afp May 23 12:01:56 my usb thumb drive doesn't appear to get mounted or read by the open plug during boot... is that a command i need to give in uboot? May 23 12:02:04 typical was 5-7 for me too May 23 12:02:26 you start usb'ing? May 23 12:02:39 whats your bootcmd look like for the usb May 23 12:03:05 i was just trying to hard boot to the usb , didn't have a bootcmd May 23 12:03:16 ah May 23 12:03:18 guess thats a big point, i need to go back to the installer May 23 12:03:35 even if you want to hardboot May 23 12:03:45 if you have the usb stuff in the env May 23 12:03:59 you can just run bootcmd_usb (if youve set one up) May 23 12:19:19 ok back May 23 12:19:21 sorry about that guys May 23 12:20:26 im looking for a nas solution where i can get at least 30MB/s read May 23 12:20:51 sounds like guruplug isnt going to pull it off? May 23 12:23:42 i can get 30MB/s transfers from my sheeva May 23 12:23:46 guru should have no problem May 23 12:24:00 (depending on disk read speed) May 23 12:24:01 over what protocol Tootoot222? May 23 12:24:04 nfs May 23 12:24:11 what about smb? May 23 12:24:18 idk, i don't use that May 23 12:25:04 ah heck, why on earth would the installer not know the os: http://pastie.org/973279.txt ( Undefined index: OS in /home/brett/sheeva/runme.php on line 7 ) May 23 12:25:25 yeah somebody else had that problem too May 23 12:25:37 yeah? May 23 12:26:14 you can just comment out line 43+ (like the 2 lines following or something) as long as you remember to run as root May 23 12:26:26 or i've rewritten the script as bash May 23 12:27:13 did you have to do any optimisation to get speeds like that Tootoot222? May 23 12:27:28 well, if you count gentoo as an optimization... lol May 23 12:27:31 cheers toot, the installers running now :) May 23 12:27:59 echosystm: that 30mb/s is limited by my slowass 5400 rpm drive May 23 12:28:05 ah May 23 12:28:27 has anyone made a really quick NAS install for guruplugs? May 23 12:28:41 or should i just diy? May 23 12:28:53 actually nvm, i'll just DIY anyway May 23 12:29:03 if i had a spare 7200 rpm 2,5" i'd stick it in there and probably get something like 50mb/s May 23 12:29:12 interesting May 23 12:29:28 why are people saying they can only get 5-7MB?! May 23 12:29:30 lol May 23 12:29:45 probably because they're using a class 4 SD card or something like that May 23 12:31:03 eek, i think i just made it worse May 23 12:32:50 SuperRoach: what are you trying to do? May 23 12:33:14 echosystm: [13:00] if any link including the hd speeds are slow ... then its slow May 23 12:33:34 just attempting to run it again, see that i had it booted correctly first. I'll paste a copy of the error im getting, seems openocd failed May 23 12:34:24 but i have to say i do find smb slowass compared to afp May 23 12:34:48 * jzaw uses afp (netatalk) in the main cos he runs macs other than the linux boxes May 23 12:35:15 though things like the o!play need smb so i do share that way too May 23 12:37:45 the last three lines of this output when i try to use the runme.php nand - http://pastie.org/pastes/973289 (**** openocd FAILED) May 23 12:44:56 * jzaw does an aptitude update aptitude safe-upgrade May 23 12:45:33 to get around those errors, can I try going into the ftdi and run recover1? May 23 12:46:04 dont those recovers just run each other ... and recover4 requires something on usb sitck? May 23 12:46:30 the usb disk is a 1.0 recovery May 23 12:46:56 ah May 23 12:47:56 oh thats so cool, if i leave putty open, I can see the commands the runme.php throws over. May 23 12:51:17 ive always wanted to learn how to make an embedded linux system from source May 23 12:51:29 is it ridiculously hard? May 23 12:51:39 i might try it with a guruplug May 23 12:52:30 i dont know c, but i do know java/objective c/php and have played with perl and c++ May 23 16:02:53 Tootoot222: the original script was bash and worked fine. It is still available May 23 16:17:08 tinker-f595: the sheevaplug one is php May 23 16:17:21 guruplug is a simplified version of that php one in bash May 23 16:17:45 Tootoot222: no, the orignal sheevaplug one is bash May 23 16:18:22 Tootoot222: it is on the CD that came with the sheevaplug May 23 21:30:26 Hey, all. What gcc -march and -mcpu options are typically used for Sheeva/Guruplugs? May 23 21:33:16 -march=armv5te May 23 21:33:41 idk about -mcpu May 23 21:38:27 Tootoot222: Thanks. I got "-march=armv5te -mtune=arm926ej-s" from #gentoo-embedded. **** ENDING LOGGING AT Mon May 24 02:59:56 2010