[RFC PATCH] common: board_f: add print_archinfo to display arch information

Jaehoon Chung jh80.chung at samsung.com
Wed Jan 20 11:44:55 CET 2021


Hi Simon,

On 1/20/21 3:06 AM, Simon Glass wrote:
> Hi Jaehoon,
> 
> On Sun, 17 Jan 2021 at 15:10, Jaehoon Chung <jh80.chung at samsung.com> wrote:
>>
>> Hi Tom,
>>
>> On 1/16/21 3:11 AM, Tom Rini wrote:
>>> On Fri, Jan 15, 2021 at 01:46:54PM +0900, Jaehoon Chung wrote:
>>>
>>>> Current U-boot doesn't display a message about which architecture is
>>>> used. So Developer is difficult to know it by intuition.
>>>> This patch is displaying to CPU information with CONFIG_SYS_CPU.
>>>>
>>>> CPU: armv8
>>>> DARM:  3.9 GiB
>>>>
>>>> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
>>>
>>> We have a large number of "CPU: " prints today, under
>>> CONFIG_DISPLAY_CPUINFO which is what I think you're looking for.
>>
>> Thanks for sharing it.
>> Frankly, i had found CONFIG_DISPLAY_CPUINFO, but i have misunderstood about it.
>> So That's why i sent RFC patch.
> 
> Also in case it is useful, I sent a patch to allow the model name to
> come from a sysinfo driver:
> 
> https://protect2.fireeye.com/v1/url?k=187ced84-47e7d4e1-187d66cb-000babff32e3-3872eb836621c517&q=1&e=a8e94ada-7963-490c-bcde-520a25e22603&u=https%3A%2F%2Fpatchwork.ozlabs.org%2Fproject%2Fuboot%2Fpatch%2F20210116145343.11.I93d883230fabc88c1e9fd95d72d497069b2c60e9%40changeid%2F

Thanks for sharing it. I didn't know about it. :)

Best Regards,
Jaehoon Chung

> 
> Regards,
> Simon
> 



More information about the U-Boot mailing list