![]() |
NVIDIA DRIVE OS Linux API Reference5.1.0.2 Release |
Boot data must be read from from /proc/device-tree/chosen/nvidia,bootdata sysfs entry.
This entry must have the same number of bytes as are passed to the QbInitBootData() function.
For more information about accessing boot data, see the topic "SysFs and Procfs Procedures" in the Vibrante Linux SDK/PDK 4.0 for Tegra Development Guide: NTG6 Edition.
Macros | |
#define | MAX_BOOTDATA_SIZE (16 * KB) |
Defines the maximum size of boot data supported by the current implementation. More... | |
Functions | |
NvError | QbInitBootData (NvU8 *data, NvU32 size) |
Initializes boot data to be passed on to kernel. More... | |
#define MAX_BOOTDATA_SIZE (16 * KB) |
Defines the maximum size of boot data supported by the current implementation.
Consult with NVIDIA before making any changes to the current value.
Definition at line 46 of file bootdata.h.
NvError QbInitBootData | ( | NvU8 * | data, |
NvU32 | size | ||
) |
Initializes boot data to be passed on to kernel.
data | A pointer to the buffer from which boot data is to be copied. |
size | Specifies the size of the data to be copied from the buffer. It must not exceed MAX_BOOTDATA_SIZE. |