Browse Source

MA-6987 the value of vmalloc on Kernel command line still display 400M after we change it to other values(sabresd dq and auto 6qp 0812 daily build)

Correct the bootargs which is printed.
It should be newbootargs rather than bootimage's bootargs.

Signed-off-by: zhang sanshan <b51434@freescale.com>
imx_v2015.04_3.14.38_6qp_ga l5.1.1_2.0.0_6qp-ga
zhang sanshan 5 years ago
parent
commit
f80d628744
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      common/image-android.c

+ 2
- 1
common/image-android.c View File

@ -46,7 +46,6 @@ int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify,
int len = 0;
if (*hdr->cmdline) {
printf("Kernel command line: %s\n", hdr->cmdline);
len += strlen(hdr->cmdline);
}
@ -66,6 +65,8 @@ int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify,
} else if (*hdr->cmdline) {
strcat(newbootargs, hdr->cmdline);
}
printf("Kernel command line: %s\n", newbootargs);
#ifdef CONFIG_SERIAL_TAG
struct tag_serialnr serialnr;
char commandline[ANDR_BOOT_ARGS_SIZE];


Loading…
Cancel
Save