K210 device tree

Heinrich Schuchardt xypron.glpk at gmx.de
Wed Aug 19 07:10:42 EDT 2020


On 19.08.20 13:02, Anup Patel wrote:
> On Wed, Aug 19, 2020 at 1:17 PM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>>
>> Hello Sean,
>>
>> up to now separate device trees for the Kendryte K210 have been
>> developed for OpenSBI, U-Boot, Linux.
>>
>> U-Boot can be booted with a device-tree provided by OpenSBI using
>> CONFIG_OF_PRIOR_STAGE=y in U-Boot.
>
> I suggest we should have two defconfigs in U-Boot for Kendryte. One
> for U-Boot M-mode and another for U-Boot S-mode.

See:
[PATCH 1/1] configs: defconfig for Sipeed Maix in S-mode
https://lists.denx.de/pipermail/u-boot/2020-August/423470.html

Here I have not enabled CONFIG_OF_PRIOR_STAGE yet because of the missing
elements in the OpenSBI device tree.

Best regards

Heinrich

>
> Even if we can't boot Linux S-mode on Kendryte, still user can use
> U-Boot S-mode to run standalone /baremetal applications in S-mode
> using U-Boot.
>
> Regards,
> Anup
>
>>
>> Linux can also receive a device-tree from firmware.
>>
>> So wouldn't it make sense to move all the K210 device-tree development
>> into OpenSBI?
>>
>> Best regards
>>
>> Heinrich
>>
>> --
>> opensbi mailing list
>> opensbi at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/opensbi




More information about the opensbi mailing list