From: Heinrich Schuchardt Date: Sun, 17 Feb 2019 13:10:57 +0100 Subject: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken In-Reply-To: <7a3ee5c2-6c57-f3b8-75df-11524c0837fd@rock-chips.com> References: <0b442f75-6b5e-db63-6830-aea3ac3c1cb0@gmx.de> <4656A6D5-1275-4C14-9541-9A610106952F@theobroma-systems.com> <248273dc-8b91-056a-04ed-88776da6604f@rock-chips.com> <3D9F7E25-E5BD-464E-8C4E-B1D903358E5F@theobroma-systems.com> <18E6114D-5A8C-4D38-98E7-C0CDCE6877AD@theobroma-systems.com> <482AD373-4C23-4E35-B405-ED5CEA972A91@theobroma-systems.com> <06ec1526-3880-bd42-308e-7f1165efe369@gmx.de> <7a3ee5c2-6c57-f3b8-75df-11524c0837fd@rock-chips.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On 2/17/19 9:19 AM, David Wu wrote: > Hi Henrich, > > 在 2019/2/16 下午5:53, Heinrich Schuchardt 写道: >> On 2/13/19 11:56 AM, Philipp Tomsich wrote: >> >> Hello David, hello Philipp, >> >> what are your ideas to reduce the SPL size to under 0x7800 again? >> Or will you move all rk3288 boards to TPL like TARGET_VYASA_RK3288? > > CONFIG_SPL_I2C_SUPPORT is necessary for Tink spl? Remove this can make > spl boot. As the Tinker does not use the i2c to read the MAC address > from eeprom at the SPL stage, which is at uboot. Hello David, the SPL image size now just fits: Image Type: Rockchip RK32 (SD/MMC) boot image Data Size: 30720 bytes SPL is successful. But MMC is failing in main U-Boot: ``` U-Boot SPL 2019.04-rc1-00239-gb89074f650 (Feb 17 2019 - 12:41:39 +0100) Returning to boot ROM... U-Boot 2019.04-rc1-00239-gb89074f650 (Feb 17 2019 - 12:41:39 +0100) Model: Tinker-RK3288 DRAM: 2 GiB MMC: dwmmc at ff0c0000: 1 Loading Environment from MMC... ``` No further output here. With some debug output enabled: ``` U-Boot SPL 2019.04-rc1-00239-gb89074f650-dirty (Feb 17 2019 - 13:05:10 +0100) Returning to boot ROM... mmc_bind: alias ret=0, devnum=1 env_init: Environment MMC init done (ret=-2) U-Boot 2019.04-rc1-00239-gb89074f650-dirty (Feb 17 2019 - 13:05:10 +0100) Model: Tinker-RK3288 DRAM: 2 GiB mmc_bind: alias ret=0, devnum=1 MMC: dwmmc at ff0c0000: 1 Loading Environment from MMC... ``` Any suggestion how to proceed? CC: Jaehoon. Best regards Heinrich