Bug #215

Make sure gpu_mem is properly set in firmware config file

Added by Hammel about 7 years ago. Updated about 7 years ago.

Status:In ProgressStart date:14 Aug 2013
Priority:HighDue date:
Assignee:Hammel% Done:

20%

Category:04 - Root File System
Target version:1.0 - Atreides
Severity:03 - Medium

Description

The config file ends up in <pkg>/firmware/config.txt. There is currently no line for the gpu_mem option. A line for gpu_mem=128 needs to be added for PiBox's that will display video (like for XBMC).

gpu_mem=16 should be used for the media server version of PiBox. A utility for switching the two from within PiBox should be created, perhaps integrated into bui_network_config and renamed "pibox_config"?

History

#1 Updated by Hammel about 7 years ago

  • % Done changed from 0 to 10

The config file can be accessed from the rootfs by mounting /dev/mmcblk0p1. The way to do this is

  1. mkdir -p /mnt/boot
  2. mount /dev/mmcblk0p1 /mnt/boot

The file is then accessible rw. If a tool is used for this, it should do the mkdir/mount, then edit the file and save it, then umount/rmdir. That way we don't accidentally leave the boot files open to corruption.

#2 Updated by Hammel about 7 years ago

  • Status changed from New to In Progress
  • % Done changed from 10 to 20

A few quick tests show this doesn't appear to work on my Pi. There may be a couple of reasons.

  1. My Pi is too old and this setting doesn't work on it.
  2. My firmware is too old and this setting doesn't work on it.

I believe the former more than the latter as I built the rootfs from the latest firmware not long ago.

I can try it with the newer Pi's I have and see if that makes a difference.

Also available in: Atom PDF