[Bug 1847500] Re: Full RAM on Pi4 isn't accessible when using u-boot

Dave Jones dave.jones at canonical.com
Fri Oct 11 14:18:28 UTC 2019


> For WiFi, I remember I found the firmware from someplace, then the
WiFi worked.

> ubuntu at ubuntu:~$ ls /lib/firmware/brcm/brcmfmac43455-sdio.* -la
> -rw-r--r-- 1 root root 600487 Sep 1 05:45 /lib/firmware/brcm/brcmfmac43455-sdio.bin
> -rw-r--r-- 1 root root 14036 Sep 1 05:45 /lib/firmware/brcm/brcmfmac43455-sdio.clm_blob
> -rw-r--r-- 1 root root 2054 Sep 1 05:45 /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt
> -rw-r--r-- 1 root root 2054 Sep 1 05:45 /lib/firmware/brcm/brcmfmac43455-sdio.txt
> ubuntu at ubuntu:~$ ls /lib/firmware/brcm/brcmfmac43455-sdio.* | xargs md5sum
> 963eb0d4903040974ee88b4f85cb1f4f /lib/firmware/brcm/brcmfmac43455-sdio.bin
> c5aeca0e33de4ae870986c517963fef7 /lib/firmware/brcm/brcmfmac43455-sdio.clm_blob
> 7b983812a8aee7bf701460436c686226 /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt
> 7b983812a8aee7bf701460436c686226 /lib/firmware/brcm/brcmfmac43455-sdio.txt

Most of those hashes match the latest-but-one variant of the wifi
firmware from Raspbian. Unfortunately, updating to the very latest is
tricky for us as the firmware blobs appear split between linux-firmware
(which holds the *.bin files) and linux-firmware-raspi (which holds the
*.txt and *.clm_blob) files. After a bit of experimentation I've found
that updating just the 43455 clm_blob and txt files fixes wifi for the
Pi4 without breaking wifi on any of the earlier versions.

I'll open a separate ticket for this with a link to a PPA package and
see if I can get it sponsored.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to u-boot in Ubuntu.
https://bugs.launchpad.net/bugs/1847500

Title:
  Full RAM on Pi4 isn't accessible when using u-boot

Status in u-boot package in Ubuntu:
  Confirmed

Bug description:
  Booting the latest eoan daily on a Pi4 with >1Gb of RAM, only the
  first 1Gb of RAM appears accessible:

      ubuntu at ubuntu:~$ free
                    total        used        free      shared  buff/cache   available
      Mem:         931920      185484      504748        3664      241688      723820
      Swap:             0           0           0

  However, adjusting the config.txt so that the kernel is booted
  directly without u-boot in between results in the full 4Gb being
  accessible:

      ubuntu at ubuntu:~$ free
                    total        used        free      shared  buff/cache   available
      Mem:        3884464      189852     3457504        3656      237108     3636004
      Swap:             0           0           0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/u-boot/+bug/1847500/+subscriptions



More information about the foundations-bugs mailing list