[U-Boot] u-boot: raspberry pi 4 with 4G ram, bdinfo: dram bank size is < 1G

Matthias Brugger matthias.bgg at gmail.com
Wed Sep 25 09:51:24 UTC 2019


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


More information about the U-Boot mailing list