[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] xen/arm: Add Rockchip rk3399 early printk support


  • To: Jun Nie <jun.nie@xxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Thu, 26 Oct 2023 09:31:20 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=linaro.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=32/wV8hI7aUe9ruznn3O+K1HZPqB7SIA3WGQOaL7Yis=; b=M8NYoUvjiCssXi3yguD33yDiDSMZBSuL9vVbxFnY0xxMA3FJqd2cXSr8iapBowqjW14JeISOipL0BgCc+8ZFxJ1XysPrldQTEdDpYzHnQ7kEeKW19CS5UmoohlHu8NCr+IXJ8oI8EcjuUIrh47y13JYkL8OGRa+UmNZvVvLY4lJjFLNmmT9NT3UsAUpJeCOGM9Ux1Y5+AjgubjouAXDdDPLKtXWgnv1RTaQnFYmWu3LnjpZDTwFKw3dFIDEkbjd8RDnuj8j+xHM/h4KO9656U61EnOjgl0toHV/k5Y5BkRTXjYvs8Sy2b65cqxrFuAwLMPHc2exqqI+za4HfenSDHg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l/S77rtLFdMuRIM/ZLpe2vUYrqPbvVl5evYPg77jXteAmiMOy1fwQXz+rfOfuVaQr2TIlaTkdtDrcD6IHkMho2ZcxsScZFhls9e97JEPx6SRwLEqJtor3eO1P10ovUcupuqOTERdEgSQDqsLwJ6i3H7EdRMhINVFBz+fMkx/pp/x671RGyp2DpgXlYfGScdDs2JtIunKN2QGtAJChiOv27CvUOUo1LDFLsAg3uL9ini/jJp4xyFsx4VpUhzQACVXLZalvYAFREvZ5hRtPSLM6+FcnEe9eegumY9mILkgMECJ3ZSajrxI2dTLRaTaB69vw/yrA+TbsUU4XRFg6ANbyw==
  • Cc: <sstabellini@xxxxxxxxxx>, <julien@xxxxxxx>, <bertrand.marquis@xxxxxxx>, <Volodymyr_Babchuk@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 26 Oct 2023 07:31:41 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 26/10/2023 09:22, Jun Nie wrote:
> 
> 
> Michal Orzel <michal.orzel@xxxxxxx> 于2023年10月26日周四 15:02写道:
>>
>> Hi,
>>
>> On 26/10/2023 07:46, Jun Nie wrote:
>>>
>>>
>>> Signed-off-by: Jun Nie <jun.nie@xxxxxxxxxx>
>>> ---
>>>  xen/arch/arm/Kconfig.debug | 5 +++++
>>>  1 file changed, 5 insertions(+)
>>>
>>> diff --git a/xen/arch/arm/Kconfig.debug b/xen/arch/arm/Kconfig.debug
>>> index 842d768280..fefe8ac4df 100644
>>> --- a/xen/arch/arm/Kconfig.debug
>>> +++ b/xen/arch/arm/Kconfig.debug
>>> @@ -158,6 +158,9 @@ choice
>>>         config EARLY_PRINTK_RCAR3
>>>                 bool "Early printk with SCIF2 on Renesas R-Car Gen3 
>>> processors"
>>>                 select EARLY_UART_SCIF
>>> +       config EARLY_PRINTK_RK3399
>>> +               bool "Early printk with 8250 on Rockchip RK3399 processors"
>>> +               select EARLY_UART_8250
>> Platform specific options for early printk are deprecated. You can read it 
>> at the top of the file:
>> "
>> Deprecated: Alternatively, there are platform specific options
>> which will have default values for the various parameters. But
>> such option will soon be removed.
>> "
>>
>> ~Michal
> 
> 
> Thanks for the reminder! So only below 2 configs shall be configured
> when compiling the project, right?
> 
> EARLY_UART_BASE_ADDRESS
> EARLY_UART_8250_REG_SHIFT

Yes, that's correct

~Michal



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.