**** BEGIN LOGGING AT Wed Dec 01 02:59:57 2010 Dec 01 10:51:56 Heya, can anyone tell me what the arcNumber exactly is? Dec 01 15:01:03 tjack: linux has no way to know what arm cpu is it running on Dec 01 15:01:27 so it needs an architecture number to know it's running on a marvell sheevaplug board Dec 01 15:45:44 So I've kindda bricked my guruplug...So here's my question: After connecting the JTAG board I can see that the reason why it won't work is that it is stuck trying to start a pptp deamon after entering runlevel 2. Is there any way to remove the pptp deamon from runlevel 2, thrugh the JTAG baord? Dec 01 15:50:43 boot in single-user mode Dec 01 15:52:06 Kerio>> So How do I do that? Fire up the JTAG connection and then interrupt the boot process and then ...? or is it something else? Dec 01 15:52:43 add init=/bin/sh to the bootcmd, i dunno Dec 01 16:06:40 woob: look up how to pass command line parameters from uboot Dec 01 16:11:19 uhh nice I'll try that... I'm not sure how to add the init=/bin/sh to the bootcmd Dec 01 16:15:48 woob: that won't do it anyway Dec 01 16:16:00 woob: http://www.denx.de/wiki/view/DULG/UBootCmdGroupExec Dec 01 16:16:27 woob: and you need to pass the kernel S Dec 01 16:17:06 woob: see 'Init Options' section in http://www.kernel.org/pub/linux/kernel/people/gregkh/lkn/lkn_pdf/ch09.pdf Dec 01 16:18:17 Thx I'll look into it... and let you know how it works out Dec 01 16:30:34 So before I brake something else: I should create a txt file containing the line "init S", then convert it to a uboot image with this command: " mkimage -A ppc -O linux -T script -C none -a 0 -e 0 -n "autoscr my.script -d /home/me/my.script /home/me/my.scr" then fire up the connection to the plug via the JTAG and abort the boot process and then execute this command: "tftp 0x100000 /home/me/my.scr"? Dec 01 16:39:06 And I also need the mkimage executable... Dec 01 17:02:40 WTF? why you are not just using the serial console? Dec 01 17:03:04 in the text file I have tried with both the line "init S" and just "S" but neihter works Dec 01 17:03:24 I'm not sure... Dec 01 17:04:07 How do I figure out how whether I'm using the serial console? Dec 01 17:04:11 so forget all that, you just need to use the serial console and add "single" to the kernel command line Dec 01 17:04:22 if you are using a jtag client, you are not. RTFM Dec 01 17:06:17 I (guess that I) am using a JTAG client: minicom. But if it easier to use the serial console I'd like to use that, but I dont know how. Can you provide a link to the manual? Dec 01 17:11:02 oh wait, do you mean connecting via ssh? That I can't do since it's stuck in the boot process before the network have started Dec 01 17:26:55 I just keep saying that "No link on egiga0" and "No link on egiga1" Dec 01 17:26:58 it* Dec 01 17:27:32 guruplug? Dec 01 17:27:37 yup Dec 01 17:29:54 And I tried to "setenv serverip 192.168.0.52"(host) and "setenv ipaddr 192.168.0.51" (guruplug) Dec 01 17:44:48 So it seems that it might just be easier to flash a new root fs to the guruplug. That leads me to a new question: On http://www.plugcomputer.org/plugwiki/index.php/Reflashing_images_on_the_GuruPlug under "Burn the rootfs image" it says: " nand write.e 0x6400000 0x500000 0x". How do I figure out what this value is? Dec 01 17:59:42 woob: when you do tftp 0x800000 myfilename Dec 01 17:59:44 it goes Dec 01 17:59:47 Loading image .................... Dec 01 17:59:54 0x123456789 bytes read Dec 01 18:00:01 you just put 0x123456789 Dec 01 18:00:07 (ofc replacing the actual number) Dec 01 18:02:16 what ever I put behind the tftp command it just goes "No link on egiga0" and "No link on egiga1" Dec 01 18:03:06 did you start them? Dec 01 18:03:11 there was a way to turn them on iirc Dec 01 18:03:34 (you DO have it plugged into a router/switch, right?) Dec 01 18:05:26 hmmm... You mean connect the guruplu to the router? Dec 01 18:05:43 well what else would you be trying to connect it to? Dec 01 18:05:52 directly into your laptop? Dec 01 18:06:11 that would only work if you had a crossover cable, and you'd have to manually set up both ends of the link Dec 01 18:06:51 I have no idea... I have the plug connected to the JTAg board that is connected to my desktop... no ethernet cables going anywhere Dec 01 18:07:11 lol... Dec 01 18:07:16 :-D Dec 01 18:07:24 why would you think you would be able to get a link on eth0 without a cable in eth0? Dec 01 18:07:25 ... Dec 01 18:07:27 XD Dec 01 18:08:21 I have no idea, it the first time I'm trying to connect with the JTAg board and I haven't come across anywhere where it says that I need to put in net-cables... Dec 01 18:08:40 woob: tftp is an internet protocol Dec 01 18:09:05 to access the serial terminal you only need te jtag board, but if you want to use the internet functions accessable from the command line, you'll need internet =p Dec 01 18:09:41 Yeah then the ip adresses starts to make sense Dec 01 18:09:49 lol.. Dec 01 18:10:03 :-D Then I learned something new today Dec 01 18:31:21 Tootoot222: Gigabit is auto-MDIX Dec 01 18:32:21 in other words, as long as one end is a gigabit interface, whether the cable is crossover or not is irrelevant Dec 01 18:33:31 I just hooked to my router, and it seems to work fine:-) Dec 01 18:42:30 So Now I tried to do this:Marvell>> tftp 0x6400000 /tftpboot/rootfs.ubi.img Dec 01 18:42:30 Using egiga0 device Dec 01 18:42:30 TFTP from server 192.168.0.52; our IP address is 192.168.0.50 Dec 01 18:42:30 Filename '/tftpboot/rootfs.ubi.img'. Dec 01 18:42:30 Load address: 0x6400000 Dec 01 18:42:31 Loading: T T T T T T T T T T Dec 01 18:42:31 Retry count exceeded; starting again Dec 01 18:43:00 what am I doing wrong...? Dec 01 18:49:50 is 192.168.0.52 running a TFTP server? Dec 01 18:50:30 (tbh… I get the feeling you're just too plain dumb for a devkit like this…) Dec 01 20:44:15 thx kerio **** ENDING LOGGING AT Thu Dec 02 02:59:58 2010