NVIDIA DRIVE OS Linux API Reference

5.1.0.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Passing boot data to Quickboot

Detailed Description

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...
 

Macro Definition Documentation

#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.

Function Documentation

NvError QbInitBootData ( NvU8 *  data,
NvU32  size 
)

Initializes boot data to be passed on to kernel.

Parameters
dataA pointer to the buffer from which boot data is to be copied.
sizeSpecifies the size of the data to be copied from the buffer. It must not exceed MAX_BOOTDATA_SIZE.
Returns
NvSuccess on Success. Error code in case of error.