Lines Matching refs:bootconfig
82 without parsing the default bootconfig.
117 In the program (and /proc/bootconfig), it will be shown as below::
148 /proc/bootconfig
151 /proc/bootconfig is a user-space interface of the boot config.
161 There are two options to boot the kernel with bootconfig: attaching the
162 bootconfig to the initrd image or embedding it in the kernel itself.
171 [initrd][bootconfig][padding][size(le32)][checksum(le32)][#BOOTCONFIG\n]
177 (``\0``) will be added. Thus the ``size`` is the length of the bootconfig
185 loader passes a longer size, the kernel fails to find the bootconfig data.
187 To do this operation, Linux kernel provides ``bootconfig`` command under
188 tools/bootconfig, which allows admin to apply or delete the config file
191 # make -C tools/bootconfig
193 To add your boot config file to initrd image, run bootconfig as below
196 # tools/bootconfig/bootconfig -a your-config /boot/initrd.img-X.Y.Z
200 # tools/bootconfig/bootconfig -d /boot/initrd.img-X.Y.Z
202 Then add "bootconfig" on the normal kernel command line to tell the
203 kernel to look for the bootconfig at the end of the initrd file.
208 If you can not use initrd, you can also embed the bootconfig file in the
216 path to the bootconfig file from source tree or object tree.
217 The kernel will embed it as the default bootconfig.
219 Just as when attaching the bootconfig to the initrd, you need ``bootconfig``
220 option on the kernel command line to enable the embedded bootconfig.
223 bootconfig by another bootconfig which attached to the initrd.
234 bootconfig parameters (this depends on how the subsystem handles parameters
237 [bootconfig params][cmdline params] -- [bootconfig init params][cmdline init params]
239 Here is an example of the bootconfig file for kernel/init parameters.::
254 ro bootconfig -- quiet
258 root="01234567-89ab-cdef-0123-456789abcd" ro bootconfig -- splash quiet
274 Anyway, since bootconfig command verifies it when appending a boot config
321 .. kernel-doc:: include/linux/bootconfig.h
322 .. kernel-doc:: lib/bootconfig.c