**** BEGIN LOGGING AT Thu May 14 02:59:57 2009 May 14 04:15:09 hello May 14 04:16:16 how can i check or run those diagnostic command in tera term May 14 04:16:30 running windows xp, run_diag does not work May 14 04:16:39 mv_diag also don't work May 14 04:17:02 typing help at Marvell>>> prompt don't show those two commands May 14 04:17:22 i have tried to setenv run_diag or mv_diag to no avail May 14 04:18:23 ping May 14 04:39:03 do somebody know if the gentoo kernel from dev.gentoo.org has SD patches? May 14 11:26:29 Hi May 14 12:08:36 punxos: Hi May 14 12:29:48 yo gualteri! May 14 12:31:18 eno: gualteri is getting a sheevaplug too. he has been sending me patches for inferno-kirkwood ☺ May 14 12:53:50 mjl-: s/?/!/, watchout! there's more to come ;P May 14 12:55:53 gualteri: i'll have to work harder then :D May 14 13:56:14 btw is the audio controller on the kirkwood available/usable on the sheevaplug? May 14 13:58:02 i'm using a cheap usb-audio stick May 14 14:06:13 yep that's a good alternative, anyway i'll take a look at the docs to see if it's possible to use it May 14 14:33:25 gualteri: no May 14 14:33:34 it's not connected to anything May 14 14:34:58 Md: do you have an idea on how to flash kernel on nand? from uboot and from rootfs (i noticed i do not have flash_erase et al)? May 14 14:35:51 would cat uImage > /dev/mtd1 do the job? May 14 14:36:19 zumbi: not yet, especially since I have heard that some tools do not implement 4 bits ECC which is needed by others May 14 14:36:35 zumbi: I understand that it will work *if* you do not have any bad blocks May 14 14:36:36 linux doesn't do 4bit ecc yet May 14 14:36:44 but openocd svn does now May 14 14:36:55 zumbi: I recommend that you read the FAQ on the linux-mtd web site May 14 14:37:03 lennert: so what uses it? just u-boot? May 14 14:37:24 and the boot rom May 14 14:37:26 and which is the recommended way to flash a new u-boot? May 14 14:37:42 rabeeh: what'd that be, bubt? May 14 14:37:44 (excluding svn openocd) May 14 14:38:07 yes, i have used bubt to flash u-boot May 14 14:38:31 i read about nbubt, but i was not sure what nboot.bin was May 14 14:38:32 bubt May 14 14:38:34 zumbi: that was worked for me for the kernel, but it won't work for the rootfs, as probably you'll hit bad blocks May 14 14:39:20 and what happens if I flash u-boot or the kernel using 1 bit ECC? May 14 14:39:37 armin76: where are flash_erase tools? (At tbm's tarball I only see an undocumented flash-kernel tool) May 14 14:40:10 Md: if you flash u-boot in 1bit ECC, then the bootrom will try to load with 4bit ECC, but find errors. May 14 14:40:35 Md: it will retry 15 times, and at the end giveup and dump the nand content to DDR and try running it in any case May 14 14:41:15 Md: if you are lucky enough and have zero errors in the important instructions in uboot, then it will boot without issues May 14 14:41:37 * Md wish a better flash technology existed :-) May 14 14:41:48 Md: but in any case, for u-boot you can use bubt (which uses 4bit ECC) or openocd from svn (version >= 1770) that supports 4bit ECC now May 14 14:41:49 ubi? May 14 14:41:52 * Md updates the wiki May 14 14:42:02 Md: which part? May 14 14:42:05 zumbi: physical technology May 14 14:42:12 rabeeh: "Setting_Up_OpenOCD_Under_Linux" May 14 14:42:30 ok. May 14 14:42:31 thanks May 14 14:46:51 Md: well, the trend is that flash memory is getting crappier and cheaper, and the crappiness is hidden by having lots of redundant flash space and microcontroller to hide details.. May 14 14:54:12 zumbi: mtd-tools May 14 14:54:34 or whatever is called on your distro :) May 14 14:55:20 armin76: upstream and debian call it mtd-utils ;) May 14 14:56:20 i remember installing those last night, but i got some fopen error which hang my NFS server and client May 14 14:56:22 indeed :P May 14 14:58:40 it worked now.. May 14 14:59:01 by i still we the fopen error (on my locale): fopen: S'ha denegat el permís May 14 15:00:13 try stracing it May 14 15:00:16 Processing triggers for man-db ... May 14 15:00:16 fopen: Permission denied May 14 15:00:21 strace is the universal debugging tool... May 14 15:00:52 clee: ping May 14 15:05:21 MD: http://paste.debian.net/36138/ May 14 15:06:49 you cut the useful part. use strace -v -s 200 -ff -o xxxxx to log to a file May 14 15:12:17 now, i got a bunch of file.XXX, i'll get back to it later May 14 15:13:52 find out the right one, where open(2) fails May 14 15:17:11 open("/var/cache/man/1527", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = -1 EACCES (Permission denied) May 14 15:17:19 and some more friends May 14 15:18:52 this is not an issue if your man binary is not suid man May 14 15:21:37 Md: i believe this is a local problem, i had wrong perms and owner for man cache files May 14 15:22:32 yes, it is now fixed May 14 15:22:38 thanks Md :) May 14 15:22:48 /var/cache/man/ must be owned by man:root May 14 15:23:48 when i first install tbm tarball it had some wrong perms on NFS, so i chown -R /var to root:root May 14 15:24:08 i had some issues with dpkg not being able to install applications May 14 15:24:26 you'd better reinstall, who knows how many other permissions you broke May 14 15:25:16 Md: it is working fine now May 14 15:25:54 it was working fine, just man db a bit corrupted.. well, i wasn't on rootfs yet, i was focusing on u-boot May 14 15:26:39 it is a testing device to brick it all the time :) May 14 15:27:20 you think it is working fine, but you do not know :-) May 14 15:28:40 Md: i have several NFS rootfs I can change anytime, right now, for me it is sufficient to see it boots May 14 15:29:58 i am first getting some familiarity with u-boot + kernel, in short future with openocd :) May 14 15:30:33 zumbi: as for what you asked me yesterday, i don't even have an sd card? :) May 14 15:30:50 openocd is really trivial to use May 14 15:32:08 armin76: mmcinit needs more love, AFAICT it is a bit flacky May 14 15:32:33 zumbi: i have no clue, don't look at me :P May 14 15:32:42 i'm not going to use it May 14 15:33:58 hehe, it just keep me a little busy at night time. I look at you because you wanted SD support in uboot. :) May 14 15:34:31 well, you seemed bored, but i'm not able to use it, so i don't really care :P May 14 15:38:07 well, certainly, i am not bored. But it was a nice project to test. May 14 15:41:11 BTW, I looked at the u-boot mailing list and the kirkwood merging is not proceding fast since the code is somewhat crappy May 14 15:42:00 if it does get merged it will be initially probably supporting less features May 14 15:42:05 probably somebody had to write it ral quick for the release May 14 15:42:15 s/ral/real/ May 14 16:14:14 mjl-: that's excellent news, i'm still in learning mode, but it already amazes me how regular the structure is to write device drivers in inferno May 14 17:12:01 does kernel have USB gadget support? which file is it? May 14 17:17:44 well, i gues it does not have udc gadget driver under drivers/usb/gadget May 14 17:18:12 it cannot, the B USB port is not wired to the main CPU May 14 17:18:44 i have not checked schematics.. i should check May 14 19:45:29 rabeeh: pong! May 14 22:58:15 Hey guys...I got my SheevaPlug yesterday and I'm trying get the system to boot from mmc. I installed an sd/mmc patch uboot bin, but I have no idea how to get it going May 14 22:58:38 I'm literally 6 hours fresh on the plug May 14 23:08:22 keep reading the wiki May 14 23:09:30 Md, May 14 23:09:48 I really see nothing in the wiki regarding this... May 14 23:10:46 Md, I'm talking about booting from mmc alone...not just mounting root on it May 14 23:29:03 read the wiki and the forum May 14 23:29:17 lol Md I have...I'm close May 14 23:29:29 I got the u-boot.bin on there...mmcinit... May 14 23:29:42 I can list the files on the card with ext2ls May 14 23:30:07 now its getting ext2load to work is where I'm stuck May 15 00:42:21 Bryanstein: sorry, it's german, but it's all you need ;) http://blog.hep-cat.de/?p=3681 May 15 00:45:10 atari, May 15 00:45:12 THANKS May 15 00:46:39 you are welcome :) May 15 00:51:24 atari, serious...that was a bigggggggggggggggggggg help **** ENDING LOGGING AT Fri May 15 02:59:58 2009