From owner-freebsd-arm@freebsd.org Thu Dec 15 12:35:09 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 86142C76FEF for ; Thu, 15 Dec 2016 12:35:09 +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 ED0101219 for ; Thu, 15 Dec 2016 12:35:08 +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 9b4ed15b; Thu, 15 Dec 2016 13:35:06 +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=Og8vmxpyf6c3N7CGGHFjOznPB1Y=; b=lzcjTbPxJO13Mm1jb8U2scwFNILE O7/0K0ubT8i9vjMpYJ6JqXv01uLABbZExTZLdrbzAToE8tXVCtyixFKZxzPjY8kO NqIVJWEf1ySKKIUrphxga9DhwdoLgsz/gATM59J2YiJKW1Z0srE8liAmREfSyyST 5BOp8YD9o9Z9Z6k= 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=ML7ie5xBlcKeTyicu7amaXbdxxQ7QqyiFAVNKgGr4LZILJd+I8MMC592 gHS+/+CTicN76cfL0Re85aaG5SaJs7Wlxhgmmv1QFHpPpULKCy4Yux9xNoNfzfo4 DDJLBo+xUhVGuOLzSYaPYiwgmQhdxy/Mhkod/iOVGXdn74AjaR4= 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 8122e44c TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 15 Dec 2016 13:35:06 +0100 (CET) Date: Thu, 15 Dec 2016 13:35:05 +0100 From: Emmanuel Vadot To: Nicolae-Alexandru Ivan Cc: Mihai Carabas , freebsd-arm@freebsd.org Subject: Re: Cubieboard2 with custom bootloader Message-Id: <20161215133505.a7ffa64924f3be052840b828@bidouilliste.com> In-Reply-To: References: <20161212160553.dee9d435125f9c6b67355d21@bidouilliste.com> <20161215123900.f141d13bd9814d43feb3f736@bidouilliste.com> 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: Thu, 15 Dec 2016 12:35:09 -0000 On Thu, 15 Dec 2016 14:26:48 +0200 Nicolae-Alexandru Ivan wrote: > > For 1 and 2, as Ganbold said ubldr is broken since clang 3.9 import > > (well only ubldr.bin for me ...) > > For 3 and 4 I've never tested booting kernel directly, I'll try that. > > Does your kernel have a static dtb compiled in ? > > Yes, we included the device tree in the kernel binary. > The options below are included in our conf. > > #FDT > options FDT > options FDT_DTB_STATIC > makeoptions FDT_DTS_FILE=cubieboard2.dts Oh I might now, my patches introduce a FreeBSD option for uboot that disable the dcache while it's strictly disable in the ports. Do a gmake menuconfig in uboot before compiling but after gmake cubieboard2_defconfig to enable this. -- Emmanuel Vadot