From owner-freebsd-arm@freebsd.org Fri Nov 9 09:15:21 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78E84112AE1D for ; Fri, 9 Nov 2018 09:15:21 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 693096B184 for ; Fri, 9 Nov 2018 09:15:20 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 331be58d; Fri, 9 Nov 2018 10:15:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=0CdxN2iV+LOAnILKREv9wYTlxXI=; b=cnyW2/BavLDpB/t+RhKb2n4aqshp 5sYmLEAHvEkYhEl+4u87ZxNrjmqyxysIOV/zjOkVnqaoDdRpQFoDrIbzE5quOzaY B8TaMa+AWCJ39WR/XIrRfYs3lXraOcePGnW558jZp/PO6mp+FzQa4UcWWEEbqB0T 64JzfbNeXYrK6i4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=n+Ic9eRFftw8p+4wT96SSwhAV9JRQ8x4ZMjkjwyBM7IBF7oUUIgkLZ7v dBWt3jBNMzHrKqoQ3WWXwOrsk6SQRezfx8JTaiwcqmS7bqM965ENA9QZN+ni6GIP en85bhO2aA2cypecnLz20yMkkMVz3vHHdOCa+QjHJJpDcfPD6Tc= Received: from knuckles.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 374f8e2b TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Fri, 9 Nov 2018 10:15:12 +0100 (CET) Date: Fri, 9 Nov 2018 10:15:09 +0100 From: Emmanuel Vadot To: Jookia <166291@gmail.com> Cc: freebsd-arm@freebsd.org Subject: Re: eMMC issues on Allwiner A20-OLinuXino-LIME2-eMMC Message-Id: <20181109101509.a6a37d8a2ae7b2d4ee148400@bidouilliste.com> In-Reply-To: <20181108063915.GA1747@novena-choice-citizen-recovery.gateway> References: <20181108063915.GA1747@novena-choice-citizen-recovery.gateway> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 693096B184 X-Spamd-Result: default: False [-2.17 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[mx-backup.blih.net,mail.blih.net]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-0.11)[asn: 12876(-0.52), country: FR(-0.02)]; NEURAL_HAM_SHORT(-0.16)[-0.159,0]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2018 09:15:21 -0000 Hi, On Thu, 8 Nov 2018 17:39:15 +1100 Jookia <166291@gmail.com> wrote: > Hi there, > > I've been working on getting FreeBSD to run on Olimex's LIME2 board. > Unfortunately I'm having some trouble when booting it with the eMMC > device tree. > > The eMMC card (mmc1, 4GB) keeps giving off > AW_MMC_INT_RESP_TIMEOUT while the SD card (mmc0, 32GB) works fine. > > I've looked through the source code for the driver but it's over my > head, so I was wondering if anyone here knows what's going on? > > I tested the eMMC and it works fine in Linux and OpenBSD. > > Jookia. Which u-boot are you using ? If you are using the A20-OLinuXino-Lime2-eMMC_defconfig it should work (and have worked since I used this board at $WORK-2 for a project) but if you are using the A20-OLinuXino-Lime2_defconfig it will not as we lack support for mmc-pwrseq-emmc (so the eMMC is never put of reset). -- Emmanuel Vadot