**** BEGIN LOGGING AT Sat Dec 18 03:00:01 2010 Dec 18 10:38:25 hi! Dec 18 10:38:49 I recieved my SheevaPlug and now, I'd like to install debian squeeze on it. Dec 18 10:39:37 I guess I should update u-boot : I found a binary on OpenPlug's forums but where can I find the source code for this u-boot version ? Dec 18 10:42:37 paulk_: http://www.plugcomputer.org/plugwiki/index.php/Installing_Debian_To_Flash great guide to updating... everything Dec 18 11:27:57 I downloaded the uInitrd and uImage for debian squeeze, put them on a sd card and after I loaded these files, I have "Verifying Checksum ... Bad Data CRC" as a result for bootm Dec 18 11:28:17 I followed http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html Dec 18 11:31:20 no idea why Dec 18 11:31:21 try tftp Dec 18 11:39:51 Omg, I updated u-boot from mmc, did reset and now, I can't get anything from the serial console Dec 18 11:46:21 oh shit :| Dec 18 11:47:02 doublecheck it's really bricked, and if it really is install openocd Dec 18 12:12:13 paulk_: You cant find the source for u-boot since it isnt open. Try openboot for that Dec 18 12:12:26 Pretty sure thats why openboot came about Dec 18 12:12:45 I found http://git.denx.de/u-boot/u-boot-marvell.git/ Dec 18 12:13:33 Is that just the binary? Dec 18 12:14:04 comradekingu: u-boot is open source (gpl) Dec 18 12:14:05 no wait, openboot is what coreboot used to be Dec 18 12:14:11 My bad Dec 18 12:20:46 paulk_: Try to tftp it normally from place to place? It will return that error if its 0B or faulty in any other way Dec 18 12:21:54 well would first like to unbrick my sheeva… Dec 18 12:22:03 I just got to that part Dec 18 12:22:52 So what am I supposed to do to make it work again ? Dec 18 12:23:06 Will the jtag respond if the usb-serial doesnt? Dec 18 12:23:32 I don't know Dec 18 12:23:54 This was mentioned: http://www.openplug.org/plugwiki/index.php/Setting_Up_OpenOCD_Under_Linux Dec 18 12:26:05 I have to go for a moment… I'll try to unbrick it after :) Dec 18 12:28:41 good luck Dec 18 12:50:56 I unbricked my sheevaplug :) Dec 18 13:24:46 paulk_: woot! Dec 18 13:25:00 I built my own u-boot Dec 18 13:25:00 it was either that or the PSU exploding Dec 18 13:25:25 :) Dec 18 13:25:40 on my brand-new u-boot, I don't have usb init Dec 18 13:25:46 :| Dec 18 13:25:51 oh well Dec 18 13:25:56 my bad, it's usb start Dec 18 13:25:58 it's not like it works on the marvell u-boot Dec 18 13:25:59 and it works :) Dec 18 13:26:03 ooh Dec 18 13:26:11 i rarely got that to work Dec 18 13:26:17 a friend of mine has a dockstar though Dec 18 13:26:22 and of course it has to work there :) Dec 18 13:27:21 debian installer boots :) Dec 18 13:27:33 awesome Dec 18 13:29:38 indeed Dec 18 13:31:01 paulk_: first *plug? Dec 18 13:32:13 kerio: yes Dec 18 13:33:42 what are you going to do with it? Dec 18 13:33:46 general home server? Dec 18 13:33:52 yes Dec 18 13:34:02 for my mails, website, blog, etc Dec 18 13:34:56 I am at the partitioning step and I don't see how to install on the NAND Dec 18 13:37:23 you don't Dec 18 13:37:33 you install somewhere and then copy the files Dec 18 13:37:41 with no kernel Dec 18 13:38:35 i mean, you install somewhere, boot from *that*, make the ubifs, remount readonly, copy files, change /etc/fstab and symlink /etc/mtab to /proc/mounts which is awesome Dec 18 13:39:01 okay :) Dec 18 13:39:28 did you also flash the kernel somewhere on the NAND? Dec 18 13:39:38 not yet Dec 18 13:40:45 so, i'll install on my usb drive, and then copy everything to nand ? Dec 18 13:41:25 Which File system, am I supposd to choose (when installing to USB drive) ? Dec 18 13:43:33 whatever you like Dec 18 13:43:34 :) Dec 18 13:43:41 you're going to copy the files, not the fs Dec 18 13:43:48 because the nand is not a block device Dec 18 13:43:54 and it requires jffs2 or ubifs Dec 18 13:44:03 which are particular filesystems Dec 18 13:44:24 i mean, the nand is also accessible as a regular block device, but you get no wear leveling and no protection against bad blocks Dec 18 13:44:49 SDs are a perfect block device, they have a tiny controller chip that does wear-leveling and sector remapping for you Dec 18 13:45:25 okay Dec 18 13:45:31 i'll take ext2 Dec 18 13:45:39 you can also just ignore the NAND and boot from usb or sd Dec 18 13:45:51 no I want my debian on NAND Dec 18 17:23:31 Debian is so long to install… Dec 18 17:25:09 I saw that it installed a kernel on the USB drive. When I'll copy my USB drive rootfs to the NAND, will I have to put the kernel on /boot/ or on another "part" of the nand (I mean not the same mtdblock, as It's the case with the neo freerunner) Dec 18 17:25:26 right, it goes on a different block Dec 18 17:25:44 okay Dec 18 17:26:12 so I guess it's not really simple to update it, after I put everything to NAND… Dec 18 17:26:14 fatload usb 0:1 0x800000 uImage; nand erase 0x100000 0x400000; nand write 0x800000 0x100000 0x400000 Dec 18 17:26:17 for example Dec 18 17:26:28 you could also use tftp to load the kernel into 0x800000 Dec 18 17:26:46 (from the uboot prompt) Dec 18 17:27:46 Tootoot222: with fatload usb 0:1 0x800000 uImage; , I'll have to take the current kernel that the debian installer put on the usb device i'm installing rootfs, put it on another usb device and run that on u-boot level ? Dec 18 17:28:07 nah, use the sheeva.with-linux.com kernel Dec 18 17:28:13 yea^ ^ Dec 18 17:28:26 just the kernel, then boot (without modules), wget the README file (which is actually a shell script) and run it Dec 18 17:28:32 I just take that kernel and forget about the debian one ? Dec 18 17:28:37 yeah, why not Dec 18 17:28:45 you'll have to run a command on each kernel update anyway Dec 18 17:29:00 what does the README file does ? Installing the modules ? Dec 18 17:29:08 file do* Dec 18 17:29:11 it's a runable file that installs the uImage and modules Dec 18 17:29:15 flashes the kernel and installs the modules Dec 18 17:30:01 so I'll have to flash the kernel once to boot and wget the README file and then it will reflash it ? Dec 18 17:30:31 well you can also wget the modules and install them manually Dec 18 17:30:32 but meh Dec 18 20:55:34 debian installer finished ! Dec 18 20:56:24 it took around 7hours and 30 minutes o_O Dec 18 20:56:30 tooks* Dec 18 20:58:29 wait, what Dec 18 20:58:38 it took *a lot* less for me Dec 18 20:58:44 are you on dialup? :| Dec 18 21:00:07 no, I think that the problem is the poor usb drive I used : Dec 18 21:00:29 oh Dec 18 21:00:35 i would reinstall then Dec 18 21:00:38 unless poor = usb 1.1 Dec 18 21:00:41 in which case OH GOD Dec 18 21:01:11 well it's around 4mb/s on writing Dec 18 21:01:19 ouch Dec 18 21:05:08 that is crap speed Dec 18 21:05:19 paulk_: what are you using? Dec 18 21:20:08 I have an error with the line setenv bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0xa0000@0x0(u-boot),0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) root=/dev/sda2 rootwait rw Dec 18 21:20:21 the error is ## Error: illegal character '=' in variable name "bootargs=console=ttyS0,115200" Dec 18 21:36:41 debian is booting :) Dec 18 21:55:25 paulk_: slowest install ever Dec 18 21:55:30 :) Dec 18 21:55:48 I installed everything on ubifs on NAND, and it works greatly ! Dec 18 22:01:25 nice Dec 18 22:01:41 echo nand-disk > /sys/class/leds/plug:green:health/trigger Dec 18 22:01:52 iirc Dec 18 22:02:08 you may want to cat /sys/class/leds/plug:green:health/trigger Dec 18 22:02:44 paulk_: that does look sort of incorrect Dec 18 22:03:04 it should be setenv bootargs 'blah args here' Dec 18 22:03:17 Tootoot222: yep, I solved that Dec 18 22:03:31 paulk_: let me find a link for you assuming the spammer has not trashed the page Dec 18 22:03:43 tinker-f595: you can just revert the changes Dec 18 22:03:55 it's a wiki after all =p Dec 18 22:04:13 tinker-f595: what is supposed to « look sort of incorrect » ? Dec 18 22:04:29 Tootoot222: nope, the spammer has changes its strategy and started attacking accounts of those that reverted changes so can't log in anymore Dec 18 22:04:41 lolwat Dec 18 22:05:43 Tootoot222: it appears the spammer keeps attempting to login as people that reverted the changes so blocks you from login Dec 18 22:07:39 paulk_: http://www.plugcomputer.org/plugwiki/index.php/U-Boot_Quick_Reference Dec 18 22:08:44 hmm... set the wiki register-only, and ip ban that fucker Dec 18 22:09:00 like, ip-ban after 10 unsuccessful login attempts Dec 18 22:09:20 for about a day Dec 18 22:10:08 kerio: people asked for that but it never happened Dec 18 22:11:22 the wikiadmin should of posted a notice to the forum about the problem as well but did not. it seems the wikiadmin has been a bit lackadaisical Dec 18 22:13:11 if I could login I would fix this page http://www.plugcomputer.org/plugwiki/index.php/FreeBSD_8.0_Setup Dec 18 22:20:57 tinker-f595: gotcha Dec 18 22:21:17 kerio: thanks Dec 18 22:22:04 kerio: click on the random link and you will be amazed at how many spam pages come up. Some are pure spam and others are ones that were edited to become spam Dec 18 22:26:26 I'm going to sleep, good night and thanks everyone for help :) **** ENDING LOGGING AT Sun Dec 19 02:59:57 2010