From owner-freebsd-arm@freebsd.org Tue Apr 12 04:16:40 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 3A82BB0D0A7 for ; Tue, 12 Apr 2016 04:16:40 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0:400c:c05::231]) (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 EB5E417B4 for ; Tue, 12 Apr 2016 04:16:39 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-vk0-x231.google.com with SMTP id t129so8729662vkg.2 for ; Mon, 11 Apr 2016 21:16:39 -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=Ieg+ZAR1qqAdhk0Hed1wQrsfg3/ak0Rl4Ubvoo5x+LU=; b=ThrMgej9RK4JnvIB7IdBYfcb9JMVNvVaJxBwONJ2PdYJFHSHy8VDlzPj+6KpMt2Vs3 JU8BZxtlx634S89ZnO6DGo8gxYjLlUytcMxGa2hJssID1yetjDxvHiXIrewvKAXaq7R7 lcx1/4gQTqp3F/FrVJITSoZSnEFlsclOUjlDcGZhWlLBmQtw/xe9SyXsp2PgAsscv3LG FRI9AL6SweZIymy9nHzn09Y8x6A3OifH+8ypjtRvyLNmHCN0Nm0WDei1V87dRdmoVJJ1 x2wGIOXsvGjuVtl8i01Nbn2OYiumxy7QONdrcJTybhfDvQ+72ryw3CuCpHs6QKrZlHB/ c+uA== 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=Ieg+ZAR1qqAdhk0Hed1wQrsfg3/ak0Rl4Ubvoo5x+LU=; b=VsTgPqnQB60cPoTb+O3rBM4LA95nhMlvv/NpdTaXFQpkKQAmEvMe61pN9K9dLqkKrh 4cKh6BHjJrtYfYH9WensWuYRlTGCURGeu328vEZFz0jsoEt4qeYb3tqxr9Eve8OAG67O eGjNtZaaL6Y3W8GWDwGU4OC+NnUCS4NBd2NRPeg2EJJnp95bqno+XcVZ9IX7BpOGUFbG Ztmdbtg1V7QXlhkPxrbW+8e+BIUUqH/i9Gyk1LygQk01fJcTch5L3vttkEhe1HaCBDvF xTSBbQOyyc4na2d/3ePOMgm8x2ATnZ5p+Lvzr+NgCjpRc5XwUof6xsGSxROj5t4rjEvd qLLA== X-Gm-Message-State: AOPr4FVGHa+IcvbNASckD1ji2fNqpyDzIhzwt6eiIO9B4WL+yns43Oit2LZJyujRAPLJnNuZMpTv69rgkPCL3w== MIME-Version: 1.0 X-Received: by 10.176.65.7 with SMTP id j7mr579184uad.112.1460434599097; Mon, 11 Apr 2016 21:16:39 -0700 (PDT) Received: by 10.31.128.13 with HTTP; Mon, 11 Apr 2016 21:16:39 -0700 (PDT) In-Reply-To: References: Date: Mon, 11 Apr 2016 21:16:39 -0700 Message-ID: Subject: Re: More questions RE: booting FreeBSD on Zynq From: Russell Haley To: Emb Aud Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 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 04:16:40 -0000 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"