[patch v1] arm add initial support for the Phytium Pe2201 Board board:phytium:add pe2201 folder,It initializes pcie, ddr and other aspects of phytium pe2201 board dts:add phytium_pe2201.dts,it is device tree of phytium pe2201 board, include pcie and uart node

Tom Rini trini at konsulko.com
Thu Dec 14 19:03:37 CET 2023


On Thu, Dec 14, 2023 at 11:06:58AM +0800, TracyMg_Li at outlook.com wrote:

> From: TracyMg_Li <TracyMg_Li at outlook.com>
> 
> Signed-off-by: TracyMg_Li <TracyMg_Li at outlook.com>

Please rework your commit message.

> ---
>  arch/arm/Kconfig                 |   8 ++
>  arch/arm/dts/Makefile            |   1 +
>  arch/arm/dts/phytium-pe2201.dts  |  43 +++++++

Please make sure this dts is being submitted upstream and passes
validation there before submitting it upstream too.

[snip]
> @@ -2060,6 +2060,13 @@ config TARGET_POMELO
>  	   Support for pomelo platform.
>  	   It has 8GB Sdram, uart and pcie.
>  
> +config TARGET_PE2201
> +    bool "Support Phytium PE2201 Platform"
> +    select ARM64
> +    help
> +      Support for pe2201 platform.
> +      It has 2GB Sdram, uart and pcie.
> +

Was your patch spacing corrupted? If not, please fix this here.

[snip]
> diff --git a/include/configs/pe2201.h b/include/configs/pe2201.h
> new file mode 100644
> index 0000000000..ff24dc5ac6
> --- /dev/null
> +++ b/include/configs/pe2201.h
> @@ -0,0 +1,32 @@
> +/* SPDX-License-Identifier: GPL-2.0+ */
> +/*
> + * Copyright (C) 2023, Phytium Technology Co., Ltd.
> + * lixinde          <lixinde at phytium.com.cn>
> + * weichangzheng    <weichangzheng at phytium.com.cn>
> + */
> +
> +#ifndef __PE2201_CONFIG_H
> +#define __PE2201_CONFIG_H
> +
> +/* SDRAM Bank #1 start address */
> +#define PHYS_SDRAM_1            0x80000000
> +#define PHYS_SDRAM_1_SIZE       0x74000000
> +#define CFG_SYS_SDRAM_BASE	PHYS_SDRAM_1
> +
> +/* BOOT */
> +#define BOOT_TARGET_DEVICES(func)	\
> +	func(SCSI, scsi, 0)	\
> +
> +#include <config_distro_bootcmd.h>
> +
> +/* Initial environment variables */
> +#define CFG_EXTRA_ENV_SETTINGS	\
> +	"image=Image\0"	\
> +	BOOTENV	\
> +	"scriptaddr=0x90100000\0"	\
> +	"kernel_addr_r=0x90200000\0"	\
> +	"fdt_addr_r=0x95000000\0"	\
> +	"boot_fit=no\0"	\
> +	"fdtfile=phytium-pe2201.dtb\0"	\

Please switch to both bootstd and plain text environment, 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/20231214/11bb8189/attachment.sig>


More information about the U-Boot mailing list