| /rk3399_rockchip-uboot/env/ |
| H A D | envf.c | 116 env_t *env; in env_read() local 120 env = spl_env; in env_read() 122 env = malloc(size); in env_read() 123 if (!env) in env_read() 130 if (blk_dread(desc, blk_off, blk_cnt, (void *)env) != blk_cnt) { in env_read() 135 if (crc32(0, env->data, data_size) != env->crc) { in env_read() 141 *envp = env; in env_read() 146 free(env); in env_read() 153 env_t *env = NULL; in envf_read() local 169 ret = env_read(desc, env_offset, env_size, &env); in envf_read() [all …]
|
| /rk3399_rockchip-uboot/board/ti/ks2_evm/ |
| H A D | board.c | 74 char *env; in get_eth_env_param() local 77 env = env_get(env_name); in get_eth_env_param() 78 if (env) in get_eth_env_param() 79 res = simple_strtol(env, NULL, 0); in get_eth_env_param() 145 char *env; in ft_board_setup() local 154 env = env_get("mem_lpae"); in ft_board_setup() 155 lpae = env && simple_strtol(env, NULL, 0); in ft_board_setup() 156 env = env_get("uinitrd_fixup"); in ft_board_setup() 157 unitrd_fixup = env && simple_strtol(env, NULL, 0); in ft_board_setup() 183 env = env_get("mem_reserve_head"); in ft_board_setup() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-keystone/ |
| H A D | keystone.c | 46 char *env; in misc_init_r() local 49 env = env_get("ks2_debug"); in misc_init_r() 51 if (env) in misc_init_r() 52 ks2_debug = simple_strtol(env, NULL, 0); in misc_init_r()
|
| /rk3399_rockchip-uboot/tools/env/ |
| H A D | fw_env.c | 174 char *env, *nxt; in fw_getenv() local 176 for (env = environment.data; *env; env = nxt + 1) { in fw_getenv() 179 for (nxt = env; *nxt; ++nxt) { in fw_getenv() 186 val = envmatch (name, env); in fw_getenv() 200 char *env, *nxt; in fw_getdefenv() local 202 for (env = default_environment; *env; env = nxt + 1) { in fw_getdefenv() 205 for (nxt = env; *nxt; ++nxt) { in fw_getdefenv() 212 val = envmatch(name, env); in fw_getdefenv() 269 char *env, *nxt; in fw_printenv() local 270 for (env = environment.data; *env; env = nxt + 1) { in fw_printenv() [all …]
|
| /rk3399_rockchip-uboot/test/py/tests/ |
| H A D | test_env.py | 48 self.env = {} 53 self.env[var] = value 65 for var in self.env: 81 if var not in self.env: 110 if var in state_test_env.env: 111 del state_test_env.env[var] 138 state_test_env.env[var] = value 173 value = state_test_env.env[var]
|
| H A D | test_efi_loader.py | 62 init_usb = u_boot_console.config.env.get('env__net_uses_usb', False) 66 init_pci = u_boot_console.config.env.get('env__net_uses_pci', False) 78 test_dhcp = u_boot_console.config.env.get('env__net_dhcp_server', False) 97 env_vars = u_boot_console.config.env.get('env__net_static_env_vars', None) 116 f = u_boot_console.config.env.get(env_conf, None) 183 check_smbios = u_boot_console.config.env.get('env__efi_loader_check_smbios', False)
|
| H A D | test_net.py | 70 init_usb = u_boot_console.config.env.get('env__net_uses_usb', False) 74 init_pci = u_boot_console.config.env.get('env__net_uses_pci', False) 86 test_dhcp = u_boot_console.config.env.get('env__net_dhcp_server', False) 105 env_vars = u_boot_console.config.env.get('env__net_static_env_vars', None) 144 f = u_boot_console.config.env.get('env__net_tftp_readable_file', None) 184 f = u_boot_console.config.env.get('env__net_nfs_readable_file', None)
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | qfw.c | 122 char *env; in qemu_fwcfg_do_load() local 126 env = env_get("loadaddr"); in qemu_fwcfg_do_load() 127 load_addr = env ? in qemu_fwcfg_do_load() 128 (void *)simple_strtoul(env, NULL, 16) : in qemu_fwcfg_do_load() 135 env = env_get("ramdiskaddr"); in qemu_fwcfg_do_load() 136 initrd_addr = env ? in qemu_fwcfg_do_load() 137 (void *)simple_strtoul(env, NULL, 16) : in qemu_fwcfg_do_load()
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | spl.c | 554 char *env = NULL; local 558 env = envf_get(desc, part_type[id]); 559 if (!env) 560 env = envf_get(desc, part_type[++id]); 561 if (env) { 562 if (!strstr(env, part_type[id])) { 563 part_list = calloc(1, strlen(env) + strlen(part_type[id]) + 2); 567 strcat(part_list, env); 570 part_list = env; 579 env = envf_get(desc, "sys_bootargs"); [all …]
|
| H A D | board.c | 1373 char *env; in bootargs_add_partition() local 1376 env = env_get(part_type[id]); in bootargs_add_partition() 1377 if (!env) in bootargs_add_partition() 1378 env = env_get(part_type[++id]); in bootargs_add_partition() 1379 if (env) { in bootargs_add_partition() 1380 if (!strstr(env, part_type[id])) { in bootargs_add_partition() 1381 part_list = calloc(1, strlen(env) + strlen(part_type[id]) + 2); in bootargs_add_partition() 1385 strcat(part_list, env); in bootargs_add_partition() 1388 part_list = env; in bootargs_add_partition() 1395 env = env_get("sys_bootargs"); in bootargs_add_partition() [all …]
|
| /rk3399_rockchip-uboot/test/env/ |
| H A D | Kconfig | 2 bool "Enable env unit tests" 5 This enables the 'ut env' command which runs a series of unit 6 tests on the env code.
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/ |
| H A D | config.txt | 24 u-boot,mmc-env-partition 29 if u-boot,mmc-env-offset* is present, this setting will take 31 mmc-env-offset* will be tried. 33 u-boot,mmc-env-offset 34 u-boot,mmc-env-offset-redundant 35 If present, the values of the 'u-boot,mmc-env-offset' and/or 36 of the u-boot,mmc-env-offset-redundant' properties overrides
|
| /rk3399_rockchip-uboot/tools/buildman/ |
| H A D | builderthread.py | 193 env = self.toolchain.MakeEnvironment(self.builder.full_path) 228 'mrproper', *args, env=env) 231 *(args + config_args), env=env) 238 env=env) 313 env = result.toolchain.MakeEnvironment(self.builder.full_path) 319 raise_on_error=False, env=env) 329 raise_on_error=False, env=env) 344 raise_on_error=False, env=env)
|
| H A D | toolchain.py | 86 env = self.MakeEnvironment(False) 95 result = command.RunPipe([cmd], capture=True, env=env, 155 env = dict(os.environ) 159 env['CROSS_COMPILE'] = wrapper + os.path.join(self.path, self.cross) 161 env['CROSS_COMPILE'] = wrapper + self.cross 162 env['PATH'] = self.path + ':' + env['PATH'] 164 env['LC_ALL'] = 'C' 166 return env
|
| /rk3399_rockchip-uboot/common/ |
| H A D | cli.c | 152 char *env = fdtdec_get_config_string(gd->fdt_blob, "bootcmd"); in cli_process_fdt() local 153 if (env) in cli_process_fdt() 154 *cmdp = env; in cli_process_fdt()
|
| /rk3399_rockchip-uboot/examples/api/ |
| H A D | glue.c | 362 const char *env, *str; in ub_env_enum() local 365 env = NULL; in ub_env_enum() 372 if (!syscall(API_ENV_ENUM, NULL, last, &env)) in ub_env_enum() 375 if (!env) in ub_env_enum() 381 for (i = 0, str = env; *str != '=' && *str != '\0';) in ub_env_enum()
|
| H A D | demo.c | 158 const char *env = NULL; in main() local 160 while ((env = ub_env_enum(env)) != NULL) in main() 161 printf("%s = %s\n", env, ub_env_get(env)); in main()
|
| /rk3399_rockchip-uboot/tools/patman/ |
| H A D | cros_subprocess.py | 57 shell=False, cwd=None, env=None, **kwargs): argument 84 stdout=stdout, stderr=stderr, shell=shell, cwd=cwd, env=env, 347 env = os.environ 349 env ['FRED'] = 'fred' 351 plist = Popen(cmd, shell=True, env=env).CommunicateFilter(oper.Output)
|
| /rk3399_rockchip-uboot/board/samsung/common/bootscripts/ |
| H A D | autoboot.cmd | 38 #### Routine: boot_fit - check that env $boardname is set and boot proper config of ITB image 51 #### Routine: setboot_uimg - prepare env to boot uImage 60 #### Routine: setboot_zimg - prepare env to boot zImage 69 #### Routine: boot_img - boot the kernel after env setup
|
| /rk3399_rockchip-uboot/scripts/kconfig/ |
| H A D | confdata.c | 114 char *env, *name; in conf_get_default_confname() local 117 env = getenv(SRCTREE); in conf_get_default_confname() 118 if (env) { in conf_get_default_confname() 119 sprintf(fullname, "%s/%s", env, name); in conf_get_default_confname() 747 char *env; in conf_write() local 772 env = getenv("KCONFIG_OVERWRITECONFIG"); in conf_write() 773 if (!env || !*env) { in conf_write() 1134 char *env = getenv("KCONFIG_PROBABILITY"); in conf_set_all_new_symbols() local 1136 while( env && *env ) { in conf_set_all_new_symbols() 1138 int tmp = strtol( env, &endp, 10 ); in conf_set_all_new_symbols() [all …]
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | fit-core.sh | 437 FDT_ADDR_R=`strings env/built-in.o | grep 'fdt_addr_r=' | awk -F "=" '{ print $2 }'` 438 KERNEL_ADDR_R=`strings env/built-in.o | grep 'kernel_addr_r=' | awk -F "=" '{ print $2 }'` 439 RMADISK_ADDR_R=`strings env/built-in.o | grep 'ramdisk_addr_r=' | awk -F "=" '{ print $2 }'` 521 FDT_ADDR_R=`strings env/built-in.o | grep 'fdt_addr_r=' | awk -F "=" '{ print $2 }'` 522 KERNEL_ADDR_R=`strings env/built-in.o | grep 'kernel_addr_r=' | awk -F "=" '{ print $2 }'` 523 RMADISK_ADDR_R=`strings env/built-in.o | grep 'ramdisk_addr_r=' | awk -F "=" '{ print $2 }'` 766 FDT_ADDR_R=`strings env/built-in.o | grep 'fdt_addr_r=' | awk -F "=" '{ print $2 }'` 767 KERNEL_ADDR_R=`strings env/built-in.o | grep 'kernel_addr_r=' | awk -F "=" '{ print $2 }'` 768 RMADISK_ADDR_R=`strings env/built-in.o | grep 'ramdisk_addr_r=' | awk -F "=" '{ print $2 }'`
|
| /rk3399_rockchip-uboot/board/keymile/scripts/ |
| H A D | ramfs-ppc_8xx.txt | 1 setup_debug_env=tftpboot 0x200000 scripts/ramfs-common.txt && env import -t 0x200000 ${filesize} &&…
|
| H A D | ramfs-ppc_82xx.txt | 1 setup_debug_env=tftpboot 0x200000 scripts/ramfs-common.txt && env import -t 0x200000 ${filesize} &&…
|
| H A D | develop-ppc_8xx.txt | 1 setup_debug_env=tftpboot 0x200000 scripts/develop-common.txt && env import -t 0x200000 ${filesize} …
|
| H A D | ramfs-arm.txt | 1 setup_debug_env=tftpboot 0x200000 scripts/ramfs-common.txt && env import -t 0x200000 ${filesize} &&…
|