
On Thu, Aug 26, 2021 at 04:31:36PM +0800, nicholas_zheng@outlook.com wrote:
From: weichangzheng nicholas_zheng@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@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.