From owner-freebsd-arm@freebsd.org Mon Jun 26 06:41:05 2017 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 BC4AFDA2D72 for ; Mon, 26 Jun 2017 06:41:05 +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 34837686AE for ; Mon, 26 Jun 2017 06:41:04 +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 62b841ef; Mon, 26 Jun 2017 08:40:55 +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=Ch4WM71Mv8Yq8aORuPqt97QTBbc=; b=CZGvGpYkSB7lOpR/nAq58KOAYpp/ i72LI+nTsSlLzsIsB01546jEl3hsv1XTqGCMdZljbDdA7AMphkzpvG7qWQ/EWzGR 7oOZ+V9rgDiArA0Icdusz5Iuwbnybl9OH0ltdqN16b2kXFQawOjuLnxNCvyxTNiM WNRPZ8u9ZWJN3Pg= 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=EOJciZjygOlIvR1FOOsBZBl4S39T/q9wcsaPqBd+qrdVBhwjsjPFdYPu 05INuHm/sImOjVVtsSR/aYRkTO2Mgr30QsCQaGFMlGXNHfeXAo80JotSm4gUBWnm pmSuZu9bVFpuxmQactU+hrs6U6ziwK2j0YoulZaqI4lZqwpDAGM= 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 a99f2262 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 26 Jun 2017 08:40:55 +0200 (CEST) Date: Mon, 26 Jun 2017 08:40:50 +0200 From: Emmanuel Vadot To: Johnny Sorocil Cc: freebsd-arm@freebsd.org Subject: Re: Orange Pi Zero support Message-Id: <20170626084050.4ce4f0288b70bbb5b5a627b4@bidouilliste.com> In-Reply-To: References: <20170624171539.3b6a73b245b05e649a62933c@bidouilliste.com> <20170624184259.d2b7d2e6fbe6120cde572a33@bidouilliste.com> <20170625132106.6776f5014798dcf9cb8abbcd@bidouilliste.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; 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, 26 Jun 2017 06:41:05 -0000 On Mon, 26 Jun 2017 07:34:56 +0200 Johnny Sorocil wrote: > On Sun, Jun 25, 2017 at 1:21 PM, Emmanuel Vadot > wrote: > > > You should use the GENERIC kernel, I'll remove ALLWINNER as it's not > > needed anymore. > > > > Yes, GENERIC armv6 kernel is booting on Orange Pi Zero (with u-boot from > ports for Orange Pi Zero and "boot/dtb/sun8i-h2-plus-orangepi-zero.dtb") :) > Thank you for the help > > > > I wouldn't use a different u-boot, see my last mail for compiling > > u-boot yourself. > > > > I have problem compiling your fork of u-boot (and vanilla v2017.07.): > Steps: > git checkout freebsd > export CROSS_COMPILE=arm-none-eabi- > gmake orangepi_zero_defconfig > gmake menuconfig # select "Enable FreeBSD boot" > gmake -j4 > > *** binman needs the Python libfdt library. > *** Either install it on your system, or try: > *** > *** sudo apt-get install swig libpython-dev > *** > *** to have U-Boot build its own version. > > pkg info python\* > python-2.7_3,2 > python2-2_3 > python27-2.7.13_4 > python3-3_3 > python34-3.4.6_2 > python36-3.6.1_2 sudo pkg install swig30 should solve the problem. -- Emmanuel Vadot