From owner-freebsd-arm@freebsd.org Mon Oct 3 08:33:11 2016 Return-Path: Delivered-To: freebsd-arm@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 F1433AF3739 for ; Mon, 3 Oct 2016 08:33:11 +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 6AA11626 for ; Mon, 3 Oct 2016 08:33:10 +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 0365d58c; Mon, 3 Oct 2016 10:33:07 +0200 (CEST) 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=E4zzJoqh8d4T/maAMoVoNr7MJPA=; b=NFc4Udcj/6sRLRgRgxB1uJulfbY7 OgVI6FYU8PJxkVDHYddbim9fhAhHcmoS1iDnmZIj3orKhyXavW0Wh0a9pdg+rI7b lDrYxeCNj0fYIguSgHEbXh3JNvc8J7FyUBf0xOif8YCsWo44TkgoTD3YEUU+iDfB VPHglD/FgjJtzeA= 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=E1tobXdjgODkx1x7nFkvMp5REjjQql6qAvthboMQE6DCFCmStuVnzGDy NTNOBylPfF6HkXDFmZ4o06DurPt3yBvQ4knlZE8ps3vTMroqoQS5vcwN2DRR5gX/ wkfj/rpD5+MOhq5xHc4vDLMgHMHVW41YloCu4iiFk5DtvxALuF0= Received: from arcadia.staff.bocal.org (163.5.251.145 [163.5.251.145]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 7df2fe01 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 3 Oct 2016 10:33:07 +0200 (CEST) Date: Mon, 3 Oct 2016 10:32:47 +0200 From: Emmanuel Vadot To: Warner Losh Cc: Da Rock , "freebsd-arm@freebsd.org" Subject: Re: u-boot efi option Message-Id: <20161003103247.78ff7596607755ce0f204648@bidouilliste.com> In-Reply-To: References: <36160c78-9095-f716-8041-3eb7656642af@herveybayaustralia.com.au> <20161002123700.662f2868688b4b32465395aa@bidouilliste.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2016 08:33:12 -0000 I've never had any problem with it (I know it doesn't really answer to your question). SuSe have switch to EFI (the main developer for U-Boot EFI is from SuSe), OpenBSD too. The main problem right now for people to test is that the partition on the arm images that we provide aren't aligned for it to work. I either need to fix the bug for non 512kb-aligned partition or aligned them in the release scripts. Also I don't know which ports-tree re@ is using for snapshots. I think that they use the latest quarterly for release and stable. So we have to be carefull when we will switch the ports to UEFI. In the meantime don't hesitate to test with my patch. If you have the correct dtb in /dtb/ on the msdos part U-Boot will load it. For booting automatically just put boot1.efi as /efi/boot/bootarm.efi On Sun, 2 Oct 2016 16:06:37 -0600 Warner Losh wrote: > How long do you think until this is mature enough we can cut over to it? > There's issues with ubldr on newer u-boot version on some of the platforms > we support. If we could cut over to this, that would be great. > > Warner > > On Sun, Oct 2, 2016 at 4:37 AM, Emmanuel Vadot wrote: > > > > Hello, > > > > I've commited every needed change on our side, for uboot side you will > > need this patch : > > https://people.freebsd.org/~manu/u-boot_201609_efi.diff > > > > The only drawback is that you will need to have your partition aligned > > on 512kb boundaries on the mmc. > > > > I've successfully booted my beaglebone black and most of my Allwinner > > boards with UEFI. > > > > Some part of the uboot patch have started to be upstreamed, for > > the others I need to rework on some part before I upstream them. > > > > Cheers, > > > > On Sun, 2 Oct 2016 19:56:54 +1000 > > Da Rock wrote: > > > >> Has anyone tried this option yet? I've heard someone got it going for > >> slack, but I thought it sounded like it might make it easier for running > >> freebsd. > >> > >> I'm currently trying to build a more current u-boot to test it. > >> > >> _______________________________________________ > >> freebsd-arm@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm > >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > > > > > -- > > Emmanuel Vadot > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- Emmanuel Vadot