From owner-freebsd-arm@FreeBSD.ORG Sun Dec 22 17:04:48 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 4947C8B7 for ; Sun, 22 Dec 2013 17:04:48 +0000 (UTC) Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com [209.85.213.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 119261A1A for ; Sun, 22 Dec 2013 17:04:47 +0000 (UTC) Received: by mail-ig0-f177.google.com with SMTP id uy17so11457034igb.4 for ; Sun, 22 Dec 2013 09:04:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=0G6I5V0N3LXRUvLyKM8fnhyI47MjLB5jek91eIUaCHA=; b=NiIioYpVd2r6RpxQn4VrjsEOOf9VW00QlzwvQgqrNOEh9bB+v5NRmkJKbV0P3t6KgE BP1RyHaz/ikyPepwUhEhQpa74U65cFyr7owqhkyUr6THH/GIIY+hjx5zvF7WIq5iH55n 9NPmdjz2Hj3zbUQiLs5Yb/LMXTZueKJC/MXuf39QSL5VJBAj4jEg+X/pZMxyg3Hb3sia 44dp594dlaxA/vRh6N7o3ltlpwWPWATLiMGmfOjRzYWJLh1mQWee1b8jxzh0wDejgQn8 8z+dzCT+32fUhTXMgxb0yo1TNPJ3uCQdB6dAk59Ej1duYItFBW1uMdxwIu6zOt7LopjL 2vqg== X-Gm-Message-State: ALoCoQkNmYjE3gksL0vFdJT4Ni5CfySYGh3ZqJwGv6N3Xs5ZPIIl87lPsshCb60ZAmJxJ5OZjMj5 X-Received: by 10.50.128.137 with SMTP id no9mr17361056igb.36.1387731887183; Sun, 22 Dec 2013 09:04:47 -0800 (PST) Received: from [10.0.0.23] (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id x6sm21883132igb.3.2013.12.22.09.04.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 22 Dec 2013 09:04:46 -0800 (PST) Sender: Warner Losh Subject: Re: 10.0-release proposed patch for Atmel Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Sun, 22 Dec 2013 10:04:47 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Adrian Chadd X-Mailer: Apple Mail (2.1085) 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 17:04:48 -0000 On Dec 22, 2013, at 9:39 AM, Adrian Chadd wrote: > Where's the original UART diff? http://svnweb.freebsd.org/base?view=3Drevision&revision=3D259685 Warner >=20 > Adrian >=20 > On Dec 22, 2013 1:45 AM, "Warner Losh" wrote: > Gentlemen, >=20 > 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. >=20 > 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. >=20 > A less elegant, less functional fix can be found at = http://people.freebsd.org/~imp/at91-mountroot-10.diff >=20 > 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. >=20 > Can the folks here that know Atmel take a look at the patch and let me = know what you think? >=20 > Warner >=20 > _______________________________________________ > 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"