/u-boot/arch/sh/lib/ |
H A D | zimageboot.c | 25 char *cmdline; local 48 cmdline = (char *)param + COMMAND_LINE; 56 strcpy(cmdline, bootargs);
|
H A D | bootm.c | 32 static unsigned long sh_check_cmd_arg(char *cmdline, char *key, int base) argument 35 char *p = strstr(cmdline, key); 53 char *cmdline = (char *)param + COMMAND_LINE; local 71 strcpy(cmdline, bootargs);
|
/u-boot/tools/buildman/ |
H A D | main.py | 24 from buildman import cmdline namespace 73 args = cmdline.parse_args() 79 if cmdline.HAS_TESTS and args.test: 82 elif cmdline.HAS_TESTS and args.coverage:
|
H A D | buildman | 24 from buildman import cmdline 73 args = cmdline.parse_args() 79 if cmdline.HAS_TESTS and args.test: 82 elif cmdline.HAS_TESTS and args.coverage:
|
/u-boot/arch/microblaze/lib/ |
H A D | bootm.c | 42 void (*thekernel)(char *cmdline, ulong rd, ulong dt); 45 ulong cmdline = images->cmdline_start; local 52 debug("cmdline 0x%08lx, ramdisk 0x%08lx, FDT 0x%08lx...\n", 53 cmdline, rd_start, dt); 69 thekernel((char *)cmdline, rd_start, dt); 91 /* cmdline init is the part of 'prep' and nothing to do for 'bdt' */
|
/u-boot/lib/libavb/ |
H A D | avb_cmdline.c | 16 * values. Returns NULL on OOM, otherwise the cmdline with values 20 const char* cmdline, 45 * present in the command line. Note: the original cmdline is used here, 48 if (avb_strstr(cmdline, replace_str[n]) == NULL) { 72 ret = avb_replace(cmdline, replace_str[n], guid_buf); 84 * Duplicate cmdline to ret for additional substitutions below. 87 ret = avb_strdup(cmdline); 126 if (slot_data->cmdline != NULL) { 127 offset = avb_strlen(slot_data->cmdline); 138 avb_memcpy(new_cmdline, slot_data->cmdline, offse 19 avb_sub_cmdline(AvbOps* ops, const char* cmdline, const char* ab_suffix, bool using_boot_for_vbmeta, const AvbCmdlineSubstList* additional_substitutions) argument [all...] |
H A D | avb_cmdline.h | 35 * values. Returns NULL on OOM, otherwise the cmdline with values 39 const char* cmdline,
|
H A D | avb_slot_verify.h | 199 * The |cmdline| field is a NUL-terminated string in UTF-8 resulting 208 * Additionally, the |cmdline| field will have the following kernel 251 * Note that androidboot.slot_suffix is not set in the |cmdline| field 261 * |requested_partitions| are loaded and the |cmdline| field is set to 284 char* cmdline; member in struct:__anon17
|
H A D | avb_slot_verify.c | 1030 ": Kernel cmdline descriptor is invalid.\n", 1042 ": Kernel cmdline is not valid UTF-8.\n", 1067 if (slot_data->cmdline == NULL) { 1068 slot_data->cmdline = 1070 if (slot_data->cmdline == NULL) { 1074 avb_memcpy(slot_data->cmdline, 1078 /* new cmdline is: <existing_cmdline> + ' ' + <newcmdline> + '\0' */ 1079 size_t orig_size = avb_strlen(slot_data->cmdline); 1087 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); 1092 avb_free(slot_data->cmdline); [all...] |
/u-boot/board/ste/stemmy/ |
H A D | stemmy.c | 104 static void parse_cmdline(const struct tag_cmdline *cmdline) argument 109 env_set("sbl_cmdline", cmdline->cmdline); 111 buf = strstr(cmdline->cmdline, SBL_BOARD); 118 buf = strstr(cmdline->cmdline, SBL_LCDTYPE); 128 * It also requires an extremely long cmdline provided by the primary bootloader 158 parse_cmdline(&t->u.cmdline);
|
/u-boot/include/ |
H A D | avb_verify.h | 51 char *avb_set_enforce_verity(const char *cmdline); 52 char *avb_set_ignore_corruption(const char *cmdline);
|
H A D | bootm.h | 288 * @cmdline: If non-NULL, the environment variable containing the command line 293 ulong base, char *cmdline); 320 * @cmdline: Command line to set 322 int bootm_boot_start(ulong addr, const char *cmdline);
|
H A D | android_image.h | 48 u8 cmdline[ANDR_BOOT_ARGS_SIZE + ANDR_BOOT_EXTRA_ARGS_SIZE]; member in struct:andr_boot_img_hdr_v3 63 u8 cmdline[ANDR_VENDOR_BOOT_ARGS_SIZE]; member in struct:andr_vnd_boot_img_hdr 107 char cmdline[ANDR_BOOT_ARGS_SIZE]; member in struct:andr_boot_img_hdr_v0 344 const char *kcmdline; /* boot kernel cmdline */ 345 const char *kcmdline_extra; /* vendor-boot extra kernel cmdline */
|
H A D | bootflow.h | 89 * @cmdline: OS command line, or NULL if not known (allocated) 115 char *cmdline; member in struct:bootflow 471 * cmdline_set_arg() - Update or read an argument in a cmdline string 473 * Handles updating a single arg in a cmdline string, returning it in a supplied 474 * buffer; also reading an arg from a cmdline string 482 * @cmdline: Command line to update, in the form: 489 * command line. Use NULL to delete the argument from @cmdline, BOOTFLOWCL_EMPTY 493 * the start position of its value in @cmdline, after the first quote, if any 505 int cmdline_set_arg(char *buf, int maxlen, const char *cmdline, 511 * Update the allocated cmdline an [all...] |
/u-boot/arch/x86/include/asm/ |
H A D | zimage.h | 59 * @cmdline: Environment variable containing the 'override' command line, or 69 const char *cmdline; member in struct:zboot_state 149 * @cmdline: Environment variable containing the 'override' command line, or 153 ulong initrd_size, ulong base_addr, const char *cmdline);
|
/u-boot/board/friendlyarm/nanopi2/ |
H A D | board.c | 328 char cmdline[CONFIG_SYS_CBSIZE]; local 347 cmdline[0] = '\0'; 349 if ((n + strlen(name) + sizeof(CMDLINE_LCD)) > sizeof(cmdline)) { 360 strncpy(cmdline, bootargs, n); 364 strncpy(cmdline + n, CMDLINE_LCD, strlen(CMDLINE_LCD)); 367 strcpy(cmdline + n, name); 371 n += sprintf(cmdline + n, ",%sdpi", lcddpi); 376 n += sprintf(cmdline + n, ",%ddpi", dpi); 383 strcpy(cmdline + n, p); 390 if (rootdev > 0 && !strstr(cmdline, CMDLINE_BDE [all...] |
/u-boot/arch/xtensa/lib/ |
H A D | bootm.c | 62 char *cmdline) 66 if (!cmdline) 69 len = strlen(cmdline); 73 strcpy((char *)params->data, cmdline); 76 BP_TAG_COMMAND_LINE, params->size, cmdline); 61 setup_commandline_tag(struct bp_tag *params, char *cmdline) argument
|
/u-boot/boot/ |
H A D | bootflow.c | 623 char *cmdline = NULL; local 626 cmdline = strdup(value); 627 if (!cmdline) 631 free(bflow->cmdline); 632 bflow->cmdline = cmdline; 639 * on_bootargs() - Update the cmdline of a bootflow 673 * copy_in() - Copy a string into a cmdline buffer 716 int cmdline_set_arg(char *buf, int maxlen, const char *cmdline, argument 726 from = cmdline 894 cmdline_get_arg(const char *cmdline, const char *arg, int *posp) argument [all...] |
H A D | bootm_os.c | 71 char *console, char *cmdline); 74 char *cmdline; local 111 cmdline = malloc(len); 112 copy_args(cmdline, bmi->argc, bmi->argv, ' '); 114 cmdline = env_get("bootargs"); 115 if (cmdline == NULL) 116 cmdline = ""; 133 (*loader)(gd->bd, os_hdr, "", cmdline);
|
H A D | bootm.c | 775 char *cmdline; local 785 cmdline = buf + maxlen - size; 786 memmove(cmdline, buf, size); 788 * Only fix cmdline when requested. The environment variable can be: 800 debug("before silent fix-up: %s\n", cmdline); 801 if (*cmdline) { 802 char *start = strstr(cmdline, CONSOLE_ARG); 812 start_bytes = start - cmdline; 813 strncpy(buf, cmdline, start_bytes); 820 sprintf(buf, "%s %s", cmdline, NULL_CONSOL 845 char *cmdline; local 1162 bootm_boot_start(ulong addr, const char *cmdline) argument [all...] |
H A D | bootmeth_cros.c | 61 CMDLINE_OFFSET = -0x2000, /* cmdline offset relative to base */ 106 /* Allow space for cmdline + UUID */ 209 ulong base, setup, cmdline, kern_base; local 222 cmdline = base + CMDLINE_OFFSET; 224 log_debug("base %lx setup %lx cmdline %lx kern_base %lx\n", base, 225 setup, cmdline, kern_base); 244 ret = copy_cmdline(map_sysmem(cmdline, 0), uuid, &bflow->cmdline); 290 /* Read the cmdline through to the end of the bootloader */ 437 bflow->cmdline); [all...] |
/u-boot/tools/patman/ |
H A D | __main__.py | 25 from patman import cmdline namespace 38 args = cmdline.parse_args()
|
H A D | patman | 25 from patman import cmdline 38 args = cmdline.parse_args()
|
/u-boot/cmd/x86/ |
H A D | zboot.c | 18 const char *s, *cmdline; local 28 cmdline = argc > 6 ? env_get(argv[6]) : NULL; 31 base_addr, cmdline); 160 "[addr] [size] [initrd addr] [initrd size] [setup] [cmdline]\n" 170 " cmdline - Environment variable containing the kernel\n" 172 " cmdline generation\n"
|
/u-boot/cmd/ |
H A D | avb.c | 254 char *cmdline; local 309 cmdline = append_cmd_line(out_data->cmdline, 312 cmdline = out_data->cmdline; 314 env_set(AVB_BOOTARGS, cmdline);
|