> On Sep 25, 2016, at 12:13 AM, Russell Haley <[email protected]> wrote: > >> We can't easily do away with ubldr if we want to support tunables, kernel >> modules loaded at boot time and a few other nifty features like nextboot. > > Are these things not in standard loader? Should they be?
"ubldr" *is* the standard loader. It's built from (mostly) the same source as loader(8) used on x86. But, where loader(8) uses the BIOS interface to access the disk, "ubldr" uses the U-Boot ABI to access the disk. FreeBSD's current boot sequence for ARM boards looks like this: * U-Boot loads ubldr * ubldr uses U-Boot to access disk and console * ubldr loads the kernel, kernel modules, and sets kernel tunables To replace U-Boot, bare box would either have to duplicate everything ubldr does (which is a lot) or would have to provide the U-Boot ABI (or something similar) so that ubldr can provide the final boot stage. Tim _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[email protected]"
