Hi Jonas, On Sun, 2023-07-23 at 15:04 +0000, Jonas Karlman wrote: > On 2023-07-23 16:55, Jonas Karlman wrote: > > The Pine64 Quartz64 Model A is a single-board computer based on the > > Rockchip RK3566 SoC. The board features USB3, SATA, PCIe, HDMI, USB2.0, > > CSI, DSI, eDP, eMMC, SD, and an e-paper parallel port, as well as a > > 20 pin GPIO header. > > > > Features tested on a Quartz64-A 8GB v2.0 2021-04-27: > > - SD-card boot > > - eMMC boot > > - PCIe/NVMe/AHCI > > - USB host > > > > Device tree is imported from linux v6.4. > > > > Co-developed-by: Nicolas Frattaroli <frattaroli.nico...@gmail.com> > > Signed-off-by: Nicolas Frattaroli <frattaroli.nico...@gmail.com> > > Signed-off-by: Jonas Karlman <jo...@kwiboo.se> > > --- > > [...] > > Boot log with ROCKCHIP_TPL=rk3566_ddr_1056MHz_v1.17.bin and > BL31=rk3568_bl31_v1.43.elf: > > [...] > > U-Boot 2023.07 (Jul 23 2023 - 12:42:18 +0000) > > Model: Pine64 RK3566 Quartz64-A Board > DRAM: 8 GiB (effective 7.7 GiB) > PMIC: RK8170 (on=0x10, off=0x00) > Core: 321 devices, 27 uclasses, devicetree: separate > MMC: rockchip_sdhci_probe clk set rate fail! > mmc@fe2b0000: 1, mmc@fe2c0000: 2, mmc@fe310000: 0 > Loading Environment from nowhere... OK > In: serial@fe660000 > Out: serial@fe660000 > Err: serial@fe660000 > Model: Pine64 RK3566 Quartz64-A Board > Net: No ethernet found. > > Hit any key to stop autoboot: 0 > =>
I just tried booting U-Boot v2023.10-rc2 with ROCKCHIP_TPL=rk3566_ddr_1056MHz_v1.17.bin and BL31=rk3568_bl31_v1.43.elf, on my Quartz64-A but it fails during loading of some parts. I removed the output of the RK TPL from my logs as there were no errors. This is when booting from eMMC. I also tried building your branch from https://github.com/Kwiboo/u-boot-rockchip/tree/rk3568-2023.10 and The full build commands: export ROCKCHIP_TPL=rkbin/bin/rk35/rk3566_ddr_1056MHz_v1.17.bin export BL31=rkbin/bin/rk35/rk3568_bl31_v1.43.elf make quartz64-a-rk3566_defconfig make -j16 rkdeveloptool db rk356x_spl_loader_v1.13.112.bin rkdeveloptool wl 64 u-boot-rockchip.bin Boot log (v2023.10-rc2): U-Boot SPL 2023.10-rc2 (Aug 08 2023 - 14:02:34 +0100) rockchip_sdhci_probe clk set rate fail! Trying to boot from MMC1 spl: mmc init failed with error: -110 Trying to boot from MMC2 Card did not respond to voltage select! : -110 spl: mmc init failed with error: -95 Trying to boot from MMC1 ## Checking hash(es) for config config-1 ... OK ## Checking hash(es) for Image atf-1 ... sha256+ OK spl_load_simple_fit: can't load image loadables index 0 (ret = -5) mmc_load_image_raw_sector: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### Boot log (your branch): U-Boot SPL 2023.10-rc1-00368-g16cb31d427 (Aug 08 2023 - 15:17:35 +0100) Trying to boot from MMC1 spl: mmc init failed with error: -70 Trying to boot from MMC2 Card did not respond to voltage select! : -110 spl: mmc init failed with error: -95 Trying to boot from MMC1 ## Checking hash(es) for config config-1 ... OK mmc_load_image_raw_sector: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### Thanks! Chris