author | wenbiao zhang <wenbiao.zhang@amlogic.com> | 2019-12-17 05:52:41 (GMT) |
---|---|---|
committer | Wenbiao Zhang <wenbiao.zhang@amlogic.com> | 2019-12-18 06:09:42 (GMT) |
commit | 2fda066b6023f1d4c9307ea0055eda566b0fd66a (patch) | |
tree | 9fc86828877da7db83a6d7d262032f99d02a705c | |
parent | e05f7196232f27743782749328948043861dc139 (diff) | |
download | uboot-2fda066b6023f1d4c9307ea0055eda566b0fd66a.zip uboot-2fda066b6023f1d4c9307ea0055eda566b0fd66a.tar.gz uboot-2fda066b6023f1d4c9307ea0055eda566b0fd66a.tar.bz2 |
power: fix vad shutdown mode fail [1/1]
PD#SWPL-18314
Problem:
tm2 vad shutdown fail to goto freeze mode
bootargs is reset in storeboot
Solution:
add param to bootargs instead of run storeargs
Verify:
ab311,ab301
Change-Id: I42e4dc5f20c6001dbe4eb92ce127350489325eb8
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
-rw-r--r-- | board/amlogic/configs/tm2_t962e2_ab311_v1.h | 7 | ||||
-rw-r--r-- | board/amlogic/configs/tm2_t962e2_ab319_v1.h | 7 | ||||
-rw-r--r-- | board/amlogic/configs/tm2_t962x3_ab301_v1.h | 7 | ||||
-rw-r--r-- | board/amlogic/configs/tm2_t962x3_ab309_v1.h | 7 | ||||
-rw-r--r-- | board/amlogic/configs/tm2_t962x3_t312_v1.h | 7 |
5 files changed, 20 insertions, 15 deletions
diff --git a/board/amlogic/configs/tm2_t962e2_ab311_v1.h b/board/amlogic/configs/tm2_t962e2_ab311_v1.h index 1951061..be1b362 100644 --- a/board/amlogic/configs/tm2_t962e2_ab311_v1.h +++ b/board/amlogic/configs/tm2_t962e2_ab311_v1.h @@ -147,7 +147,7 @@ "\0"\ "storeargs="\ "get_bootloaderversion;" \ - "setenv bootargs ${initargs} ${fs_type} otg_device=${otg_device} logo=${display_layer},loaded,${fb_addr} powermode=${powermode} fb_width=${fb_width} fb_height=${fb_height} display_bpp=${display_bpp} outputmode=${outputmode} vout=${outputmode},enable panel_type=${panel_type} lcd_ctrl=${lcd_ctrl} hdmimode=${hdmimode} cvbsmode=${cvbsmode} osd_reverse=${osd_reverse} video_reverse=${video_reverse} androidboot.selinux=${EnableSelinux} androidboot.firstboot=${firstboot} jtag=${jtag}; "\ + "setenv bootargs ${initargs} otg_device=${otg_device} logo=${display_layer},loaded,${fb_addr} powermode=${powermode} fb_width=${fb_width} fb_height=${fb_height} display_bpp=${display_bpp} outputmode=${outputmode} vout=${outputmode},enable panel_type=${panel_type} lcd_ctrl=${lcd_ctrl} hdmimode=${hdmimode} cvbsmode=${cvbsmode} osd_reverse=${osd_reverse} video_reverse=${video_reverse} androidboot.selinux=${EnableSelinux} androidboot.firstboot=${firstboot} jtag=${jtag}; "\ "setenv bootargs ${bootargs} androidboot.hardware=amlogic androidboot.bootloader=${bootloader_version} androidboot.build.expect.baseband=N/A;"\ "run cmdline_keys;"\ "\0"\ @@ -235,8 +235,9 @@ "get_system_as_root_mode;"\ "echo system_mode: ${system_mode};"\ "if test ${system_mode} = 1; then "\ - "setenv fs_type ""ro rootwait skip_initramfs"";"\ - "run storeargs;"\ + "setenv bootargs ${bootargs} ro rootwait skip_initramfs;"\ + "else "\ + "setenv bootargs ${bootargs} $(fs_type);"\ "fi;"\ "get_valid_slot;"\ "get_avb_mode;"\ diff --git a/board/amlogic/configs/tm2_t962e2_ab319_v1.h b/board/amlogic/configs/tm2_t962e2_ab319_v1.h index 2127f83..1786685 100644 --- a/board/amlogic/configs/tm2_t962e2_ab319_v1.h +++ b/board/amlogic/configs/tm2_t962e2_ab319_v1.h @@ -145,7 +145,7 @@ "\0"\ "storeargs="\ "get_bootloaderversion;" \ - "setenv bootargs ${initargs} ${fs_type} otg_device=${otg_device} logo=${display_layer},loaded,${fb_addr} fb_width=${fb_width} fb_height=${fb_height} display_bpp=${display_bpp} outputmode=${outputmode} vout=${outputmode},enable panel_type=${panel_type} lcd_ctrl=${lcd_ctrl} hdmimode=${hdmimode} cvbsmode=${cvbsmode} osd_reverse=${osd_reverse} video_reverse=${video_reverse} androidboot.selinux=${EnableSelinux} androidboot.firstboot=${firstboot} jtag=${jtag}; "\ + "setenv bootargs ${initargs} otg_device=${otg_device} logo=${display_layer},loaded,${fb_addr} fb_width=${fb_width} fb_height=${fb_height} display_bpp=${display_bpp} outputmode=${outputmode} vout=${outputmode},enable panel_type=${panel_type} lcd_ctrl=${lcd_ctrl} hdmimode=${hdmimode} cvbsmode=${cvbsmode} osd_reverse=${osd_reverse} video_reverse=${video_reverse} androidboot.selinux=${EnableSelinux} androidboot.firstboot=${firstboot} jtag=${jtag}; "\ "setenv bootargs ${bootargs} androidboot.hardware=amlogic androidboot.bootloader=${bootloader_version} androidboot.build.expect.baseband=N/A;"\ "run cmdline_keys;"\ "\0"\ @@ -233,8 +233,9 @@ "get_system_as_root_mode;"\ "echo system_mode: ${system_mode};"\ "if test ${system_mode} = 1; then "\ - "setenv fs_type ""ro rootwait skip_initramfs"";"\ - "run storeargs;"\ + "setenv bootargs ${bootargs} ro rootwait skip_initramfs;"\ + "else "\ + "setenv bootargs ${bootargs} $(fs_type);"\ "fi;"\ "get_valid_slot;"\ "get_avb_mode;"\ diff --git a/board/amlogic/configs/tm2_t962x3_ab301_v1.h b/board/amlogic/configs/tm2_t962x3_ab301_v1.h index 175d8a8..df81b42 100644 --- a/board/amlogic/configs/tm2_t962x3_ab301_v1.h +++ b/board/amlogic/configs/tm2_t962x3_ab301_v1.h @@ -146,7 +146,7 @@ "else fi;"\ "\0"\ "storeargs="\ - "setenv bootargs ${initargs} ${fs_type} otg_device=${otg_device} logo=${display_layer},loaded,${fb_addr} powermode=${powermode} fb_width=${fb_width} fb_height=${fb_height} display_bpp=${display_bpp} outputmode=${outputmode} vout=${outputmode},enable panel_type=${panel_type} lcd_ctrl=${lcd_ctrl} hdmimode=${hdmimode} cvbsmode=${cvbsmode} osd_reverse=${osd_reverse} video_reverse=${video_reverse} androidboot.selinux=${EnableSelinux} androidboot.firstboot=${firstboot} jtag=${jtag}; "\ + "setenv bootargs ${initargs} otg_device=${otg_device} logo=${display_layer},loaded,${fb_addr} powermode=${powermode} fb_width=${fb_width} fb_height=${fb_height} display_bpp=${display_bpp} outputmode=${outputmode} vout=${outputmode},enable panel_type=${panel_type} lcd_ctrl=${lcd_ctrl} hdmimode=${hdmimode} cvbsmode=${cvbsmode} osd_reverse=${osd_reverse} video_reverse=${video_reverse} androidboot.selinux=${EnableSelinux} androidboot.firstboot=${firstboot} jtag=${jtag}; "\ "setenv bootargs ${bootargs} androidboot.hardware=amlogic;"\ "run cmdline_keys;"\ "\0"\ @@ -234,8 +234,9 @@ "get_system_as_root_mode;"\ "echo system_mode: ${system_mode};"\ "if test ${system_mode} = 1; then "\ - "setenv fs_type ""ro rootwait skip_initramfs"";"\ - "run storeargs;"\ + "setenv bootargs ${bootargs} ro rootwait skip_initramfs;"\ + "else "\ + "setenv bootargs ${bootargs} $(fs_type);"\ "fi;"\ "get_valid_slot;"\ "get_avb_mode;"\ diff --git a/board/amlogic/configs/tm2_t962x3_ab309_v1.h b/board/amlogic/configs/tm2_t962x3_ab309_v1.h index 079cf89..617cf26 100644 --- a/board/amlogic/configs/tm2_t962x3_ab309_v1.h +++ b/board/amlogic/configs/tm2_t962x3_ab309_v1.h @@ -144,7 +144,7 @@ "else fi;"\ "\0"\ "storeargs="\ - "setenv bootargs ${initargs} ${fs_type} otg_device=${otg_device} logo=${display_layer},loaded,${fb_addr} fb_width=${fb_width} fb_height=${fb_height} display_bpp=${display_bpp} outputmode=${outputmode} vout=${outputmode},enable panel_type=${panel_type} lcd_ctrl=${lcd_ctrl} hdmimode=${hdmimode} cvbsmode=${cvbsmode} osd_reverse=${osd_reverse} video_reverse=${video_reverse} androidboot.selinux=${EnableSelinux} androidboot.firstboot=${firstboot} jtag=${jtag}; "\ + "setenv bootargs ${initargs} otg_device=${otg_device} logo=${display_layer},loaded,${fb_addr} fb_width=${fb_width} fb_height=${fb_height} display_bpp=${display_bpp} outputmode=${outputmode} vout=${outputmode},enable panel_type=${panel_type} lcd_ctrl=${lcd_ctrl} hdmimode=${hdmimode} cvbsmode=${cvbsmode} osd_reverse=${osd_reverse} video_reverse=${video_reverse} androidboot.selinux=${EnableSelinux} androidboot.firstboot=${firstboot} jtag=${jtag}; "\ "setenv bootargs ${bootargs} androidboot.hardware=amlogic;"\ "run cmdline_keys;"\ "\0"\ @@ -232,8 +232,9 @@ "get_system_as_root_mode;"\ "echo system_mode: ${system_mode};"\ "if test ${system_mode} = 1; then "\ - "setenv fs_type ""ro rootwait skip_initramfs"";"\ - "run storeargs;"\ + "setenv bootargs ${bootargs} ro rootwait skip_initramfs;"\ + "else "\ + "setenv bootargs ${bootargs} $(fs_type);"\ "fi;"\ "get_valid_slot;"\ "get_avb_mode;"\ diff --git a/board/amlogic/configs/tm2_t962x3_t312_v1.h b/board/amlogic/configs/tm2_t962x3_t312_v1.h index e406deb..be7d82d 100644 --- a/board/amlogic/configs/tm2_t962x3_t312_v1.h +++ b/board/amlogic/configs/tm2_t962x3_t312_v1.h @@ -147,7 +147,7 @@ "\0"\ "storeargs="\ "get_bootloaderversion;" \ - "setenv bootargs ${initargs} ${fs_type} otg_device=${otg_device} logo=${display_layer},loaded,${fb_addr} powermode=${powermode} fb_width=${fb_width} fb_height=${fb_height} display_bpp=${display_bpp} outputmode=${outputmode} vout=${outputmode},enable panel_type=${panel_type} hdmimode=${hdmimode} cvbsmode=${cvbsmode} osd_reverse=${osd_reverse} video_reverse=${video_reverse} androidboot.selinux=${EnableSelinux} androidboot.firstboot=${firstboot} jtag=${jtag}; "\ + "setenv bootargs ${initargs} otg_device=${otg_device} logo=${display_layer},loaded,${fb_addr} powermode=${powermode} fb_width=${fb_width} fb_height=${fb_height} display_bpp=${display_bpp} outputmode=${outputmode} vout=${outputmode},enable panel_type=${panel_type} hdmimode=${hdmimode} cvbsmode=${cvbsmode} osd_reverse=${osd_reverse} video_reverse=${video_reverse} androidboot.selinux=${EnableSelinux} androidboot.firstboot=${firstboot} jtag=${jtag}; "\ "setenv bootargs ${bootargs} androidboot.hardware=amlogic androidboot.bootloader=${bootloader_version} androidboot.build.expect.baseband=N/A;"\ "run cmdline_keys;"\ "\0"\ @@ -235,8 +235,9 @@ "get_system_as_root_mode;"\ "echo system_mode: ${system_mode};"\ "if test ${system_mode} = 1; then "\ - "setenv fs_type ""ro rootwait skip_initramfs"";"\ - "run storeargs;"\ + "setenv bootargs ${bootargs} ro rootwait skip_initramfs;"\ + "else "\ + "setenv bootargs ${bootargs} $(fs_type);"\ "fi;"\ "get_valid_slot;"\ "get_avb_mode;"\ |