Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Apr 2016 13:53:28 +0800 (CST)
From:      pagaled1  <pagaled1@saifunguo.com>
To:        freebsd-arm@FreeBSD.org
Subject:   Enquiry Paragliding
Message-ID:  <2e30a0a1.a2fb.15437615df3.Coremail.pagaled1@saifunguo.com>

next in thread | raw e-mail | index | archive | help
RGVhciBDRU8sCiAgICAgICAKUGxlYXNlIHNlZSB0aGUgYXR0YWNobWVudCBvZiBQYXJhZ2xpZGlu
Zy4KCgoKCi0tCgpCZXN0IHJlZ2FyZHMKCgoKClVzaGVyIENhZ2UKClRlbKO6IDAwODYtNzU1LTM2
NjIxNzM2CgpNb2IgIDowMDg2LTE1OSA4OTQ0IDExNzUKCkUtbWFpbDogYWRtaW5AcGFnYWxlZC5j
b20KCiAgICAgICAgICAgICB1c2hlckBwZWdhbGVkLmNvbQ==
From owner-freebsd-arm@freebsd.org  Thu Apr 21 20:01:36 2016
Return-Path: <owner-freebsd-arm@freebsd.org>
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 331C1B18918
 for <freebsd-arm@mailman.ysv.freebsd.org>;
 Thu, 21 Apr 2016 20:01:36 +0000 (UTC)
 (envelope-from freebsd-arm@dino.sk)
Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72])
 (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id C27501AF2;
 Thu, 21 Apr 2016 20:01:35 +0000 (UTC)
 (envelope-from freebsd-arm@dino.sk)
Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan)
 by mailhost.netlabit.sk with ESMTPA; Thu, 21 Apr 2016 22:01:25 +0200
 id 00E2C41E.57193195.0000EA6F
Date: Thu, 21 Apr 2016 22:01:25 +0200
From: Milan Obuch <freebsd-arm@dino.sk>
To: freebsd-arm@freebsd.org
Cc: Emmanuel Vadot <manu@bidouilliste.com>,
 Erich Dollansky <erich@alogt.com>, Ian Lepore <ian@freebsd.org>
Subject: Re: Orange Pi One
Message-ID: <20160421220125.00286858@zeta.dino.sk>
In-Reply-To: <20160419170932.3fe2b709@zeta.dino.sk>
References: <20160413232414.3a37907e@zeta.dino.sk>
 <20160414062820.7b907ba9@X220.alogt.com>
 <20160414064405.202e4eef@zeta.dino.sk>
 <CABx9NuQWatjAhA1oL8EtUbv5kSbG8qX-KB+GBr9PTqVs4fnMNg@mail.gmail.com>
 <20160418094916.10dc9ae8@zeta.dino.sk>
 <20160418174918.33d3d19e4105eb737d17b122@bidouilliste.com>
 <CABx9NuQaFEuZmDtJ=Rie5XC3iQDqTEBX6ZRiWxNfEa_BomTUcA@mail.gmail.com>
 <20160418210108.4047c526@zeta.dino.sk>
 <20160419092012.0ad4ad2d@zeta.dino.sk>
 <20160419093408.2f6d8d6472b09298f1e08ecb@bidouilliste.com>
 <20160419095358.351c74b3@zeta.dino.sk>
 <1461075584.1232.13.camel@freebsd.org>
 <20160419170932.3fe2b709@zeta.dino.sk>
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; i386-portbld-freebsd10.3)
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.21
Precedence: list
List-Id: "Porting FreeBSD to ARM processors." <freebsd-arm.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-arm>,
 <mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm/>;
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
 <mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2016 20:01:36 -0000

On Tue, 19 Apr 2016 17:09:32 +0200
Milan Obuch <freebsd-arm@dino.sk> wrote:

[ snip ]

> However, I could not find a way to load kernel (downloaded from
> Emmanuel's site for test at a moment, I am building new world, maybe
> even kernel just now, but it is slow with 11 - clang is building for
> hours and hours) so it run - all I get is
> 
> FreeBSD/arm U-Boot loader, Revision 1.2
> (root@zeta.dino.sk, Tue Apr 19 06:33:11 CEST 2016)
> 
> DRAM: 512MB
> MMC Device 1 not found
> Number of U-Boot devices: 1
> U-Boot env: loaderdev='mmc 0'
> Found U-Boot device: disk
>   Checking unit=0 slice=<auto> partition=<auto>... good.
> Booting from disk0s2a:
> /
> /boot/kernel/kernel data=0x62ea24+0x1215dc
> syms=[0x4+0x8a720+0x4+0x9e5f2] Hit [Enter] to boot immediately, or any
> other key for command prompt. Booting
> [/boot/kernel/kernel]... Kernel entry at 0x0x42200100...
> Kernel args: (null)
> 
> and hang. But it apparently works for him, so why not for me? Do we
> have some good description of booting process with some details how
> fdt gets loaded along with kernel and how kernel finds needed bits?
> As all I want now is start kernel, I have only two files in FreeBSD
> partiion on my SD - /boot/dtb/orangepi.dtb and /boot/kernel/kernel.
> Maybe I need something more, like /boot/loader.conf? I hope somebody
> could enlighten me...
> 
> Milan
>

OK, so yesterday I solved this puzzle - it was stupid pilot error (my
ubldr.bin was not built with fdt support), after fixing it I made a
test today - building SD image from scratch. It is succesfull now, so
it's time to do kernel hacking. u-boot-orangepi port needs some review
and cleanup before submitting into port repository, but anybody
interested could write me for more details.

Regards,
Milan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2e30a0a1.a2fb.15437615df3.Coremail.pagaled1>