[PATCH v<4>] arm: add initial support for the Phytium Pomelo Board

Tom Rini trini at konsulko.com
Fri Aug 27 04:54:01 CEST 2021


On Thu, Aug 26, 2021 at 04:31:36PM +0800, nicholas_zheng at outlook.com wrote:

> From: weichangzheng <nicholas_zheng at outlook.com>
> 
> This adds platform code and the device tree for the Phytium Pomelo Board.
> The initial support comprises the UART and the PCIE.
> 
> Signed-off-by: weichangzheng <nicholas_zheng at outlook.com>
> Changes since v1:
>         updated to DT
> Changes since v2:
>         Modify some explicit types and macro
> Changes since v3:
> 	Modify some SDRAM related macro definitions and distro_bootcmd
[snip]
> +#include <config_distro_bootcmd.h>
> +
> +#define CONFIG_EXTRA_ENV_SETTINGS	\
> +	"load_kernel=ext4load scsi 0:1 0x90100000 uImage\0"	\
> +	"load_fdt=ext4load scsi 0:1 0x95000000 ft-d2000.dtb\0"\
> +	"run load_kernel\0"\
> +	"run load_fdt\0"\
> +	"bootm 0x90100000 -:- 0x95000000"

OK, this is not how you do the distro_bootcmd framework.  It is strongly
encouraged to enable it, and set BOOT* like other platforms do, to
enable it.  You can look at commit
d4f15ecd4724e633bc7f238b26f98efd5096e632 for an example of how to do
this on a given platform.  Thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210826/205100b2/attachment.sig>


More information about the U-Boot mailing list