From owner-freebsd-arm@freebsd.org Thu Apr 18 14:25:14 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88B041572C52 for ; Thu, 18 Apr 2019 14:25:14 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE460682C9 for ; Thu, 18 Apr 2019 14:25:13 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1555597512; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=US02pJPCl2gJ3d7Rn0V0oxFabKqsri246fn7/FMci68l7cvJrgCwtSol226N7kPtajZw8O+ScOf6p uPKKqLQX95qm9wBYdBxY2PPw+JyJYjvVjgWxRIQubzLiXNk29kkqRjjDne14yO2xl+Gs+V7EwaTvNf KZeHaou8o7A/zs4yRommuWdTFULvWIIJOtBjhEjISwxl/Q6fdRDJCNt5zyNR8bGS4jyobwcgQVQeaG 1s1zl6VN8DvA4R7H005L2xj0Pkvx992IlUGdRwdyzJac30eUzN50sPJLZvsTY0/mbMOgAveiCGP7/R ovsgx/e5DH0mEDIgZcQEHfv43b6hIMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=b6mrTcQn96Y/eUcGPK71JAAIADjiNyBZEK6WQh6YxW4=; b=vC/SVFYSn7zRdzGTVzsw3TP5Xo6/wzIf4gol7Ja7xlAoGTkKhT2jbPnIdrWMgbt2DIXq7RSSsAygh aWOVI3XtLEDafoNE9NJKtuLsarQf+puGCAW6aFeaB5o7Fa+1Vs1h5+nJ5+HvXI8BPGEXVvQ75PwFRj QzNwnzKJ5ytFpzvgaxYdL3SZrs2486a0Sw1hwMife3/hpUWHrHgZy5yriMWm8k+HI1mGMW5zhoouHT ZoZrWifSFwG2regFOFU+tSswSU4tGsCgI3ij0Tht9WlIBmBZVJxvN3PkCuq8STvxQeSzGZwWv6ziYX 3Cki6K/T5R/stNMD3+hdDNrGmDfUBNw== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=b6mrTcQn96Y/eUcGPK71JAAIADjiNyBZEK6WQh6YxW4=; b=oy2ijomV8tLwgb/n8qTtdCoKf11S6ByYmVg0Vypz4NZiFg8jaecY0m6AegJy54+cbY0eMV2jvcgtR 1LgcQbgcrdpWKkuTgYW5xkxn8mdNwhZsSXYiw4Sskay7em2mpeMxIcd050sY3KGrZyyXYmCMvz0B22 jPYr4XfO1W2hGzTiASbsPYo1CiGgseWCDjj5IO7nakCbwykX1bt7Xyfc2LosqMLQGH7AJFUPqpzTLd 1ch7pcTViVkMNFnItf0sAjHfG3A9z2Ftk7IkMSJvWIh1qLUaMQkpj/yE5bx5Wpviy6BsyH9TbOC8Gj pdGJ0toAASTZHFbtreDanXfs9n1JeTQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: c59e659c-61e5-11e9-990e-673a89bc4518 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id c59e659c-61e5-11e9-990e-673a89bc4518; Thu, 18 Apr 2019 14:25:11 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x3IEPAH1050719; Thu, 18 Apr 2019 08:25:10 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <26ead64e0e79f5d8f9c882273142dc09d95417a7.camel@freebsd.org> Subject: Re: loaderdev From: Ian Lepore To: Balanga Bar Cc: freebsd-arm@freebsd.org Date: Thu, 18 Apr 2019 08:25:09 -0600 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: BE460682C9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.987,0]; ASN(0.00)[asn:16509, ipnet:54.186.0.0/15, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2019 14:25:14 -0000 On Thu, 2019-04-18 at 09:30 +0100, Balanga Bar wrote: > How does uBoot know how to load ubldr? Is this specific to a particular > version of uBoot? I'm using a customised uBoot which lets me boot OpenWrt, > Debian, Arch Linux or FreeBSD depending on the contents of a USB stick. > > Currently I have a /boot/uEnv.txt file on a FAT partition which includes > > bootfile=ubldr > > Will I no longer need a FAT partition? > > If loaderdev is set to disk, then where is ubldr loaded from since, AFAIK, > uBoot can only read FAT or EXT3 partitions? > The convention for freebsd mailing lists is to bottom-post replies, mixed top and bottom posting makes for unreadable threads. The loaderdev variable is not used by uboot at all, it is read from the uboot environment by ubldr. Basically, loaderdev just gives you a way to control where ubldr finds the kernel by setting a uboot env var (interactively or via uenv.txt). You arrange to have uboot load ubldr in whatever way you're currently doing, so you will still need a FAT partition, because uboot can't read UFS filesystems. -- Ian