**** BEGIN LOGGING AT Fri Jun 05 02:59:57 2009 Jun 05 09:17:35 scientes: to get ttyUSB, you need to 'modprobe ftdi_sio vendor=0x9e88 product=0x9e8f' Jun 05 09:18:54 that has been working great, but i never get the uboot text Jun 05 09:19:06 with cu or putty on /dev/ttyUSB1 Jun 05 09:19:11 or even cat Jun 05 09:19:27 restting with a paperclip Jun 05 09:20:14 well, yes, attach a serial to the ttyUSB1 and reboot the machine, you'll see uboot prompt Jun 05 09:20:27 i use screen Jun 05 09:20:35 hmm ill try that Jun 05 09:21:17 scientes: i had some terminal issues with minicom Jun 05 09:21:57 i used screen /dev/ttyUSB1 115200 Jun 05 09:22:04 and didnt get anything after reseting Jun 05 09:22:11 it conects Jun 05 09:22:18 and the dev/char device exists Jun 05 09:22:34 do you do a hardware reset? Jun 05 09:22:36 and toggles depending on weather the usb/serial cable is connected Jun 05 09:22:42 yeah the paper clip Jun 05 09:22:46 that triggers the light Jun 05 09:22:56 do a soft reset (# reboot -f) Jun 05 09:23:02 or Jun 05 09:23:04 ok Jun 05 09:23:50 btw, i have not find that reset point, i'll have to look for it :) Jun 05 09:25:26 takes forever to restart b/c jffs2 filesystem Jun 05 09:26:01 i want to get a less ancient kernel installed Jun 05 09:27:08 http://people.debian.org/~tbm/armel/kernel/r13723/ Jun 05 09:30:13 yeah im still not getting the prompt Jun 05 09:30:25 :/ Jun 05 09:31:42 there should be a short delay after reboot and then you need to press a key to enter uboot prompt Jun 05 09:31:53 but it should print something right? Jun 05 09:32:05 im not getting any characters at al Jun 05 09:32:08 within the serial term you should see everything going down and up when doing the reboot Jun 05 09:32:16 yeah im not Jun 05 09:33:54 http://pastebin.com/m6894fcdc Jun 05 09:34:06 that is what is expected Jun 05 09:34:17 yeah ive seen allot of that on the wikis Jun 05 09:34:21 but not getting it Jun 05 09:35:14 :-( Jun 05 09:35:37 agreed Jun 05 09:36:50 i have not tried it yet, but you can use openocd jtag on ttyUSB0 Jun 05 10:55:14 http://pastebin.com/m4bee3d79 Jun 05 12:19:51 http://pastebin.com/m4bee3d79 Jun 05 12:20:05 still havnt gotten low level access to my sheevaplug Jun 05 15:21:21 i just setup an NFS server and mounted a directory on the sheevaplug (running the default ubuntu). the dir mounts fine, but i get a permission denied when i try to write to the mounted directory Jun 05 15:21:33 it mounts and is writable without issue from other machines Jun 05 15:21:38 any ideas? Jun 05 15:23:55 i don't know what would be different on the sheeva plug Jun 05 15:24:56 and mount shows that it was mounted 'rw' Jun 05 15:44:25 tobias: i had similar problems Jun 05 15:45:31 tobias: i use (rw,async,no_root_squash,no_subtree_check) and i had to change owner on some files Jun 05 15:49:41 tobias, no_root_sqush Jun 05 15:49:49 *no_root_squash Jun 05 16:04:13 hi Jun 05 16:09:07 hi Jun 05 16:14:32 scientes: yeah i have that enabled, but i still get the error Jun 05 16:15:04 zumbi: what files did you have to change? i can't even 'touch test' at the top level in my mounted directory Jun 05 16:16:18 try remounting it Jun 05 16:16:55 no, you need to re-export it Jun 05 16:17:05 ahh yes thats it Jun 05 16:17:11 exportfs -r Jun 05 16:24:07 hi Jun 05 16:24:14 i just got my new plug Jun 05 16:24:30 connecting to it via the serial console was no problem Jun 05 16:24:35 but i cannot get ssh to work Jun 05 16:25:13 i tried starting it (/etc/init.d/ssh start), he prints that the service was started but it isn't shown in the process list Jun 05 16:25:15 any ideas? Jun 05 16:25:51 i restarted the server a number of time Jun 05 16:25:53 s Jun 05 16:26:00 i'm rebuilding a kernel with nfsv4 support Jun 05 16:26:03 dunno if that'll help Jun 05 16:26:40 give it a try Jun 05 16:27:58 crisb2010: not sure ssh came up fine for me Jun 05 16:28:02 crisb2010: check the logs? Jun 05 16:30:09 i.e. /var/log/syslog, /var/log/daemon.log Jun 05 16:31:01 dang, new kernel made no diff Jun 05 16:32:59 restarting helped Jun 05 16:33:01 :) Jun 05 16:33:18 cool. lucky you :p Jun 05 16:35:07 it even works via the static ip from outside Jun 05 16:35:11 great stuff Jun 05 16:38:51 scientes / Md / zumbi : http://dpaste.com/51884/ Jun 05 16:39:35 guess the next step would be to get the usb stuff going Jun 05 16:39:52 but the plug works really fine up to now Jun 05 16:40:09 it's just the sheevaplug that has problems. another desktop (ubuntu hardy) mounts it fine Jun 05 16:40:12 crisb2010_, funny, for me ssh works great but i cant get any seial access Jun 05 16:40:29 scientes: what's the prob? Jun 05 16:40:35 i had difficulties with the serial console too, but it works now Jun 05 16:40:39 I dont get any boot text Jun 05 16:40:48 weird Jun 05 16:40:49 the serial port shows up and i can attach to it Jun 05 16:40:49 did you install the drivers (when you have windows)? Jun 05 16:40:54 ttyUSB0/1 Jun 05 16:41:03 but no text (on linux) Jun 05 16:41:05 you want ttyUSB Jun 05 16:41:06 1 Jun 05 16:41:10 yeah i was using that Jun 05 16:41:12 because that was the reson for me (Stupid one, i know) Jun 05 16:41:23 i even compiled openocd and used that Jun 05 16:41:26 and that didnt work Jun 05 16:41:33 http://pastebin.com/m4bee3d79 Jun 05 16:41:42 and you did this to load ftdi: sudo modprobe ftdi_sio vendor=0x9e88 product=0x9e8f Jun 05 16:41:47 yeah Jun 05 16:41:53 and i removed it first Jun 05 16:42:01 rmmod ftdi_sio Jun 05 16:42:08 modprobe ftdi_sio vendor=0x9e88 product=0x9e8f Jun 05 16:42:08 would it be possible to keep ubuntu on the internal drive and use an external drive for apps? Jun 05 16:42:15 crisb2010_: yes Jun 05 16:42:24 crisb2010_: that's exactly my current setup Jun 05 16:42:36 and lsusb shows: Bus 003 Device 028: ID 9e88:9e8f Jun 05 16:42:41 same numbers Jun 05 16:42:41 digger3: cool, did you follow a tutorial? Jun 05 16:42:54 crisb2010_: no, just common unix sense, sorry :) Jun 05 16:43:14 crisb2010_: you can just symlink the directories that you would like to have elsewhere Jun 05 16:43:24 digger3: i'm pretty new to linux, so i don't have that much common unix sense :) Jun 05 16:44:15 next thing i want to do is install tomcat, java and mysql. lets see how that works out Jun 05 16:44:58 crisb2010_: in that case, make sure you read about the linux filesystem layout (what kind of data is in /var, /usr/local,) etc, and read do 'man ls' and read about symlinks and hardlinks. That should give you the correct background Jun 05 16:45:33 scientes: have you tried w/mincom? i haven't used openocd Jun 05 16:45:38 minicom Jun 05 16:45:39 digger3: thanks for the tips. guess there are enough resources out there to get it working Jun 05 16:45:51 tobias, yes, with screen and putty, cat, nc, etc Jun 05 16:46:01 crisb2010_: experiment now that you don't really depend it, now it doesn't matter when you screwup (I did that a lot when I was young), experiment and learn :) Jun 05 16:46:08 and both hardware reset and reboot -f Jun 05 16:46:52 scientes: dunno, weird Jun 05 16:47:04 scientes: what do you see in minicom for ttyUSB1 ? Jun 05 16:47:09 digger3: so you wouldn't recommend starting the whole thing from the usb stick? Jun 05 16:47:15 dont like minicom Jun 05 16:47:20 crisb2010_: loads of resources, tomcat, mysql etc, for that you can just depend on the pre-existing ubuntu documentation, there's loads of that Jun 05 16:47:21 but i never get anything Jun 05 16:47:29 it connects but no characters from the device Jun 05 16:48:05 digger3: i mean booting the plug from the usb Jun 05 16:48:24 crisb2010_: it's possible, there isn't really a single correct way. Just inform yourself, experiment and choose :) Jun 05 16:48:36 guess i'll do that Jun 05 16:48:38 :) Jun 05 16:48:46 crisb2010_: you may want to take performance into account (not sure what kind of bandwidth you'll get over the sheeva usb port) Jun 05 16:48:49 scientes: here are my (working) minicom settings: http://dpaste.com/51889/ Jun 05 16:49:04 under Serial Port Setup Jun 05 16:49:10 i have those exact settings in putty Jun 05 16:49:14 digger3: that's what i thought too. usb isn't that fast Jun 05 16:51:54 hm... if i do root over nfs, i can write to the mounted dir Jun 05 16:52:05 if i just mount it with mount (over nfs) Jun 05 16:52:08 i can't write Jun 05 16:52:25 this is crazy Jun 05 16:52:41 are you sure you ran "exportfs -r" Jun 05 16:52:44 on the host Jun 05 16:52:49 scientes: yes Jun 05 17:05:42 does the sheevaplug support SDHC? Jun 05 17:05:51 i presume it does Jun 05 17:06:27 scientes: yes Jun 05 17:07:34 hmm when i boot from the rootfsv1.0 filesystem i can mount other dirs over nfs and write to them Jun 05 17:07:43 something is up with that jaunty fs Jun 05 17:08:08 i had a sd card where if i tried to format a ext2 fs it crashed the device Jun 05 17:08:17 and i had to reformat in a fat16 on another comp Jun 05 17:11:01 heh Jun 05 17:13:22 scientes: I'm currently using a 8gb sd-card, please look in the forums for the latest kernels (yes this makes a difference) and problematic cards, I believe work is beining done in kernel space for resolving some of those issues Jun 05 17:13:40 thats exactly what i thought, but until i can get the serial to work i cant upgrade kernels Jun 05 17:13:58 to a .30 Jun 05 17:18:49 digger3: forums are the best place for kernel updates? Jun 05 17:20:32 tobias: so far, yes Jun 05 17:24:20 digger3: would you recommend the ipkg feed from the nslu2 folks? Jun 05 17:28:50 tobias: haven't used it, I don't know (that doesn't mean that isn't good), I'd say experiment and report Jun 05 17:29:37 k :) Jun 05 18:06:48 tobias: did you solve it? Jun 05 18:08:06 tobias: check the owner ls -l, mine was a number and i had to chown -R /??? i cant remember, but it is not a sane way of doing this things, it was just an ugly workarround, but it is running fine atm :) Jun 05 18:21:20 zumbi: sorta Jun 05 18:21:35 zumbi: i built a new file system from scratch Jun 05 18:21:45 it seems to be able to mount stuff ok Jun 05 18:22:00 still no idea what's up w/the jaunty fs Jun 05 18:22:17 seemed buggy anyways. i'm happy to be done w/it Jun 05 18:34:17 yes, jaunty in the sheeva is somehow buggy Jun 05 18:34:34 i dont remember exactly what issue it had Jun 05 18:46:44 Hi all, just ordered myself a sheevaplug, and doing lots of reading up... Jun 05 18:47:15 Bought it to replace my MiniITX system, thats playing up. Jun 05 18:49:54 wanted to ask what peoples prefernces for distribution were. My ITX system currently runs Gentoo, but the amount of broken packages in stable portage of late is REALLY making we sway towards Ubuntu. What are the ARM repos for each like? Jun 05 18:51:08 MarkG, the best is emdebian Jun 05 18:51:34 as its identical to debian but with translations, man pages, documentation stripped Jun 05 18:53:47 Sounds good. Taking a look now.. Jun 05 18:54:11 makes it half the size of ubuntu/debian for same packages Jun 05 18:54:57 you want grip Jun 05 19:24:50 scientes: grip looks exactly like debian to me Jun 05 19:24:57 it is Jun 05 19:24:57 (i was just looking at installing it earlier today) Jun 05 19:25:00 but its much smaller Jun 05 19:25:03 http://www.emdebian.org/release/grip/a1631.html Jun 05 19:25:08 is that what you use? Jun 05 19:25:17 well i havnt gotten that serial port Jun 05 19:25:22 but its what i meant to install Jun 05 19:25:23 (i.e. debootstrap etc.) Jun 05 19:25:32 if space is an issue Jun 05 19:25:58 i don't see how that's any smaller than straight debian Jun 05 19:26:24 my install's just under 200 mb Jun 05 19:26:39 following the debian howto on the wiki Jun 05 19:26:54 maybe i'm missing the part where stuff gets stripped Jun 05 19:27:27 did you actually install emdebian Jun 05 19:27:43 and did you delete the debs Jun 05 19:29:51 that howto just points to the regular lenny repos Jun 05 19:29:55 http://ftp.us.debian.org/debian Jun 05 19:30:22 http://www.emdebian.org/release/grip/a1631.html#AEN1689 Jun 05 19:30:24 then you didnt install emdebian Jun 05 19:30:52 sudo debootstrap lenny grip/ http://www.emdebian.org/grip/ Jun 05 19:31:03 sudo debootstrap --arch=arm --foreign lenny grip/ http://www.emdebian.org/grip/ Jun 05 19:31:15 ah Jun 05 19:31:28 lord. i wish they'd put that somewhere more accessible on the site Jun 05 19:31:34 http://emdebian.org/grip/ Jun 05 19:31:37 been trying to figure out what emdebian is for ages Jun 05 19:31:39 its pretty accessable Jun 05 19:31:46 heh Jun 05 19:32:04 but the install guide for grip points to the wrong repo... ? Jun 05 19:32:07 but half way down the page Jun 05 19:32:24 stuff that was forked from debian wasnt neccicarly changed Jun 05 19:33:45 hm Jun 05 19:33:48 i'll try it and see Jun 05 19:33:50 thanks for the pointers Jun 05 19:34:13 it explains itsself pretty well Jun 05 19:34:30 http://www.emdebian.org/grip/ is much better than the install guide Jun 05 19:34:39 http://emdebian.org/News/2009/20090214.html http://emdebian.org/News/2009/20090214a.html Jun 05 19:36:18 crush won't work on the sheevaplug unless you compile your own armel pkgs right? Jun 05 19:36:19 yeah debian install guides are pretty outdated Jun 05 19:36:38 tobias, correct, sheevaplug is big enought that grip is better Jun 05 19:36:50 crush is for like <64M IMHO Jun 05 19:37:00 or <128M Jun 05 19:37:25 the base system, compressed, is 10 M :) Jun 05 19:37:44 no luck w/the serial console yet? Jun 05 19:37:51 havnt tried for a while Jun 05 19:37:58 was too disappointing Jun 05 19:38:04 will try tomarrow Jun 05 19:41:45 :( Jun 05 19:42:20 good luck Jun 05 19:45:24 scientes: another *risky* approach i am thinking is that you can erase kernel partition, that way u-boot fallbacks to the prompt as it won't find the kernel Jun 05 19:45:48 just dd over the kernel? Jun 05 19:46:00 geeze Jun 05 19:46:51 scientes: over /dev/mtd?, /proc/mtd knows it, but you know what it implies, it is *risky* Jun 05 19:47:10 yes it is Jun 05 19:47:11 if you are not able to get to uboot or jtag is not working Jun 05 19:49:21 i think you can better erase it with flash_erase from mtd-utils Jun 05 19:49:58 but it really does not matter in a testing system Jun 05 19:52:21 scientes: when you modprobe ftdi driver, what dmesg said? Jun 05 19:56:18 scientes: cool, 118 megs with grip Jun 05 19:57:07 with a couple extra pkgs Jun 05 20:01:33 zumbi, http://pastebin.com/mfc12c6 Jun 05 20:05:57 scientes: is it a custom kernel? could you upgrade it? Jun 05 20:06:07 ubuntu hardy stock Jun 05 20:06:13 ill try with my jaunty again Jun 05 20:06:45 get the latest linux-image Jun 05 20:06:55 2.6.28 Jun 05 20:07:10 sure Jun 05 20:07:31 Anyone used their sheeva as a mediaserver? I got a spare TwonkyMedia licence handy thats going to be used for mine... Jun 05 20:08:18 i used mediatomb in other device Jun 05 20:09:56 scientes: note that from your paste you have serial driver attached to ttyUSB0, not ttyUSB1 Jun 05 20:12:43 aha i see that Jun 05 20:13:08 should both hardware reset and soft reboot lead to the prompt? Jun 05 20:15:14 yes, there is a countdown where you need to press some key to avoid loading kernel Jun 05 20:15:32 but before that it should print the whole spiel Jun 05 20:15:38 im not getting anything so far Jun 05 20:15:53 i would try ttyUSB0 or reattach the device and make sure your kernel/module is not buggy Jun 05 20:16:22 im using the other comp now Jun 05 20:18:00 http://pastebin.com/d4a3a0795 Jun 05 20:18:42 i get http://pastebin.com/m4f2f2790 on mine Jun 05 20:19:44 silly grip doesn't have dropbear Jun 05 20:19:56 it looks like your USB driver is somehow broken Jun 05 20:20:02 [48489.029484] ftdi_sio ttyUSB1: urb failed to clear flow control Jun 05 20:21:59 tobias: emgrip dropbear :) Jun 05 20:22:34 tobias: http://www.linux.codehelp.co.uk/emdebian/man/emgrip.html Jun 05 20:23:34 yeah that failed stuff is not comforting Jun 05 20:24:21 i am using a debian kernel image 2.6.26-1-iop32x Jun 05 20:24:41 it works very straight Jun 05 20:25:13 umm.. note it is an arm kernel Jun 05 20:32:41 kernels need to be kirkwood Jun 05 20:33:00 i believe Jun 05 20:34:14 yes, orion, but that kernel runs on my host attached to the sheeva Jun 05 20:34:58 scientes: btw, i forgot to tell you about git repo at git.marvell.com Jun 05 20:45:19 is CONFIG_CRYPTO_DEV_MARVELL_CRYPTO_ENGINE for kirkwood too or only orion? Jun 05 20:49:49 Is the SheevaPlug considered a decent devel platform? Is there a better way to go? Is globalscale actually shipping these days? Jun 05 20:53:51 kas111: openrd-client or -base is better dev Jun 05 20:54:06 kas111: for software only, Sheevaplug is excellent Jun 05 20:54:29 likewise .... thx ... that was what I was wondering about Jun 05 20:55:46 I was never one to use appliances ... so I'd be looking at using something other than one of the canned distros on it Jun 05 20:57:48 is there decent cross compiler and tool chain support in the dev kit? Jun 05 20:59:53 the last time I did any embedded stuff, coming up with working tool was a bit of an adventure Jun 05 21:03:28 openembedded Jun 05 21:03:34 see plug wiki Jun 05 21:03:39 for cross compiling etc Jun 05 21:15:31 timtimred ... yup ... just read it ... I guess it is sorta like falling out of a tree ... proper technique means avoiding snags on the way down ;) Jun 05 21:15:36 kas111: if you have several cross toolchains nowadays Jun 05 21:15:52 kas111: what distro do you use? Jun 05 21:17:19 kas111: http://elinux.org/Toolchains Jun 05 21:17:24 s/if// Jun 05 21:17:26 zumbi Arch these days although I've done others in the past Jun 05 21:19:27 zumbi thx for the link ... looking now Jun 05 21:19:52 i was easy to paste :) Jun 05 23:15:16 Is there any way to initiate a hardware reboot of a sheeva via the console connection only? I'm envisioning a sheeva plug deployed remotely with the mini-usb connected to another linux embedded system. In the event that my sheeva locks up, I'd like to be able to log into the other system and initiate a hardware restart. Jun 05 23:19:31 kusznir_: you need to use openocd Jun 05 23:19:55 it may be simpler to wait for the watchdog driver to appear in your favourite kernel tree **** ENDING LOGGING AT Sat Jun 06 02:59:58 2009