From owner-freebsd-arm@freebsd.org Wed Apr 17 20:28:52 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 B6CB31578AD9 for ; Wed, 17 Apr 2019 20:28:52 +0000 (UTC) (envelope-from balanga.bar@gmail.com) Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A800F923F9; Wed, 17 Apr 2019 20:28:51 +0000 (UTC) (envelope-from balanga.bar@gmail.com) Received: by mail-ed1-x542.google.com with SMTP id d13so22119303edr.5; Wed, 17 Apr 2019 13:28:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qVXegzvuQV18f5m3EvfZR6DW0iRpEoIAm+n0yf8+Rkc=; b=mzksNyFCG3B2euusLQ1YLnKuIJRM/CCeKL/q/1LQUVDcGw7ktnPETy02SQ5/ZJMRXF XfFyjkC/OKvFFd7giiAILNn9T8DMai9V0k70oVp9t1L1+i+U3a5CoWK9sfn9Gm/GAjev LhCWkxMj9rEGfG6kHNDvatwhsipU1pmWb8BgEuRyyZyXenH0ae+AoXSTPZnfLuiNpBG8 j4Y5onwmLUbZ5d/wHw1Y+qVdunUDhm4uKpQuEhwAVhSWrGyiGKQTF3u4pNnEMRRNJ7Lx G1CoDTNc5jPWRZPa3Mw1QLWOtRG7ueWQd/Z0/XApdSuwtTAiwTIuuMUYmzi70Q+VJ9b2 Ln8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qVXegzvuQV18f5m3EvfZR6DW0iRpEoIAm+n0yf8+Rkc=; b=r7y9uHfrr32AKP3fvIFHYku3uj251nVEfbOfIidBojjHhevB0uexExdhnlzbduZ14y DnCFK/LinqG+ekDPMNN6x6gXPug5IjQPXIrARIoGAEr6bYm7XorwPE0pMGGeOA6oQVWQ 7cKOvx9RnChQxSCqViaOk4bQ/cMlWfqEvQPmNxOiCKCX+vpyl7l4mroV5auFKTMbIBYi KHn69xYUaVyrBygFmmP0Lnp+9u+FuRsS6WiD3YzVRu9qvOowHs4CBkVBQbzEByaVoJun w8Cy1vcx6F5EGJOLk0LriXdy1timBDyU/gebO9pBp5Mtlgn/jMIL8Xrre2BhxTtM6kD9 C98Q== X-Gm-Message-State: APjAAAVRK+rf0UsdueKhKcK673c0aa2gF4OnijXf97jfNJOv5PjwpWOj qag2J7+YCSzxjm13FG+34ov41OLuF7Mg++lMz3tG+p+U X-Google-Smtp-Source: APXvYqxAzfpNhSqiSEC1B3xpW6fyAvblrUGzw6h0ENLfKu89zCtoBwzAR2QtOLtdvyUZ0wXqsFiqSo+4RVzxNfxcTks= X-Received: by 2002:a17:906:35d4:: with SMTP id p20mr1152337ejb.274.1555532930495; Wed, 17 Apr 2019 13:28:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Balanga Bar Date: Wed, 17 Apr 2019 22:28:31 +0100 Message-ID: Subject: Re: ubldr To: Ian Lepore Cc: Hyun Hwang , freebsd-arm@freebsd.org X-Rspamd-Queue-Id: A800F923F9 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mzksNyFC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of balangabar@gmail.com designates 2a00:1450:4864:20::542 as permitted sender) smtp.mailfrom=balangabar@gmail.com X-Spamd-Result: default: False [-4.96 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.97)[ip: (-0.17), ipnet: 2a00:1450::/32(-2.38), asn: 15169(-2.22), country: US(-0.06)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Wed, 17 Apr 2019 20:28:52 -0000 I found the ubldr from 11.2 would look for kernel on disk whereas the one from 12.0 tried to boot from net, so I copied the 11.2 version to the FAT partition on a USB stick and it finds the 12.0 kernel on a UFS partition on the stick. On Wed, Apr 17, 2019 at 3:28 PM Ian Lepore wrote: > On Wed, 2019-04-17 at 09:06 +0100, Balanga Bar wrote: > > Thanks for the link. I notice this bit:- > > > > ubldr > > > > - [ need more here too ] > > > > so am none the wiser really. I get the impression that ubldr is a > > fairly > > recent introduction, ie I don't think it got built under FreeBSD 9... > > > > I had a feeling that wiki page would be too out of date to be useful. I > wrote most of that before ubldr came into existance; it mostly > describes how old arm systems booted without using loader(8) at all. > > So, the short answer is: ubldr is loader(8) compiled with options to > use U-Boot "API" services as a bios. It requires that u-boot be built > with the CONFIG_API option. In u-boot, you load ubldr as if it were > the kernel, and it uses uboot API calls to find and load the kernel and > modules. > > -- Ian > > > On Wed, Apr 17, 2019 at 2:20 AM Hyun Hwang > > wrote: > > > > > On Tuesday, April 16, 2019, 6:53 PM (UTC-04:00), Balanga Bar < > > > balanga.bar@gmail.com> wrote: > > > > Can anyone tell me what ubldr is or provide a link to info about > > > > it? > > > > > > ubldr is u-boot loader. Please refer to [this article]( > > > https://wiki.freebsd.org/FreeBSD/arm/BootProcess). > > > -- > > > Hyun "Harold" Hwang > > > > > > > _______________________________________________ > > 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 > > " > >