Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2017 12:28:10 +0200
From:      Toomas Soome <tsoome@me.com>
To:        Oleksandr Tymoshenko <gonzo@bluezbox.com>
Cc:        Karl Denninger <karl@denninger.net>, freebsd-current@freebsd.org
Subject:   Re: Crochet build for Pi3 fails to boot on r313441 (and later), works on r313109
Message-ID:  <0E030158-CF2C-4A95-93EB-E06061689A6E@me.com>
In-Reply-To: <64E64B7F-E1BE-4CC6-ACAB-E5D7FEE408C8@me.com>
References:  <517ab0d5-412a-35dd-7d0d-d8297af43b46@denninger.net> <4a6f872b-cee1-57e5-7a72-a1d445f9926f@denninger.net> <F4D44CDD-BEF6-4E21-848A-745B88440617@me.com> <5128b9a9-1186-8c6c-6227-e5e8a087cf89@denninger.net> <0B4B40AA-E654-4A71-92B0-D8E6CD234B63@me.com> <20170209213916.GA40599@bluezbox.com> <B9B8FCBF-3176-417B-81E3-7F5E054AD6ED@me.com> <20170209221021.GA40870@bluezbox.com> <64E64B7F-E1BE-4CC6-ACAB-E5D7FEE408C8@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>>=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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E030158-CF2C-4A95-93EB-E06061689A6E>