Files
meta-tegra/recipes-core/initrdscripts/tegra-flash-init/initrd-flash.scheme.in
Matt Madison 5e23c6117b tegra-flash-init: add recipe for supporting initrd flashing
* Booted via RCM boot process, running entirely within
  the initramfs
* Accepts command sequence from host for handling specific
  flashing steps
* Programs boot device (SPI flash or mmcblk0bootX devices)
  from signed binaries sent from host
* Exports storage devices via USB gadget to host for
  partitioning/writing

Signed-off-by: Matt Madison <matt@madison.systems>
2022-12-30 03:20:20 -08:00

67 lines
1.2 KiB
Plaintext

attrs :
{
bcdUSB = 0x210;
bDeviceClass = 0x0;
bDeviceSubClass = 0x0;
bDeviceProtocol = 0x0;
bMaxPacketSize0 = 0x40;
idVendor = 0x1D6B;
idProduct = 0x104;
bcdDevice = 0x1;
};
os_descs :
{
config_id = 1;
use = 1;
qw_sign = "MSFT100";
b_vendor_code = 0xcd;
};
strings = (
{
lang = 0x409;
manufacturer = "NVIDIA";
product = "Linux for Tegra";
serialnumber = "@SERIALNUMBER@";
} );
functions :
{
mass_storage_l4t :
{
instance = "l4t_storage";
type = "mass_storage";
attrs :
{
stall = true;
luns = (
{
cdrom = false;
ro = false;
nofua = false;
removable = true;
file = "@STORAGE_EXPORT@";
});
};
os_descs = ( );
};
};
configs = (
{
id = 1;
name = "L4T";
attrs :
{
bmAttributes = 0x80;
bMaxPower = 0x2;
};
strings = (
{
lang = 0x409;
configuration = "UMS";
} );
functions = (
{
name = "ums.0";
function = "mass_storage_l4t";
} );
} );