[Bug 1891802] Re: Raspberry Pi: setting gpu_mem in usercfg.txt is ignored

Markus Dobel 1891802 at bugs.launchpad.net
Sun Aug 16 18:46:17 UTC 2020


The package selection is guesswork. I a not really sure if this belongs
to u-boot, since the files (config.txt, usercfg.txt) themselves do not
seem to belong to any package.

** Package changed: ubuntu => u-boot (Ubuntu)

-- 
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/1891802

Title:
  Raspberry Pi: setting gpu_mem in usercfg.txt is ignored

Status in u-boot package in Ubuntu:
  New

Bug description:
  I set up Ubuntu 20.04.1 (64bit) on a Raspberry PI 3. Since I require
  more RAM to processes, but no Video, I want to set

  ```
  gpu_mem=16
  ```

  When putting this line into `/boot/firmware/usercfg.txt` (nothing else
  in this file, just this line, followed by a newline), it seems to be
  ignored, putting it into `/boot/firmware/config.txt` directly works.

  ### System info

  ```
  $ lsb_release -rd
  Description:	Ubuntu 20.04.1 LTS
  Release:	20.04
  ```

  - Raspberry PI 3 (not 3+)
  - All updates applied using `apt-get full-upgrade`, otherwise fresh install

  ### How to reproduce

  - Find how much total RAM is available, using e.g. `free`
  - Add the line above in `/boot/firmware/usercfg.txt` and reboot
  - Call `free` again, the total amount of RAM has not changed comparing to 2 lines above
  - Add the line above in `/boot/firmware/config.txt` and reboot
  - Call `free` again, the total amount of RAM **has** changed

  ### Expected behaviour

  It should not matter where I put that option, both changing config.txt
  and usercfg.txt should have the same effect -- especially since
  `config.txt` tells me not to edit it but put my configuration to
  `usercfg.txt`.

  If that's not possible for this specific setting, a list of values
  that cannot be changed using usercfg.txt should be documented.

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



More information about the foundations-bugs mailing list