]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: clearfog,helios4: disable sdhci sdma
authorJosua Mayer <josua@solid-run.com>
Sat, 8 Feb 2025 12:22:43 +0000 (13:22 +0100)
committerStefan Roese <sr@denx.de>
Wed, 16 Apr 2025 06:05:15 +0000 (08:05 +0200)
Testing has shown that loading large initramfs causes data corruption
where the kernel image had been loaded to.
Debian 12 installation using a 17M initramfs boots fine, but the final
system with an initramfs of 27M obscurely fails to boot with bootz
reporting "Bad magic!".
Inspecting kernel_addr_r after this failed boot attempt does show
garbage in place of the expected zimage header.

The problem seems to occur on armada 388 only when sdhci sdma is enabled
in defconfig. Other armada boards such as turris omnia did not enable
the option.

Remove sdhci sdma from defconfig for now as a workaround.

Signed-off-by: Josua Mayer <josua@solid-run.com>
Reviewed-by: Stefan Roese <sr@denx.de>
configs/clearfog_defconfig
configs/clearfog_sata_defconfig
configs/clearfog_spi_defconfig
configs/helios4_defconfig

index d9314ed1e15542deae6f3da1a4ad0d05f29795fe..4adf8cc84bdb12183c5c9422fa6a55c6960871a0 100644 (file)
@@ -61,7 +61,6 @@ CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_I2C_EEPROM=y
 CONFIG_SPL_I2C_EEPROM=y
 CONFIG_MMC_SDHCI=y
-CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_MV=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
index d5f90d06ca66f81bc5469b71463f0ea25c659f65..8154125b4ac1ce7601aa75951319dab37fa35b4a 100644 (file)
@@ -62,7 +62,6 @@ CONFIG_I2C_EEPROM=y
 CONFIG_SPL_I2C_EEPROM=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_MMC_SDHCI=y
-CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_MV=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
index 8868c7fde5e93e1cdf67447008a5e21d77597806..e9e3e8cdec4fcc9402e8ff637f80ddf367b241bc 100644 (file)
@@ -62,7 +62,6 @@ CONFIG_I2C_EEPROM=y
 CONFIG_SPL_I2C_EEPROM=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_MMC_SDHCI=y
-CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_MV=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
index 6927e20abd10cc416e9abe02d97fda3440bf4d40..3fb5f677ce8da45945e30767130f2ff4f11a0fb7 100644 (file)
@@ -61,7 +61,6 @@ CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_I2C_EEPROM=y
 CONFIG_SPL_I2C_EEPROM=y
 CONFIG_MMC_SDHCI=y
-CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_MV=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y