From owner-freebsd-current@freebsd.org Fri Feb 10 10:28:15 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B45ACD913B for ; Fri, 10 Feb 2017 10:28:15 +0000 (UTC) (envelope-from tsoome@me.com) Received: from st13p35im-asmtp002.me.com (st13p35im-asmtp002.me.com [17.164.199.65]) (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 E50361486 for ; Fri, 10 Feb 2017 10:28:14 +0000 (UTC) (envelope-from tsoome@me.com) Received: from process-dkim-sign-daemon.st13p35im-asmtp002.me.com by st13p35im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) id <0OL500900MB2IB00@st13p35im-asmtp002.me.com> for freebsd-current@freebsd.org; Fri, 10 Feb 2017 10:28:13 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=4d515a; t=1486722493; bh=eCAtAj3EEW2W0ElJHkeV+zjkqGDM/Dyqbwdl4TVcZY0=; h=Content-type:MIME-version:Subject:From:Date:Message-id:To; b=JxBvGV4GlFVkVpoMYYhPebZnXX3a6xeES3pHT84Qp8P9ui5ypEcri1nWwKUXxiidW PAe7hOEAMR4aDydXTlOlnVamowql6lEePluF0l85IrF4l6xhiPu4rmzlkgj0ooWn5H EjhXPtscSBVe1liqXdnSFmMMTKZ5f22CGIo61vGgTSoCGOPWpCxzp194zfrcurq9KO b0kfKa9N3r5hGMp0ljjcz4cs6dYKhf89MvhJIXewgROfHZadhWM51NK9vyldv9Q9de JTZbf8/b83RG6pAyavGCFerpQQ2h+SSw6K4vYCvChTmuCDTre3aF9UrcLFolfsMa/3 mDJEndkWUQ7mQ== Received: from icloud.com ([127.0.0.1]) by st13p35im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) with ESMTPSA id <0OL5009ZOMEZXD20@st13p35im-asmtp002.me.com>; Fri, 10 Feb 2017 10:28:13 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-02-10_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1034 suspectscore=3 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1603290000 definitions=main-1702100105 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: Crochet build for Pi3 fails to boot on r313441 (and later), works on r313109 From: Toomas Soome In-reply-to: <64E64B7F-E1BE-4CC6-ACAB-E5D7FEE408C8@me.com> Date: Fri, 10 Feb 2017 12:28:10 +0200 Cc: Karl Denninger , freebsd-current@freebsd.org Content-transfer-encoding: quoted-printable Message-id: <0E030158-CF2C-4A95-93EB-E06061689A6E@me.com> References: <517ab0d5-412a-35dd-7d0d-d8297af43b46@denninger.net> <4a6f872b-cee1-57e5-7a72-a1d445f9926f@denninger.net> <5128b9a9-1186-8c6c-6227-e5e8a087cf89@denninger.net> <0B4B40AA-E654-4A71-92B0-D8E6CD234B63@me.com> <20170209213916.GA40599@bluezbox.com> <20170209221021.GA40870@bluezbox.com> <64E64B7F-E1BE-4CC6-ACAB-E5D7FEE408C8@me.com> To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2017 10:28:15 -0000 >>=20 >> =46rom reading U-Boot sources (lib/efi_loader/efi_disk.c) it looks = like >> names are in the form of typeN:M, where type is interface type, >> N is disk id and M is partition id. So 3 disks in my setup >> may be mmc0, mmc0:1, mmc0:2.=20 >>=20 >> --=20 >> gonzo >=20 > Okay, so in case of arm or MEDIA_FILEPATH_DP we need to keep the = initial disk handle till there is an disk switch, and use it as first = argument for registering the disk. So the name in last node is probably = the same format and we can identify the disk this way. Worth to check in = any case:) >=20 Based on current knowledge, I did put together the first sketch of the = fix: https://reviews.freebsd.org/D9520 However, it needs to be tested on arm, so I do ask help there:) rgds, toomas