Results 1 to 5 of 5

Thread: gpu_mem and gpu_mem_256 Raspberry Pi issues

  1. #1
    Join Date
    2013-Mar
    Posts
    8

    gpu_mem and gpu_mem_256 Raspberry Pi issues

    I have been trying to change the memory split between the gpu and cpu on my Rev. B 256 board running Kali. I added the line gpu_mem=16, also tried gpu_mem=32 and also gpu_mem_256=16 (and 32) in /boot/config.txt. Rebooted the Pi after making all the changes. (Lot of reboots, LOL). Free -m keeps reporting 184 total no matter what I put in config.txt. I have scoured the internets and can't find anything regarding the proper way to set the memory split in Kali. I assume it's the same way based on wheezy pi. Anyone else run into this and know what I might be doing wrong? Thanks.

    EDIT-Duh, Figured it out. I must have been drunk or something. It works fine.
    Last edited by crypiehef; 2013-07-31 at 14:38. Reason: Was apparently drunk.

  2. #2
    Join Date
    2013-Aug
    Posts
    2
    Hello how did you solve this ? i have the same problem

  3. #3
    Join Date
    2013-Mar
    Posts
    8

    /boot menu

    Quote Originally Posted by superjcvd View Post
    Hello how did you solve this ? i have the same problem
    Make sure you have everything in the /boot menu required for the config switches. I got mine from the raspberry pi github page and did a wget download of the raspbi wheezy /boot contents. Then chmod the files. I did 555. Worked.

  4. #4
    Join Date
    2015-Mar
    Posts
    2
    Can you please explain a little bit better what you did there. I dont have the config.txt file under the boot directory.
    I looked in the boot directory after mounting the /dev/mmcblk0p1 as well.
    If you could provide some help I would really appreciate it.

    Thank you.

  5. #5
    Join Date
    2014-Aug
    Posts
    8
    edit: installed kali 1.1.0 lastnight...

    ls /dev/mmc*
    /dev/mmcblk0 /dev/mmcblk0p1 /dev/mmcblk0p2
    mount /dev/mmcblk0p1 /boot
    ls /boot
    bcm2708-rpi-b.dtb bootcode.bin fixup_cd.dat kernel7.img overlays start_x.elf
    bcm2708-rpi-b-plus.dtb cmdline.txt config.txt fixup.dat kernel.img start_cd.elf
    bcm2709-rpi-2-b.dtb COPYING.linux fixup_x.dat LICENCE.broadcom start.elf
    all your over clocking options for config.txt are in the links i provide...
    i just wanted to share... i have not tested but here it is... insert your kali installed sdcard into your labtop, you will see 2 partitions... /dev/sdc1 and /dev/sdc2, you will notice some files exist in sdc1... bootcode.bin and start.elf, write your config.txt here... the links i provide will show all options for config.txt


    kali /boot folder is empty
    https://github.com/raspberrypi/firmw...ee/master/boot
    http://www.raspberrypi.org/documenta.../config-txt.md usefull document for boot options
    http://elinux.org/RPiconfig more info


    As it's an embedded platform, the Raspberry Pi doesn't have a BIOS like you'd find on a conventional PC. The various system configuration parameters, which would traditionally be edited and stored using a BIOS, are stored in an optional text file named config.txt. This is read by the GPU before the ARM CPU (and Linux) is initialised; therefore it must be located on the first (boot) partition of your SD card, alongside bootcode.bin and start.elf. This file is normally accessible as /boot/config.txt from Linux and must be edited as root; but from Windows or OS X it is seen as a file in the only accessible part of the card. If you need to apply some of the config settings below, but you don't have a config.txt on your boot partition yet, then simply create it as a new text file.
    Last edited by i8igmac; 2015-03-25 at 14:37.

Similar Threads

  1. Raspberry Pi 2 Model B Issues
    By rickyoswald in forum Installing Archive
    Replies: 1
    Last Post: 2016-04-11, 20:45
  2. Issues with Kali 2.1 and Raspberry PI2
    By the2ndson in forum ARM Archive
    Replies: 0
    Last Post: 2016-03-08, 18:57
  3. Replies: 4
    Last Post: 2015-09-08, 07:36
  4. Issues with VPN on Raspberry
    By Fuffu in forum ARM Archive
    Replies: 2
    Last Post: 2015-09-05, 13:13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •