From owner-freebsd-arm@freebsd.org Mon Jun 26 05:34:57 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 CC63ADA1E09 for ; Mon, 26 Jun 2017 05:34:57 +0000 (UTC) (envelope-from jsorocil@gmail.com) Received: from mail-oi0-x232.google.com (mail-oi0-x232.google.com [IPv6:2607:f8b0:4003:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E61C66C01 for ; Mon, 26 Jun 2017 05:34:57 +0000 (UTC) (envelope-from jsorocil@gmail.com) Received: by mail-oi0-x232.google.com with SMTP id c189so49329608oia.2 for ; Sun, 25 Jun 2017 22:34:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cloDhs8R1ecQJ0b4KsIXhi5crUqKVrRNRNUvlYDn05U=; b=i0KW0ZEMzmktqo9MOHd6/B6BGBfKMCVUlOz4Zt4vMO4//xZ0AeMjjK3CnaDLGZoATl In4v+68sxCTOr2VDGPmXcVqp19xx/QhdIJ3ZntD2K0UngVQjFCeoT5MiiR+gsZQjjWWB ludynRBmjRm/sYAlHKSrLpsrClFbErStb0CtqpVPRMw4X/MU2gLeuVf9CoGGjX4VMP83 dUW7Xn/CMOuIVDm9BmGkFEh7y7ffYkfn3MmN0Mpr+SY/Yibw182uhVxNR2xVvpLZsD01 RIxMwSo3gF54Hm0Dpg2TLo301UzbcXOYubYq5o3mhLnGuO2/PhCZwZQR26HCK6+dQf6r Fj4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cloDhs8R1ecQJ0b4KsIXhi5crUqKVrRNRNUvlYDn05U=; b=szdJZWVc5iV87Kj9r5ZOcAtdJVBFWi93/cN8RkAjfm3E+qCQoeZSGRr0xho4f8LFLD T8auAFStKh5MxuPHesDL5zmn9rX8fVVDbeMzJBfZYF7WX64ukUuKcr0oCfEaV7IPBnzt H74QRvocbWb6rBsCiJlsQs4YkSWL677LqifITiofEqPGj+XdJygkDLnW75PthIXuvrnu wIUjNpL7w0B9knBL8BNx6lHWh50iFnTJc24opsFyaXcZowjwDGfTSL9k5cDq4vi9Ith5 /8FMSuSOGZ23cZiSxJ48hCwWzrLirdA/NsyoMWm4k6DcqKNgIh8i+g03SIy1cJ5PT0YO zIdQ== X-Gm-Message-State: AKS2vOwnCOYoHIaC0xZ/4PnzV5mWqJYRWqVP+waw5G+sAjMWCMQ42qO/ +uzuAoTbQSvTgynLrwmyTjdgYf7zVr5j0Wc= X-Received: by 10.202.79.11 with SMTP id d11mr8639982oib.101.1498455297020; Sun, 25 Jun 2017 22:34:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.29.69 with HTTP; Sun, 25 Jun 2017 22:34:56 -0700 (PDT) In-Reply-To: <20170625132106.6776f5014798dcf9cb8abbcd@bidouilliste.com> References: <20170624171539.3b6a73b245b05e649a62933c@bidouilliste.com> <20170624184259.d2b7d2e6fbe6120cde572a33@bidouilliste.com> <20170625132106.6776f5014798dcf9cb8abbcd@bidouilliste.com> From: Johnny Sorocil Date: Mon, 26 Jun 2017 07:34:56 +0200 Message-ID: Subject: Re: Orange Pi Zero support To: Emmanuel Vadot Cc: freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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 05:34:57 -0000 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