From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon South Date: Tue, 10 Nov 2020 14:45:41 -0500 Subject: [rockchip] broken SPI on RockPro64 and other RK3399 targets In-Reply-To: (Alper Nebi Yasak's message of "Thu, 5 Nov 2020 22:50:20 +0300") References: <31af4240-d2ed-5500-ffc4-ddd353457ac3@juszkiewicz.com.pl> <60671232-d125-e9b0-91bc-e79947ed3b7f@juszkiewicz.com.pl> Message-ID: <87mtzpj8re.fsf@simonsouth.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Alper Nebi Yasak writes: > Something else you can test: > - Remove the aliases block from rk3399-rockpro64-u-boot.dtsi > - Add "spi[0-5] = &spi[0-5];" aliases to rk3399-u-boot.dtsi > - Add CONFIG_SF_DEFAULT_BUS=1 to configs/rockpro64-rk3399_defconfig This fixed for me the same issue on my Pinebook Pro, turning Loading Environment from SPIFlash... Invalid bus 0 (err=-19) *** Warning - spi_flash_probe_bus_cs() failed, using default environment into Loading Environment from SPIFlash... SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB Patch attached, for clarity. -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-rockchip-Pinebook-Pro-Fix-SPI-flash.patch Type: text/x-patch Size: 1755 bytes Desc: not available URL: -------------- next part -------------- -- Simon South simon at simonsouth.net