From owner-freebsd-arm@freebsd.org Tue Apr 12 00:33:18 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 B56BAB0CD8E for ; Tue, 12 Apr 2016 00:33:18 +0000 (UTC) (envelope-from embaudarm@gmail.com) Received: from mail-yw0-x241.google.com (mail-yw0-x241.google.com [IPv6:2607:f8b0:4002:c05::241]) (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 77FAC12FF for ; Tue, 12 Apr 2016 00:33:18 +0000 (UTC) (envelope-from embaudarm@gmail.com) Received: by mail-yw0-x241.google.com with SMTP id i125so316976ywe.3 for ; Mon, 11 Apr 2016 17:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=ThimJpOXao27BZUURXrtOS0xopwlyLalZ4dHu9erfjw=; b=i4Mt70oKByd9VmiK7LBD5t8PGUi2eLEZAw09eqH7r/seySZitXeFiLxn5YMUt7B/O/ f4cu9/clTt5WzQVnJRtYXSmgAXMHVSmRhh50pgAvoc7y57/UtFAfdElCNsGNCseziQxe 92HidGqwzAJx0ssXe1yk127gmizVK8UB6Tr+eS7IrpKKDUeijMndz8D+087mNecxlMn+ btJO14lW+kN7AKNha3E2I6rlJTDLQRfKLI9VfQW0qIUogsaCovTnRrzL711S6Ib+VrYk I0/nZAJwEsg99E8hgBp2twjlwFiPzskDuTPav8GcTdAsXu/TpawGqD6FPsmQ8DDU5MEo 0x5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=ThimJpOXao27BZUURXrtOS0xopwlyLalZ4dHu9erfjw=; b=E6yihIAu3i3pYigXeuxrU/d87h8nqIkHOD1ZFa/x9hontzAM4UfFfBqNDRiZly9JRV Toc44jO11Rl5GMU4lg1jIWIy7X7xyQzXLmYbTvhUVyas8nCnKvVzrbfJqqE7yzX4T5FE XzlmzkY3GJyhtIVl0jAng4paP6z8Z3mZxjani2BUN2nr87bGwVo5GVEKCV7i3Ts0363X tVICaAkRUm8Oy1LuCSGMe4d4yEOIH80pzRXzg4bjf62d+TWrFNUMLTkcZDF+IEciWhFn GpHJufRR73dGReX2GGJ/o0BM3uovIpLIHACeq1tvrj56eJ9oo8xDmGhOrTTUwOQRVjYE U3qw== X-Gm-Message-State: AOPr4FVc0UfvSd60I4G6fzMNS39y88GK14VvLMPcLeQ8LfRNwAe06momX7NWrfZrrb/QykD/NETd/fieI52seA== MIME-Version: 1.0 X-Received: by 10.37.25.193 with SMTP id 184mr164935ybz.47.1460421197580; Mon, 11 Apr 2016 17:33:17 -0700 (PDT) Received: by 10.83.35.151 with HTTP; Mon, 11 Apr 2016 17:33:17 -0700 (PDT) Date: Mon, 11 Apr 2016 20:33:17 -0400 Message-ID: Subject: More questions RE: booting FreeBSD on Zynq From: Emb Aud To: 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: Tue, 12 Apr 2016 00:33:18 -0000 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.