[U-Boot] [PATCH 6/7] Enable print log file to lcd

Eric eric.gao at rock-chips.com
Thu Apr 6 08:48:47 UTC 2017


Dear Glass,

     Thank you, I will drop this patch and move it to README file.


On 2017年04月06日 11:44, Simon Glass wrote:
> On 1 April 2017 at 08:42,  <eric.gao at rock-chips.com> wrote:
>> From: "eric.gao" <eric.gao at rock-chips.com>
>>
>> Signed-off-by: eric.gao <eric.gao at rock-chips.com>
>> ---
>>
>>   configs/evb-rk3399_defconfig    | 1 +
>>   include/configs/rk3399_common.h | 5 ++++-
>>   2 files changed, 5 insertions(+), 1 deletion(-)
>>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
>
>> diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
>> index b9cb0e8..89b2e17 100644
>> --- a/configs/evb-rk3399_defconfig
>> +++ b/configs/evb-rk3399_defconfig
>> @@ -68,3 +68,4 @@ CONFIG_DM_VIDEO=y
>>   CONFIG_DISPLAY=y
>>   CONFIG_VIDEO_ROCKCHIP=y
>>   CONFIG_DISPLAY_MIPI=y
>> +CONFIG_VIDCONSOLE_AS_LCD=y
> But do you need this option?
>
>> diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
>> index 4ba81ac..6183f4e 100644
>> --- a/include/configs/rk3399_common.h
>> +++ b/include/configs/rk3399_common.h
>> @@ -69,7 +69,10 @@
>>   #define CONFIG_EXTRA_ENV_SETTINGS \
>>          ENV_MEM_LAYOUT_SETTINGS \
>>          "partitions=" PARTS_DEFAULT \
>> -       BOOTENV
>> +       BOOTENV \
>> +       "stdin=serial,cros-ec-keyb\0" \
>> +       "stdout=serial,vidconsole\0" \
>> +       "stderr=serial,vidconsole\0"
>>
>>   #endif
>>
>> --
>> 1.9.1
>>
>>
>
>




More information about the U-Boot mailing list