[PATCH V3] ARM add initial support for the Phytium Pe2201 Board.

Tom Rini trini at konsulko.com
Tue Dec 19 14:00:15 CET 2023


On Tue, Dec 19, 2023 at 10:27:27AM +0800, TracyMg_Li at outlook.com wrote:
> From: TracyMg_Li <TracyMg_Li at outlook.com>
> 
> Add pe2201 platform code and the device tree of pe2201 platform board.
> The initial support comprises the UART and PCIe.
> 
> Signed-off-by: TracyMg_Li <TracyMg_Li at outlook.com>
> Changes since v1:
> 		fix space corrupt.
> Changes since v2:
> 		switch to bootstd and text environment.

Changes go below "---".  And:

[snip]
> diff --git a/board/phytium/pe2201/pe2201.env b/board/phytium/pe2201/pe2201.env
> new file mode 100644
> index 0000000000..46f68ede2f
> --- /dev/null
> +++ b/board/phytium/pe2201/pe2201.env
> @@ -0,0 +1,12 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +/*
> + * Copyright (C) 2023, Phytium Technology Co., Ltd.
> + */
> +
> +/* Initial environment variables */
> +image=Image
> +scriptaddr=0x90100000
> +kernel_addr_r=0x90200000
> +fdt_addr_r=0x95000000
> +boot_fit=no
> +fdtfile=phytium-pe2201.dtb

Please see doc/develop/bootstd.rst as there's environment variables you
should be setting and..

[snip]
> +/* BOOT */
> +#define BOOT_TARGET_DEVICES(func)	\
> +	func(SCSI, scsi, 0)	\
> +
> +#include <config_distro_bootcmd.h>

This can be removed.

-- 
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/20231219/0f5cf38e/attachment.sig>


More information about the U-Boot mailing list