From owner-freebsd-arm@freebsd.org Wed Apr 13 02:47:29 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 B76EAB0E49D for ; Wed, 13 Apr 2016 02:47:29 +0000 (UTC) (envelope-from embaudarm@gmail.com) Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (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 768761D64 for ; Wed, 13 Apr 2016 02:47:29 +0000 (UTC) (envelope-from embaudarm@gmail.com) Received: by mail-yw0-x22c.google.com with SMTP id i84so51431717ywc.2 for ; Tue, 12 Apr 2016 19:47:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=S0lBZgrRrYXOEss+hSPYd/+jqmgjp/YRsPC0v5OgBTQ=; b=kVSIxgHUgYYHO2mro0v56MwR5VsieRS+nDbkkIuqY+PkBg+7lvD/7LEN0MbbfcVu+G ZIENuk4JJ2ld5iwScMclJQPNoOHfYBC/14ryjp+2PZ0h+SQZExkyknOb4hjXx/E2E9GL 9bavnZA7L5j1SZfrbTbyG380zvGfgU1Ezs7K4rJ1B1Rkg2FtUR1kojM7XkjEDAK7tIvT tS/Nd33OJjGowYHB5S1XYZgRQzPeuQJA6ZGF6WbkQ4lKfI5KaQ9mh3zR65f/cNwlibBb QEjQ0Qs5JlFJC6xbqmhVijwV7c/iyNh+bl3IxZSsAoVx/BOVwzRQxTZueZOg2YR0z5eP yl5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=S0lBZgrRrYXOEss+hSPYd/+jqmgjp/YRsPC0v5OgBTQ=; b=jUMB//J5y7mzcBvy5JYHI2tM/Ue+xPdq3V/xZfXj+ag9ytf5+RP1XfxLdqpMGbV0gb tZOS+DDLVD6Bcrz1fxu2WtL8Alb8G/vZCvP0Ez29b9gDUe8kRK7FO/VmKo08Mjvf3oCh +HAZKozs4hzcn/mhApQTHMbt5p4q3CLsmzQ6pgcfGZaazxEx1v1jzeEDfUYsmSdW23Aq tIIjaRycvs2+QXiDWtHoQ1cn5QjZiYA5v/jeN3HrF3mJyChFJoFYctWxAjadUAnz+jRN UxIYBkRF5EE+jiKbv2vQt5e/LCME6CsBPt552uMZE3anIz1maXSE/+kqZCe1QcrSY9fi xG2A== X-Gm-Message-State: AOPr4FVPUjmnTRSMwpRSonr9vldF239D0qez4tppBblrXsY367k8Jltqc6lSkCweT5oTvkTmU5zH/onnHTVinQ== MIME-Version: 1.0 X-Received: by 10.37.6.139 with SMTP id 133mr3381903ybg.46.1460515648749; Tue, 12 Apr 2016 19:47:28 -0700 (PDT) Received: by 10.83.35.73 with HTTP; Tue, 12 Apr 2016 19:47:28 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 Apr 2016 22:47:28 -0400 Message-ID: Subject: Re: More questions RE: booting FreeBSD on Zynq From: Emb Aud To: Russell Haley Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2016 02:47:29 -0000 Thanks for those links, that was a very informative read. I am a little concerned that some of the code under the /src/sys/gnu/dts directory seems to be GPL'd. I am trying to avoid GPL code for this project... On Tue, Apr 12, 2016 at 12:16 AM, Russell Haley wrote: > I found this helpful as a starting point: > > http://www.devicetree.org/Device_Tree_Usage > > Here's the wiki link, but I don't know how current the information is: > > https://wiki.freebsd.org/FlattenedDeviceTree * > > Lots of good resources at the bottom of the page too. > > *note: The page says that the default location for fdt files in > "sys/boot/fdt/dts" but I think most of them are now found in > "/src/sys/gnu/dts". One of the developers said they refresh the files > from the gnu/linux tree every now and then. > > Cheers, > > Russ > > On Mon, Apr 11, 2016 at 5:33 PM, Emb Aud wrote: > > Hi Everyone. I'm still working on my FreeBSD boot configuration for > Zynq. > > Thanks to those how have helped me thus far. > > > > Could you all help point in the right direction in regards to a few > things? > > > > 1. I've decided that I don't want to use U-Boot. So I'm going to have to > > bootstrap the kernel myself. Do you guys think it would be easier to > load > > the kernel directly or to load the kernel using ubldr? The catch being > > that ubldr apparently requires emulating some u-boot API functionality. > > > > 2. Can someone help me understand the role of the device tree? I get > that > > it describes the hardware memory locations. What I'm a little fuzzy on > is > > at what point during the boot process it is used. Is it used by u-boot? > > Is it used by the kernel? If it's used by the kernel, how does the > kernel > > know where to find it? > > > > 3. Is there any support for using QSPI flash as a filesystem? I am going > > to be booting out of QSPI because the SD-Card is not going to be > available > > as a boot device. I'd like to keep the entire boot process in QSPI if I > > can. > > > > 4. I've been looking at ubldr, trying to figure out how to build it by > > itself... Just so I can get a good look at what files are involved. > What > > is the proper way to run "make" in a subdirectory of the source tree? > > Everything that I've tried so far has resulted in errors. > > > > Thank you. > > _______________________________________________ > > 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" >