From owner-freebsd-arm@FreeBSD.ORG Sun Dec 22 16:39:55 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 11916162 for ; Sun, 22 Dec 2013 16:39:55 +0000 (UTC) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C223C1860 for ; Sun, 22 Dec 2013 16:39:54 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id m20so4099290qcx.18 for ; Sun, 22 Dec 2013 08:39:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=g62K7Hzek5piCckY2ciJXQ2Ck6VJdmJEmqSNxh0YbCc=; b=if0fpHcW32QmxEuwWWuwTe8XblSswyCrTvQrrzAa3XYNUIMf6/rlAOV8xm4s2EjePk ub52/1XvNvadJ6FyejS6K6mLvE0rS3NWOmzpl6EbZ81F190AJK7UTjpg+gwJ2DzJzEny BQ98vutHHGNz5IhjAII8KKhq0UXnpV9lrE3Iehmlz9qGeL8f1D1E2gvHE4zyMRmHRl9+ Pj/0ZB8+PBovtGX7v5BHwkmGk37wRSwJbPGdT4dvrdcZXFI7eGSqXPlgs7aP7kFS5ew+ QKN79W/aJyZVXpnN786U8k+T2pI6tsBEreHbYLlSVynDX3NvzS+3z1Pk5kn2J/NLn6TR i6QA== MIME-Version: 1.0 X-Received: by 10.224.46.8 with SMTP id h8mr34735202qaf.49.1387730393804; Sun, 22 Dec 2013 08:39:53 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Sun, 22 Dec 2013 08:39:53 -0800 (PST) Received: by 10.224.53.200 with HTTP; Sun, 22 Dec 2013 08:39:53 -0800 (PST) In-Reply-To: References: Date: Sun, 22 Dec 2013 08:39:53 -0800 X-Google-Sender-Auth: ZQ8wu49irIe5SOUpedH0_SkW_Fg Message-ID: Subject: Re: 10.0-release proposed patch for Atmel From: Adrian Chadd To: "M. Warner Losh" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Dec 2013 16:39:55 -0000 Where's the original UART diff? Adrian On Dec 22, 2013 1:45 AM, "Warner Losh" wrote: > Gentlemen, > > Right now, the mountroot prompt doesn't work on Atmel CPUs. Almost all the > characters are eaten. I recently committed an elegant fix for this into > head to mask the interrupt for new characters and only do polling. > > However, it touched the base uart. In an abundance of caution, the re@has asked me to see if I can come up with a fix w/o that. > > A less elegant, less functional fix can be found at > http://people.freebsd.org/~imp/at91-mountroot-10.diff > > This fix defers turning on the RXRDY bit in the interrupt mask until we > get the first interrupt after the first opening of the device. This is > sufficient for mountroot> to work, but wouldn't fix things like GELI that > prompt the user from the kernel. I think that's acceptable for 10.0 given > the typical use case for atmel. > > Can the folks here that know Atmel take a look at the patch and let me > know what you think? > > Warner > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >