**** BEGIN LOGGING AT Mon Nov 02 02:59:56 2009 Nov 02 18:50:11 Hello all Nov 02 18:50:29 does anybody know the state of the upstream u-boot for the sheevaplug? Nov 02 18:50:46 I run some time the uboot at http://git.marvell.com/?p=u-boot-kw.git;a=summary Nov 02 18:50:55 but it did not have any mmc support Nov 02 18:51:08 And I saw that 'official' release 3.4.19, of patches over 1.1.4 Nov 02 18:51:49 What are you using Nov 02 18:51:50 ' Nov 02 18:51:51 ? Nov 02 18:55:25 Hmm, great. The ffmpeg in debian disables ARMv5te optimizations. Nov 02 18:56:03 Erant: thats normal, if they didn't it wouldn't work on armv4t, which is what its designed for Nov 02 18:57:38 Ah, I figured they'd be a commandline option, but I guess that makes sense. Nov 02 18:58:15 Time for a manual recompile then, I guess. Nov 02 18:59:05 wouldn't that run very slow on the armv5te? It does not have fpu Nov 02 18:59:11 (I think of the sheevaplug I have) Nov 02 18:59:26 I tried lame the other day, and it run terribly slow. Nov 02 19:01:35 Erant: thats what gentoo is for :) Nov 02 19:01:39 or oe Nov 02 19:01:41 viric: Sure, I don't need it to fly. I need it to convert my .mkv files to a format my PS3 can understand, overnight. Nov 02 19:01:57 armin76: Or curl + build_essential Nov 02 19:02:03 Erant: it may not be fast enough Nov 02 19:02:30 I think it took 50 minutes for a 1h mp3 file reencoding, in my case, I think Nov 02 19:02:34 viric: Currently I'm getting 0.2x re-encoding. Makes for an encode time of 5 * 40min or 200 min. 3 hours. Nov 02 19:02:39 ah good then Nov 02 19:02:50 viric: no fpu on sheeva Nov 02 19:03:15 zumbi: I know I know. Nov 02 19:03:47 zumbi: Eps, em parlat per correu? Nov 02 19:03:48 oh! i misread it.. i though you were not sure about it :) Nov 02 19:03:55 hem Nov 02 19:03:58 lluis? Nov 02 19:04:02 si :) Nov 02 19:04:03 Erant: for compiling all system? ugh :) Nov 02 19:04:33 viric: ok, si hem parlat Nov 02 19:04:48 zumbi: no fpu! Nov 02 19:04:50 btw, armin76 also is from this land :) Nov 02 19:04:52 armin: ofcourse not the entire system. apt-get works fine for most things. Nov 02 19:05:00 lies Nov 02 19:05:07 armin76: are you friend with viric? Nov 02 19:05:09 Erant: but you're wasting optimizations :) Nov 02 19:05:14 zumbi: nope Nov 02 19:05:41 armin: I don't care about optimizations in my lighttpd, my svnserve, or my php engine. I care about CPU intensive things. Nov 02 19:05:50 Optimize the things that matter. Nov 02 19:06:03 zumbi: it is almost the first day I get in here Nov 02 19:06:22 viric: welcome then Nov 02 19:06:23 well, I already got in once, asking about uboot, but I got no helpful answer, so I did not come any other time Nov 02 19:06:28 :) Nov 02 19:07:13 Today I posted my first message to the plugcomputer.org forum. let's see how it goes. Nov 02 19:07:29 zumbi: what uboot are you using? Nov 02 19:07:30 u-boot is something that when it works does not need update, so sheeva is based on 1.1.4, on marvell later release 3.4.19 have USB fixes, plus mmc/sd/usb boot Nov 02 19:08:21 I tried 3.4.19, and the usb fixes did not allow my usb stick to work, and I could not get reiserfs working there. Nov 02 19:08:32 yuck reiser Nov 02 19:08:43 viric: i was using a patched u-boot, i compiled with SD boot support, but two days ago, i upgraded to 3.4.19 and my tftpboot kernel stopped working Nov 02 19:09:11 zumbi: oh. Finally I also did not update, seeing the lack of benefits. I did not try tftpboot with 3.4.19 Nov 02 19:09:31 viric: now, i have all system on a SD card, but i still need to find out, why after loading kernel, it hangs Nov 02 19:09:47 I also have all in a SD card, but it works fine for me. Nov 02 19:10:02 viric: lack of benefits? booting kernel from SD is a good benefit Nov 02 19:10:28 zumbi: I have the patched with sd boot support Nov 02 19:10:44 ok , then do not upgrade Nov 02 19:10:48 It is one I did not build myself. Nov 02 19:10:58 I cannot get the latest 3.4.19 built now, with the latest binutils. Nov 02 19:11:19 Something may have changed in the assembler, and I don't know the details. Nov 02 19:11:27 i have not tested it. When i did the build i post it in the forum under Benit0's nickname Nov 02 19:11:37 ok Nov 02 19:14:54 viric: maybe there are some useful comments http://plugcomputer.org/plugforum/index.php?topic=183.0 Nov 02 19:15:38 that is the u-boot I use Nov 02 19:17:07 the one i was using :) Nov 02 19:17:39 now I have locale problems... Nov 02 19:17:42 I don't know why. Nov 02 19:18:42 * zumbi runs home Nov 02 19:19:44 zumbi: maybe you use identi.ca? Nov 02 19:21:56 viric: no idea what's that Nov 02 19:25:34 zumbi: ok. Nov 02 19:33:12 Here we go, manually recompiling ffmpeg-0.5. Let's see how hot the OpenRD gets. ;) Nov 02 19:51:16 Erant: openrd can get quite a bit hot with 2.5" hdd inside :> Nov 02 19:52:10 arachnist: I have a 7200rpm HDD + I'm building ffmpeg. Nov 02 19:52:17 Now I just need an egg. Nov 02 19:52:21 ;P Nov 02 20:13:31 * Bryanstein supplies an ostrich egg Nov 02 21:24:31 Hep Nov 02 21:24:40 what do you use the leds for? Just curious... Nov 02 21:36:09 Anyone tried a 2.6.32 ? Nov 02 21:39:44 yes I have/am viric why? Nov 02 21:51:01 Bryanstein: how does it go in the sheevaplug? Any improvement? Nov 02 21:51:39 I'd say, look at the changelogs. Nov 02 21:57:08 I meant something special for the sheevaplug Nov 02 21:57:29 not along the rest of the kernel code Nov 02 21:59:00 viric, there are tons of things added just for the plug Nov 02 21:59:03 a lot Nov 02 21:59:40 no power management stuff yet...but the cesa engine stuff is there Nov 02 22:01:33 cesa? Nov 02 22:01:35 I don't know of cesa Nov 02 22:02:08 I'm in 2.6.31 right now, and I will get into 2.6.32 at once when they release it then Nov 02 22:02:34 viric: Cryptographic Engine and Security Accelarator Nov 02 22:02:39 Accelerator Nov 02 22:02:43 Is it in the plug? Nov 02 22:02:52 It's in the MV88F6281 Nov 02 22:03:03 ah great Nov 02 22:08:05 one question on plugcomputer.org... Nov 02 22:08:13 this web site is managed by 'fans', isn't it? Nov 02 22:08:21 Where did that u-boot 3.4.19 come from? Nov 02 22:08:47 I mean, it does not look to me like "the place for official releases" Nov 02 22:09:35 Marvell sat up the community and u-boot is from them Nov 02 22:10:30 mmm I don't understand 'sat up'. I'm not English... can you use other words, please? Nov 02 22:10:55 u-boot is from them, but how got that 3.4.19 delivered to "the community", so it appears in plugcomputer.org? Nov 02 22:11:25 From marvell I see there is also http://git.marvell.com/?p=u-boot-kw.git;a=summary , but it does not look very maintained, and it is not related to the 3.4.19 patches Nov 02 22:11:49 and that at least comes from marvell.com Nov 02 22:12:22 viric, just use it...either way...you can flash it back to something else Nov 02 22:12:31 I know I know Nov 02 22:12:34 lol Nov 02 22:12:38 I'm just curious only on what does that come from Nov 02 22:12:53 It is not that I'm afraid of anything. Nov 02 22:13:15 Simply I don't understand the flow of the code. Who wrote that, why that is *only* on plugcomputer.org ... Nov 02 22:13:42 and why marvell has that git repository of u-boot for their kirkwood Nov 02 22:14:29 viric: "created" Nov 02 22:16:50 ah Nov 02 22:17:04 thank you Nov 02 22:17:21 So is Marvell who released that 3.4.19? Nov 02 22:18:58 yes Nov 02 22:19:08 through plugcomputer.org? Nov 02 22:19:17 yes Nov 02 22:19:23 ah. how strange. Nov 02 22:19:37 What is that git.marvell.com/uboot-kw repository? Nov 02 22:20:09 I read that the sheevaplug changes in u-boot some day should be merged into the upstream u-boot, as if there were already attempts in that direction Nov 02 22:24:34 is anyone running u-boot mainline? Nov 03 00:56:07 is there a debug mode for sheeva uboot 3.4.19 Nov 03 00:57:24 i try ext2load mmc 0:1 0x400000 /uImage-sheevaplug (an archmobile kernel) and the plug freezes and does not allow any more input via serial usb Nov 03 01:01:09 or is there a way to find the addr of an image? Nov 03 01:06:21 f3ar007, I think that image is trash Nov 03 01:06:50 Bryanstein: how do you know this? :D Nov 03 01:07:09 just by my description or from other discussions? Nov 03 01:07:28 what I have found also...which is quite odd...my latest plug will give errors while booting from usb...but it boots fine if I flash it to nand then mount root from usb Nov 03 01:07:39 well the description Nov 03 01:07:53 I've built quite a few images over the past 3 days Nov 03 01:08:51 f3ar007, there is nothing special about archmobile .,,if you try other images and they boot..then the image is not good Nov 03 01:08:52 oh, hmm Nov 03 01:08:57 did you md5sum it? Nov 03 01:09:03 is there a sum available... Nov 03 01:09:10 ...no :/ i will check for a sum Nov 03 01:09:18 I've grabbed images that just froze on me as well Nov 03 01:09:43 okay Nov 03 01:09:46 there is no sum Nov 03 01:10:09 well it might not be that its a bad copy of it Nov 03 01:10:18 but really...try other images Nov 03 01:10:44 flash it to nand then try booting it Nov 03 01:11:34 okay, well this is the first time ive tried changing the os... Nov 03 01:11:45 when you say flash to nand that means the os on the nand storage, correct? Nov 03 01:13:40 yes the uImage Nov 03 01:13:48 which is the kernel Nov 03 01:14:09 I vaguely remember that guide...but i think it sucked Nov 03 01:14:24 did they supply you with an initrd too? Nov 03 01:14:46 what version of uboot you running? these things might be factors Nov 03 01:16:01 3.4.19 Nov 03 01:16:08 no initrd Nov 03 01:20:17 oohhh.. I can't wait for mine to get here. I got really pissed the other day when they told me they won't even receive units until sometime this week. Nov 03 01:20:33 I need some extra puzzles in my life. Nov 03 01:22:32 Bryanstein: do you recommend another kernel for testing? Nov 03 01:27:26 Bryanstein: its uboot 1.1.14 i think Nov 03 01:27:35 1.1.4 ** Nov 03 01:59:57 im building a custom kernel and i have make -j4 ARCH=arm CROSS_COMPILE=../arm-2008q3/bin/arm-none-eabi- uImage Nov 03 02:00:25 what does the CROSS_COMPILE reference because I'm getting command not found Nov 03 02:01:38 f3ar007, the compiler Nov 03 02:01:40 lol Nov 03 02:01:54 f3ar007, how fast is your system and how much ram do you have Nov 03 02:02:06 you can turn that -j way up depending on your system Nov 03 02:02:16 2gig and its a core2duo 1.5ghz Nov 03 02:02:34 pfff I'd go up to like j30 Nov 03 02:02:39 okay with CROSS_COMPILE="this string here" Nov 03 02:02:41 im reading Nov 03 02:02:45 really you can go much higher Nov 03 02:02:49 http://computingplugs.com/index.php/Building_a_custom_kernel#Getting_U-Boot.27s_mkimage Nov 03 02:02:54 well you need to download the compiler Nov 03 02:03:11 can the ../arm-2008q3/bin/arm-none-eabi- uImage be anything different on my machine? Nov 03 02:03:13 or install one...wait I'll give you a link Nov 03 02:03:33 yes ../ is a relative path to something that you would need to be there Nov 03 02:04:27 wget http://www.codesourcery.com/sgpp/lite/arm/portal/package5353/public/arm-none-eabi/arm-2009q3-68-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 Nov 03 02:04:35 download that Nov 03 02:05:27 okay its downloading, what do i do after that...extract then... Nov 03 02:05:28 wget that then untar it ...put it on level below your kernel...location really doesn't matter...just know where it is then point to it in the CROSS_COMPILE line Nov 03 02:05:38 oaky Nov 03 02:05:48 i already have crosstools-ng Nov 03 02:05:51 if that matters Nov 03 02:06:30 well that would work Nov 03 02:06:36 is it already built? Nov 03 02:06:51 its installed, im on archlinux and i used pacman to get it... Nov 03 02:06:56 this compiler is built already...you just run it Nov 03 02:07:06 oh Nov 03 02:07:40 oh well you can use that but for simplicity sake...just untar that and you can stay a long with the wiki article Nov 03 02:07:53 okay Nov 03 02:08:20 okay its built by the way i just dont know how to use it :P Nov 03 02:09:08 well just follow the wiki and you'll be ok Nov 03 02:10:41 Gun_Smoke, I got quite a few kernels successfully built...my plug is behaving erratically Nov 03 02:10:56 humm... Nov 03 02:10:58 okay so untar to linux-2.6.32-rc5/arm-...-etc Nov 03 02:10:59 sometimes it'll boot from sd...sometimes not Nov 03 02:11:03 yes Nov 03 02:11:11 then CROSS_COMPILE= ./arm-...-etc Nov 03 02:11:13 any kernel I try from usb...almost any is a dud Nov 03 02:11:23 well point to where it is Nov 03 02:12:19 arm-2009q3/bin/arm-none-eabi- uImage Nov 03 02:12:40 but I just wouldn't put it in the same dir as the kernel source...not sexy at all Nov 03 02:16:15 :P Nov 03 02:16:51 its compiling right now Nov 03 02:22:11 hi Bryanstein laptop crashed :P Nov 03 02:22:23 well I guess that was too high LOL Nov 03 02:22:26 on the -j Nov 03 02:22:34 i was just going to ask! :D Nov 03 02:22:38 I do a -j 12 on the plug Nov 03 02:22:43 i'll leave it at 4 Nov 03 02:22:46 I do a -j 50 on my server Nov 03 02:22:50 4 is for wimps Nov 03 02:22:56 how long do you think it will take? Nov 03 02:23:05 MUCH longer without a higher number Nov 03 02:23:19 put it like this...it takes 4-8 minutes on my server with -j50 Nov 03 02:23:27 -12 it takes 60 minutes on the plug Nov 03 02:23:27 okay, 12 it is Nov 03 02:23:35 go 20 Nov 03 02:23:54 but run top in another terminal Nov 03 02:24:06 see how much ram is used Nov 03 02:24:23 if you're doing a whole lot Oom will kill you off Nov 03 02:24:33 if i want to change the output file should i use /somewhere/else/uImage? Nov 03 02:24:49 just leave that alone Nov 03 02:24:54 okay Nov 03 02:25:07 btw...make help will show you all that you can do Nov 03 02:25:26 but you have to be in the kernel source dir Nov 03 02:28:50 Bryanstein: cpu 100% memory 14% Nov 03 02:29:07 sometimes my laptop crashes like it did...i think its a hardware problem... Nov 03 02:29:17 unrelated to right now Nov 03 02:29:19 :P Nov 03 02:30:47 its happened before, even on different OS Nov 03 02:32:53 :/ i can't find the finished product... Nov 03 02:33:07 arch/arm/boot Nov 03 02:33:17 the wiki says /sheeva/orion/arch/arm/boot/uImage Nov 03 02:33:44 well its in arch/arm/boot Nov 03 02:33:49 from the kernel sources dir Nov 03 02:34:15 the output tells you were it puts it Nov 03 02:35:43 all i have in linux-2.6.32-rc5/arch/arm/boot is the following: Nov 03 02:35:53 Makefile bootp compressed install.sh Nov 03 02:36:27 what line did you use to build it? Nov 03 02:36:29 show me Nov 03 02:36:32 okay Nov 03 02:37:07 make -j20 ARCH=arm CROSS_COMPILE=../arm-2009q3/bin/arm-none-eabi- uImage Nov 03 02:37:33 looks good to me Nov 03 02:37:43 so ls arch/arm/boot Nov 03 02:37:55 ohhh wait...do you have mkimage installed? Nov 03 02:38:01 yes Nov 03 02:38:06 mkimage is installed Nov 03 02:38:41 well as the build finished...it should have told you it was generated and where it put it...which is in arch/arm/boot Nov 03 02:41:29 im trying to build it again Nov 03 02:41:32 and i get this... Nov 03 02:41:57 kernel error 2 exiting with 21 jobserver tokens available, should be 20! Nov 03 02:42:09 do i need to remove any files first? Nov 03 02:43:08 qq Nov 03 02:43:10 sorry Nov 03 02:45:24 i think there was an error in the compiling Nov 03 02:57:53 Bryanstein: you were joking, right... about the -j Nov 03 02:58:21 joking what? Nov 03 02:58:32 it says replace 4 with the number of processors Nov 03 02:58:42 no man Nov 03 02:58:44 my machine just crashed again during another make Nov 03 02:58:45 oh Nov 03 02:58:46 okay Nov 03 02:59:09 i just start make with -j2 :/ Nov 03 02:59:14 do a dmesg and see if you see oom in there Nov 03 02:59:19 lol well do as you wish Nov 03 02:59:34 funny I can do make -j12 on my sheevaplug and it'll go fine Nov 03 02:59:55 j tells it how many processes to fork **** ENDING LOGGING AT Tue Nov 03 02:59:57 2009