Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937502AbXHIAEW (ORCPT ); Wed, 8 Aug 2007 20:04:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763318AbXHIAEP (ORCPT ); Wed, 8 Aug 2007 20:04:15 -0400 Received: from sour.ops.eusc.inter.net ([84.23.254.154]:54104 "EHLO sour.ops.eusc.inter.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757569AbXHIAEO (ORCPT ); Wed, 8 Aug 2007 20:04:14 -0400 X-Trace: 4d7c73656261737469616e2e6b6c6f736b6140736e6166752e64657c38352e3137 382e39372e36347c3149497656622d3030304d6e712d564b7c3131383636313738 3532 Message-ID: <46BA59FA.7080706@snafu.de> Date: Thu, 09 Aug 2007 02:04:10 +0200 From: Oncaphillis Reply-To: oncaphillis@snafu.de User-Agent: Thunderbird 2.0.0.5 (X11/20070719) MIME-Version: 1.0 To: Guennadi Liakhovetski CC: linux-kernel@vger.kernel.org Subject: Re: UART misbehaves under Linkstation/KuroBoxHG References: <46B9CE82.1050000@snafu.de> <46BA320E.1030608@snafu.de> <46BA3DF5.4050201@snafu.de> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1745 Lines: 44 Removing the getty from initd did the trick. And you're right AVR is disabled by the kernel found the code in ./arch/powerpc/platforms/embedded6xx/ls_uart.c Tkank you Guennadi Liakhovetski wrote: > On Thu, 9 Aug 2007, Oncaphillis wrote: >> I hope I found the the misconfigured part. I didn't look >> at /etc/inittab. It opens a getty on /dev/ttyS0. That >> might do the trick. Have to recompile my kernel right now with >> standard config to check this out. > > Hm, for that you don't have to recompile the kernel... unless you modified > it before, of course. Just change your inittab and reboot. > >> Well ... it doesn't seem to need the daemons but at least >> the kuro_boot script or something similar has to be executed >> once sending the right init strings to the AVR or your system >> reboots after a few minutes at least on my box. > > No, shouldn't be needed either. You should get a string in dmesg like > "linkstation: disarming the AVR watchdog:", and the watchdog should be > off. Just take the original .dts, unmodified kernel sources and close > enough to original (arch/powerpc/configs/linkstation_defconfig) .config > and it should work. > > Thanks > Guennadi > --- > Guennadi Liakhovetski > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/