From owner-freebsd-arm@freebsd.org Mon Dec 12 15:05:58 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 15099C73A66 for ; Mon, 12 Dec 2016 15:05:58 +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 605258DD for ; Mon, 12 Dec 2016 15:05:56 +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 215ff44b; Mon, 12 Dec 2016 16:05:53 +0100 (CET) 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=3w8vBSwAPRNdqpi1/F4pUBgVh1g=; b=JE65KoIVE0INAgncB8mFMVhrBlpr auGbRyEa337rS6IRZYajNCjxnwwtE7+4Ft+0r6gl5zXCfu8jxmEOeOIh36LU0zOv 1LoAdRmFmsVAyfWuGLljr8dQrjjY/KlH6eQ02fv+AQDsPf0SFIhbYMf+D7OxLeQU ofS7SFj0wV7rgN4= 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=X1C72NVjigQIwFVqB0W1/da3lrLmnC14Ohy0cZfITvJiyYgKLOwEb275 ZCQcEld+5pjANbtOIapgGU3mehM9i200lh+lUWc//NnK6kdLG7+7X+iChiOX6rcD MWKurZHFPsHN/h4n7n6U9FIUl02r5rpqUGRZAdHaR3M7RmRwMuw= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 6493bf8d TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 12 Dec 2016 16:05:53 +0100 (CET) Date: Mon, 12 Dec 2016 16:05:53 +0100 From: Emmanuel Vadot To: Mihai Carabas Cc: freebsd-arm@freebsd.org, Alex Ivan Subject: Re: Cubieboard2 with custom bootloader Message-Id: <20161212160553.dee9d435125f9c6b67355d21@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.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, 12 Dec 2016 15:05:58 -0000 On Mon, 12 Dec 2016 16:55:13 +0200 Mihai Carabas wrote: > Hello everyone, > > We are working on bhyve hypervisor for ARM. We are trying to boot FreeBSD11 > on a Cubieboard2 using a compiled u-boot from sources and it gets stuck > after loading the FreeBSD kernel. > > We needed to compile u-boot from sources, because the precompiled one from > packages exits hypervisor mode and falls back to supervisor mode. We don't > have a JTAG to debug the problem. > > Did anyone manage to boot FreeBSD11 on Cubie2 from a compiled from sources > u-boot? > > Thank you, > Mihai Carabas > _______________________________________________ > 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" Hi, multiple questions : - How did you compile uboot ? - Did you try booting kernel directly or ubldr first ? - Where do it get stuck exactly ? You can find all my u-boot patches here : https://people.freebsd.org/~manu/uboot/ Those patches applies on u-boot-2016.11 and it's everything you need to have a U-Boot for Allwinner device (with some extras that you won't need too). -- Emmanuel Vadot