From: Matthias Brugger Date: Wed, 25 Sep 2019 11:51:24 +0200 Subject: [U-Boot] u-boot: raspberry pi 4 with 4G ram, bdinfo: dram bank size is < 1G In-Reply-To: References: Message-ID: <4ca59ca3-841f-a5ff-cd4c-ef48856012af@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 19/09/2019 13:51, Pi NewBie wrote: > With top of the tree(tot) uboot, and tot firmware, uboot command bdinfo > shows the dram bank size as 0x000000003b400000 which is <1G, but the > rpi4 board has 4G of ram. > > However with kernel8.img in the firmware, linux kernel shows in /proc/meminfo > > cat /proc/meminfo > > MemTotal:3999784 kB > > MemFree: 3868044 kB > > MemAvailable:3819600 kB > > > Does this current uboot does not yet support rpi with 4g ram? > Can you try with this patch: https://patchwork.ozlabs.org/patch/1159868/ Background: I think you need to change the config to CONFIG_NR_DRAM_BANKS=2 Happy to hear back from you. Regards, Matthias > > -Thanks > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://lists.denx.de/listinfo/u-boot