From 3d1a705820ea9784150962b8d8c95ff4d5455c77 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Mon, 22 Jun 2020 00:01:24 -0400 Subject: [PATCH] with those enabled, it fails >>TPL: board_init_r() spl_init Trying to boot from BOOTROM Returning to boot ROM... spl:debug uart enabled in board_init_f spl_early_init bind node aliases Device 'aliases' has no compatible string bind node mmc@fe320000 - attempt to match compatible string 'rockchip,rk3399-dw-mshc' - attempt to match compatible string 'rockchip,rk3288-dw-mshc' - found match at 'rockchip_rk3288_dw_mshc': 'rockchip,rk2928-dw-mshc' matches 'rockchip,rk3288-dw-mshc' bind node sdhci@fe330000 - attempt to match compatible string 'rockchip,rk3399-sdhci-5.1' - attempt to match compatible string 'arasan,sdhci-5.1' - found match at 'rockchip_rk3399_sdhci_5_1': 'arasan,sdhci-5.1' matches 'arasan,sdhci-5.1' bind node serial@ff180000 - attempt to match compatible string 'rockchip,rk3399-uart' - attempt to match compatible string 'snps,dw-apb-uart' - found match at 'ns16550_serial': 'ns16550' matches 'snps,dw-apb-uart' bind node serial@ff1a0000 - attempt to match compatible string 'rockchip,rk3399-uart' - attempt to match compatible string 'snps,dw-apb-uart' - found match at 'ns16550_serial': 'ns16550' matches 'snps,dw-apb-uart' bind node spi@ff1d0000 - attempt to match compatible string 'rockchip,rk3399-spi' - found match at 'rockchip_spi': 'rockchip,rk3288-spi' matches 'rockchip,rk3399-spi' bind node flash@0 - attempt to match compatible string 'jedec,spi-nor' - found match at 'spi_flash_std': 'jedec,spi-nor' matches 'jedec,spi-nor' bind node power-management@ff310000 - attempt to match compatible string 'rockchip,rk3399-pmu' - found match at 'rk3399_syscon': 'rockchip,rk3399-grf' matches 'rockchip,rk3399-pmu' bind node syscon@ff320000 - attempt to match compatible string 'rockchip,rk3399-pmugrf' - found match at 'rk3399_syscon': 'rockchip,rk3399-grf' matches 'rockchip,rk3399-pmugrf' bind node i2c@ff3c0000 - attempt to match compatible string 'rockchip,rk3399-i2c' - found match at 'i2c_rockchip': 'rockchip,rk3066-i2c' matches 'rockchip,rk3399-i2c' bind node pmic@1b - attempt to match compatible string 'rockchip,rk808' - found match at 'rk8xx pmic': 'rockchip,rk805' matches 'rockchip,rk808' lists_bind_fdt() for pmic@1b: ret=-6 in dm_scan_fdt_node lists_bind_fdt() for i2c@ff3c0000: ret=-6 in dm_scan_fdt_node bind node pmu-clock-controller@ff750000 - attempt to match compatible string 'rockchip,rk3399-pmucru' - found match at 'rockchip_rk3399_pmucru': 'rockchip,rk3399-pmucru' matches 'rockchip,rk3399-pmucru' bind node clock-controller@ff760000 - attempt to match compatible string 'rockchip,rk3399-cru' - found match at 'rockchip_rk3399_cru': 'rockchip,rk3399-cru' matches 'rockchip,rk3399-cru' bind node syscon@ff770000 - attempt to match compatible string 'rockchip,rk3399-grf' - found match at 'rk3399_syscon': 'rockchip,rk3399-grf' matches 'rockchip,rk3399-grf' bind node vop@ff8f0000 - attempt to match compatible string 'rockchip,rk3399-vop-lit' No match for node 'vop@ff8f0000' bind node vop@ff900000 - attempt to match compatible string 'rockchip,rk3399-vop-big' No match for node 'vop@ff900000' bind node pinctrl - attempt to match compatible string 'rockchip,rk3399-pinctrl' - found match at 'rockchip_rk3399_pinctrl': 'rockchip,rk3399-pinctrl' matches 'rockchip,rk3399-pinctrl' bind node chosen Device 'chosen' has no compatible string bind node syscon@ff620000 - attempt to match compatible string 'rockchip,rk3399-cic' - found match at 'rk3399_syscon': 'rockchip,rk3399-grf' matches 'rockchip,rk3399-cic' bind node dfi@ff630000 - attempt to match compatible string 'rockchip,rk3399-dfi' No match for node 'dfi@ff630000' bind node dmc - attempt to match compatible string 'rockchip,rk3399-dmc' - found match at 'rockchip_rk3399_dmc': 'rockchip,rk3399-dmc' matches 'rockchip,rk3399-dmc' bind node syscon@ff330000 - attempt to match compatible string 'rockchip,rk3399-pmusgrf' - found match at 'rk3399_syscon': 'rockchip,rk3399-grf' matches 'rockchip,rk3399-pmusgrf' bind node config Device 'config' has no compatible string dm_scan_fdt() failed: -6 dm_extended_scan_dt() failed: -6 dm_init_and_scan() returned error -6 spl_early_init() failed in rockchip SPL: -6 ### ERROR ### Please RESET the board ### --- wip.config | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/wip.config b/wip.config index daa4dae..7d8e37f 100644 --- a/wip.config +++ b/wip.config @@ -461,7 +461,7 @@ CONFIG_SPL_MTD_SUPPORT=y # CONFIG_SPL_PCH_SUPPORT is not set # CONFIG_SPL_POST_MEM_SUPPORT is not set # CONFIG_SPL_DM_RESET is not set -# CONFIG_SPL_POWER_SUPPORT is not set +CONFIG_SPL_POWER_SUPPORT=y # CONFIG_SPL_POWER_DOMAIN is not set # CONFIG_SPL_RAM_SUPPORT is not set # CONFIG_SPL_REMOTEPROC is not set @@ -1326,14 +1326,16 @@ CONFIG_PMIC_RK8XX=y # CONFIG_SPL_PMIC_LP87565 is not set # CONFIG_PMIC_TPS65941 is not set CONFIG_DM_REGULATOR=y -# CONFIG_SPL_DM_REGULATOR is not set +CONFIG_SPL_DM_REGULATOR=y CONFIG_REGULATOR_PWM=y # CONFIG_SPL_REGULATOR_PWM is not set CONFIG_DM_REGULATOR_FAN53555=y CONFIG_DM_REGULATOR_COMMON=y +CONFIG_SPL_DM_REGULATOR_COMMON=y CONFIG_DM_REGULATOR_FIXED=y -# CONFIG_SPL_DM_REGULATOR_FIXED is not set +CONFIG_SPL_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_GPIO=y +CONFIG_SPL_DM_REGULATOR_GPIO=y CONFIG_REGULATOR_RK8XX=y # CONFIG_DM_REGULATOR_PBIAS is not set # CONFIG_DM_REGULATOR_TPS62360 is not set