Commit 66bd352d authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Raspberry Pi 4 may have 8GB of RAM and thus we need to have 4 DRAM banks

parent 20508789
......@@ -380,6 +380,7 @@ rpi4b: rpi4b-boot-cmd rpi4b-fw_env.config rpi4b-config
patch -Np1 -d u-boot-2020.04 < u-boot-2020.04-serial-number-fix.patch
$(MAKE) -C u-boot-2020.04 rpi_4_defconfig
@echo "CONFIG_ARCH_FIXUP_FDT_MEMORY=y" >> u-boot-2020.04/.config
@echo "CONFIG_NR_DRAM_BANKS=4" >> u-boot-2020.04/.config
$(MAKE) -C u-boot-2020.04 oldconfig
$(MAKE) -C u-boot-2020.04
mkdir /uboot
......@@ -440,6 +441,7 @@ rpi4b-mender: rpi4b-boot-cmd-mender rpi4b-fw_env.config-mender rpi4b-config-mend
patch -Np1 -d u-boot-2020.04 < u-boot-2020.04-mender.patch
$(MAKE) -C u-boot-2020.04 rpi_4_defconfig
@echo "CONFIG_ARCH_FIXUP_FDT_MEMORY=y" >> u-boot-2020.04/.config
@echo "CONFIG_NR_DRAM_BANKS=4" >> u-boot-2020.04/.config
@echo "# CONFIG_ENV_IS_NOWHERE is not set" >> u-boot-2020.04/.config
@echo "# CONFIG_ENV_IS_IN_FAT is not set" >> u-boot-2020.04/.config
@echo "CONFIG_ENV_IS_IN_MMC=y" >> u-boot-2020.04/.config
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment