Date: Wed, 17 Apr 2019 22:28:31 +0100 From: Balanga Bar <balanga.bar@gmail.com> To: Ian Lepore <ian@freebsd.org> Cc: Hyun Hwang <hyun@caffeinated.codes>, freebsd-arm@freebsd.org Subject: Re: ubldr Message-ID: <CADocevDKD8qwYDWf9jaMFD6r9zeQrcDp9-JYuz-SoiQcv7zRag@mail.gmail.com> In-Reply-To: <ac390f67e45f95eef18f5f4a7324b88c6595becb.camel@freebsd.org> References: <CADocevBv4qfbo_g7xxjeZq9ewAhu7feDopSMgi8OeWmrtjZSAg@mail.gmail.com> <b2ca82d0-05b1-4221-9733-4160054aab69@www.fastmail.com> <CADocevA1etDUvPhyoBzSiiiMe9AGyS9SsqzxNsm9LdLyhQuuNg@mail.gmail.com> <ac390f67e45f95eef18f5f4a7324b88c6595becb.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ian@freebsd.org> 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 <hyun@caffeinated.codes> > > 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 > > " > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADocevDKD8qwYDWf9jaMFD6r9zeQrcDp9-JYuz-SoiQcv7zRag>