From owner-freebsd-arm@freebsd.org Wed Aug 29 16:31:22 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 07944108E821 for ; Wed, 29 Aug 2018 16:31:22 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.ne1.yahoo.com (sonic309-21.consmr.mail.ne1.yahoo.com [66.163.184.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9BBDC739FC for ; Wed, 29 Aug 2018 16:31:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Abvp6BMVM1kNVqUlls3BuQ3TwDnXe4Gtbb8ZZmFTVALGGApdcK9m2H2JrenZGju 3tOtxyvDXQxgj90jyY4TxDajfoEBitwb4kNwgYHuUnmHRWG9LeObMItzwH3J.KwlxgIP_YOeobnr uWS94Q_uSVLE.FzshBdSA5E.0IMpMl5MJ0aGanfe4YiPBYMbNmSVnNKMSVoXK2JOyyvAIWrxUaH9 uNatb9wwVdURnpyHKl1SHn4JoDmU5kOSBCWzNvA3F9XP4wyy3aLLaI97eUGlnCznyLMmz8rK5iOl k9jNUEMhrRdqCOhgB.JlFXlX77ngRVB6O_ENpFM7eyBX344pKlLipjKzDjEgDq5QuZtGqtGnxKnF esf0.lEZZBFPDwN0Zm55DRx6HsBGbri.GajOYaN6HkWeGLVJ.rp9G2WJ.XosucaFClKA40.YZ4Du X2GNs0KDzzzW5Saj5fZAWrDzWU02Bk_9__t0hBgOGJ4eUv5xerxPozqU4tLFR_gPR91Mw184McJ7 qD1snqkYLYu8d74XDgmbhUsMsyPitVOnUnnEyXf0aPSdV4hOttFfXUhm.6QReJcyq4HMalnfV.DZ 44mX_XQjWTi5x9YnYwRTN.TqvWCTTgLDely.bvxXMKOgRG.wOwzQBGeHrQiRhlkiIrZ_Pn_wNctD ROsbplItp9wS7AOxlSydi9zzW1YTlwbLMAAgcwg2pvBuihbtqppkP7WqFkAIXWvhcn3qcCtjAfJw sKfeN6YxkMJMldJNPSrxWGY8hmbZSJrOCD3DG.JdZRv1hrt6pk.qMdsXDMSlDpr4h6dhcJcM6euX LNVB5UNTKFUH57uRtm7oH20V1rGJ72dVPpRrWe7XblBaGJQbS4hws0JCi6v8jlYc1SvzN3jXKIdn zo28J5dEBjHBVnOwSGMIc8RmJt6DUgoxgwW2ttQtpbsueG8m6H1AvjI.wFDC0d03qCid4SkOIDJA pp7Y8XDr47iq6J1cL8GY408hud_4IT0lvFR_OHiUdWJraxwN2asW4lpiNXNWGKUGDlPBoy.XvQuV HOPtxQhAQaiRCR3.6Ag-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Wed, 29 Aug 2018 16:31:14 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp409.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 386657ddd14675c9361de4fffec7b77c; Wed, 29 Aug 2018 16:31:11 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: FYI: head -r338341 on Pine64+ 2GB for a microsdhc boot media: mmc0: Failed to set VCCQ for card at relative address 43690 From: Mark Millard In-Reply-To: <20180829141353.1f81937f6c9f167c93d7ea2d@bidouilliste.com> Date: Wed, 29 Aug 2018 09:31:09 -0700 Cc: Mark Millard via freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <08B522F6-71E8-48C2-BD52-AF145E3615D5@yahoo.com> References: <20180829140421.9faac1d66c1d685106920f2b@bidouilliste.com> <20180829141353.1f81937f6c9f167c93d7ea2d@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2018 16:31:22 -0000 On 2018-Aug-29, at 5:13 AM, Emmanuel Vadot = wrote: > On Wed, 29 Aug 2018 14:04:21 +0200 > Emmanuel Vadot wrote: >=20 >> On Tue, 28 Aug 2018 23:26:36 -0700 >> Mark Millard via freebsd-arm wrote: >>=20 >>> aw_mmc0: mem = 0x1c0f000-0x1c0ffff irq 8 on simplebus0 >>> mmc0: on aw_mmc0 >>> . . . >>> mmcsd0: 32GB MFG 07/2017 by 3 SD> at = mmc0 50.0MHz/4bit/32768-block >>> mmc0: Failed to set VCCQ for card at relative address 43690 >>>=20 >>> It seem to tolerate that it did-not/could-not set the value. >>>=20 >>>=20 >>>=20 >>> It appears that sysutils/mmc-utils (still) just >>> gets AW_MMC_INT_RESP_TIMEOUT / ioctl: Operation timed out >>> for: mmc extcsd read /dev/mmcsd0 (once it is not mounted). >>>=20 >>> # mmc extcsd read /dev/mmcsd0 | more >>> open: Operation not permitted >>>=20 >>> # df -m >>> Filesystem 1M-blocks Used Avail Capacity Mounted on >>> /dev/ufs/PINE642GBrootfs 29400 16901 10147 62% / >>> devfs 0 0 0 100% /dev >>> /dev/label/PINE642GBboot 63 0 63 0% /boot/efi >>>=20 >>> Booting with / on a USB device instead and dismounting /boot/efi >>> (on mmcsd0) gets: >>>=20 >>> # mmc extcsd read /dev/mmcsd0 | more >>> AW_MMC_INT_RESP_TIMEOUT=20 >>> ioctl: Operation timed out >>> Could not read EXT_CSD from /dev/mmcsd0 >>=20 >> Why are you attempting to read a MMC v4.0+ register from an SDcard ? I'm just so used to historically booting from an e.MMC on an adapter that I automatically reverted to an e.MMC type of command without noticing. My Linux test environment is based on such an adapter, so I've also been context switching with an environment were the command does work. Sorry for the noise for the "mmc extcsd read". > Maybe it was even before that but it doesn't matter, my question is > still valid. >=20 >> (FYI this command works perfectly when executing on the eMMC on my >> pine64-lts) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)