Other Parts Discussed in Thread: SK-AM64B
Hi,
our custom board does not load the SPL the second time.
Due to the ErrataID i2331 there is a fix in the SPL which does a warm RST when detecting a cold RST:
rst_src = readl(CTRLMMR_MCU_RST_SRC); if (rst_src == COLD_BOOT || rst_src & (SW_POR_MCU | SW_POR_MAIN)) { printf("Resetting on cold boot to workaround ErrataID:i2331\n"); do_reset(NULL, 0, 0, NULL); }cc
We get the SPL promt:U-Boot SPL 2021.01-00012-g51cf5d0f1c-dirty (Mar 14 2024 - 09:30:41 +0100)
Resetting on cold boot to workaround ErrataID:i2331
resetting ...
but then it doesn't get further.
This only happens when booting from eMMC. SD and USB boot works.
What is different between cold RST and warm RST?
We currently have problems with the speed of 200MHz, but I already added max-frequency = <100000000>;
in the r5 devicetree.
BR
Artur