[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: What code loads kernel modules at boot?
From: Lee D <embaudarm () gmail ! com>
Date: 2019-04-19 19:29:57
Message-ID: CANC_bnPhsuzA4+VEAJ6vSVt28f8=r4DLSda1o6t1MhYjXwLWBg () mail ! gmail ! com
[Download RAW message or body]
On Wed, Apr 17, 2019 at 11:04 PM Ian Lepore <ian@freebsd.org> wrote:
>
> The bulk of the module-loading code (the arch-independent part of it)
> is in src/stand/common/module.c. There is also archsw.arch_loadaddr,
> which figures out where to put the modules (handling arch-specific
> things like alignment requirements).
>
> For some reason, I thought Zynq used u-boot. That would allow using
> either ubldr or the arm uefi loader (depending on how old the u-boot
> is); those are just flavors of loader(8) that would get you module
> handling and all the other loader goodness.
>
> -- Ian
>
I think I sent this incorrectly the first time, so here it is again.
Zynq does indeed have u-boot as a booting method, but back when I
started this project I made the decision to write my own boot loader
for various reasons (expediency and customization). So I am not using
u-boot or loader(8), and have to prepare everything for the kernel
startup myself.
Lee
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic