From owner-freebsd-arm@freebsd.org Mon Nov 21 03:35:24 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 42F90C473BF for ; Mon, 21 Nov 2016 03:35:24 +0000 (UTC) (envelope-from embaudarm@gmail.com) Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com [IPv6:2607:f8b0:400d:c09::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 0CB54A91 for ; Mon, 21 Nov 2016 03:35:23 +0000 (UTC) (envelope-from embaudarm@gmail.com) Received: by mail-qk0-x22c.google.com with SMTP id n204so335351152qke.2 for ; Sun, 20 Nov 2016 19:35:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0kx7VFBDfUhxc4/0pJnkIREGk6Z2dxHBz5zkyQiSXzM=; b=F2pQfFmHDHqSANzvL6NyxvUZokwV2oYiBiOAGkdVGalz4p++qgnB3e4gRxvWdObulj OUjZk3ta8dXQLakVPm/4i44AB7pxdI0zNQYY0UnkYnmyncXNpg1gA2ZNTUROUmzEIpta abgw5fNh7MSHhcdwQXxPq5g9ZlmNnyQfSM5lxRe46JhxZYmL1SUUyVWpFXkl2NeeXvdU QppKZKeskx/WqjPrzXiskeS2HMVTAtKbqtppQu8h+DPo23uyE1K419Xt0aYtPQHDlZUp n8UDzHYPPHDXH/afF/kA8KU2ImebtO6uWFHSXokmJEde5JspRB8XSEYs4zjYCBMNrR8V 1uPQ== 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:from:date :message-id:subject:to:cc; bh=0kx7VFBDfUhxc4/0pJnkIREGk6Z2dxHBz5zkyQiSXzM=; b=LMo1b5bn/EcNNCOIW3sWacib6C2CbHE2iWp5oPncRV3DwJhKH9olGvuBGDqormqUOh oI08qoOWePWZwERbRVd20u7NNHaYZh5gxduK8RO4q3DRqhgCDgst4fRR6uhiFiM1ahDB wkK2JYIfhVdDlK2ftTJs50cvjVFSa8w010T7ZtO7aM7bgYvAvob7AfMSDZCXyCecvAZ8 7GZBs79c8LxaaGrwgPXku/76KMFFD1l1IDmIyWoUf9/x3dCbVVrIczOS+lFVjsSQrFqA LRcjXdKV+iv2PWO9l5wX6/KttMicafNy1lLenQ8RGmUJuHSGZ1s3Ex9S98GFDXqiiJyQ h4fg== X-Gm-Message-State: AKaTC00oaCWVPvXIlvI3WmFCzGs34/cMWL18JqQTe/cUpVmiSZch3USR/qr34gLj3XFCmVMESoAmETRdhoCLEw== X-Received: by 10.55.23.65 with SMTP id i62mr12598165qkh.238.1479699323203; Sun, 20 Nov 2016 19:35:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.41.210 with HTTP; Sun, 20 Nov 2016 19:35:22 -0800 (PST) In-Reply-To: References: <234108602.628399.1478324542467.ref@mail.yahoo.com> <234108602.628399.1478324542467@mail.yahoo.com> From: Lee D Date: Sun, 20 Nov 2016 22:35:22 -0500 Message-ID: Subject: Re: Low level boot loader for freebsd To: Warner Losh Cc: girivs82@yahoo.com, "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, 21 Nov 2016 03:35:24 -0000 Agreed that u-boot is great for letting you get on with the core task of working on FreeBSD itself. > Part of the idea here is avoid having to include UFS code in the boot > > loader. > > It's quite small, I don't see why you'd want to. The idea was to avoid the mental overhead and time of learning the UFS internals and teasing out the UFS dependencies from the kernel tree. However that Atmel executable you mention is probably a great example of how to do it. I'll check it out. I'd love to ditch the DOS partition for the reasons you mention. And also because in my case I want the bootloader to live in QSPI flash. Thanks, Lee