HomeSort by relevance Sort by last modified time
    Searched refs:nvram (Results 1 - 5 of 5) sorted by null

  /external/dnsmasq/contrib/wrt/
lease_update.sh 16 # script, update the nvram database. if $1 is init, emit a
20 NVRAM=/usr/sbin/nvram
39 ${NVRAM} show | sed -n -e "/^${PREFIX}.*/ s/^.*=//p"
42 ${NVRAM} unset ${PREFIX}${3}
46 ${NVRAM} set ${PREFIX}${3}="${DNSMASQ_LEASE_LENGTH:-}${DNSMASQ_LEASE_EXPIRES:-} ${2} ${3} ${4:-*} ${DNSMASQ_CLIENT_ID:-*}"
48 ${NVRAM} commit
  /external/autotest/client/cros/faft/utils/
tpm_handler.py 14 """An object representing TPM NvRam.
17 addr: a number, NvRAm address in TPM.
18 size: a number, count of bites in this NvRam section.
20 version_offset: - a number, offset into the NvRam contents where the the
25 offset of the pattern expected to be present in the NvRam, and the
27 contents: an array of bytes, the contents of the NvRam.
49 raise TpmError('Nvram pattern does not match')
61 """An object to control TPM device's NVRAM.
65 nvrams: A dictionary where the keys are the nvram names, and the values
67 appropriate TPM NvRam sections
    [all...]
  /external/vboot_reference/utility/
chromeos-tpm-recovery-test 63 free=$(cat nvram.freespace)
75 echo $(( $free - $totalsize )) > nvram.freespace
185 free=$(cat nvram.freespace)
187 echo $(( $size + $space_overhead + $free )) > nvram.freespace
258 echo 1500 > nvram.freespace
316 # Kernel space with wrong size AND bogus space to exhaust nvram
324 space_hog_size=$(( $(cat nvram.freespace) - $space_overhead - 1 ))
325 echo "remaining $(cat nvram.freespace) bytes" >> log
  /device/google/dragon/recovery/updater/
vboot_interface.c 266 /* ---- VBoot NVRAM (stored in SPI flash) ---- */
268 /* bits definition in NVRAM */
411 uint8_t *block, *nvram, *end, *curr; local
422 /* Read NVRAM. */
423 nvram = fmap_read_section(spi, "RW_NVRAM", &size, &offset);
425 * Ensure NVRAM is found, size is at least 1 block and total size is
428 if ((nvram == NULL) || (size < VB_NVDATA_SIZE) ||
430 ALOGW("ERROR: NVRAM not found\n");
438 * Loop until the last used block in NVRAM.
442 block = nvram;
    [all...]
  /external/vboot_reference/host/arch/x86/lib/
crossystem_arch.c 9 #include <linux/nvram.h>
85 /* Filename for NVRAM file */
86 #define NVRAM_PATH "/dev/nvram"
338 /* Read the CMOS reboot field in NVRAM.
356 /* Write the CMOS reboot field in NVRAM.

Completed in 101 milliseconds