HomeFreeBSD

Change md(4) to use weak symbols as start, end and size for the embedded

Description

Change md(4) to use weak symbols as start, end and size for the embedded
root disk. The embedded image is linked into the kernel in the .mfs
section.

Add rules and variables to kern.pre.mk and kern.post.mk that handle the
linking of the image. First objcopy is used to generate an object file.
Then, the object file is linked into the kernel.

Submitted by: Steve Kiernan <stevek@juniper.net>
Reviewed by: brooks@
Obtained from: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D2903

Details

Provenance
marcelAuthored on
Differential Revision
Restricted Differential Revision
Parents
rS286726: Instead of having separate do_sync functions for ARM_ARCH 6 vs.
Branches
Unknown
Tags
Unknown