From owner-freebsd-arm@freebsd.org Fri Jul 15 21:18:00 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 D66A9B99E66 for ; Fri, 15 Jul 2016 21:18:00 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 201171668 for ; Fri, 15 Jul 2016 21:17:59 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 9f5ef74b-4ad1-11e6-ac92-3142cfe117f2 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.34.117.227 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.eu.mailhop.org (Halon Mail Gateway) with ESMTPSA; Fri, 15 Jul 2016 21:18:05 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u6FLHqLR009843; Fri, 15 Jul 2016 15:17:53 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1468617472.72182.340.camel@freebsd.org> Subject: Re: Bizarre clone attempt failures on Raspberry Pi2... From: Ian Lepore To: Karl Denninger , freebsd-arm@freebsd.org Date: Fri, 15 Jul 2016 15:17:52 -0600 In-Reply-To: References: <201607151729.u6FHT9PT068989@pdx.rh.CN85.ChatUSA.com> <151CAE3A-CAA6-49FB-A150-7AAA8981E013@gromit.dlib.vt.edu> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2016 21:18:00 -0000 On Fri, 2016-07-15 at 16:03 -0500, Karl Denninger wrote: > As an aside the new u-boot *does* speak to a USB keyboard out-of-box. > > I am going to attempt to build the environment in boot.scr, which > should > work (since it reads THAT as well off the boot media) -- if that > works > it obviates the need for a specific compilation for FreeBSD in the > port. > > Needless to say that's a fairly-material win if it works. > FreeBSD needs a build of u-boot that adds the CONFIG_API option so that loader(8) works. From what I've heard, recent versions of u-boot have broken the CONFIG_API option as part of the "device model" work. So a u-boot new enough that usb keyboards work on rpi is probably too new to work with our need for CONFIG_API. Our path forward probably involves abandoning CONFIG_API (since they seem disinclined to support it) and using the new EFI support u-boot provides. But we don't have an EFI loader for armv6 yet either (and I don't know that anybody has worked on that yet). -- Ian