Processed Binaries Directory Structure
The create_bsp
tools take the -g
argument to specify the output directory path where processed binaries are generated. After executing create_bsp tool
, a per SKU-based directory is created under the output directory.
For example, if create_bsp
is executed to create binaries for a board, the
board.json file is used to set board unique variables. The f_SignedCustomerData variable is
used to specify static signed customer data. An example:
board = p3710-10-s05
platform-config/hardware/nvidia/platform/t23x/automotive/flashing/board_configs
,
you see the file p3710-10-s05.json
. Inside this
file:"f_SignedCustomerData":"p3710-10-ts5_signed_customer_data.json",
{
"customer-data-signed": {
"skuNumber": {"version": 1, "value": "642-63710-0010-000"},
"skuVersion": "TS5",
"sysBomInfo": "000-0000-0000-000 00",
"prodInfo": "940-63710-0010",
"boardName": "p3710-10-s05",
"socSkuVersion": "F0-A1"
}
}
Inside the directory specified by -g
, there are the subdirectories:
642-63710-0010-000_TS5 firmware tools
The 642-63710-0010-000_TS5
directory is formed by concatenating
skunumber_skuVersion.
rcm-boot, rcm-flash, and
rcm-flash-provision.
ls p3710-10-s05/642-63710-0010-000_TS5/
flash-images rcm-boot rcm-flash rcm-flash-provision TargetInfo.txt ToolsVersion.txt
Sub-directory Description
...
rcm-flash-provision Binaries needed to reprovision the Ufs
The generated sub-directories are as follows:
Sub-directory |
Description |
---|---|
flash-images |
Contains processed binaries flashed on the target storage medium. Also contains FileToFlash.txt, a summary file that contains information about binary names to flash at offsets for the final target flash structure. These binaries are used for the update tool update_sample. |
rcm-boot |
Contains the necessary binaries to boot the target without writing binaries to the medium. |
rcm-flash |
Contains binaries similar to rcm-boot for booting the Linux kernel on initramfs without writing binaries to the medium. These binaries are generated from a set of prebuilt binaries that are used for flashing. |